13.4 Skribilo User Manual — LaTeX Engine
Contents↑ Engines

Not surprisingly, the LaTeX engine produces LaTeX output, which can then be used to produce high-quality PostScript of PDF files for printing.

13.4.1 LaTeX Customization

customdefaultdescription
documentclass"\documentclass{article}"A string declaring the LaTeX document class.
encoding"UTF-8"The encoding of the output document1.
class-has-chapters?#fA boolean indicating whether the document class has a chapter markup. If #f, then Skribilo's chapter is mapped to LaTeX' section, and so on.
usepackage"\usepackage{epsfig} "The boolean #f if no package is used or a string declaring The LaTeX packages.
predocument"\newdimen\oldframetabcolsep \newdimen\oldcolortabcolsep \newdimen\oldpretabcolsep "The boolean #f or a string to be written before the \begin{document} statement.
postdocument#fThe boolean #f or a string to be written after the \begin{document} statement.
maketitle"\date{} \maketitle"The boolean #f or a string to be written after the \begin{document} statement for emitting the document title.
color#tEnable/disable colors.
source-color#tA boolean enabling/disabling color of source code (see source markup).
source-comment-color"#ffa600"The source comment color.
source-error-color"red"The source error color.
source-define-color"#6959cf"The source define color.
source-module-color"#1919af"The source module color.
source-markup-color"#1919af"The source markup color.
source-thread-color"#ad4386"The source thread color.
source-string-color"red"The source string color.
source-bracket-color"red"The source bracket color.
source-type-color"#00cf00"The source type color.
color-usepackage"\usepackage{color} "The LaTeX package for coloring.
hyperref#tEnables/disables hypererrf.
hyperref-usepackage"\usepackage[setpagesize=false]{hyperref} "The LaTeX package for hyperref.
image-format("eps")The image formats for this engine.
index-page-ref#tIndexes use page references.

13.4.2 LaTeX Document Class

The default setting of the Skribilo LaTeX engine is to produce a document using the article document class. In order to produce a document that uses a document class defining the chapter command (unlike the article class), the engine must be customized. Changing this setting can be done with expressions such as:
 (let ((le (find-engine 'latex)))
   (engine-custom-set! le 'documentclass "\\documentclass{book}")
   (engine-custom-set! le 'class-has-chapters? #t))




1 This option is supported when Guile 2.0+ is being used.
(made with skribilo)