This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: print output
- To: 'Michael Wiedmann' <michael dot wiedmann at detewe dot de>,'DocBook-Apps ML' <docbook-apps at lists dot oasis-open dot org>
- Subject: RE: DOCBOOK-APPS: print output
- From: Phillip Shelton <shelton at usq dot edu dot au>
- Date: Mon, 18 Sep 2000 16:20:30 +1000
- Reply-to: shelton at usq dot edu dot au
Thank you very much.
-----Original Message-----
From: Michael Wiedmann [mailto:michael.wiedmann@detewe.de]
Sent: Monday, September 18, 2000 4:14 PM
To: DocBook-Apps ML
Subject: Re: DOCBOOK-APPS: print output
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