source: pst/typesetting/tex-path.xml@ 74cb253

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 74cb253 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 18 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 2.7 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
12 <title>Setting the PATH for TeX Live</title>
13
14 <para>
15 Before starting to build TeX Live, set up your PATH so
16 that the system can properly find the files. If you set up your login
17 scripts as recommended in <xref linkend='postlfs-config-profile'/>, update
18 the needed paths by creating the
19 <filename>texlive.sh</filename> script. The programs are always
20 installed in an &lt;ARCH&gt;-linux subdirectory and on 32-bit x86 this is
21 always i386-linux. For x86_64 and i?86 we can generate this as $TEXARCH:
22 </para>
23
24 <note>
25 <para>
26 If upgrading from a previous year's version, you should manually
27 edit <filename>texlive.sh</filename> to ensure that the version for
28 the year you wish to use is the only TeX present (some people need to
29 keep multiple years available to ensure there are no regressions in
30 their documents).
31 </para>
32 </note>
33
34<!-- EOF should NOT be in double quotes, we want it to evaluate $TEXARCH -->
35<!-- this is also in texlive.xml -->
36 <para>Now, create the texlive.sh script as the &root; user:</para>
37
38<screen role="root"><userinput>TEXARCH=$(uname -m | sed -e 's/i.86/i386/' -e 's/$/-linux/')
39
40cat &gt; /etc/profile.d/texlive.sh &lt;&lt; EOF
41<literal># Begin texlive setup
42TEXLIVE_PREFIX=/opt/texlive/&texlive-year;
43export TEXLIVE_PREFIX
44
45pathappend \$TEXLIVE_PREFIX/texmf-dist/doc/man MANPATH
46pathappend \$TEXLIVE_PREFIX/texmf-dist/doc/info INFOPATH
47pathappend \$TEXLIVE_PREFIX/bin/$TEXARCH
48
49# End texlive setup</literal>
50EOF
51
52unset TEXARCH</userinput></screen>
53
54 <note>
55 <para>
56 The standard MANPATH and INFOPATH path are specified above to
57 ensure they are included. If they are already set in the boot script
58 procedure, the pathappend function will ensure duplicates are
59 removed, so including them here will do no harm.
60 </para>
61 </note>
62
63 <note>
64 <para>
65 The backslashes before the dollar signs in the script above are to
66 facilitate a copy/paste operation. The backslashes should not
67 appear in the actual script.
68 </para>
69 </note>
70
71 <para>
72 The new paths can be immediately activated by running <command>source
73 /etc/profile</command>.
74 </para>
75
76 <para>
77 You should now proceed either to <xref linkend="tl-installer"/> for
78 a binary installation of texlive, or to <xref linkend="texlive"/> to begin
79 installing from source.
80 </para>
81
82</sect1>
Note: See TracBrowser for help on using the repository browser.