| 1 |
Installation |
| 2 |
============ |
| 3 |
|
| 4 |
Requirements |
| 5 |
------------ |
| 6 |
|
| 7 |
The `texdef` program is a Perl script which needs a Perl interpreter to work. |
| 8 |
Informations about installing Perl can be found at http://www.perl.org/get.html. |
| 9 |
|
| 10 |
The script calls a TeX compiler (tex, latex, ...) to display the definition of commands/macros. |
| 11 |
Therefore (La)TeX must also be installed. |
| 12 |
Informations about installing (La)TeX can be found at http://www.latex-project.org/ftp.html. |
| 13 |
|
| 14 |
|
| 15 |
Location |
| 16 |
-------- |
| 17 |
|
| 18 |
For installation the script 'texdef.pl' must simply be copied to a location suitable for executables, |
| 19 |
i.e. a directory in the PATHi, e.g. '/usr/bin' or '/usr/local/bin' for Linux/Unix. |
| 20 |
|
| 21 |
The script should be set as "executable", i.e. 'chmod +x texdef.pl' for Linux/Unix. |
| 22 |
This is not required for MS Windows. |
| 23 |
|
| 24 |
|
| 25 |
Name |
| 26 |
---- |
| 27 |
|
| 28 |
This script can show the definitions of commands with different flavours of TeX |
| 29 |
(tex, etex, latex, pdftex, pdfetex, pdflatex, xetex, xelatex, context, ...). |
| 30 |
The flavour can be given using an command line option or over the _script name_, |
| 31 |
i.e. if the script is called 'texdef' it will use 'tex', but called 'latexdef' |
| 32 |
it will use 'latex' and so on. |
| 33 |
The script can be simply copied several times, but creating _symbolic links_ |
| 34 |
to the real script is enough on operation systems / file systems which support |
| 35 |
this. |
| 36 |
|
| 37 |
At least the two variations 'texdef' and 'latexdef' should be installed. |
| 38 |
|
| 39 |
|
| 40 |
Quick Install Nodes for Linux/Unix |
| 41 |
---------------------------------- |
| 42 |
|
| 43 |
cp texdef.pl /usr/local/bin/ |
| 44 |
cd /usr/local/bin |
| 45 |
ln -s texdef.pl texdef |
| 46 |
ln -s texdef.pl latexdef |
| 47 |
ln -s texdef.pl etexdef |
| 48 |
ln -s texdef.pl luatexdef |
| 49 |
ln -s texdef.pl lualatexdef |
| 50 |
ln -s texdef.pl pdftexdef |
| 51 |
ln -s texdef.pl pdflatexdef |
| 52 |
ln -s texdef.pl xetexdef |
| 53 |
ln -s texdef.pl xelatexdef |
| 54 |
ln -s texdef.pl 'some other TeX flavour of your choice' |
| 55 |
|
| 56 |
or use the Makefile (defaults to `/usr/local/bin`) |
| 57 |
|
| 58 |
make install INSTALLDIR=/your/path |
| 59 |
|