|
Customization can be based on the target format a Scribe document is
compiled to. For instance, one specific customization can be used for
HTML and another one for TeX.
(scribe-format? ::symbol) | Scribe function |
Returns #t if the current format is symbol. Otherwise,
returns #f.
For instance, one may select the proper way to numberize chapters
accordingly to the target format (see Container numbering):
(cond
((scribe-format? 'html) (set! *scribe-chapter-numbering* ...))
((scribe-format? 'man) (set! *scribe-chapter-numbering* ...))
((scribe-format? 'info) (set! *scribe-chapter-numbering* ...))
(else ...)) |
|