This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Building books with variables in them
- To: Richard Sharpe <sharpe at ns dot aus dot com>
- Subject: Re: DOCBOOK: Building books with variables in them
- From: Nik Clayton <nik at nothing-going-on dot demon dot co dot uk>
- Date: Sat, 22 Jul 2000 04:02:21 +0000
- Cc: docbook at lists dot oasis-open dot org
- Organization: Nik at home, where there's nothing going on
- References: <3.0.6.32.20000721023201.00a68ae0@203.16.214.248>
On Fri, Jul 21, 2000 at 02:32:01AM +0900, Richard Sharpe wrote:
> I have just got started with docbook, and I am building a pair of books for
> Ethereal. In the longer term, I envision using DocBook for all my
> documentation, including my Samba course etc.
>
> I am using the RH Linux 6.2 tools.
>
> I want to be able to do the following:
>
> 1. pass parameters in from the command line so I can change things like
> the latest version through a command line switch
>
> Can I do this?
OpenJade allows you to set the value of entities from the command line
(unlike Jade, which only lets you turn on marked sections). So switch to
OpenJade if that's feasible.
> 2. Graphics look better on the printed page if they are scaled to 50-60
> percent, but on a web site they look better as a thumbnail that the
> user clicks on to get the full image.
>
> How can I arrange it so I get different things happening with HTML vs
> PDF?
>
> 3. Depending on who the documentation is for, I want different cover pages,
> headers and footers, etc.
>
> How can I arrange to do all this?
Marked sections. See http://www.freebsd.org/tutorials/docproj-primer/
for details.
N
--
Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95.
Telephone line, $24.95 a month. Software, free. USENET transmission,
hundreds if not thousands of dollars. Thinking before posting, priceless.
Somethings in life you can't buy. For everything else, there's MasterCard.
-- Graham Reed, in the Scary Devil Monastery