From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9797 invoked by alias); 26 Apr 2005 10:16:20 -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 28996 invoked from network); 26 Apr 2005 10:00:50 -0000 Received: from unknown (HELO pm-mx6.mx.noos.fr) (195.46.220.208) by sourceware.org with SMTP; 26 Apr 2005 10:00:50 -0000 Received: from ns.bureau-cornavin.com (s010.dhcp212-198-251.noos.fr [212.198.251.10]) by pm-mx6.mx.noos.fr (Postfix) with ESMTP id A24AF268E7 for ; Tue, 26 Apr 2005 12:00:49 +0200 (MEST) From: =?iso-8859-2?q?=C9ric_Bischoff?= To: docbook-tools-discuss@sources.redhat.com Subject: Re: paper type Date: Tue, 26 Apr 2005 10:16:00 -0000 User-Agent: KMail/1.7.1 References: <25054.80.51.9.3.1114495694.squirrel@poczta.wsisiz.edu.pl> In-Reply-To: <25054.80.51.9.3.1114495694.squirrel@poczta.wsisiz.edu.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200504261158.58623.e.bischoff@noos.fr> X-SW-Source: 2005/txt/msg00004.txt.bz2 Le Mardi 26 Avril 2005 08:08, Hubert Sokolowski a =E9crit=A0: > Hi! > > Sorry, if my problem was discussed on this list, I am very new to DocBook. > > I have a DocBook document starting with > "/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd"> > > > 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= =20 size. Then it should be possible to select the correct entry with a syntax= =20 like style.dsl#a4 or style.dsl#letter. However, if I remind correctly, the= =20 docbook-utils work with default entries like #print. Perharprs it would=20 require some adaptation. Sorry not to be more precise. --=20 Never try and teach a pig to sing, you waste your time and annoy the pig - Mark Twain