From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11302 invoked by alias); 29 Jan 2003 03:46:22 -0000 Mailing-List: contact docbook-tools-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: docbook-tools-discuss-owner@sources.redhat.com Received: (qmail 11295 invoked from network); 29 Jan 2003 03:46:21 -0000 Received: from unknown (HELO taka.swcp.com) (198.59.115.12) by 172.16.49.205 with SMTP; 29 Jan 2003 03:46:21 -0000 Received: from [10.0.0.2] ([216.184.14.36]) by taka.swcp.com (8.12.3/8.12.3) with ESMTP id h0T3kIQJ041495; Tue, 28 Jan 2003 20:46:19 -0700 (MST) Subject: Re: "xmlto pdf" stylesheet issues From: John Fleck To: Aaron Weber Cc: docbook-tools-discuss@sources.redhat.com In-Reply-To: <1043773438.16441.62.camel@gimlet.boston.ximian.com> References: <1043773438.16441.62.camel@gimlet.boston.ximian.com> Content-Type: text/plain Organization: Message-Id: <1043811985.1130.5.camel@jelloiii> Mime-Version: 1.0 Date: Wed, 29 Jan 2003 03:46:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-3.5 required=10.0 tests=IN_REP_TO,REFERENCES version=2.40 X-Spam-Level: X-SW-Source: 2003/txt/msg00008.txt.bz2 Aaron - My solution's off-topic for this list, but I have had good success using xsltproc to generate fo files, then fop to generate the pdf's. Robert Stayton has written an excellent guide to the tool chain and its installation and use: http://www.sagehill.net/xml/docbookxsl/index.html Cheers, John On Tue, 2003-01-28 at 10:03, Aaron Weber wrote: > Heigh ho. > > I've got a couple of quick questions. > > First, background: I have a multi-file, valid, well-formed Docbook 4.1 > XML document. (xmllint --noount --noent --valid tells me it's OK, at > least). I have converted it into reasonable HTML using the default > stylesheets, with a little customization done by stylesheet-knowers > here at Ximian. All well and good. > > My Task: I'm now being asked for a PDF. I have managed to build a > sort-of-ugly PDF (some pages have all the text in a tiny column down > one side, for example, there are no stylesheet images, and I'll > definitely need to customize the variablelists because they give equal > space to the term and its explanation, which is not what I want > exactly in terms of output, etc. etc.). > > My Problem: I can't figure out what it was that I installed that made > it work, so our stylesheet-knowing-person can't actually reproduce > even that much. > > I have xmlto 0.0.8-3 and the latest versions of tetex, tetex-dvips, > passivetex, xmltex, and so forth. > > My questions: > What packages are required for converting a Docbook XML file to a PDF > file, since it works for me and not for anyone else? > > Am I using the recommended procedure, or is there a tool other than > xmlto that I should be using? > > Why would a PDF appear so broken when the HTML didn't? Just the page > size? I can see how running out of space would make a entry > look pretty broken. > > a. -- John Fleck jfleck@inkstain.net (h) jfleck@abqjournal.com (w) http://www.inkstain.net http://www.abqjournal.com "Sometimes, a diner is all about the mac and cheese." - Zippy the Pinhead