This is the mail archive of the docbook-tools-discuss@sources.redhat.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "xmlto pdf" stylesheet issues


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 <screen> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]