Changeset cfe5e36 for pst/typesetting
- Timestamp:
- 05/16/2005 05:20:47 PM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 5428e2b
- Parents:
- 9d9f779
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/typesetting/jadetex.xml
r9d9f779 rcfe5e36 14 14 15 15 <sect1 id="jadetex" xreflabel="JadeTeX-&jadetex-version;"> 16 <sect1info> 17 <othername>$LastChangedBy$</othername> 18 <date>$Date$</date> 19 </sect1info> 20 <?dbhtml filename="jadetex.html"?> 21 <title>JadeTeX-&jadetex-version;</title> 22 <indexterm zone="jadetex"> 23 <primary sortas="a-JadeTeX">JadeTeX</primary></indexterm> 24 25 <sect2> 26 <title>Introduction to <application>JadeTeX</application></title> 27 28 <para>The <application>JadeTeX</application> package is a companion package to 29 the <application>OpenJade</application> <acronym>DSSSL</acronym> processor. 30 <application>JadeTeX</application> transforms high level LaTeX macros into 31 <acronym>DVI</acronym>/PostScript and Portable Document Format 32 (<acronym>PDF</acronym>) forms.</para> 33 34 <sect3><title>Package information</title> 35 <itemizedlist spacing='compact'> 36 <listitem><para>Download (HTTP): 37 <ulink url="&jadetex-download-http;"/></para></listitem> 38 <listitem><para>Download (FTP): 39 <ulink url="&jadetex-download-ftp;"/></para></listitem> 40 <listitem><para>Download MD5 sum: &jadetex-md5sum;</para></listitem> 41 <listitem><para>Download size: &jadetex-size;</para></listitem> 42 <listitem><para>Estimated disk space required: 43 &jadetex-buildsize;</para></listitem> 44 <listitem><para>Estimated build time: 45 &jadetex-time;</para></listitem></itemizedlist> 46 </sect3> 47 48 <sect3><title>Additional downloads</title> 49 <itemizedlist spacing='compact'> 50 <listitem><para>Recommended demo files: <ulink 51 url="http://anduin.linuxfromscratch.org/sources/BLFS/SVN/I-K/jadetex-3.13-demo.tar.bz2"/> 52 </para></listitem> 53 </itemizedlist> 54 </sect3> 55 56 <sect3><title><application>JadeTeX</application> dependencies</title> 57 <sect4><title>Required</title> 58 <para><xref linkend="tex"/> and 59 <xref linkend="openjade"/></para> 60 </sect4> 61 </sect3> 62 63 </sect2> 64 65 <sect2> 66 <title>Installation of <application>JadeTeX</application></title> 67 68 <para>If you downloaded the demo files tarball, unpack it along with the 69 source tarball. It will unpack as a 70 <filename class='directory'>demo</filename> directory in the root of the 71 source tree.</para> 72 73 <para>First, as the root user, make some required modifications to the 74 <filename>texmf.cnf</filename> file already installed on the system by the 75 <application>TeX</application> package, then build a new 76 <filename>latex.fmt</filename> file using the following commands:</para> 77 78 <screen><userinput role='root'><command>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \ 16 <?dbhtml filename="jadetex.html"?> 17 18 <sect1info> 19 <othername>$LastChangedBy$</othername> 20 <date>$Date$</date> 21 </sect1info> 22 23 <title>JadeTeX-&jadetex-version;</title> 24 25 <indexterm zone="jadetex"> 26 <primary sortas="a-JadeTeX">JadeTeX</primary> 27 </indexterm> 28 29 <sect2 role="package"> 30 <title>Introduction to JadeTeX</title> 31 32 <para>The <application>JadeTeX</application> package is a companion package 33 to the <application>OpenJade</application> DSSSL processor. 34 <application>JadeTeX</application> transforms high level LaTeX macros into 35 DVI/PostScript and Portable Document Format (PDF) forms.</para> 36 37 <bridgehead renderas="sect3">Package Information</bridgehead> 38 <itemizedlist spacing="compact"> 39 <listitem> 40 <para>Download (HTTP): <ulink url="&jadetex-download-http;"/></para> 41 </listitem> 42 <listitem> 43 <para>Download (FTP): <ulink url="&jadetex-download-ftp;"/></para> 44 </listitem> 45 <listitem> 46 <para>Download MD5 sum: &jadetex-md5sum;</para> 47 </listitem> 48 <listitem> 49 <para>Download size: &jadetex-size;</para> 50 </listitem> 51 <listitem> 52 <para>Estimated disk space required: &jadetex-buildsize;</para> 53 </listitem> 54 <listitem> 55 <para>Estimated build time: &jadetex-time;</para> 56 </listitem> 57 </itemizedlist> 58 59 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 60 <itemizedlist spacing='compact'> 61 <listitem> 62 <para>Recommended demo files: <ulink 63 url="http://anduin.linuxfromscratch.org/sources/BLFS/SVN/I-K/jadetex-3.13-demo.tar.bz2"/> 64 </para> 65 </listitem> 66 </itemizedlist> 67 68 <bridgehead renderas="sect3">JadeTeX Dependencies</bridgehead> 69 70 <bridgehead renderas="sect4">Required</bridgehead> 71 <para><xref linkend="tex"/> and 72 <xref linkend="openjade"/></para> 73 74 </sect2> 75 76 <sect2 role="installation"> 77 <title>Installation of JadeTeX</title> 78 79 <para>If you downloaded the demo files tarball, unpack it along with the 80 source tarball. It will unpack as a 81 <filename class='directory'>demo</filename> directory in the root of the 82 source tree.</para> 83 84 <para>First, as the <systemitem class="username">root</systemitem> user, 85 make some required modifications to the <filename>texmf.cnf</filename> 86 file already installed on the system by the <application>TeX</application> 87 package, then build a new <filename>latex.fmt</filename> file using the 88 following commands:</para> 89 90 <screen role="root"><userinput>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \ 79 91 -e "s/memory hog.../&\npool_size.context = 750000/" \ 80 92 $(kpsewhich texmf.cnf) && 81 cat >> $(kpsewhich texmf.cnf) << "EOF" </command>82 93 cat >> $(kpsewhich texmf.cnf) << "EOF" 94 <literal> 83 95 % The following 3 sections added for JadeTeX 84 96 … … 119 131 pool_size.pdfjadetex = 500000 120 132 max_strings.pdfjadetex = 55000 121 122 <command>EOF133 </literal> 134 EOF 123 135 LATEX_FMT_DIR="$(kpsewhich -expand-var '$TEXMFSYSVAR')/web2c" && 124 136 mv -v $(kpsewhich latex.fmt) $(kpsewhich latex.fmt).orig && 125 137 mv -v $LATEX_FMT_DIR/latex.log $LATEX_FMT_DIR/latex.log.orig && 126 fmtutil-sys --byfmt latex</ command></userinput></screen>127 128 <para>Install <application>JadeTex</application> using the following 129 commands:</para>130 131 <screen><userinput> <command>make</command></userinput></screen>132 133 <para>Now, as the rootuser:</para>134 135 <screen ><userinput role='root'><command>install -v -m755 -d \138 fmtutil-sys --byfmt latex</userinput></screen> 139 140 <para>Install <application>JadeTex</application> using the following 141 commands:</para> 142 143 <screen><userinput>make</userinput></screen> 144 145 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 146 147 <screen role="root"><userinput>install -v -m755 -d \ 136 148 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config && 137 149 install -v -m644 dsssl.def jadetex.ltx \ … … 141 153 FMTUTIL_CNF="$(kpsewhich fmtutil.cnf)" && 142 154 mv $FMTUTIL_CNF $FMTUTIL_CNF.orig && 143 cat $FMTUTIL_CNF.orig - >> $FMTUTIL_CNF << "EOF" </command>144 155 cat $FMTUTIL_CNF.orig - >> $FMTUTIL_CNF << "EOF" 156 <literal> 145 157 # JadeTeX formats: 146 158 jadetex etex - "&latex" jadetex.ini 147 159 pdfjadetex pdfetex - "&pdflatex" pdfjadetex.ini 148 149 <command>EOF160 </literal> 161 EOF 150 162 mv -v $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R \ 151 163 $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R.orig && … … 157 169 mktexlsr && 158 170 ln -v -sf etex /usr/bin/jadetex && 159 ln -v -sf pdfetex /usr/bin/pdfjadetex</ command></userinput></screen>160 161 <para>If you downloaded the demo files tarball, issue the following commands 162 as an unprivileged user to test the functionality of the new 163 <application>JadeTex</application> installation:</para>164 165 <screen><userinput> <command>cd demo &&171 ln -v -sf pdfetex /usr/bin/pdfjadetex</userinput></screen> 172 173 <para>If you downloaded the demo files tarball, issue the following 174 commands as an unprivileged user to test the functionality of the new 175 <application>JadeTex</application> installation:</para> 176 177 <screen><userinput>cd demo && 166 178 openjade -t tex -d demo.dsl demo.sgm && 167 179 jadetex demo.tex && 168 pdfjadetex demo.tex</command></userinput></screen> 169 170 <para>The commands should complete without errors or warnings and create 171 <filename>demo.dvi</filename> and <filename>demo.pdf</filename> files.</para> 172 173 </sect2> 174 175 <sect2> 176 <title>Command explanations</title> 177 178 <para><command>sed -i -e ... -e ... $(kpsewhich texmf.cnf)</command>: 179 This command uses <command>kpsewhich</command> to locate the installed 180 <filename>texmf.cnf</filename>. The first change is used to modify the 181 header of the file so that if <application>TeX</application> is upgraded, 182 the file won't get overwritten. The next change adds a parameter to 183 increase ConTeXt's memory size to accommodate 184 <application>JadeTeX</application>.</para> 185 186 <para><command>fmtutil-sys ...</command>: These commands are used to build 187 the <filename>latex.fmt</filename>, <filename>jadetex.fmt</filename> and 188 <filename>pdfjadetex.fmt</filename> files. Additionally, the command 189 automagically places the files in the correct directory.</para> 190 191 <para><command>mktexlsr; ln -v -sf tex ...; ln -v -sf pdftex ...</command>: The 192 <application>JadeTeX</application> programs are actually just symlinks to the 193 <application>TeX</application> programs. <command>mktexlsr</command> updates 194 <application>TeX</application>'s <filename>ls-R</filename> database used by 195 the <filename class='libraryfile'>libkpathsea</filename> library so that 196 <application>TeX</application> knows to use the 197 <application>JadeTeX</application> <filename>.fmt</filename> files when 198 <command>jadetex</command> or <command>pdfjadetex</command> is called.</para> 199 200 </sect2> 201 202 <sect2> 203 <title>Configuring <application>JadeTeX</application></title> 204 205 <sect3><title>Config files</title> 206 <para><filename>jadetex.dtx</filename> in the 207 <application>JadeTeX</application> source tree.</para> 208 </sect3> 209 210 <sect3><title>Configuration Information</title> 211 212 <para>If you need to modify the default <application>JadeTeX</application> 213 macro settings, see the 214 <ulink url="http://jadetex.sourceforge.net/#index-div-d18e397"> 215 <application>JadeTeX</application> <acronym>FAQ</acronym></ulink>.</para> 216 </sect3> 217 218 </sect2> 219 220 <sect2> 221 <title>Contents</title> 222 223 <segmentedlist> 224 <segtitle>Installed Programs</segtitle> 225 <segtitle>Installed Libraries</segtitle> 226 <segtitle>Installed Directories</segtitle> 227 <seglistitem> 228 <seg>jadetex and pdfjadetex</seg> 229 <seg>None</seg> 230 <seg>/usr/share/texmf-local</seg> 231 </seglistitem> 232 </segmentedlist> 233 234 <variablelist> 235 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 236 <?dbfo list-presentation="list"?> 237 238 <varlistentry id="jadetex-prog"> 239 <term><command>jadetex</command></term> 240 <listitem><para>transforms LaTeX macros created by 241 <application>OpenJade</application> into <acronym>DVI</acronym>/PostScript 242 forms.</para> 243 <indexterm zone="jadetex jadetex-prog"> 244 <primary sortas="b-jadetex">jadetex</primary></indexterm> 245 </listitem> 246 </varlistentry> 247 248 <varlistentry id="pdfjadetex"> 249 <term><command>pdfjadetex</command></term> 250 <listitem><para>transforms LaTeX macros created by 251 <application>OpenJade</application> into Portable Document Format 252 (<acronym>PDF</acronym>) forms.</para> 253 <indexterm zone="jadetex pdfjadetex"> 254 <primary sortas="b-pdfjadetex">pdfjadetex</primary></indexterm> 255 </listitem> 256 </varlistentry> 257 </variablelist> 258 259 </sect2> 180 pdfjadetex demo.tex</userinput></screen> 181 182 <para>The commands should complete without errors or warnings and create 183 <filename>demo.dvi</filename> and <filename>demo.pdf</filename> files.</para> 184 185 </sect2> 186 187 <sect2 role="commands"> 188 <title>Command Explanations</title> 189 190 <para><command>sed -i -e ... -e ... $(kpsewhich texmf.cnf)</command>: 191 This command uses <command>kpsewhich</command> to locate the installed 192 <filename>texmf.cnf</filename>. The first change is used to modify the 193 header of the file so that if <application>TeX</application> is upgraded, 194 the file won't get overwritten. The next change adds a parameter to 195 increase ConTeXt's memory size to accommodate 196 <application>JadeTeX</application>.</para> 197 198 <para><command>fmtutil-sys ...</command>: These commands are used to build 199 the <filename>latex.fmt</filename>, <filename>jadetex.fmt</filename> and 200 <filename>pdfjadetex.fmt</filename> files. Additionally, the command 201 automagically places the files in the correct directory.</para> 202 203 <para><command>mktexlsr; ln -v -sf tex ...; ln -v -sf pdftex ...</command>: 204 The <application>JadeTeX</application> programs are actually just symlinks 205 to the <application>TeX</application> programs. <command>mktexlsr</command> 206 updates <application>TeX</application>'s <filename>ls-R</filename> database 207 used by the <filename class='libraryfile'>libkpathsea</filename> library so 208 that <application>TeX</application> knows to use the 209 <application>JadeTeX</application> <filename>.fmt</filename> files when 210 <command>jadetex</command> or <command>pdfjadetex</command> is called.</para> 211 212 </sect2> 213 214 <sect2 role="configuration"> 215 <title>Configuring JadeTeX</title> 216 217 <sect3> 218 <title>Config Files</title> 219 220 <para><filename>jadetex.dtx</filename> in the 221 <application>JadeTeX</application> source tree.</para> 222 223 </sect3> 224 225 <sect3> 226 <title>Configuration Information</title> 227 228 <para>If you need to modify the default <application>JadeTeX</application> 229 macro settings, see the 230 <ulink url="http://jadetex.sourceforge.net/#index-div-d18e397"> 231 <application>JadeTeX</application> FAQ</ulink>.</para> 232 233 </sect3> 234 235 </sect2> 236 237 <sect2 role="content"> 238 <title>Contents</title> 239 240 <segmentedlist> 241 <segtitle>Installed Programs</segtitle> 242 <segtitle>Installed Libraries</segtitle> 243 <segtitle>Installed Directories</segtitle> 244 245 <seglistitem> 246 <seg>jadetex and pdfjadetex</seg> 247 <seg>None</seg> 248 <seg>/usr/share/texmf-local</seg> 249 </seglistitem> 250 </segmentedlist> 251 252 <variablelist> 253 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 254 <?dbfo list-presentation="list"?> 255 256 <varlistentry id="jadetex-prog"> 257 <term><command>jadetex</command></term> 258 <listitem> 259 <para>transforms LaTeX macros created by 260 <application>OpenJade</application> into DVI/PostScript forms.</para> 261 <indexterm zone="jadetex jadetex-prog"> 262 <primary sortas="b-jadetex">jadetex</primary> 263 </indexterm> 264 </listitem> 265 </varlistentry> 266 267 <varlistentry id="pdfjadetex"> 268 <term><command>pdfjadetex</command></term> 269 <listitem> 270 <para>transforms LaTeX macros created by 271 <application>OpenJade</application> into Portable Document Format 272 (PDF) forms.</para> 273 <indexterm zone="jadetex pdfjadetex"> 274 <primary sortas="b-pdfjadetex">pdfjadetex</primary> 275 </indexterm> 276 </listitem> 277 </varlistentry> 278 279 </variablelist> 280 281 </sect2> 260 282 261 283 </sect1> 262
Note:
See TracChangeset
for help on using the changeset viewer.