public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Éric Bischoff" <e.bischoff@noos.fr>
To: docbook-tools-discuss@sources.redhat.com
Subject: Re: paper type
Date: Tue, 26 Apr 2005 10:16:00 -0000	[thread overview]
Message-ID: <200504261158.58623.e.bischoff@noos.fr> (raw)
In-Reply-To: <25054.80.51.9.3.1114495694.squirrel@poczta.wsisiz.edu.pl>

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.

Sorry not to be more precise.

-- 
Never try and teach a pig to sing,
you waste your time and annoy the pig
        - Mark Twain

  reply	other threads:[~2005-04-26 10:16 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 [this message]
2005-04-26 11:09   ` Hubert Sokolowski
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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=200504261158.58623.e.bischoff@noos.fr \
    --to=e.bischoff@noos.fr \
    --cc=docbook-tools-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

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