OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Heavy Set TOC customization


I have a collection of <book>s in a <set>.  Each book is being generated
separately so that each can have different build parameters, and those are
all working (more or less), and placed into directories based on their name.
(Eg, build/book1/, build/book2/, etc.)

I also want to generate a build/index.html file that provides an overview of
each book.  The default templates, when run on the main file with the <set>,
just generate a massive TOC of all books, parts, chapters/articles, sections,
subsections, etc.  Additionally, the links for the books themselves don't
work.  They come out as, for instance, "build/book1/book1.html" instead of
"build/book1/index.html".  (Not surprising, given that each book has an id
and I have use-id-for-filename set to support all the other files.)

I suppose the first-blush solution is to just gut the set template and make a
very simple alternative that lists each book's title and hard code a
"/bookid/index.html" path into the links.  That feels very hacky-cludgy,
however, and I suspect not at all portable.  It also gets much more
complicated if I want to include, say, an author or summary of each book on
the main set page.

Has anyone else run into this sort of issue before?  If so, how did you
address it?

-- 
Larry Garfield			AIM: LOLG42
larry@garfieldtech.com		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]