glfs/pst/typesetting/tex-path.xml
Fernando de Oliveira eb32964f75 FFmpeg-2.6.2: minor formatting.
Setting the PATH for TeX Live: minor formatting.
Qt-5.4.1: fix build of Qt Web Kit against glib-2.43 or newer.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15826 af4574ff-66df-0310-9fd7-8a98e5e911e0
2015-04-13 10:56:22 +00:00

62 lines
2.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
]>
<sect1 id="tex-path" xreflabel="Setting the PATH for TeX Live">
<?dbhtml filename="tex-path.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Setting the PATH for TeX Live</title>
<para>After the package download is complete, the next step is to make sure
that the system can properly find the files. If you set up your login
scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
the needed paths by appending to the
<filename>extrapaths.sh</filename> script. The programs are always
installed in an &lt;ARCH&gt;-linux subdirectory and on 32-bit x86 this is
always i386-linux. For x86_64 and i?86 we can generate this as $TEXARCH:
</para>
<!-- EOF should NOT be in double quotes, we want it to evaluate $TEXARCH -->
<!-- this is also in texlive.xml -->
<screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; EOF
<literal>
# Begin texlive addition
pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
pathappend /opt/texlive/&texlive-year;/bin/$TEXARCH
# End texlive addition
</literal>
EOF
unset TEXARCH</userinput></screen>
<!-- commented, they have been removed
<note><para>The standard MANPATH and INFOPATH path are specified above to
ensure they are included. If they are already set in the boot script
procedure, the pathappend function will ensure duplicates are
removed, so including them here will do no harm.</para></note> -->
<para>The new paths can be immediately activated by running <command>source
/etc/profile</command>.</para>
<para>If you arrived here after installing the TeX Live binary and do not
wish to build from source, your installation is now complete.</para>
<para>Alternatively, if this is a from-source build you can now install
<xref linkend="asymptote"/>, <xref linkend="biber"/> and <xref
linkend="xindy"/> if you wish.</para>
</sect1>