From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14194 invoked by alias); 26 Apr 2005 11:09: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 13910 invoked from network); 26 Apr 2005 11:09:12 -0000 Received: from unknown (HELO oceanic.wsisiz.edu.pl) (213.135.44.33) by sourceware.org with SMTP; 26 Apr 2005 11:09:11 -0000 Received: from localhost (localhost [127.0.0.1]) by oceanic.wsisiz.edu.pl (Postfix) with ESMTP id 4CD2333E659 for ; Tue, 26 Apr 2005 13:09:11 +0200 (CEST) Received: from mask.wsisiz.edu.pl (mask.wsisiz.edu.pl [213.135.44.35]) by oceanic.wsisiz.edu.pl (Postfix) with ESMTP id AD2A633E652 for ; Tue, 26 Apr 2005 13:09:10 +0200 (CEST) Received: from mask.wsisiz.edu.pl (localhost [127.0.0.1]) by mask.wsisiz.edu.pl (8.13.1/8.12.8) with ESMTP id j3QB9Anx007868 for ; Tue, 26 Apr 2005 13:09:10 +0200 Received: (from apache@localhost) by mask.wsisiz.edu.pl (8.13.1/8.12.11/Submit) id j3QB9ADm007867; Tue, 26 Apr 2005 13:09:10 +0200 X-Authentication-Warning: mask.wsisiz.edu.pl: apache set sender to h.sokolowski@wsisiz.edu.pl using -f Received: from odyn.biatel.pl ([80.51.9.3]) (SquirrelMail authenticated user sokolowh) by poczta.wsisiz.edu.pl with HTTP; Tue, 26 Apr 2005 13:09:10 +0200 (CEST) Message-ID: <41411.80.51.9.3.1114513750.squirrel@poczta.wsisiz.edu.pl> In-Reply-To: <200504261158.58623.e.bischoff@noos.fr> References: <25054.80.51.9.3.1114495694.squirrel@poczta.wsisiz.edu.pl> <200504261158.58623.e.bischoff@noos.fr> Date: Tue, 26 Apr 2005 11:09:00 -0000 Subject: Re: paper type From: "Hubert Sokolowski" To: docbook-tools-discuss@sources.redhat.com User-Agent: SquirrelMail/1.4.4-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-SW-Source: 2005/txt/msg00005.txt.bz2 > 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 >> > "/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dtd"> >> > 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.