writing pdfs

Tillman Hodgson tillman at seekingfire.com
Fri Oct 10 09:11:10 PDT 2003


On Fri, Oct 10, 2003 at 07:59:10AM -0600, Tillman Hodgson wrote:
>  1. \usepackage{times}      (or palatino or bookman or whatever font
>                              package you like)
> 
>  2. use something like this in your Makefile:
> 
> ps:
>         latex some_latex_file.tex
>         latex some_latex_file.tex
>         dvips -Ppdf -G0 some_latex_file.dvi
> 
> pdf:
>         latex some_latex_file.tex
>         latex some_latex_file.tex
>         dvips -Ppdf -G0 some_latex_file.dvi
>         ps2pdf some_latex_file.ps
> 
>  (running latex twice is for TOC generation, if you don't use a TOC you
>   don't need that part).
> 
> Voila! Your PDF and PS output will be identical. Quick display outdates
> and non-bitmap printing.

Follow-up:

For some live examples, take a look at "Automated report generation with
LaTeX and MetaPost" at http://www.rospa.ca/documents/ ... or even the
Prosper based PDFs under "Presentations".

-T


-- 
Certainly the game is rigged. Don't let that stop you; if you don't bet,
you can't win.
	- Robert Heinlein


More information about the freebsd-questions mailing list