Changeset 28da027b


Ignore:
Timestamp:
04/07/2005 10:39:37 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
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, gimp3, 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:
44e4099
Parents:
1c1483d6
Message:

Updated the JadeTex instructions to work with Tex-3.0; added a note to the acknowledgments page to recognize Steffen Knollmann creating the instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3691 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r1c1483d6 r28da027b  
    1 <!ENTITY day          "06">
     1<!ENTITY day          "07">
    22<!ENTITY month        "04">
    33<!ENTITY year         "2005">
  • introduction/welcome/changelog.xml

    r1c1483d6 r28da027b  
    2222
    2323<itemizedlist>
     24
     25<listitem><para>April 7th, 2005 [randy]: Updated the JadeTex instructions
     26to work with Tex-3.0, contributed by Steffen Knollmann.</para></listitem>
    2427
    2528<listitem><para>April 6th, 2005 [igor]: Updated to
  • introduction/welcome/credits.xml

    r1c1483d6 r28da027b  
    210210<itemizedlist>
    211211
     212<listitem><para><emphasis>Fernando Arbeiza</emphasis> for doing great
     213quality assurance on Shadow utilizing <acronym>PAM</acronym>.  The machine
     214access he saved may have been yours.</para></listitem>
     215
     216<listitem><para><emphasis>Archaic</emphasis> for trouble shooting the
     217mozilla section by performing multiple builds and for providing a description
     218of the various mozilla extensions.</para></listitem>
     219
    212220<listitem><para><emphasis>Gerard Beekmans</emphasis> for generally
    213 putting up with us and for running the whole <acronym>LFS</acronym> project.
    214 </para></listitem>
     221putting up with us and for running the whole <acronym>LFS</acronym>
     222project.</para></listitem>
     223
     224<listitem><para><emphasis>Oliver Brakmann</emphasis> for developing the
     225dhcpcd patch for <acronym>FHS</acronym> compliance.</para></listitem>
     226
     227<listitem><para><emphasis>Ian Chilton</emphasis> for writing the nfs
     228hint.</para></listitem>
     229
     230<listitem><para><emphasis>Nathan Coulson</emphasis> for writing the new
     231network bootscripts.</para></listitem>
     232
     233<listitem><para><emphasis>Nathan Coulson</emphasis>,
     234<emphasis>DJ Lucas</emphasis> and <emphasis>Zack Winkles</emphasis> for
     235reworking the bootscripts used throughout the book.</para></listitem>
     236
     237<listitem><para><emphasis>Jim Harris</emphasis> for writing the
     238dig-nslookup-host.txt hint on which the bind-utils instructions are
     239based.</para></listitem>
     240
     241<listitem><para><emphasis>Lee Harris</emphasis> for writing the gpm.txt
     242hint on which our gpm instructions are based.</para></listitem>
     243
     244<listitem><para><emphasis>Marc Heerdink</emphasis> for creating patches
     245for tcp_wrappers and portmap and for writing the gpm2.txt hint on which our
     246gpm instruction are based..</para></listitem>
    215247
    216248<listitem><para><emphasis>Mark Hymers</emphasis> for initiating the
     
    218250of the book.</para></listitem>
    219251
    220 <listitem><para><emphasis>Lee Harris</emphasis> for writing the gpm.txt
    221 hint on which our gpm instructions are based.</para></listitem>
    222 
    223 <listitem><para><emphasis>Marc Heerdink</emphasis> for writing the
    224 gpm2.txt hint on which our gpm instruction are based.</para></listitem>
     252<listitem><para><emphasis>J_Man</emphasis> for submitting a gpm-1.19.3.diff
     253file on which our gpm instructions are based.</para></listitem>
    225254
    226255<listitem><para><emphasis>Jeremy Jones</emphasis> (otherwise known as
     
    228257</listitem>
    229258
    230 <listitem><para><emphasis>J_Man</emphasis> for submitting a gpm-1.19.3.diff
    231 file on which our gpm instructions are based.</para></listitem>
     259<listitem><para><emphasis>Steffen Knollmann</emphasis> for revising the
     260JadeTeX instructions to work with Tex-3.0</para></listitem>
     261
     262<listitem><para><emphasis>Eric Konopka</emphasis> for writing the
     263ntp.txt hint on which the ntp section is based.</para></listitem>
     264
     265<!-- <listitem><para><emphasis>DJ Lucas</emphasis> for contributing to dhcpcd
     266patch and many contributions while <acronym>DHCP</acronym> section was being
     267developed and beyond.</para></listitem>
     268-->
     269
     270<!-- <listitem><para><emphasis>Randy McMurchy</emphasis> for writing the
     271Heimdal hint and for proofreading the book from cover to cover for
     272grammatical errors.</para></listitem>
     273-->
    232274
    233275<listitem><para><emphasis>Scot McPherson</emphasis> for writing the
     
    236278</listitem>
    237279
    238 
     280<!-- <listitem><para><emphasis>Billy O'Connor</emphasis> for building GNOME
     2812.0 so many times and being very helpful with his comments on that section.
     282</para></listitem>
     283-->
     284
     285<listitem><para><emphasis>Alexander E. Patrakov</emphasis> for patches and
     286suggestions to improve the book content and increasing the
     287<acronym>l10n</acronym> awareness.</para></listitem>
     288
     289<listitem><para><emphasis>Ted Riley</emphasis> for writing the
     290Linux-<acronym>PAM</acronym> + CrackLib + Shadow hint on which reinstalling
     291shadow to use <acronym>PAM</acronym> is based.</para></listitem>
    239292
    240293<!--
     
    244297-->
    245298
    246 <listitem><para><emphasis>Oliver Brakmann</emphasis> for developing the
    247 dhcpcd patch for <acronym>FHS</acronym> compliance.</para></listitem>
    248 
    249 <!-- <listitem><para><emphasis>DJ Lucas</emphasis> for contributing to dhcpcd
    250 patch and many contributions while <acronym>DHCP</acronym> section was being
    251 developed and beyond.</para></listitem>
    252 -->
    253 
    254 <!-- <listitem><para><emphasis>Billy O'Connor</emphasis> for building GNOME
    255 2.0 so many times and being very helpful with his comments on that section.
    256 </para></listitem>
    257 -->
    258 
    259 <listitem><para><emphasis>Ted Riley</emphasis> for writing the
    260 Linux-<acronym>PAM</acronym> + CrackLib + Shadow hint on which reinstalling
    261 shadow to use <acronym>PAM</acronym> is based.</para></listitem>
    262 
    263 <listitem><para><emphasis>Fernando Arbeiza</emphasis> for doing great
    264 quality assurance on Shadow utilizing <acronym>PAM</acronym>.  The machine
    265 access he saved may have been yours.</para></listitem>
    266 
    267 <listitem><para><emphasis>Jim Harris</emphasis> for writing the
    268 dig-nslookup-host.txt hint on which the bind-utils instructions are based.
    269 </para></listitem>
    270 
    271 <listitem><para><emphasis>Eric Konopka</emphasis> for writing the
    272 ntp.txt hint on which the ntp section is based.
    273 </para></listitem>
    274 
    275 <listitem><para><emphasis>Marc Heerdink</emphasis> for creating patches
    276 for tcp_wrappers and portmap.</para></listitem>
    277 
    278 <listitem><para><emphasis>Archaic</emphasis> for trouble shooting the
    279 mozilla section by performing multiple builds and for providing a description
    280 of the various mozilla extensions.</para></listitem>
    281 
    282 <listitem><para><emphasis>Nathan Coulson</emphasis> for writing the new
    283 network bootscripts.</para></listitem>
    284 
    285 <listitem><para><emphasis>Alexander E. Patrakov</emphasis> for patches and
    286 suggestions to improve the book content and increasing the <acronym>l10n</acronym>
    287 awareness.</para></listitem>
    288 
    289 <listitem><para><emphasis>Ian Chilton</emphasis> for writing the nfs hint.</para></listitem>
    290 
    291 <listitem><para><emphasis>Nathan Coulson</emphasis>, <emphasis>DJ Lucas</emphasis>
    292 and <emphasis>Zack Winkles</emphasis> for reworking the bootscripts used throughout
    293 the book.</para></listitem>
    294 
    295 <!-- <listitem><para><emphasis>Randy McMurchy</emphasis> for writing the
    296 Heimdal hint and for proofreading the book from cover to cover for
    297 grammatical errors.</para></listitem>
    298 -->
    299 
    300299</itemizedlist>
    301300</sect2>
  • pst/typesetting/jadetex.xml

    r1c1483d6 r28da027b  
    99  <!ENTITY jadetex-md5sum        "634dfc172fbf66a6976e2c2c60e2d198">
    1010  <!ENTITY jadetex-size          "103 KB">
    11   <!ENTITY jadetex-buildsize     "9.6 MB">
    12   <!ENTITY jadetex-time          "0.11 SBU">
     11  <!ENTITY jadetex-buildsize     "9.3 MB">
     12  <!ENTITY jadetex-time          "0.04 SBU">
    1313]>
    1414
     
    4646</sect3>
    4747
     48<sect3><title>Additional downloads</title>
     49<itemizedlist spacing='compact'>
     50<listitem><para>Recommended demo files: <ulink
     51url="http://anduin.linuxfromscratch.org/sources/BLFS/SVN/I-K/jadetex-3.13-demo.tar.bz2"/>
     52</para></listitem>
     53</itemizedlist>
     54</sect3>
     55
    4856<sect3><title><application>JadeTeX</application> dependencies</title>
    4957<sect4><title>Required</title>
     
    5866<title>Installation of <application>JadeTeX</application></title>
    5967
    60 <para>First, as the root user, make some required modifications to files
    61 already installed on the system:</para>
     68<para>If you downloaded the demo files tarball, unpack it along with the
     69source tarball. It will unpack as a
     70<filename class='directory'>demo</filename> directory in the root of the
     71source 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>
    6277
    6378<screen><userinput role='root'><command>sed -i.orig -e "s/original texmf.cnf/modified texmf.cnf/" \
    64    /usr/share/texmf/web2c/texmf.cnf</command></userinput></screen>
    65 
    66 <para>You'll need to make two modifications to
    67 <filename>/usr/share/texmf/web2c/texmf.cnf</filename>. First, add the
    68 following line under the section titled <quote>ConTeXt is a memory
    69 hog...</quote>:</para>
    70 
    71 <screen><userinput role='root'>pool_size.context = 750000</userinput></screen>
    72 
    73 <para>Next, add <command>latex</command>, <command>jadetex</command> and
    74 <command>pdfjadetex</command> settings using the following command:</para>
    75 
    76 <screen><userinput role='root'><command>cat &gt;&gt; /usr/share/texmf/web2c/texmf.cnf &lt;&lt; "EOF"</command>
     79            -e "s/memory hog.../&amp;\npool_size.context = 750000/" \
     80    $(kpsewhich texmf.cnf) &amp;&amp;
     81cat &gt;&gt; $(kpsewhich texmf.cnf) &lt;&lt; "EOF"</command>
    7782
    7883% The following 3 sections added for JadeTeX
     
    114119pool_size.pdfjadetex = 500000
    115120max_strings.pdfjadetex = 55000
    116 <command>EOF</command></userinput></screen>
    117 
    118 <para>Build a new <filename>latex.fmt</filename> file using the following
     121
     122<command>EOF &amp;&amp;
     123LATEX_FMT_DIR="$(kpsewhich -expand-var '$TEXMFSYSVAR')/web2c" &amp;&amp;
     124mv -v $(kpsewhich latex.fmt) $(kpsewhich latex.fmt).orig &amp;&amp;
     125mv -v $LATEX_FMT_DIR/latex.log $LATEX_FMT_DIR/latex.log.orig &amp;&amp;
     126fmtutil-sys --byfmt latex</command></userinput></screen>
     127
     128<para>Install <application>JadeTex</application> using the following
    119129commands:</para>
    120130
    121 <screen><userinput><command>cp -v -R /usr/share/texmf/tex/latex/config . &amp;&amp;
    122 cd config &amp;&amp;
    123 tex -ini -progname=latex latex.ini &amp;&amp;
    124 cd ..</command></userinput></screen>
    125 
    126 <para>Now, as the root user, install the <filename>latex.fmt</filename> file,
    127 then build and install <application>JadeTex</application> using the following
    128 commands:</para>
    129 
    130 <screen><userinput role='root'><command>mv /usr/share/texmf/web2c/latex.fmt \
    131    /usr/share/texmf/web2c/latex.fmt.orig &amp;&amp;
    132 install -v -m644 config/latex.fmt /usr/share/texmf/web2c &amp;&amp;
    133 make install &amp;&amp;
    134 ln -v -sf tex /usr/bin/jadetex &amp;&amp;
    135 ln -v -sf pdftex /usr/bin/pdfjadetex &amp;&amp;
    136 mktexlsr</command></userinput></screen>
     131<screen><userinput><command>make</command></userinput></screen>
     132
     133<para>Now, as the root user:</para>
     134
     135<screen><userinput role='root'><command>install -v -m755 -d \
     136    $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config &amp;&amp;
     137install -v -m644 dsssl.def jadetex.ltx \
     138    $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex &amp;&amp;
     139install -v -m644 {,pdf}jadetex.ini \
     140    $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config &amp;&amp;
     141FMTUTIL_CNF="$(kpsewhich fmtutil.cnf)" &amp;&amp;
     142mv $FMTUTIL_CNF $FMTUTIL_CNF.orig &amp;&amp;
     143cat $FMTUTIL_CNF.orig - &gt;&gt; $FMTUTIL_CNF &lt;&lt; "EOF"</command>
     144
     145# JadeTeX formats:
     146jadetex         etex            -               "&amp;latex"     jadetex.ini
     147pdfjadetex      pdfetex         -               "&amp;pdflatex"  pdfjadetex.ini
     148
     149<command>EOF &amp;&amp;
     150mv -v $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R \
     151      $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R.orig &amp;&amp;
     152mv -v $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R \
     153      $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R.orig &amp;&amp;
     154mktexlsr &amp;&amp;
     155fmtutil-sys --byfmt jadetex &amp;&amp;
     156fmtutil-sys --byfmt pdfjadetex &amp;&amp;
     157mktexlsr &amp;&amp;
     158ln -v -sf etex /usr/bin/jadetex &amp;&amp;
     159ln -v -sf pdfetex /usr/bin/pdfjadetex</command></userinput></screen>
     160
     161<para>If you downloaded the demo files tarball, issue the following commands
     162as an unprivileged user to test the functionality of the new
     163<application>JadeTex</application> installation:</para>
     164
     165<screen><userinput><command>cd demo &amp;&amp;
     166openjade -t tex -d demo.dsl demo.sgm &amp;&amp;
     167jadetex demo.tex &amp;&amp;
     168pdfjadetex 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>
    137172
    138173</sect2>
     
    141176<title>Command explanations</title>
    142177
    143 <para><command>sed -i -e "s/original texmf.cnf/modified texmf.cnf/"</command>:
    144 This changes <filename>/usr/share/texmf/web2c/texmf.cnf</filename> so that if
    145 <application>TeX</application> is upgraded, this file won't get
    146 overwritten.</para>
    147 
    148 <para><command>ln -v -sf tex ...; ln -v -sf pdftex ...; mktexlsr</command>: The
     178<para><command>sed -i -e ... -e ... $(kpsewhich texmf.cnf)</command>:
     179This command uses <command>kpsewhich</command> to locate the installed
     180 <filename>texmf.cnf</filename>. The first change is used to modify the
     181header of the file so that if <application>TeX</application> is upgraded,
     182the file won't get overwritten. The next change adds a parameter to
     183increase ConTeXt's memory size to accommodate
     184<application>JadeTeX</application>.</para>
     185
     186<para><command>fmtutil-sys ...</command>: These commands are used to build
     187the <filename>latex.fmt</filename>, <filename>jadetex.fmt</filename> and
     188<filename>pdfjadetex.fmt</filename> files. Additionally, the command
     189automagically places the files in the correct directory.</para>
     190
     191<para><command>mktexlsr; ln -v -sf tex ...; ln -v -sf pdftex ...</command>: The
    149192<application>JadeTeX</application> programs are actually just symlinks to the
    150193<application>TeX</application> programs. <command>mktexlsr</command> updates
     
    185228<seg>jadetex and pdfjadetex</seg>
    186229<seg>None</seg>
    187 <seg>/usr/share/texmf/tex/jadetex</seg>
     230<seg>/usr/share/texmf-local</seg>
    188231</seglistitem>
    189232</segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.