Date: Fri, 10 Oct 2003 07:59:10 -0600 From: Tillman Hodgson <tillman@seekingfire.com> To: freebsd-questions@freebsd.org Subject: Re: writing pdfs Message-ID: <20031010075910.A30205@seekingfire.com> In-Reply-To: <5.2.0.9.1.20031010144022.01a7bd70@postamt1.charite.de>; from alexander.haderer@charite.de on Fri, Oct 10, 2003 at 03:06:23PM %2B0200 References: <20031010123141.GA1925@sillyrabbi.dyndns.org> <5.2.0.9.1.20031010144022.01a7bd70@postamt1.charite.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 10, 2003 at 03:06:23PM +0200, Alexander Haderer wrote: > My opinion: yes. Learn the basics of LaTeX and use pdflatex instead of > latex to create pdf files directly from your tex source. The "old" way of > generating pdf via tex->dvi->ps->pdf via the classic (la)tex commands has > the disadvantage that you have to deal with different ps-fontencodings > (type 1 / type 3 or Pixelfont vs. Outline font) with the bad sideeffect > that your pdfs have crippled and slow display on screen while printing > works fine. google is full of messages regarding this topic. I agree with the recommendation to learn LaTeX. It's probably the best way to generate PDF output and it's widely used for document generation. I disagree that one needs to use pdflatex, though. Those side-effects you mention are trivial to get rid of: 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. -T -- Page 30: Leaving a terminal logged in is like leaving your car unlocked with the keys in the ignition. - Harley Hahn, _The Unix Companion_
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031010075910.A30205>