[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Changing the filenames exported from the chunk.xsl?
Hi. There is a lot of flexibility in using the chunking stylesheets. I'm sure most of the problems can be addressed by setting the options you need. Take a look at: http://docbook.sourceforge.net/release/xsl/current/doc/html/ (look under chunking) The name of the "next page" really depends on what level you are chunking. Are you chunking at the chapter level? then each page will be ch01, ch02, ch03, etc. if you are chunking at chapters and sections, then you'll also have pages named for each section. To control this when things are chunked, look for "generate.toc" at the link above. You can enable navigation on your chunked pages, so that each page will have a "next" and "prev" link, as well as a link to the toc. The other option is you can use the website stylesheets, which will create expandable navigation for you, and you can modify the look of the site using the stylesheet templates. I was able to create a entire portion of our site based on docbook, and was able to modify the stylesheets so that it completely integrates with the rest of the site. more information on that can be found here: http://www.sagehill.net/docbookxsl/Website.html and http://docbook.sourceforge.net/release/website/example/index.html LN > -----Original Message----- > From: Charlie Hubbard [mailto:charlie.hubbard@gmail.com] > Sent: Monday, July 10, 2006 1:30 PM > To: docbook-apps@lists.oasis-open.org > Subject: [docbook-apps] Changing the filenames exported from the > chunk.xsl? > > > Hi, > > I'm trying to build a platform for displaying docbook in HTML. The > statis HTML won't work for me. Right now I'm using the XSL > stylesheets to export docbook to XHTML. The problem is that my > platform doesn't really understand anything about the URLs that > docbook exports. So if I'm displaying ch01.html I have no idea what > the next page is. > > Is there a way to alert the algorithm to the XSL so that it will chunk > something like page1.html, page2.html, etc? I also need a way to > figure out which file is the TOC too. Something like if my XSL > customizations would export a toc.html file for the book. > > If this is too hard what about creating a XSL customization that could > write out a sort of catalog file that could answer these questions for > me. For example, say I chunk a book into several HTML files, and part > of the output would include a catalog.xml file that would list the > table content's filename, the html filenames in sequential order or > something like that. > > Thanks > Charlie > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: > docbook-apps-help@lists.oasis-open.org >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]