Changeset 8cf9009


Ignore:
Timestamp:
10/15/2001 10:53:50 PM (23 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v3_1, v3_2, v3_3, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
3448e74
Parents:
849d8b3
Message:

fix some annoyances in html renderring

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1321 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lfs.dsl

    r849d8b3 r8cf9009  
    99
    1010(define %generate-legalnotice-link%
     11;; put the legal notice in a separate file
    1112#t)
    1213
    1314(define ($legalnotice-link-file$ legalnotice)
     15;; filename of the legalnotice file
    1416(string-append "legalnotice"%html-ext%))
    1517
    1618(define %html-ext%
     19;; html extenstion
    1720".html")
    1821
    1922(define %root-filename%
     23;; index file of the book
    2024"index")
    2125
    2226(define %use-id-as-filename%
     27;; filenames same as id attribute in title tags
    2328#t)
    2429
    2530(define %body-attr%
    26   (list
    27     (list "BGCOLOR" "#FFFFFF")
    28     (list "TEXT" "#000000")
    29     (list "LINK" "#0000FF")
    30     (list "VLINK" "#840084")
    31     (list "ALINK" "#006000")))
     31;; html body settings
     32(list
     33(list "BGCOLOR" "#FFFFFF")
     34(list "TEXT" "#000000")
     35(list "LINK" "#0000FF")
     36(list "VLINK" "#840084")
     37(list "ALINK" "#006000")))
     38
     39(define (chunk-skip-first-element-list)
     40;; forces the Table of Contents on separate page
     41'())
     42
     43(define (list-element-list)
     44;; fixes bug in Table of Contents generation
     45'())
     46
     47(define %shade-verbatim%
     48;; verbatim sections will be shaded if t(rue)
     49#t)
     50
     51;;(define %section-autolabel%
     52;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)
     53;;#t)
     54
     55(element emphasis
     56;; make role=strong equate to bold for emphasis tag
     57(if (equal? (attribute-string "role") "strong")
     58(make element gi: "STRONG" (process-children))
     59(make element gi: "EM" (process-children))))
     60
    3261
    3362</style-specification-body>
Note: See TracChangeset for help on using the changeset viewer.