From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8012 invoked by alias); 3 Jul 2002 21:04:54 -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 7994 invoked from network); 3 Jul 2002 21:04:49 -0000 Received: from unknown (HELO smtpzilla3.xs4all.nl) (194.109.127.139) by sources.redhat.com with SMTP; 3 Jul 2002 21:04:49 -0000 Received: from ultra1.hugo.vanderkooij.org (hvdkooij.xs4all.nl [213.84.18.35]) by smtpzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id g63L4gKg029978 for ; Wed, 3 Jul 2002 23:04:48 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by ultra1.hugo.vanderkooij.org (8.11.6/8.11.6) with ESMTP id g63L4P012011 for ; Wed, 3 Jul 2002 23:04:30 +0200 Date: Wed, 03 Jul 2002 14:04:00 -0000 From: Hugo van der Kooij To: docbook-tools-discuss@sources.redhat.com Subject: Re: Any luck with DocBook/SGML 3.1 with Red Hat 7.3? In-Reply-To: Message-ID: X-message-flag: All email to me is bound to the rules detailed on http://hvdkooij.xs4all.nl/email.cms MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-q3/txt/msg00012.txt.bz2 Message-ID: <20020703140400.P9LQGCI8NorgW-1HzU_gpPDyzODCgwsvC8agCWiKIAA@z> On Wed, 3 Jul 2002, Peter Toft wrote: > On Tue, 2 Jul 2002, Tim Waugh wrote: > > > On Tue, Jul 02, 2002 at 10:47:57PM +0200, Peter Toft wrote: > > > > > Acknowledged! > > > What is the simplest way to set the > > > %use-id-as-filename% to true then? I do not know how to > > > make a custom stylesheet (yet). > > > > Other than a custom stylesheet, use '-V %use-id-as-filename%'. The -V > > option was added to docbook-utils in 0.6.10. (It just gets passed > > through to openjade.) > > > > Tim. > > While we are at it.... > > Assume that I have a set of these variables that I want > to change - some could be common, some HTML-specific > others print-specific. I suppose that there is a way > that I could have a local "stylesheet" where I set e.g. > %use-id-as-filename% to t > %stylesheet% "/mystylesheet.css" > %paper-type% "A4" > Is this possible - how - can it be be done? I guess you like to customize your output a bit to match your site as well. All of this can be done. I actually described that paces it took me to get things going. And I use it to bend the html output a lot to fit into different sites. Just compare these two links created from the same SGML DocBook source: http://hvdkooij.xs4all.nl/docs/Nessus-FAQ.html http://www.nessus.org/doc/faq.html The steps I took are written down on: http://hvdkooij.xs4all.nl/docs-docbook.cms I hope that helps. Hugo. -- All email send to me is bound to the rules described on my homepage. hvdkooij@vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger.