This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Building books with variables in them


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]