diff options
author | Ludovic Courtès | 2012-05-10 23:47:01 +0200 |
---|---|---|
committer | Ludovic Courtès | 2012-05-10 23:47:01 +0200 |
commit | d266c260e569d3372fa09c121a04755e6d3c3bbb (patch) | |
tree | 82e135756eabfffa6c5a2c5f9dc6d229b4b5286e /doc/user | |
parent | 966f7afaf9c370be463543da21f379a85d508804 (diff) | |
download | skribilo-d266c260e569d3372fa09c121a04755e6d3c3bbb.tar.gz skribilo-d266c260e569d3372fa09c121a04755e6d3c3bbb.tar.lz skribilo-d266c260e569d3372fa09c121a04755e6d3c3bbb.zip |
info/latex/lout: Set the output port's encoding.
* src/guile/skribilo/engine/html.scm (document): Fix typo in comment.
* src/guile/skribilo/engine/info.scm (document)[guile-2]: Set the
current output port's encoding to "UTF-8".
* src/guile/skribilo/engine/latex.scm (latex-engine)[encoding]: New
custom.
(document): Set the output port's encoding to that. When that
encoding is "UTF-8", add the right \usepackage.
* src/guile/skribilo/engine/lout.scm (lout-engine)[encoding]: New
custom.
(document): Set the output encoding. Emit `@SysInclude { latin2 }'
for ISO-8859-2.
Diffstat (limited to 'doc/user')
-rw-r--r-- | doc/user/latexe.skb | 4 | ||||
-rw-r--r-- | doc/user/loute.skb | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/user/latexe.skb b/doc/user/latexe.skb index 805b9f8..dab4189 100644 --- a/doc/user/latexe.skb +++ b/doc/user/latexe.skb @@ -1,7 +1,7 @@ ;;; latexe.skb -- Documentation of the LaTeX engine. ;;; -*- coding: iso-8859-1 -*- ;;; -;;; Copyright 2007, 2008 Ludovic Courtès <ludo@gnu.org> +;;; Copyright 2007, 2008, 2012 Ludovic Courtès <ludo@gnu.org> ;;; Copyright 2003, 2004 Manuel Serrano ;;; ;;; @@ -37,6 +37,8 @@ used to produce high-quality PostScript of PDF files for printing.]) (doc-engine 'latex `((documentclass ,[A string declaring the LaTeX document class.]) + (encoding ,[The encoding of the output document,(footnote +[This option is supported when Guile 2.0+ is being used.]).]) (class-has-chapters? ,[A boolean indicating whether the document class has a ,(code [chapter]) markup. If ,(code "#f"), then Skribilo's ,(code [chapter]) is mapped to LaTeX' ,(code [section]), and diff --git a/doc/user/loute.skb b/doc/user/loute.skb index a3f1993..2adf9dd 100644 --- a/doc/user/loute.skb +++ b/doc/user/loute.skb @@ -1,7 +1,7 @@ ;;; loute.skb -- Documentation of the Lout engine. ;;; -*- coding: iso-8859-1 -*- ;;; -;;; Copyright 2008 Ludovic Courtès <ludo@gnu.org> +;;; Copyright 2008, 2012 Ludovic Courtès <ludo@gnu.org> ;;; ;;; ;;; This program is free software; you can redistribute it and/or modify @@ -61,6 +61,10 @@ directives.]) (inline-definitions-proc ,[A procedure that is passed the engine and returns Lout definitions to be included at the beginning of the document as a string.]) + (encoding ,[The encoding of the output document,(footnote +[This option is supported when Guile 2.0+ is being used.]). As of +Lout,(~)3.39, only ,(code ["ISO-8859-1"]) and ,(code ["ISO-8859-2"]) are +supported.]) (initial-font ,[Lout specification of the document font.]) (initial-break ,[Lout specification of the default |