public inbox for
 help / color / mirror / Atom feed
From: "Hubert Sokolowski" <>
Subject: Re: paper type
Date: Tue, 26 Apr 2005 11:09:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

> Le Mardi 26 Avril 2005 08:08, Hubert Sokolowski a ĂŠcrit :
>> Hi!
>> Sorry, if my problem was discussed on this list, I am very new to
>> DocBook.
>> I have a DocBook document starting with
>> <!DOCTYPE informaltable PUBLIC "-//OASIS//DTD Docbook XML V4.1//EN"
>>                   "/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd">
>>         <informaltable orient="land" frame="all">        <tgroup
>> cols="11">
>> and I want it to convert to PDF using landscape page orientation.
>> I use db2pdf to do this. But the only way I found to convert paper type
>> is
>> to edit docbook-utils.dsl located in
>> /usr/share/sgml/docbook/utils-0.6.14
>> on my system. Is it possible to pass this parameter somehow from the
>> command line or  from my DocBook sources?
> Hmmm. You can provide several entries in the stylesheet, one for each
> paper
> size. Then it should be possible to select the correct entry with a syntax
> like style.dsl#a4 or style.dsl#letter. However, if I remind correctly, the
> docbook-utils work with default entries like #print. Perharprs it would
> require some adaptation.
thanks for you reply. I have managed to solve this problem by editing
docbook-utils.dsl and saving it to another dsl file, so I can pass this
file on a command line for db2pdf. I can distribute this dsl file with my
application to other systems without the need to edit docbook-utils.dsl.
But I stopped using DocBook for my application for now, because I could
not solve problems with tables, column widths and preformatted text in
entries. Now I create PDFs from HTML using htmldoc and I have beautifull
tables :). I could switch back if there was a way to have column width in
a table set automatically.

  reply	other threads:[~2005-04-26 11:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-26  6:08 Hubert Sokolowski
2005-04-26 10:16 ` Éric Bischoff
2005-04-26 11:09   ` Hubert Sokolowski [this message]
2005-04-26 11:46     ` Éric Bischoff
2005-04-26 11:57       ` Hubert Sokolowski
2005-04-26 12:56         ` Éric Bischoff
2005-04-27  9:16 Hubert Sokolowski
2005-04-27 11:47 ` Éric Bischoff
2005-04-27 12:05   ` Hubert Sokolowski
2005-04-27 13:24     ` Éric Bischoff
2005-04-28  6:15       ` Hubert Sokolowski
2005-04-28 10:36         ` Éric Bischoff
2005-04-28 10:41           ` Hubert Sokolowski
2005-04-28 13:28             ` Éric Bischoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).