This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Separate LOF HTML page


Norman Walsh wrote on 010531 16:54 -0400:
> / Michael Wiedmann <mw@miwie.in-berlin.de> was heard to say:
> | Is there an easy way to generate a separate 'List of Figures' page in
> | HTML outpout using DSSSL stylesheets?
> 
> In what context (what's your root element)? For books, this should
> be the default behavior.

The following test document tries to demonstrate what I mean:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<book>
  <bookinfo>
    <title>Test Book</title>
  </bookinfo>
  <chapter>
    <title>ch 01</title>
    <sect1>
      <title>sect 1</title>
      <para>
        <figure>
          <title>test figure</title>
          <mediaobject>
            <imageobject>
              <imagedata fileref="filename.png">
            </imageobject>
            <textobject>
              <para>text for figure</para>
            </textobject>
          </mediaobject>
        </figure>
      </para>
    </sect1>
  </chapter>
</book>

Running the command:

(open)jade -i html -c /etc/sgml/catalog  \
     -d /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh/html/docbook.dsl \
     -t sgml book.sgml

(using thew original docbook-dsssl-stylesheet-1.70), generates a 
file 'book1.htm' with:

- <bookinfo><title> as <H1> title, OK
- <HR>, OK
- a 'Table of Contents', OK
- followed by a 'List of Figures', which I would like to have on a
  separate HTML page bcause in my real example the TOC and LOF are
  getting quite large

Michael
PS: In PDF the LOF starts on a new page which is good :-)
-- 
mw@miwie.in-berlin.de                              http://www.miwie.org
mw@miwie.org


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]