Changeset 28da027b for pst/typesetting/jadetex.xml
- Timestamp:
- 04/07/2005 10:39:37 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:
- 44e4099
- Parents:
- 1c1483d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/typesetting/jadetex.xml
r1c1483d6 r28da027b 9 9 <!ENTITY jadetex-md5sum "634dfc172fbf66a6976e2c2c60e2d198"> 10 10 <!ENTITY jadetex-size "103 KB"> 11 <!ENTITY jadetex-buildsize "9. 6MB">12 <!ENTITY jadetex-time "0. 11SBU">11 <!ENTITY jadetex-buildsize "9.3 MB"> 12 <!ENTITY jadetex-time "0.04 SBU"> 13 13 ]> 14 14 … … 46 46 </sect3> 47 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 48 56 <sect3><title><application>JadeTeX</application> dependencies</title> 49 57 <sect4><title>Required</title> … … 58 66 <title>Installation of <application>JadeTeX</application></title> 59 67 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 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> 62 77 63 78 <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 >> /usr/share/texmf/web2c/texmf.cnf << "EOF"</command> 79 -e "s/memory hog.../&\npool_size.context = 750000/" \ 80 $(kpsewhich texmf.cnf) && 81 cat >> $(kpsewhich texmf.cnf) << "EOF"</command> 77 82 78 83 % The following 3 sections added for JadeTeX … … 114 119 pool_size.pdfjadetex = 500000 115 120 max_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 && 123 LATEX_FMT_DIR="$(kpsewhich -expand-var '$TEXMFSYSVAR')/web2c" && 124 mv -v $(kpsewhich latex.fmt) $(kpsewhich latex.fmt).orig && 125 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 119 129 commands:</para> 120 130 121 <screen><userinput><command>cp -v -R /usr/share/texmf/tex/latex/config . && 122 cd config && 123 tex -ini -progname=latex latex.ini && 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 && 132 install -v -m644 config/latex.fmt /usr/share/texmf/web2c && 133 make install && 134 ln -v -sf tex /usr/bin/jadetex && 135 ln -v -sf pdftex /usr/bin/pdfjadetex && 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 && 137 install -v -m644 dsssl.def jadetex.ltx \ 138 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex && 139 install -v -m644 {,pdf}jadetex.ini \ 140 $(kpsewhich -expand-var '$TEXMFLOCAL')/tex/jadetex/config && 141 FMTUTIL_CNF="$(kpsewhich fmtutil.cnf)" && 142 mv $FMTUTIL_CNF $FMTUTIL_CNF.orig && 143 cat $FMTUTIL_CNF.orig - >> $FMTUTIL_CNF << "EOF"</command> 144 145 # JadeTeX formats: 146 jadetex etex - "&latex" jadetex.ini 147 pdfjadetex pdfetex - "&pdflatex" pdfjadetex.ini 148 149 <command>EOF && 150 mv -v $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R \ 151 $(kpsewhich -expand-var '$TEXMFMAIN')/ls-R.orig && 152 mv -v $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R \ 153 $(kpsewhich -expand-var '$TEXMFSYSVAR')/ls-R.orig && 154 mktexlsr && 155 fmtutil-sys --byfmt jadetex && 156 fmtutil-sys --byfmt pdfjadetex && 157 mktexlsr && 158 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 && 166 openjade -t tex -d demo.dsl demo.sgm && 167 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> 137 172 138 173 </sect2> … … 141 176 <title>Command explanations</title> 142 177 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>: 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 149 192 <application>JadeTeX</application> programs are actually just symlinks to the 150 193 <application>TeX</application> programs. <command>mktexlsr</command> updates … … 185 228 <seg>jadetex and pdfjadetex</seg> 186 229 <seg>None</seg> 187 <seg>/usr/share/texmf /tex/jadetex</seg>230 <seg>/usr/share/texmf-local</seg> 188 231 </seglistitem> 189 232 </segmentedlist>
Note:
See TracChangeset
for help on using the changeset viewer.