summaryrefslogtreecommitdiff
path: root/docutils/docs/user
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2009-11-30 08:10:35 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2009-11-30 08:10:35 +0000
commit84e53fb3fe0e6875e67515cbb0e04a13d6f86120 (patch)
tree2d66f8ff78b1ccda04feb8857361f4fd40b387c3 /docutils/docs/user
parentc1b2f204609c203e6c8dd998413a57c4fadf3123 (diff)
downloaddocutils-84e53fb3fe0e6875e67515cbb0e04a13d6f86120.tar.gz
New ``latex_preamble`` setting, PDF standard fonts as default.
Use Times/Helvetica/Courier (the PDF standard fonts) as default fonts. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6204 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docs/user')
-rw-r--r--docutils/docs/user/config.txt28
1 files changed, 25 insertions, 3 deletions
diff --git a/docutils/docs/user/config.txt b/docutils/docs/user/config.txt
index 9b0eb20b6..49d06cae8 100644
--- a/docutils/docs/user/config.txt
+++ b/docutils/docs/user/config.txt
@@ -951,8 +951,10 @@ _`font_encoding`
embed_stylesheet
Embed the stylesheet(s) in the header of the output file. The
- stylesheets must be accessible during processing. Also defined for
- the `HTML Writer`__ (with default *on*).
+ stylesheets must be accessible during processing. Currently, this
+ fails if the file is not available via the given path (i.e. the
+ file is *not* searched in the `TeX input path`_).
+ Also defined for the `HTML Writer`__ (with default *on*).
Default: off. Options: ``--embed-stylesheet, --link-stylesheet``.
@@ -970,12 +972,16 @@ stylesheet
referenced with ``\usepackage`` (extension ``.sty`` or no extension) or
``\input`` (any other extension).
- Default: no stylesheet (""). Option: ``--stylesheet``.
+ LaTeX will search the specified files in the `TeX input path`_.
+ Default: no stylesheet (""). Option: ``--stylesheet``.
__ `stylesheet_path [latex2e writer]`_
__ `embed_stylesheet [latex2e writer]`_
__ `stylesheet [html4css1 writer]`_
+ .. _TeX input path:
+ http://www.tex.ac.uk/cgi-bin/texfaq2html?label=what-TDS
+
.. _stylesheet_path [latex2e writer]:
@@ -996,6 +1002,22 @@ stylesheet_path
__
__ `stylesheet [latex2e writer]`_
+
+_`latex_preamble`
+ LaTeX code that will be inserted in the document preamble.
+ Can be used to load packages with options or (re-) define LaTeX
+ macros without writing a custom style file (new in Docutils 0.7).
+
+ Default: Load the "PDF standard fonts" (Times, Helvetica,
+ Courier)::
+
+ \usepackage{mathptmx} % Times
+ \usepackage[scaled=.90]{helvet}
+ \usepackage{courier}
+
+ Option: ``--latex-preamble``
+
+
.. _template [latex2e writer]:
template