[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: link from HTML to docbook HTML
klaas holwerda wrote: > But in case of the first section within a chapter, the first section is > placed on the same page as the chapter and > its table of contents, so no seperate file. > Therefore next question would be how can i control that (certain) > sections get placed on seperate pages. You can have each section start on a new page by turning on chunking. (Check the archives of this list for how to do that.) But you don't need sections on separate pages in order to link directlly to them. For example, this link: http://24.112.178.91/cogent/prepdoc/pd-customizingthedssslstylesheets.html#PD-COGENTBOTHDSLFILE takes you directly to a sect2 that starts in the middle of a page. It happens to be embedded in a sect1 that is in a new page, but it could be anywhere. Notice that the "#XXXXXXXXXX" corresponds to the tag id shown below. The start tag for the element (which happens to be a sect1) that starts the page is: <sect1 id="pd-customizingthedssslstylesheets"> The sect2 start tag is: <sect2 id="pd-cogentbothdslfile"> The processor converts the lower case to upper case and puts it after the .html#. To get this behavior, you need to set the following parameter to "#t" in your stylesheet customization layer: (define %use-id-as-filename% ;; Use ID attributes as name for component HTML files? #t) Hope this helps. Cheerio! Bob --------------------------------------- Robert McIlvride (robert@cogent.ca) Cogent Real-Time Systems (www.cogent.ca)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC