diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-03-13 09:20:45 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-03-13 09:20:45 +0000 |
commit | 2e524f93fc03353e6fb05333d8041505948959eb (patch) | |
tree | 0e2f8a60e47c994d49152b300f0d698a7eb29c4f /stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/tex.math.in.alt.xml | |
parent | cc98817b6165e5307c1fc38328cdc2a1cc2de257 (diff) |
Since LFS started using docbook-1.78.1, there is a lot of unused data
in the stylesheet directory. Basically, a whole docbook-stylesheet is
there, while we need only fo and xhtml (+ some common dirs). Each time
we checkout the repo, we have to download this whole thing, which is by
far the biggest part of the repo (~33 M). By removing unused cruft,
this could be down to ~12 M.
Of course, it would be even better to remove completely the stylesheets
and use host ones (repo size down to 2M). but let's do this first, it is
easier :)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11778 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/tex.math.in.alt.xml')
-rw-r--r-- | stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/tex.math.in.alt.xml | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/tex.math.in.alt.xml b/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/tex.math.in.alt.xml deleted file mode 100644 index ed1abb975..000000000 --- a/stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/tex.math.in.alt.xml +++ /dev/null @@ -1,76 +0,0 @@ -<refentry xmlns="http://docbook.org/ns/docbook" - xmlns:xlink="http://www.w3.org/1999/xlink" - xmlns:xi="http://www.w3.org/2001/XInclude" - xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" - xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="5.0" xml:id="tex.math.in.alt"> -<refmeta> -<refentrytitle>tex.math.in.alt</refentrytitle> -<refmiscinfo class="other" otherclass="datatype">list</refmiscinfo> -<refmiscinfo class="other" otherclass="value">plain</refmiscinfo> -<refmiscinfo class="other" otherclass="value">latex</refmiscinfo> -</refmeta> -<refnamediv> -<refname>tex.math.in.alt</refname> -<refpurpose>TeX notation used for equations</refpurpose> -</refnamediv> - -<refsynopsisdiv> -<src:fragment xml:id="tex.math.in.alt.frag"> -<xsl:param name="tex.math.in.alt"></xsl:param> -</src:fragment> -</refsynopsisdiv> - -<refsection><info><title>Description</title></info> - -<para>If you want type math directly in TeX notation in equations, -this parameter specifies notation used. Currently are supported two -values -- <literal>plain</literal> and <literal>latex</literal>. Empty -value means that you are not using TeX math at all.</para> - -<para>Preferred way for including TeX alternative of math is inside of -<tag>textobject</tag> element. Eg.:</para> - -<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></programlisting> - -<para>If you are using <tag>graphic</tag> element, you can -store TeX inside <tag>alt</tag> element:</para> - -<programlisting><inlineequation> -<alt role="tex">a^2+b^2=c^2</alt> -<graphic fileref="a2b2c2.gif"/> -</inlineequation></programlisting> - -<para>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.</para> - -<para>If you want equations in HTML, just process generated file -<filename>tex-math-equations.tex</filename> by TeX or LaTeX. Then run -dvi2bitmap program on result DVI file. You will get images for -equations in your document.</para> - -<warning> - <para>This feature is useful for print/PDF output only if you - use the obsolete and now unsupported PassiveTeX XSL-FO - engine.</para> -</warning> - -</refsection> - -<refsection><info><title>Related Parameters</title></info> - <para><parameter>tex.math.delims</parameter>, - <parameter>passivetex.extensions</parameter>, - <parameter>tex.math.file</parameter></para> -</refsection> - -</refentry> |