On Sun, Nov 11, 2001, Robert O'Connor wrote:

> Is there separate home.html's?

You can specify any html file as your "home.html" file by using the
home_url key in the section. If no home_url is given the default is
to use home.html in PLUCKERDIR.

> How are the sections identified in the ~/.pluckerrc file?

The same way all sections are identified, i.e. [<SECTION NAME>].
Don't forget that DEFAULT, POSIX, OS2 and WINDOWS are also sections
(in wxWindows they are called "groups")

At the moment, I only include sections with a home_url key in my list
of channels, e.g. in my pluckerrc file I use both "standalone" sections
and "support" sections and the latter doesn't make sense in a list of
channels.

Example:

[dilbert]
bpp = 4
home_url = file:/var/spool/netcomics/index.html
alt_maxwidth = 600
alt_maxheight = 200
doc_file = Daily/Dilbert
before_command = "pluck-comics -d -h dilbert"

[sunday]
bpp = 2
maxwidth = 500
maxheight = 500
doc_file = Daily/SundayComics

Then I can run "plucker-build -s dilbert" to create a Plucker document
and on Sunday (when the comics strip is too large for the default
format) I run "plucker-build -s dilbert -s sunday" to get a Plucker
document with less bit depth but with a better scale factor for the 
larger image. The sunday section can be used together with other
sections, too.


My view of the config file is to consider the DEFAULT section to
include "global" options and then all the real work is put into the
individual sections.

/Mike

Reply via email to