This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: print output
- To: DocBook-Apps ML <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: print output
- From: Michael Wiedmann <michael dot wiedmann at detewe dot de>
- Date: Mon, 18 Sep 2000 08:13:39 +0200
- Organization: Cordless Technology
- References: <000201c01faa$f7a8cc70$cdc3568b@arena.sci.usq.edu.au>
Phillip Shelton wrote:
...
> Futher to my question on the print output of XML processing, does DOCKBOOK
> have the tags for leaving things out for different audiences? ie do you have
> one doc with the User Guide, Tech Guide, and context sensitive help? Or do
> these have to be three seperate, different docs?
You can use "Marked Sections" for this (see p. 13 in "DocBook;
The Definitive Guide"):
<!ENTITY % userguide "IGNORE">
<!ENTITY % techguide "IGNORE">
<!ENTITY % contexthelp "INCLUDE">
...
<![%userguide;[
... markup which should only appear user guide...
]]>
...
<![%techguide;[
... markup which should only appear in tech guide ...
]]>
...
<![%contexthelp;[
... markup which should only appear in context sensitive help ...
]]>
...
Before processing the desired output change the entities according to
your needs (this could be made "automatic" with some scripting and the
use of a makefile).
Michael
--
Michael Wiedmann, Berlin