Ignore:
Timestamp:
03/25/2020 12:06:24 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
81a73ed8
Parents:
47274444
Message:

Format pst

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/typesetting/texlive.xml

    r47274444 rfa3edfef  
    3838    <title>Introduction to TeX Live from source</title>
    3939
    40     <para>Most of TeX Live can be built from source without a pre-existing
    41     installation, but <application>xindy</application> (for indexing) needs
    42     working versions of <command>latex</command> and <command>pdflatex</command>
    43     when configure is run, and the testsuite and install for
    44     <command>asy</command> (for vector graphics) will fail if TeX has not
    45     already been installed. Additionally, <application>biber</application> is
    46     not provided within the <application>texlive</application> source.</para>
    47 
    48     <para>All of those packages are dealt with on their own pages and can be
    49     built after installing this package. If you have not already done so, you
    50     should start at <xref linkend="tex-path"/> so that the final commands to
    51     initialise the new installation will be found.</para>
     40    <para>
     41      Most of TeX Live can be built from source without a pre-existing
     42      installation, but <application>xindy</application> (for indexing) needs
     43      working versions of <command>latex</command> and
     44      <command>pdflatex</command> when configure is run, and the testsuite
     45      and install for <command>asy</command> (for vector graphics) will fail
     46      if TeX has not already been installed. Additionally,
     47      <application>biber</application> is not provided within the
     48      <application>texlive</application> source.
     49    </para>
     50
     51    <para>
     52      All of those packages are dealt with on their own pages and can be
     53      built after installing this package. If you have not already done so, you
     54      should start at <xref linkend="tex-path"/> so that the final commands to
     55      initialise the new installation will be found.
     56    </para>
    5257
    5358    &lfs91_checked;
     
    5661    <itemizedlist spacing="compact">
    5762      <listitem>
    58         <para>Download (HTTP): <ulink url="&texlive-download-http;"/></para>
    59       </listitem>
    60       <listitem>
    61         <para>Download (FTP): <ulink url="&texlive-download-ftp;"/></para>
    62       </listitem>
    63       <listitem>
    64         <para>Download MD5 sum: &texlive-md5sum;</para>
    65       </listitem>
    66       <listitem>
    67         <para>Download size: &texlive-size;</para>
    68       </listitem>
    69       <listitem>
    70         <para>Estimated disk space required: &texlive-buildsize;</para>
    71       </listitem>
    72       <listitem>
    73         <para>Estimated build time: &texlive-time;</para>
     63        <para>
     64          Download (HTTP): <ulink url="&texlive-download-http;"/>
     65        </para>
     66      </listitem>
     67      <listitem>
     68        <para>
     69          Download (FTP): <ulink url="&texlive-download-ftp;"/>
     70        </para>
     71      </listitem>
     72      <listitem>
     73        <para>
     74          Download MD5 sum: &texlive-md5sum;
     75        </para>
     76      </listitem>
     77      <listitem>
     78        <para>
     79          Download size: &texlive-size;
     80        </para>
     81      </listitem>
     82      <listitem>
     83        <para>
     84          Estimated disk space required: &texlive-buildsize;
     85        </para>
     86      </listitem>
     87      <listitem>
     88        <para>
     89          Estimated build time: &texlive-time;
     90        </para>
    7491      </listitem>
    7592    </itemizedlist>
     
    7794    <bridgehead renderas="sect3">Required Additional Downloads</bridgehead>
    7895
    79       <para>Much of the texlive environment (including scripts, documentation,
    80       fonts and various other files) is not part of the source tarball. You must
    81       download it separately. This will give you all of the additional files
    82       which are provided by a full install of the binary version, there is no
    83       realistic way to restrict which parts get installed.</para>
     96      <para>
     97        Much of the texlive environment (including scripts, documentation,
     98        fonts, and various other files) is not part of the source tarball.
     99        You must download it separately. This will give you all of the
     100        additional files which are provided by a full install of the binary
     101        version, there is no realistic way to restrict which parts get
     102        installed.
     103      </para>
    84104
    85105      <para>
     
    91111    <itemizedlist spacing="compact">
    92112      <listitem>
    93         <para>Download (HTTP): <ulink url="&texlive-texmf-download-http;"/></para>
    94       </listitem>
    95       <listitem>
    96         <para>Download (FTP): <ulink url="&texlive-texmf-download-ftp;"/></para>
    97       </listitem>
    98       <listitem>
    99         <para>Download MD5 sum: &texlive-texmf-md5sum;</para>
    100       </listitem>
    101       <listitem>
    102         <para>Download size: &texlive-texmf-size;</para>
    103       </listitem>
    104       <listitem>
    105         <para>Required patch: <ulink
    106         url="&patch-root;/texlive-&texlive-version;-source-upstream_fixes-1.patch"/></para>
     113        <para>
     114          Download (HTTP): <ulink url="&texlive-texmf-download-http;"/>
     115        </para>
     116      </listitem>
     117      <listitem>
     118        <para>
     119          Download (FTP): <ulink url="&texlive-texmf-download-ftp;"/>
     120        </para>
     121      </listitem>
     122      <listitem>
     123        <para>
     124          Download MD5 sum: &texlive-texmf-md5sum;
     125        </para>
     126      </listitem>
     127      <listitem>
     128        <para>
     129          Download size: &texlive-texmf-size;
     130        </para>
     131      </listitem>
     132      <listitem>
     133        <para>
     134          Required patch: <ulink url=
     135          "&patch-root;/texlive-&texlive-version;-source-upstream_fixes-1.patch"/>
     136        </para>
    107137      </listitem>
    108138    </itemizedlist>
     
    114144      <xref linkend="gs"/> <emphasis>including
    115145      <filename>libgs.so</filename></emphasis>, <!--(for dvisvgm, which is used by e.g.
    116       <xref role="nodep" linkend="asymptote"/>), : still referenced for dynamic loading,
     146      <xref role="nodep" linkend="asymptote"/>); still referenced for dynamic loading,
    117147      even without dvisvgm - e.fg. by dvipsk -->
    118148      <xref linkend="x-window-system"/>
     
    152182    </para>
    153183
    154     <para>The shared libraries will be installed into a texlive directory.
    155     As the <systemitem class="username">root</systemitem> user, add it to
    156     your <filename>/etc/ld.so.conf</filename>:</para>
     184    <para>
     185      The shared libraries will be installed into a texlive directory.
     186      As the <systemitem class="username">root</systemitem> user, add it to
     187      your <filename>/etc/ld.so.conf</filename>:
     188    </para>
    157189
    158190<screen role="root"><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; EOF
     
    171203      </para>
    172204
    173 <!--
    174       <para>
    175         If you came here to update an old system (because of the recent
    176         vulnerability) where the poppler version is before 0.62.0, such as
    177         BLFS-8.1, do NOT use the commands in the <literal>MYPOPPLER</literal>
    178         block of instructions, nor the <literal>\-\-with-system-poppler</literal>
    179         or <literal>\-\-with-system-xpdf</literal> options when configuring.
    180       </para>-->
    181 
    182205      <para>
    183206        In the 2019 release, <application>dvisvgm</application> cannot be built
    184         if shared system libraries are used. This means that <xref linkend="asymptote"/>
    185         will not be able to create svg files.
     207        if shared system libraries are used. This means that
     208        <xref linkend="asymptote"/> will not be able to create svg files.
    186209      </para>
    187210    </note>
     
    193216
    194217patch -Np1 -i ../texlive-&texlive-version;-source-upstream_fixes-1.patch &amp;&amp;
    195 <!--
    196 let MYPOPPLER=$(pkg-config \-\-modversion poppler | cut -d '.' -f2)
    197 mv -v texk/web2c/pdftexdir/pdftosrc{-newpoppler,}.cc
    198 if [ $MYPOPPLER -lt 68 ]; then
    199   mv -v texk/web2c/pdftexdir/pdftoepdf{-newpoppler,}.cc
    200 elif [ $MYPOPPLER -lt 69 ]; then
    201   mv -v texk/web2c/pdftexdir/pdftoepdf{-poppler0.68.0,}.cc
    202 else
    203   mv -v texk/web2c/pdftexdir/pdftoepdf{-poppler0.69.0,}.cc
    204 fi &amp;&amp;
    205 unset MYPOPPLER &amp;&amp;-->
     218
    206219mkdir texlive-build &amp;&amp;
    207220cd texlive-build    &amp;&amp;
     
    240253make</userinput></screen>
    241254
    242     <para>To test the results, issue: <command>make check</command>
    243     A few tests may SKIP because kpathsea
    244     has not yet been installed.</para>
    245 
    246     <para>Now, as the <systemitem class="username">root</systemitem>
    247     user:</para>
     255    <para>
     256      To test the results, issue: <command>make check</command>
     257      A few tests may SKIP because kpathsea
     258      has not yet been installed.
     259    </para>
     260
     261    <para>
     262      Now, as the <systemitem class="username">root</systemitem> user:
     263    </para>
    248264
    249265<!-- Editors, you can run 'make texlinks' in a DESTDIR by passing
     
    263279    </note>
    264280
    265     <para>Now install the additional files as the
    266     <systemitem class="username">root</systemitem> user:</para>
     281    <para>
     282      Now install the additional files as the
     283      <systemitem class="username">root</systemitem> user:
     284    </para>
    267285
    268286<!-- if texmf does not need to be patched, remove &amp;&amp; from first line,
     
    270288<screen role="root"><userinput>tar -xf ../../texlive-&texmf-version;-texmf.tar.xz -C /opt/texlive/&texlive-year; --strip-components=1</userinput></screen>
    271289
    272     <para>Still as the <systemitem class="username">root</systemitem> user,
    273     initialise the new system (the commands <command>fmtutil-sys --all</command>
    274     and <command>mtxrun --generate</command> will produce a
    275     <emphasis>lot</emphasis> of output):</para>
     290    <para>
     291      Still as the <systemitem class="username">root</systemitem> user,
     292      initialise the new system (the commands <command>fmtutil-sys
     293      --all</command> and <command>mtxrun --generate</command> will produce
     294      a <emphasis>lot</emphasis> of output):
     295    </para>
    276296
    277297<!-- Editors, fmtutil-sys and mtxrun \-\-generate can apparently only be run on
     
    283303mtxrun --generate</userinput></screen>
    284304
    285     <para>You can now proceed to <xref linkend="asymptote"/>,
    286     <xref linkend="biber"/> and / or <xref linkend="xindy"/> if you
    287     wish to install them.</para>
     305    <para>
     306      You can now proceed to <xref linkend="asymptote"/>,
     307      <xref linkend="biber"/> and / or <xref linkend="xindy"/> if you
     308      wish to install them.
     309    </para>
    288310
    289311  </sect2>
     
    336358
    337359    <para>
    338       <command>/sbin/ldconfig</command>: this has to be run here so that <command>make
    339       texlinks</command> can use kpsewhich.
     360      <command>/sbin/ldconfig</command>: this has to be run here so that
     361      <command>make texlinks</command> can use kpsewhich.
    340362    </para>
    341363
Note: See TracChangeset for help on using the changeset viewer.