Fig4TeX : Practical issues for beginners |
| Introduction | Reference Guide | Tutorial | Examples | Pdf Documentation | |
fig4tex.sty
and fig4tex.tex
) under the
installation directory of TeX on your computer and rebuild the path search database
(texhash
command) ; you may need your system administrator to do that.
fig4tex.sty
and fig4tex.tex
) in some
particular directory depending on the operating system or the typesetting software you use ;
you can do this yourself.
In the latter case, on UNIX systems (including Linux and Mac OS X), to make things work from command line (in a terminal window), the best is to copy the files in the directory $HOME/texmf/tex (or $HOME/Library/texmf/tex under Mac OS X), since this directory is scanned by the TeX path search system ($HOME denotes your own home directory). You will have to create this directory if it does not exist.
Alternatively, you can set the TEXINPUTS environment variable.
More precisely, assuming you have copied the two files in the directory
$HOME/SomeTexDir, you just have
to add the following line
setenv TEXINPUTS .:$HOME/SomeTexDir:
in your $HOME/.cshrc file if you use C-shell or T-shell, or add the
following lines
TEXINPUTS=.:$HOME/SomeTexDir:
export TEXINPUTS
in your $HOME/.profile file if you use Bourne-shell or similar, like Bash
(Bash also scans $HOME/.bash_profile).
This modification will be taken into account on next login.
tex
or latex
typesetting
commands produce a DVI file which in turn can be processed by dvips
to obtain
a PostScript file, or dvipdf
to obtain a PDF file.
This is called the DVI mode.
The newer pdftex
or pdflatex
typesetting commands produce a PDF file
without the DVI step. This is called the PDF mode and is now the
default mode in most of the TeX distributions.
pdftex
ignores the PostScript files that are included in the document
(except those created by MetaPost).