This is the mail archive of the
docbook-tools-discuss@sources.redhat.com
mailing list for the docbook-tools project.
Re: SGML -> HTML split level
- To: Peter Toft <pto at sslug dot dk>
- Subject: Re: SGML -> HTML split level
- From: Norman Walsh <ndw at nwalsh dot com>
- Date: 16 Jul 2000 17:04:21 -0700
- Cc: docbook-tools-discuss at sourceware dot cygnus dot com
- References: <Pine.LNX.4.21.0007161140260.31506-100000@laptop.linus.dk>
- Reply-to: Norman Walsh <ndw at nwalsh dot com>
/ Peter Toft <pto@sslug.dk> was heard to say:
| Where can I control it so that the split is done at
| each new <sect2> or <sect3>? (this is a global
| setting)
In your stylesheet, add sect2 and sect3 to this list:
(define (chunk-element-list)
(list (normalize "preface")
(normalize "chapter")
(normalize "appendix")
(normalize "article")
(normalize "glossary")
(normalize "bibliography")
(normalize "index")
(normalize "colophon")
(normalize "setindex")
(normalize "reference")
(normalize "refentry")
(normalize "part")
(normalize "sect1")
(normalize "section")
(normalize "book") ;; just in case nothing else matches...
(normalize "set") ;; sets are definitely chunks...
))
And probably to this list as well.
(define (chunk-skip-first-element-list)
(list (normalize "sect1")
(normalize "section")))
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | We make out of the quarrel with others,
http://nwalsh.com/ | rhetoric, but out of the quarrel with
| ourselves, poetry.--W. B. Yeats