From owner-freebsd-doc Fri Jun 30 5:44:18 2000 Delivered-To: freebsd-doc@freebsd.org Received: from smtp.matrix.com.br (smtp.matrix.com.br [200.202.17.7]) by hub.freebsd.org (Postfix) with ESMTP id 89E8637BA05 for ; Fri, 30 Jun 2000 05:44:09 -0700 (PDT) (envelope-from cess@matrix.com.br) Received: from magnus.matrix.com.br (bridge-1.matrix.com.br [200.202.17.22]) by smtp.matrix.com.br (Postfix) with ESMTP id D0AFA60F8F; Fri, 30 Jun 2000 09:44:05 -0300 (EST) Content-Length: 1985 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <86r99fv2jb.fsf@chimaera.locus> Date: Fri, 30 Jun 2000 09:42:36 -0300 (EST) From: Carlos Eduardo Selonke de Souza To: Harry Newton Subject: RE: text justification in docbook Cc: freebsd-doc@freebsd.org Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 30-Jun-00 Harry Newton wrote: > Is it possible to specify that text be fully justified (i.e. flush > left and right edges) when using Docbook/SGML ? I know it's possible > in linuxdoc. > > Would you CC a copy of your reply back to me directly ? Cheers. > Yes Its possible. You have to define a customized stylesheet. I am using Modular DocBook StyleSheets, so my example will be for it. Under the directory that contains your print stylesheets create a file like these: ---------------------------------------------------------------------- ]> ;; $Id: plain.dsl,v 1.3 1999/07/02 17:30:53 nwalsh Exp $ ;; ;; This file is part of the Modular DocBook Stylesheet distribution. ;; See ../README or http://www.berkshire.net/~norm/dsssl/ ;; ;; Example of a customization layer on top of the modular docbook style ;; sheet. Definitions inserted in this file take precedence over ;; definitions in the 'use'd stylesheet(s). (define %default-quadding% ;; The default quadding 'justify) ------------------------------------------------------------------------- Them, You could use: #jade -t rtf -d your_customized_stylesheet.dsl foo.sgml You could also read, http://nwalsh.com/docbook/dsssl/doc/print/default-quadding.html It will explain in more details. If you have any doubts you could send me an email. Regards. Carlos Eduardo Selonke de Souza http://www.br-unix.org/users/cess -----BEGIN GEEK CODE BLOCK----- Version:3.1 GE d+@ s+:+ a-- C+++ UB++> P+ !L E W++(+) N+> K- w-- !O !M V- PS+ PE+ Y PGP- t+ 5 X++ R- tv++ b++ DI++ D+ G e++ h r+++ y+++ -----END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message