]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/params/tex.math.in.alt.xml
Capitalized the start of a sentence in the bucket section of cataloging.
[working/Evergreen.git] / stylesheets / evergreen_docbook_files / docbook-xsl-1.75.2 / params / tex.math.in.alt.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"\r
2           xmlns:xlink="http://www.w3.org/1999/xlink"\r
3           xmlns:xi="http://www.w3.org/2001/XInclude"\r
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
6           version="5.0" xml:id="tex.math.in.alt">\r
7 <refmeta>\r
8 <refentrytitle>tex.math.in.alt</refentrytitle>\r
9 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> \r
10 <refmiscinfo class="other" otherclass="value">plain</refmiscinfo>\r
11 <refmiscinfo class="other" otherclass="value">latex</refmiscinfo>\r
12 </refmeta>\r
13 <refnamediv>\r
14 <refname>tex.math.in.alt</refname>\r
15 <refpurpose>TeX notation used for equations</refpurpose>\r
16 </refnamediv>\r
17 \r
18 <refsynopsisdiv>\r
19 <src:fragment xml:id="tex.math.in.alt.frag">\r
20 <xsl:param name="tex.math.in.alt"></xsl:param>\r
21 </src:fragment>\r
22 </refsynopsisdiv>\r
23 \r
24 <refsection><info><title>Description</title></info>\r
25 \r
26 <para>If you want type math directly in TeX notation in equations,\r
27 this parameter specifies notation used. Currently are supported two\r
28 values -- <literal>plain</literal> and <literal>latex</literal>. Empty\r
29 value means that you are not using TeX math at all.</para>\r
30 \r
31 <para>Preferred way for including TeX alternative of math is inside of\r
32 <tag>textobject</tag> element. Eg.:</para>\r
33 \r
34 <programlisting>&lt;inlineequation&gt;\r
35 &lt;inlinemediaobject&gt;\r
36 &lt;imageobject&gt;\r
37 &lt;imagedata fileref="eq1.gif"/&gt;\r
38 &lt;/imageobject&gt;\r
39 &lt;textobject&gt;&lt;phrase&gt;E=mc squared&lt;/phrase&gt;&lt;/textobject&gt;\r
40 &lt;textobject role="tex"&gt;&lt;phrase&gt;E=mc^2&lt;/phrase&gt;&lt;/textobject&gt;\r
41 &lt;/inlinemediaobject&gt;\r
42 &lt;/inlineequation&gt;</programlisting>\r
43 \r
44 <para>If you are using <tag>graphic</tag> element, you can\r
45 store TeX inside <tag>alt</tag> element:</para>\r
46 \r
47 <programlisting>&lt;inlineequation&gt;\r
48 &lt;alt role="tex"&gt;a^2+b^2=c^2&lt;/alt&gt;\r
49 &lt;graphic fileref="a2b2c2.gif"/&gt;  \r
50 &lt;/inlineequation&gt;</programlisting>\r
51 \r
52 <para>If you want use this feature, you should process your FO with\r
53 PassiveTeX, which only supports TeX math notation. When calling\r
54 stylsheet, don't forget to specify also\r
55 passivetex.extensions=1.</para>\r
56 \r
57 <para>If you want equations in HTML, just process generated file\r
58 <filename>tex-math-equations.tex</filename> by TeX or LaTeX. Then run\r
59 dvi2bitmap program on result DVI file. You will get images for\r
60 equations in your document.</para>\r
61 \r
62 <warning>\r
63   <para>This feature is useful for print/PDF output only if you\r
64     use the obsolete and now unsupported PassiveTeX XSL-FO\r
65     engine.</para>\r
66 </warning>\r
67 \r
68 </refsection>\r
69 \r
70 <refsection><info><title>Related Parameters</title></info>\r
71   <para><parameter>tex.math.delims</parameter>,\r
72     <parameter>passivetex.extensions</parameter>,\r
73     <parameter>tex.math.file</parameter></para>\r
74 </refsection>\r
75 <refsection><info><title>More information</title></info>\r
76   <para>For how-to documentation on embedding TeX equations and\r
77     generating output from them, see\r
78     <link\r
79       role="tcg"\r
80       xlink:href="TexMath.html"\r
81       >DBTeXMath</link>.</para>\r
82 </refsection>\r
83 </refentry>\r