8. Scribe Programming Manual -- The HTML back end

8. Scribe Programming Manual -- The HTML back end

Browsing

Home: Scribe Programming Manual

Previous chapter: Programming Back-ends
Next chapter: The LaTeX back end

The HTML back end

8.1 HTML margins
8.2 HTML headers and footers
8.3 HTML Markups

Chapters

1. Defining new functions
2. Fontification
3. Common Classes
4. Scribe Library
5. Container numbering
6. Target format
7. Programming Back-ends
8. The HTML back end
9. The LaTeX back end
10. The MAN back end
11. Bibliography
12. Embedding Scribe into Bigloo
13. Scribe Apache module
14. Classes, Functions and Variables
15. Bibliography

Scribe

Home page:Scribe

Documentation:user
expert
styles

This chapter presents the specific variables that are provided by the HTML back end. Setting this variables enables customization of the produced HTML file. For instance, it enables to change the HTML markups used to render the sections titles or to emphasize a portion of the text.

8.1 HTML margins

HTML documents may have a left and a right margin. This is controled by two variables.
*scribe-html-left-margin*Scribe variable
*scribe-html-right-margin*Scribe variable

The value of this variable can be #f which means that no margin must be emitted, or a function of no argument that makes the margin.


8.2 HTML headers and footers

HTML may use specific headers and footers.
*scribe-html-header*Scribe variable

An expression that represent the header of the produced HTML documents.

*scribe-html-footer**Scribe variable

An expression that represent the footer of the produced HTML documents.

8.3 HTML Markups

Each of the variables presented in this section must be bound to a function of no argument. These functions must write on the standard output channel an HTML sequence. For instance, the standard definitions for *scribe-html-bold-start* and *scribe-html-bold-stop* are:

(define *scribe-html-bold-start* #unspecified)
(define *scribe-html-bold-stop* #unspecified)

*scribe-html-bold-start*Scribe variable
*scribe-html-bold-stop*Scribe variable

Bold environment.


*scribe-html-emph-start*Scribe variable
*scribe-html-emph-stop*Scribe variable

Emphasize environment.


*scribe-html-underline-start*Scribe variable
*scribe-html-underline-stop*Scribe variable

Underline environment.


*scribe-html-kbd-start*Scribe variable
*scribe-html-kbd-stop*Scribe variable

Key environment.


*scribe-html-it-start*Scribe variable
*scribe-html-it-stop*Scribe variable

Italic environment.


*scribe-html-tt-start*Scribe variable
*scribe-html-tt-stop*Scribe variable

Typewriter environment.


*scribe-html-code-start*Scribe variable
*scribe-html-code-stop*Scribe variable

Computer program code environment.


*scribe-html-var-start*Scribe variable
*scribe-html-var-stop*Scribe variable

Computer program variable environment.


*scribe-html-samp-start*Scribe variable
*scribe-html-samp-stop*Scribe variable

Sample environment.


*scribe-html-sc-start*Scribe variable
*scribe-html-sc-stop*Scribe variable

Small caps environment.


*scribe-html-chapter-start*Scribe variable
*scribe-html-chapter-stop*Scribe variable
*scribe-html-chapter-title-start*Scribe variable
*scribe-html-chapter-title-stop*Scribe variable

Chapter definition.


*scribe-html-section-start*Scribe variable
*scribe-html-section-stop*Scribe variable
*scribe-html-section-title-start*Scribe variable
*scribe-html-section-title-stop*Scribe variable

Section definition.


*scribe-html-subsection-start*Scribe variable
*scribe-html-subsection-stop*Scribe variable
*scribe-html-subsection-title-start*Scribe variable
*scribe-html-subsection-title-stop*Scribe variable

Subsection definition.


*scribe-html-subsubsection-start*Scribe variable
*scribe-html-subsubsection-stop*Scribe variable
*scribe-html-subsubsection-title-start*Scribe variable
*scribe-html-subsubsection-title-stop*Scribe variable

Subsubsection definition.


*scribe-html-paragraph-start*Scribe variable
*scribe-html-paragraph-stop*Scribe variable
*scribe-html-paragraph-title-start*Scribe variable
*scribe-html-paragraph-title-stop*Scribe variable

Paragraph definition.



This page has been generated by Scribe.
Last update Wed Dec 18 09:23:03 2002