SFINX software tree - TeX

TeX and LaTeX

TeX is a powerful document processing language. LaTeX is an extensive set of macros to make it more user-friendly. More information can be found in the books. Documentation about teTeX, the TeX distribution currently in use at the Observatory is available.

Macro files and Style files

Some important macro or style files are available for special purposes:
aatex & aalatex
These are special versions of TeX and LaTeX used for articles in the Astronomy & Astrophysics layout. Documentation can be found in $OSdir/tex/aa/ (p-aa.doc for TeX, l-aa.doc for LaTeX).
aastex
Macros for the journals of the American Astronomical Society and for the Astronomical Society of the Pacific (ApJ, PASP). See $OSdir/tex/aastex/aastex.tex for documentation.
Letter.tex
Leiden Observatory letter macros. See $OSdir/tex/letters/Letter.tex and ExLetter.tex for an example.
viewgraphs
Nice viewgraphs in STRW layout. See $OSdir/tex/misc/viewgraphs.tex.
...

Previewing DVI files

The most useful previewer is xdvi, which runs under the X window system. The current version can display PostScript figures (but not PostScript fonts).

Printing the output of TeX

dvips
convert a TeX DVI file to PostScript.
This program supports the psfig package to include PostScript figures in the document.
Note: you can now use the option -D600 to select a resolution of 600 dpi.
dvipr
A scfript that calls dvips and automatically prints the output. It accepts all dvips options and the option -Pprinter to select a printer.
dvitps
An old program, but there still seem to be people who prefer it.
dvi2ps
Another old converter.

Utilities

dvidvi
Convert one DVI file into another, allowing for some manipulations, such as selecting and reordering pages.
dviselect
Select a number of pages from a DVI file.
dvitype
Create an extensive listing of all that happens in a DVI file.
2on1
A script to print two pages of a TeX document on one sheet of A4 paper.
fig2ps2tex
Create a piece of TeX code for including a PostScript file into a TeX document without the need for psfig.

David.Jansen@strw.leidenuniv.nl
Last modified: Thu Feb 13 09:05:01 MET 1997