public inbox for docbook-tools-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Norman Walsh <ndw@nwalsh.com>
To: Peter Toft <pto@sslug.dk>
Cc: docbook-tools-discuss@sourceware.cygnus.com
Subject: Re: SGML -> HTML split level
Date: Wed, 27 Dec 2000 06:36:00 -0000	[thread overview]
Message-ID: <87r98twrju.fsf@nwalsh.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0007161140260.31506-100000@laptop.linus.dk>

/ 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

      parent reply	other threads:[~2000-12-27  6:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-27  6:36 Peter Toft
2000-07-16  2:47 ` Peter Toft
2000-12-27  6:36 ` Norman Walsh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r98twrju.fsf@nwalsh.com \
    --to=ndw@nwalsh.com \
    --cc=docbook-tools-discuss@sourceware.cygnus.com \
    --cc=pto@sslug.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).