diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-10-15 22:53:50 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-10-15 22:53:50 +0000 |
commit | 8cf9009f357b3acafd3a2cb956b1400c18a31286 (patch) | |
tree | aa657da6e81b7c523bb272eb2a0a4e787d56ff52 /lfs.dsl | |
parent | 849d8b35adbd8eabc0e0bbac3839606f9e36bdee (diff) |
fix some annoyances in html renderring
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1321 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'lfs.dsl')
-rw-r--r-- | lfs.dsl | 41 |
1 files changed, 35 insertions, 6 deletions
@@ -8,27 +8,56 @@ <style-specification-body> (define %generate-legalnotice-link% +;; put the legal notice in a separate file #t) (define ($legalnotice-link-file$ legalnotice) +;; filename of the legalnotice file (string-append "legalnotice"%html-ext%)) (define %html-ext% +;; html extenstion ".html") (define %root-filename% +;; index file of the book "index") (define %use-id-as-filename% +;; filenames same as id attribute in title tags #t) (define %body-attr% - (list - (list "BGCOLOR" "#FFFFFF") - (list "TEXT" "#000000") - (list "LINK" "#0000FF") - (list "VLINK" "#840084") - (list "ALINK" "#006000"))) +;; html body settings +(list +(list "BGCOLOR" "#FFFFFF") +(list "TEXT" "#000000") +(list "LINK" "#0000FF") +(list "VLINK" "#840084") +(list "ALINK" "#006000"))) + +(define (chunk-skip-first-element-list) +;; forces the Table of Contents on separate page +'()) + +(define (list-element-list) +;; fixes bug in Table of Contents generation +'()) + +(define %shade-verbatim% +;; verbatim sections will be shaded if t(rue) +#t) + +;;(define %section-autolabel% +;; For enumerated sections (1.1, 1.1.1, 1.2, etc.) +;;#t) + +(element emphasis +;; make role=strong equate to bold for emphasis tag +(if (equal? (attribute-string "role") "strong") +(make element gi: "STRONG" (process-children)) +(make element gi: "EM" (process-children)))) + </style-specification-body> </style-specification> |