From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 06:59:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0032E16A4BF for ; Fri, 10 Oct 2003 06:59:13 -0700 (PDT) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32BDD43FAF for ; Fri, 10 Oct 2003 06:59:12 -0700 (PDT) (envelope-from tillman@seekingfire.com) Received: from blues.seekingfire.prv (blues.seekingfire.prv [192.168.23.211]) by mail.seekingfire.com (Postfix) with ESMTP id 3A9C62A6 for ; Fri, 10 Oct 2003 07:59:11 -0600 (CST) Received: (from tillman@localhost) by blues.seekingfire.prv (8.11.6/8.11.6) id h9ADxBP30790 for freebsd-questions@freebsd.org; Fri, 10 Oct 2003 07:59:11 -0600 Date: Fri, 10 Oct 2003 07:59:10 -0600 From: Tillman Hodgson To: freebsd-questions@freebsd.org Message-ID: <20031010075910.A30205@seekingfire.com> References: <20031010123141.GA1925@sillyrabbi.dyndns.org> <5.2.0.9.1.20031010144022.01a7bd70@postamt1.charite.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 +0200 X-Urban-Legend: There is lots of hidden information in headers Subject: Re: writing pdfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2003 13:59:14 -0000 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_