1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>tex.math.in.alt</title><link rel="stylesheet" href="reference.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: ReferenceDocumentation"><link rel="up" href="misc.html" title="Miscellaneous"><link rel="prev" href="punct.honorific.html" title="punct.honorific"><link rel="next" href="tex.math.file.html" title="tex.math.file"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">tex.math.in.alt</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="punct.honorific.html">Prev</a></td><th width="60%" align="center">Miscellaneous</th><td width="20%" align="right"><a accesskey="n" href="tex.math.file.html">Next</a></td></tr></table><hr></div><div class="refentry" title="tex.math.in.alt"><a name="tex.math.in.alt"></a><div class="titlepage"></div>
<div class="refnamediv"><h2><span class="refentrytitle">tex.math.in.alt</span></h2><p>
tex.math.in.alt
— TeX notation used for equations
</p></div>
<div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2>
<a name="tex.math.in.alt.frag"></a><pre class="programlisting">
<xsl:param name="tex.math.in.alt"></xsl:param>
</pre>
</div>
<div class="refsection" title="Description"><a name="id1393568"></a><h2>Description</h2>
<p>If you want type math directly in TeX notation in equations,
this parameter specifies notation used. Currently are supported two
values -- <code class="literal">plain</code> and <code class="literal">latex</code>. Empty
value means that you are not using TeX math at all.</p>
<p>Preferred way for including TeX alternative of math is inside of
<a href="http://docbook.org/tdg5/en/html/textobject.html"><code class="sgmltag-element">textobject</code></a> element. Eg.:</p>
<pre class="programlisting"><inlineequation>
<inlinemediaobject>
<imageobject>
<imagedata fileref="eq1.gif"/>
</imageobject>
<textobject><phrase>E=mc squared</phrase></textobject>
<textobject role="tex"><phrase>E=mc^2</phrase></textobject>
</inlinemediaobject>
</inlineequation></pre>
<p>If you are using <code class="sgmltag-element">graphic</code> element, you can
store TeX inside <a href="http://docbook.org/tdg5/en/html/alt.html"><code class="sgmltag-element">alt</code></a> element:</p>
<pre class="programlisting"><inlineequation>
<alt role="tex">a^2+b^2=c^2</alt>
<graphic fileref="a2b2c2.gif"/>
</inlineequation></pre>
<p>If you want use this feature, you should process your FO with
PassiveTeX, which only supports TeX math notation. When calling
stylsheet, don't forget to specify also
passivetex.extensions=1.</p>
<p>If you want equations in HTML, just process generated file
<code class="filename">tex-math-equations.tex</code> by TeX or LaTeX. Then run
dvi2bitmap program on result DVI file. You will get images for
equations in your document.</p>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3>
<p>This feature is useful for print/PDF output only if you
use the obsolete and now unsupported PassiveTeX XSL-FO
engine.</p>
</div>
</div>
<div class="refsection" title="Related Parameters"><a name="id1393660"></a><h2>Related Parameters</h2>
<p><a href="../html/tex.math.delims.html"><em class="parameter"><code>tex.math.delims</code></em></a>,
<a href="../fo/passivetex.extensions.html"><em class="parameter"><code>passivetex.extensions</code></em></a>,
<a href="../html/tex.math.file.html"><em class="parameter"><code>tex.math.file</code></em></a></p>
</div>
<div class="refsection" title="More information"><a name="id1393683"></a><h2>More information</h2>
<p>For how-to documentation on embedding TeX equations and
generating output from them, see
<a class="ulink" href="TexMath.html" target="_top">DBTeXMath</a>.</p>
</div>
</div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="punct.honorific.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="misc.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="tex.math.file.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">punct.honorific</td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top">tex.math.file</td></tr></table></div></body></html>
|