summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2008-06-25 06:54:03 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2008-06-25 06:54:03 +0000
commitcf2d3eec3be022e372502ae1f20aa850a93a6bd3 (patch)
tree83b2c4ba8fdf3d93ccf4aaf65835788dfd0efb59 /docs/api
parent84fe43ea33f9ace30613fadcafb035d97e383d5f (diff)
downloaddocutils-cf2d3eec3be022e372502ae1f20aa850a93a6bd3.tar.gz
update publish_parts for latex2e-writer.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@5576 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/publisher.txt26
1 files changed, 24 insertions, 2 deletions
diff --git a/docs/api/publisher.txt b/docs/api/publisher.txt
index 8974b597c..9717fcc34 100644
--- a/docs/api/publisher.txt
+++ b/docs/api/publisher.txt
@@ -114,8 +114,7 @@ dictionary of document parts. Dictionary keys are the names of parts,
and values are Unicode strings.
Each Writer component may publish a different set of document parts,
-described below. Currently only the HTML Writer implements more than
-the "whole" part.
+described below. Not all writers implement all parts.
Parts Provided By All Writers
@@ -269,3 +268,26 @@ Parts Provided by the S5/HTML Writer
````````````````````````````````````
The S5/HTML writer provides the same parts as the `HTML writer`_.
+
+Parts Provided by the LaTeX2e Writer
+````````````````````````````````````
+
+__`head_prefix`
+ ``parts['head_prefix']`` contains the LaTeX document class, package
+ and stylesheet inclusion.
+
+__`head`
+ ``parts['head']`` currently is empty.
+
+__`body_prefix`
+ ``parts['body_prefix']`` contains the LaTeX ``\begin{document}`` and
+ title page.
+
+__`body`
+ ``parts['body']`` contains the LaTeX document content, less
+ the ``\begin{document}`` and ``\end{document}`` tags themselves.
+
+__`body_suffix`
+ ``parts['body_suffix']`` contains the LaTeX ``\end{document}``.
+
+