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: Bibliography


The HTML back end

HTML margins
HTML Markups


Chapters

Defining new functions
Fontification
Common Classes
Scribe Library
Container numbering
Target format
Programming Back-ends
The HTML back end
Bibliography
Embedding Scribe into Bigloo
Scribe Apache module
Classes, Functions and Variables
Bibliography


Scribe

Home page:Scribe

Documentation:user
expert


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 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* (lambda () (display "<strong>")))
(define *scribe-html-bold-stop* (lambda () (display "</strong>")))

*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
Scribe page is generated by scribeinfo.
Last update Sun Feb 17 13:07:18 2002