Saturday, April 5, 2008

On Latex

Trying latex now.

Collect some useful stuff:

http://www.eng.cam.ac.uk/help/tpl/textprocessing/
very good site to start. by Cambridge



To create pdf from tex

"
ps2pdf (unix)

Let's say we have the TeX file, paper.tex with the output file, paper.dvi and we want to convert this to postscript and pdf format.

To convert to postscript:

dvips paper -o paper.ps

To view the postscript file, use ghostview:

ghostview paper.ps

To convert to pdf format without any specified options:

ps2pdf paper.ps paper.pdf

where paper.ps is the input file and paper.pdf is the output file

You may want to specify options such as embedding fonts, so all users can view your file:

ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true

The command, ps2pdf is part of Alladin's Ghostscript program.

More about the options for ps2pdf:
http://www.cs.wisc.edu/~ghost/doc/AFPL/6.50/Ps2pdf.htm
"

No comments: