summaryrefslogtreecommitdiff
path: root/docutils/docs/user
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-08-14 20:42:35 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2004-08-14 20:42:35 +0000
commit304ed8cfc5b7ccba8e79795b74e3e0efc35c3c34 (patch)
tree173293def57be11aeb3ec4ea60636580c5094672 /docutils/docs/user
parentd2a60c68468ecbbb74febf464c4d2f8b235a2804 (diff)
downloaddocutils-304ed8cfc5b7ccba8e79795b74e3e0efc35c3c34.tar.gz
Add chappg = page numbers by chapter.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@2530 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docs/user')
-rw-r--r--docutils/docs/user/latex.txt31
1 files changed, 30 insertions, 1 deletions
diff --git a/docutils/docs/user/latex.txt b/docutils/docs/user/latex.txt
index a87bf9833..40f58f164 100644
--- a/docutils/docs/user/latex.txt
+++ b/docutils/docs/user/latex.txt
@@ -136,6 +136,18 @@ does not work with T1 encodings one should use::
\usepackage[scaled=.90]{helvet}
\usepackage{courier}
+Hyphenation
+-----------
+
+The amount of hyphenation is influenced by ``\hyphenpenalty``, setting it to
+10000 almost prevents hyphenation. As this produces lines with more spcea
+between words one should increase LaTeX's ``\tolerance`` for this.
+
+E.g. try ::
+
+ \hyphenpenalty=5000
+ \tolerance=1000
+
Unicode
-------
@@ -176,7 +188,24 @@ numbers one has to add following lines to the stylesheet ::
\renewcommand{\numberline}[1]{}
-images
+Number pages by chapter
+-----------------------
+
+This can be accomplished with ::
+
+ \usepackage{chappg}
+
+From the documentation
+
+ Basic operation of the package is to redefine ``\thepage`` to be
+ ``\thechapter-\arabic{page}``, and to cause the page number to be reset
+ (to 1) at the start of each chapter. So the pages of chapter 3 will
+ be numbered 3-1, 3-2, ..., and the pages of appendix B will be
+ numbered B-1, B-2, ...
+
+See documentation for details and other possibilities.
+
+Images
------
Images are included in LaTeX by the graphicx package. The supported