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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] Slides+Book


Yes, I have done that, using XSLT to generate docbook slide 
elements.  Unfortunately, I did it for a client, so I can't give 
you the code.  It was pretty specialized to his requirements 
anyway, so I don't know how useful it would be.

He set role="slides" on sections that he wanted included in a 
slide set.  The match on the docbook root element generated the 
main slides element, then generated a title page, table of 
contents, and then applied templates. Only sections with 
role="slides" were processed, and only up to a certain depth. 
There was also a role="noslides" to turn off individual sections. 
Each section created a foil element, and the content of the 
section was copied as the slide content.  Subsections became 
separate slides, etc.  The whole stylesheet was under 150 lines.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Elliotte Harold" <elharo@metalab.unc.edu>
To: <docbook@lists.oasis-open.org>
Sent: Saturday, April 01, 2006 6:52 AM
Subject: [docbook] Slides+Book


> Has anyone done any work on generating both slides and a book 
> from the same source document?
>
> -- 
> ´╗┐Elliotte Rusty Harold  elharo@metalab.unc.edu
> XML in a Nutshell 3rd Edition Just Published!
> http://www.cafeconleche.org/books/xian3/
> http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: 
> docbook-help@lists.oasis-open.org
>
>
> 




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