| 1 |
docutils.sty |
| 2 |
============ |
| 3 |
|
| 4 |
Helper commands and element definitions for Docutils_ LaTeX output. |
| 5 |
|
| 6 |
:Copyright: © 2020 Günter Milde |
| 7 |
|
| 8 |
:Licence: Released under the terms of the `2-Clause BSD license`__ |
| 9 |
|
| 10 |
__ https://opensource.org/licenses/BSD-2-Clause |
| 11 |
|
| 12 |
|
| 13 |
Changelog |
| 14 |
--------- |
| 15 |
|
| 16 |
| 2020-08-28 first public version for Docutils >= 0.17 |
| 17 |
|
| 18 |
Requirements |
| 19 |
------------ |
| 20 |
|
| 21 |
None. |
| 22 |
|
| 23 |
Installation |
| 24 |
------------ |
| 25 |
|
| 26 |
If possible, get this package from your distribution using its |
| 27 |
installation manager. Alternatively, copy/move/link ``docutils.sty`` |
| 28 |
to a place where LaTeX can find it. |
| 29 |
|
| 30 |
Usage |
| 31 |
----- |
| 32 |
|
| 33 |
The package is intended for use with LaTeX documents generated from |
| 34 |
reStructuredText_ sources with Docutils_. |
| 35 |
|
| 36 |
When generating LaTeX documents, specify this package with the |
| 37 |
`"stylesheet"`_ `configuration option`_, e.g. :: |
| 38 |
|
| 39 |
rst2latex --stylesheet=docutils exampledocument.txt |
| 40 |
|
| 41 |
The the Docutils `LaTeX writer` will then reference this package |
| 42 |
istead of inserting required definitions into the preamble of |
| 43 |
generated documents (see the `Docutils LaTeX Writer documentation`_ |
| 44 |
for details). |
| 45 |
|
| 46 |
.. _reStructuredText: https://en.wikipedia.org/wiki/ReStructuredText |
| 47 |
|
| 48 |
.. _Docutils: https://docutils.sourceforge.io/ |
| 49 |
|
| 50 |
.. _"stylesheet": |
| 51 |
https://docutils.sourceforge.io/docs/user/config.html#stylesheet-latex-writers |
| 52 |
|
| 53 |
.. _configuration option: |
| 54 |
https://docutils.sourceforge.io/docs/user/config.html |
| 55 |
|
| 56 |
.. _Docutils LaTeX Writer documentation: |
| 57 |
https://docutils.sourceforge.io/docs/user/latex.html |
| 58 |
|
| 59 |
Documentation Generation |
| 60 |
------------------------ |
| 61 |
|
| 62 |
The bidirectional text <-> code converter PyLit_ and Docutils_ |
| 63 |
were used to generate the HTML documentation:: |
| 64 |
|
| 65 |
#> pylit docutils.sty |
| 66 |
#> rst2html5 docutils.sty.txt docutils.sty.html |
| 67 |
|
| 68 |
.. _Pylit: https://repo.or.cz/pylit.git |
| 69 |
|