public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
* "xmlto pdf" stylesheet issues
@ 2003-01-28 17:07 Aaron Weber
  2003-01-29  3:46 ` John Fleck
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Weber @ 2003-01-28 17:07 UTC (permalink / raw)
  To: docbook-tools-discuss

[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]

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.


[-- Attachment #2: Type: text/html, Size: 1730 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "xmlto pdf" stylesheet issues
  2003-01-28 17:07 "xmlto pdf" stylesheet issues Aaron Weber
@ 2003-01-29  3:46 ` John Fleck
  2003-01-29  9:16   ` Tim Waugh
  0 siblings, 1 reply; 3+ messages in thread
From: John Fleck @ 2003-01-29  3:46 UTC (permalink / raw)
  To: Aaron Weber; +Cc: docbook-tools-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "xmlto pdf" stylesheet issues
  2003-01-29  3:46 ` John Fleck
@ 2003-01-29  9:16   ` Tim Waugh
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Waugh @ 2003-01-29  9:16 UTC (permalink / raw)
  To: John Fleck; +Cc: Aaron Weber, docbook-tools-discuss

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

On Tue, Jan 28, 2003 at 08:46:25PM -0700, John Fleck wrote:

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

I would welcome a tested patch for xmlto that adds support for it to
use FOP.

And yes, the problem is more likely to be with passivetex than with
the stylesheets.

Tim.
*/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-29  9:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-28 17:07 "xmlto pdf" stylesheet issues Aaron Weber
2003-01-29  3:46 ` John Fleck
2003-01-29  9:16   ` Tim Waugh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).