source: pst/typesetting/tex-path.xml@ fa3edfef

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since fa3edfef was fa3edfef, checked in by Pierre Labastie <pieere@…>, 22 months ago

Format pst

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

  • Property mode set to 100644
File size: 2.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="tex-path" xreflabel="Setting the PATH for TeX Live">
9 <?dbhtml filename="tex-path.html"?>
10
11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
15
16 <title>Setting the PATH for TeX Live</title>
17
18 <para>
19 Before starting to build TeX Live, set up your PATH so
20 that the system can properly find the files. If you set up your login
21 scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
22 the needed paths by appending to the
23 <filename>extrapaths.sh</filename> script. The programs are always
24 installed in an &lt;ARCH&gt;-linux subdirectory and on 32-bit x86 this is
25 always i386-linux. For x86_64 and i?86 we can generate this as $TEXARCH:
26 </para>
27
28<!-- EOF should NOT be in double quotes, we want it to evaluate $TEXARCH -->
29<!-- this is also in texlive.xml -->
30<screen role="root"><userinput>export TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/') &amp;&amp;
31
32cat &gt;&gt; /etc/profile.d/extrapaths.sh &lt;&lt; EOF
33<literal>
34# Begin texlive addition
35
36pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/man MANPATH
37pathappend /opt/texlive/&texlive-year;/texmf-dist/doc/info INFOPATH
38pathappend /opt/texlive/&texlive-year;/bin/$TEXARCH
39
40# End texlive addition
41</literal>
42EOF
43
44unset TEXARCH</userinput></screen>
45
46
47 <note>
48 <para>
49 The standard MANPATH and INFOPATH path are specified above to
50 ensure they are included. If they are already set in the boot script
51 procedure, the pathappend function will ensure duplicates are
52 removed, so including them here will do no harm.
53 </para>
54 </note>
55
56 <para>
57 The new paths can be immediately activated by running <command>source
58 /etc/profile</command>.
59 </para>
60
61 <para>
62 You should now proceed either to <xref linkend="tl-installer"/> for
63 a binary installation of texlive, or to <xref linkend="texlive"/> to begin
64 installing from source.
65 </para>
66
67</sect1>
Note: See TracBrowser for help on using the repository browser.