Debian Codegraph @

test/expensive_benchmarks/docutils_data/docs/user/config.txt

raw
1 ========================
2 Docutils Configuration
3 ========================
4
5 :Author: David Goodger
6 :Contact: [email protected]
7 :Revision: $Revision$
8 :Date: $Date$
9 :Copyright: This document has been placed in the public domain.
10
11 .. sidebar:: Docutils Security for Web Applications
12
13 For details about securing web applications, please see `Deploying
14 Docutils Securely <../howto/security.html>`_.
15
16 .. contents::
17
18
19 -------------------
20 Configuration Files
21 -------------------
22
23 Configuration files are used for persistent customization;
24 they can be set once and take effect every time you use a component,
25 e.g., via a `front-end tool`_.
26 Configuration file settings override the built-in defaults, and
27 command-line options override all.
28 For the technicalities, see `Docutils Runtime Settings`_.
29
30 By default, Docutils checks the following places for configuration
31 files, in the following order:
32
33 1. ``/etc/docutils.conf``: This is a system-wide configuration file,
34 applicable to all Docutils processing on the system.
35
36 2. ``./docutils.conf``: This is a project-specific configuration file,
37 located in the current directory. The Docutils front end has to be
38 executed from the directory containing this configuration file for
39 it to take effect (note that this may have nothing to do with the
40 location of the source files). Settings in the project-specific
41 configuration file will override corresponding settings in the
42 system-wide file.
43
44 3. ``~/.docutils``: This is a user-specific configuration file,
45 located in the user's home directory. Settings in this file will
46 override corresponding settings in both the system-wide and
47 project-specific configuration files.
48
49 If more than one configuration file is found, all will be read but
50 later entries will override earlier ones. For example, a "stylesheet"
51 entry in a user-specific configuration file will override a
52 "stylesheet" entry in the system-wide file.
53
54 The default implicit config file paths can be overridden by the
55 ``DOCUTILSCONFIG`` environment variable. ``DOCUTILSCONFIG`` should
56 contain a colon-separated (semicolon-separated on Windows) sequence of
57 config file paths to search for; leave it empty to disable implicit
58 config files altogether. Tilde-expansion is performed on paths.
59 Paths are interpreted relative to the current working directory.
60 Empty path items are ignored.
61
62 In addition, a configuration file may be explicitly specified with the
63 ``--config`` command-line option. This configuration file is read after
64 the three implicit ones listed above (or the ones defined by the
65 ``DOCUTILSCONFIG`` environment variable), and its entries will have
66 priority.
67
68 .. _Docutils Runtime Settings: ../api/runtime-settings.html
69
70
71 -------------------------
72 Configuration File Syntax
73 -------------------------
74
75 Configuration files are UTF-8-encoded text files. The
76 ConfigParser.py_ module from Python_'s standard library is used to
77 read them. From its documentation:
78
79 The configuration file consists of sections, lead by a "[section]"
80 header and followed by "name: value" entries, with continuations
81 in the style of `RFC 822`_; "name=value" is also accepted. Note
82 that leading whitespace is removed from values. ... Lines
83 beginning with "#" or ";" are ignored and may be used to provide
84 comments.
85
86 .. Note:: No format string interpolation is done.
87
88 Configuration file entry names correspond to internal runtime
89 settings. Underscores ("_") and hyphens ("-") can be used
90 interchangeably in entry names; hyphens are automatically converted to
91 underscores.
92
93 For on/off switch settings (_`booleans`), the following values are
94 recognized:
95
96 :On: "true", "yes", "on", "1"
97 :Off: "false", "no", "off", "0", "" (no value)
98
99 .. _list:
100
101 List values can be comma- or colon-delimited.
102
103 strip_classes_, strip_elements_with_classes_, stylesheet, and
104 stylesheet_path use the comma as delimiter,
105 whitespace around list values is stripped. ::
106
107 strip-classes: ham,eggs,
108 strip-elements-with-classes: sugar, salt, flour
109 stylesheet: html4css1.css,
110 math.css,
111 style with spaces.css
112 stylesheet-path: ../styles/my.css, ../styles/funny.css
113
114 expose_internals_, ignore_ and prune_ use the colon as delimiter and do not
115 strip whitespace::
116
117 expose_internals: b:c:d
118
119
120 Example
121 =======
122
123 This is from the ``tools/docutils.conf`` configuration file supplied
124 with Docutils::
125
126 # These entries affect all processing:
127 [general]
128 source-link: yes
129 datestamp: %Y-%m-%d %H:%M UTC
130 generator: on
131
132 # These entries affect HTML output:
133 [html writers]
134 embed-stylesheet: no
135
136 [html4css1 writer]
137 stylesheet-path: docutils/writers/html4css1/html4css1.css
138 field-name-limit: 20
139
140 [html5 writer]
141 stylesheet-dirs: docutils/writers/html5_polyglot/
142 stylesheet-path: minimal.css, responsive.css
143
144 Individual configuration sections and settings are described in the
145 following section.
146
147
148 -------------------------------------
149 Configuration File Sections & Entries
150 -------------------------------------
151
152 Below are the Docutils runtime settings, listed by config file
153 section. **Any setting may be specified in any section, but only
154 settings from active sections will be used.** Sections correspond to
155 Docutils components (module name or alias; section names are always in
156 lowercase letters). Each `Docutils application`_ uses a specific set
157 of components; corresponding configuration file sections are applied
158 when the application is used. Configuration sections are applied in
159 general-to-specific order, as follows:
160
161 1. `[general]`_
162
163 2. `[parsers]`_, parser dependencies, and the section specific to the
164 Parser used ("[... parser]").
165
166 3. `[readers]`_, reader dependencies, and the section specific to the
167 Reader used ("[... reader]"). For example, `[pep reader]`_ depends
168 on `[standalone reader]`_.
169
170 4. `[writers]`_, writer family ("[... writers]"; if applicable),
171 writer dependencies, and the section specific to the writer used
172 ("[... writer]"). For example, `[pep_html writer]`_ depends
173 on `[html writers]`_ and `[html4css1 writer]`_.
174
175 5. `[applications]`_, application dependencies, and the section
176 specific to the Application (front-end tool) in use
177 ("[... application]").
178
179 Since any setting may be specified in any section, this ordering
180 allows component- or application-specific overrides of earlier
181 settings. For example, there may be Reader-specific overrides of
182 general settings; Writer-specific overrides of Parser settings;
183 Application-specific overrides of Writer settings; and so on.
184
185 If multiple configuration files are applicable, the process is
186 completed (all sections are applied in the order given) for each one
187 before going on to the next. For example, a "[pep_html writer]
188 stylesheet" setting in an earlier configuration file would be
189 overridden by an "[html4css1 writer] stylesheet" setting in a later
190 file.
191
192 Some knowledge of Python_ is assumed for some attributes.
193
194 .. _ConfigParser.py:
195 https://docs.python.org/3/library/configparser.html
196 .. _Python: https://www.python.org/
197 .. _RFC 822: https://www.rfc-editor.org/rfc/rfc822.txt
198 .. _front-end tool:
199 .. _Docutils application: tools.html
200
201
202 [general]
203 =========
204
205 Settings in the "[general]" section are always applied.
206
207 auto_id_prefix
208 --------------
209
210 Prefix prepended to all auto-generated `identifier keys` generated within
211 the document, after id_prefix_. Ensure the value conforms to the
212 restrictions on identifiers in the output format, as it is not subjected to
213 the `identifier normalization`_.
214
215 A trailing "%" is replaced with the tag name (new in Docutils 0.16).
216
217 Default: "%" (changed in 0.18 from "id").
218 Option: ``--auto-id-prefix`` (hidden, intended mainly for programmatic use).
219
220 .. _identifier normalization:
221 ../ref/rst/directives.html#identifier-normalization
222
223 datestamp
224 ---------
225
226 Include a time/datestamp in the document footer. Contains a
227 format string for Python's `time.strftime()`__.
228
229 Default: None.
230 Options: ``--date, -d, --time, -t, --no-datestamp``.
231
232 Configuration file entry examples::
233
234 # Equivalent to --date command-line option, results in
235 # ISO 8601 extended format datestamp, e.g. "2001-12-21":
236 datestamp: %Y-%m-%d
237
238 # Equivalent to --time command-line option, results in
239 # date/timestamp like "2001-12-21 18:43 UTC":
240 datestamp: %Y-%m-%d %H:%M UTC
241
242 # Disables datestamp; equivalent to --no-datestamp:
243 datestamp:
244
245 __ https://docs.python.org/3/library/time.html#time.strftime
246
247 debug
248 -----
249
250 Report debug-level system messages.
251
252 Default: don't (None). Options: ``--debug, --no-debug``.
253
254 dump_internals
255 --------------
256
257 At the end of processing, write all internal attributes of the
258 document (``document.__dict__``) to stderr.
259
260 Default: don't (None).
261 Option: ``--dump-internals`` (hidden, for development use only).
262
263 dump_pseudo_xml
264 ---------------
265
266 At the end of processing, write the pseudo-XML representation of
267 the document to stderr.
268
269 Default: don't (None).
270 Option: ``--dump-pseudo-xml`` (hidden, for development use only).
271
272 dump_settings
273 -------------
274
275 At the end of processing, write all Docutils settings to stderr.
276
277 Default: don't (None).
278 Option: ``--dump-settings`` (hidden, for development use only).
279
280 dump_transforms
281 ---------------
282
283 At the end of processing, write a list of all transforms applied
284 to the document to stderr.
285
286 Default: don't (None).
287 Option: ``--dump-transforms`` (hidden, for development use only).
288
289 error_encoding
290 --------------
291
292 The text encoding for error output.
293
294 Default: "ascii". Options: ``--error-encoding, -e``.
295
296 error_encoding_error_handler
297 ----------------------------
298
299 The error handler for unencodable characters in error output. See
300 output_encoding_error_handler_ for acceptable values.
301
302 Default: "backslashreplace"
303 Options: ``--error-encoding-error-handler, --error-encoding, -e``.
304
305 exit_status_level
306 -----------------
307
308 A system message level threshold; non-halting system messages at
309 or above this level will produce a non-zero exit status at normal
310 exit. Exit status is the maximum system message level plus 10 (11
311 for INFO, etc.).
312
313 Default: disabled (5). Option: ``--exit-status``.
314
315 expose_internals
316 ----------------
317
318 List_ of internal attributes to expose as external attributes (with
319 "internal:" namespace prefix). To specify multiple attributes in
320 configuration files, use colons to separate names; on the command
321 line, the option may be used more than once.
322
323 Default: don't (None).
324 Option: ``--expose-internal-attribute`` (hidden, for development use only).
325
326 footnote_backlinks
327 ------------------
328
329 Enable or disable backlinks from footnotes_ and citations_ to their
330 references.
331
332 Default: enabled (True).
333 Options: ``--footnote-backlinks, --no-footnote-backlinks``.
334
335 generator
336 ---------
337
338 Include a "Generated by Docutils" credit and link in the document footer.
339
340 Default: off (None). Options: ``--generator, -g, --no-generator``.
341
342 halt_level
343 ----------
344
345 The threshold at or above which system messages are converted to
346 exceptions, halting execution immediately. If `traceback`_ is set, the
347 exception will propagate; otherwise, Docutils will exit.
348
349 See also report_level_.
350
351 Default: severe (4). Options: ``--halt, --strict``.
352
353 id_prefix
354 ---------
355
356 Prefix prepended to all identifier keys generated within the document.
357 Ensure the value conforms to the restrictions on identifiers in the output
358 format, as it is not subjected to the `identifier normalization`_.
359 See also auto_id_prefix_.
360
361 Default: "" (empty).
362 Option: ``--id-prefix`` (hidden, intended mainly for programmatic use).
363
364 input_encoding
365 --------------
366
367 The text encoding for input.
368
369 Default: auto-detect (None). Options: ``--input-encoding, -i``.
370
371 input_encoding_error_handler
372 ----------------------------
373
374 The error handler for undecodable characters in the input. Acceptable
375 values include:
376
377 strict
378 Raise an exception in case of an encoding error.
379 replace
380 Replace malformed data with the official Unicode replacement
381 character, U+FFFD.
382 ignore
383 Ignore malformed data and continue without further notice.
384
385 Acceptable values are the same as for the "error" parameter of
386 Python's ``unicode`` function; other values may be defined in
387 applications or in future versions of Python.
388
389 Default: "strict".
390 Options: ``--input-encoding-error-handler, --input-encoding, -i``.
391
392 language_code
393 -------------
394
395 Case-insensitive `language tag`_ as defined in `BCP 47`_.
396
397 Sets the document language, also used for localized directive and
398 role names as well as Docutils-generated text.
399
400 A typical language identifier consists of a 2-letter language code
401 from `ISO 639`_ (3-letter codes can be used if no 2-letter code
402 exists). The language identifier can have an optional subtag,
403 typically for variations based on country (from `ISO 3166`_
404 2-letter country codes). Avoid subtags except where they add
405 useful distinguishing information. Examples of language tags
406 include "fr", "en-GB", "pt-br" (the same as "pt-BR"), and
407 "de-1901" (German with pre-1996 spelling).
408
409 The language of document parts can be specified with a
410 "language-<language tag>" `class attribute`_, e.g.
411 ``.. class:: language-el-polyton`` for a quote in polytonic Greek.
412
413 Default: English ("en"). Options: ``--language, -l``.
414
415 .. _class attribute: ../ref/doctree.html#classes
416
417 output_encoding
418 ---------------
419
420 The text encoding for output.
421
422 Default: "UTF-8". Options: ``--output-encoding, -o``.
423
424 output_encoding_error_handler
425 -----------------------------
426
427 The error handler for unencodable characters in the output. Acceptable
428 values include:
429
430 strict
431 Raise an exception in case of an encoding error.
432 replace
433 Replace malformed data with a suitable replacement marker,
434 such as "?".
435 ignore
436 Ignore malformed data and continue without further notice.
437 xmlcharrefreplace
438 Replace with the appropriate XML character reference, such as
439 "``&#8224;``".
440 backslashreplace
441 Replace with backslash escape sequences, such as "``\u2020``".
442
443 Acceptable values are the same as for the "error" parameter of
444 Python's ``encode`` string method; other values may be defined in
445 applications or in future versions of Python.
446
447 Default: "strict".
448 Options: ``--output-encoding-error-handler, --output-encoding, -o``.
449
450 record_dependencies
451 -------------------
452
453 Path to a file where Docutils will write a list of files that were
454 required to generate the output, e.g. included files or embedded
455 stylesheets [#dependencies]_. [#pwd]_ The format is one path per
456 line with forward slashes as separator, the encoding is ``utf8``.
457
458 Set to ``-`` in order to write dependencies to stdout.
459
460 This option is particularly useful in conjunction with programs like
461 ``make`` using ``Makefile`` rules like::
462
463 ham.html: ham.txt $(shell cat hamdeps.txt)
464 rst2html.py --record-dependencies=hamdeps.txt ham.txt ham.html
465
466 If the filesystem encoding differs from utf8, replace the ``cat``
467 command with a call to a converter, e.g.::
468
469 $(shell iconv -f utf8 -t latin1 hamdeps.txt)
470
471 Default: None. Option: ``--record-dependencies``.
472
473 .. [#dependencies] Images are only added to the dependency list if they
474 are embedded into the output or the reStructuredText parser extracted
475 image dimensions from the file.
476
477 report_level
478 ------------
479
480 Report system messages at or higher than <level>:
481
482 1 info
483 2 warning
484 3 error
485 4 severe
486 5 none
487
488 See also halt_level_.
489
490 Default: warning (2).
491 Options: ``--report, -r, --verbose, -v, --quiet, -q``.
492
493 sectnum_xform
494 -------------
495
496 Enable or disable automatic section numbering by Docutils
497 (docutils.transforms.parts.SectNum) associated with the `sectnum
498 directive`_.
499
500 If disabled, section numbers might be added to the output by the
501 renderer (e.g. by LaTeX or via a CSS style definition).
502
503 Default: enabled (True).
504 Options: ``--section-numbering``, ``--no-section-numbering``.
505
506 .. _sectnum directive: ../ref/rst/directives.html#sectnum
507
508 source_link
509 -----------
510
511 Include a "View document source" link in the document footer. URL will
512 be relative to the destination.
513
514 Default: don't (None).
515 Options: ``--source-link, -s, --no-source-link``.
516
517 source_url
518 ----------
519
520 An explicit URL for a "View document source" link, used verbatim.
521
522 Default: compute if source_link (None).
523 Options: ``--source-url, --no-source-link``.
524
525 strict_visitor
526 --------------
527
528 When processing a document tree with the Visitor pattern, raise an
529 error if a writer does not support a node type listed as optional. For
530 transitional development use.
531
532 Default: disabled (None).
533 Option: ``--strict-visitor`` (hidden, for development use only).
534
535 strip_classes
536 -------------
537
538 Comma-separated list_ of "classes" attribute values to remove from all
539 elements in the document tree. The command line option may be used more
540 than once.
541
542 .. WARNING:: Potentially dangerous; use with caution.
543
544 Default: disabled (None). Option: ``--strip-class``.
545
546 strip_comments
547 --------------
548
549 Enable the removal of comment elements from the document tree.
550
551 Default: disabled (None).
552 Options: ``--strip-comments``, ``--leave-comments``.
553
554 strip_elements_with_classes
555 ---------------------------
556
557 Comma-separated list_ of "classes" attribute values;
558 matching elements are removed from the document tree.
559 The command line option may be used more than once.
560
561 .. WARNING:: Potentially dangerous; use with caution.
562
563 Default: disabled (None). Option: ``--strip-element-with-class``.
564
565 title
566 -----
567
568 The `document title` as metadata which does not become part of the
569 document body. Stored as the document's `title attribute`_.
570 For example, in HTML output the metadata document title
571 appears in the title bar of the browser window.
572
573 This setting overrides a displayed `document title`_ and
574 is overridden by a `"title" directive`_.
575
576 Default: none. Option: ``--title``.
577
578 .. _title attribute: ../ref/doctree.html#title-attribute
579 .. _document title: ../ref/rst/restructuredtext.html#document-title
580 .. _"title" directive: ../ref/rst/directives.html#metadata-document-title
581
582 toc_backlinks
583 -------------
584
585 Enable backlinks from section titles to table of contents entries
586 ("entry"), to the top of the TOC ("top"), or disable ("none").
587
588 Default: "entry".
589 Options: ``--toc-entry-backlinks, --toc-top-backlinks, --no-toc-backlinks``.
590
591 traceback
592 ---------
593
594 Enable Python tracebacks when halt-level system messages and other
595 exceptions occur. Useful for debugging, and essential for issue
596 reports. Exceptions are allowed to propagate, instead of being
597 caught and reported (in a user-friendly way) by Docutils.
598
599 Default: disabled (None) unless Docutils is run programmatically
600 using the `Publisher Interface`_.
601 Options: ``--traceback, --no-traceback``.
602
603 .. _Publisher Interface: ../api/publisher.html
604
605 warning_stream
606 --------------
607
608 Path to a file for the output of system messages (warnings). [#pwd]_
609
610 Default: stderr (None). Option: ``--warnings``.
611
612
613 [parsers]
614 =========
615
616 Generic parser options:
617
618 file_insertion_enabled
619 ----------------------
620
621 Enable or disable directives or directive that insert the contents of
622 external files, such as "include_" or "raw_" with option "url".
623 A "warning" system message (including the directive text) is inserted
624 instead. (See also raw_enabled_ for another security-relevant setting.)
625
626 Default: enabled (True).
627 Options: ``--file-insertion-enabled, --no-file-insertion``.
628
629 .. _include: ../ref/rst/directives.html#include
630 .. _raw: ../ref/rst/directives.html#raw
631
632 line_length_limit
633 -----------------
634
635 Maximal number of characters in an input line or `substitution`_
636 definition. To prevent extraordinary high processing times or memory
637 usage for certain input constructs, a "warning" system message is
638 inserted instead.
639
640 Default: 10 000.
641 Option: ``--line-length-limit``
642
643 New in Docutils 0.17.
644
645 .. _substitution: ../ref/rst/directives.html#substitution
646
647 raw_enabled
648 -----------
649
650 Enable or disable the "raw_" directive. A "warning" system message
651 (including the directive text) is inserted instead. See also
652 file_insertion_enabled_ for another security-relevant setting.
653
654 Default: enabled (True). Options: ``--raw-enabled, --no-raw``.
655
656
657 [restructuredtext parser]
658 -------------------------
659
660 character_level_inline_markup
661 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
662
663 Relax the `inline markup recognition rules`_
664 requiring whitespace or punctuation around inline markup.
665
666 Allows character level inline markup without escaped whithespace and is
667 especially suited for languages that do not use whitespace to separate words
668 (e.g. Japanese, Chinese).
669
670 .. WARNING:: Potentially dangerous; use with caution.
671
672 When changing this setting to "True", inline markup characters in
673 URLs, names and formulas must be escaped to prevent recognition and
674 possible errors. Examples::
675
676 http://rST_for_all.html (hyperlinks to rST_ and for_)
677 x_2, inline_markup (hyperlinks to x_ and inline_)
678 2*x (starts emphasised text)
679 a|b (starts a substitution reference)
680
681 Default: disabled (False).
682 Options: ``--character-level-inline-markup, --word-level-inline-markup``.
683
684 New in Docutils 0.13.
685
686 pep_references
687 ~~~~~~~~~~~~~~
688
689 Recognize and link to standalone PEP references (like "PEP 258").
690
691 Default: disabled (None); enabled (True) in PEP Reader.
692 Option: ``--pep-references``.
693
694 pep_base_url
695 ~~~~~~~~~~~~
696 Base URL for PEP references.
697
698 Default: "https://peps.python.org/".
699 Option: ``--pep-base-url``.
700
701 pep_file_url_template
702 ~~~~~~~~~~~~~~~~~~~~~
703
704 Template for PEP file part of URL, interpolated with the PEP
705 number and appended to pep_base_url_.
706
707 Default: "pep-%04d". Option: ``--pep-file-url``.
708
709 rfc_references
710 ~~~~~~~~~~~~~~
711
712 Recognize and link to standalone RFC references (like "RFC 822").
713
714 Default: disabled (None); enabled (True) in PEP Reader.
715 Option: ``--rfc-references``.
716
717 rfc_base_url
718 ~~~~~~~~~~~~
719
720 Base URL for RFC references.
721
722 Default: "http://www.faqs.org/rfcs/". Option: ``--rfc-base-url``.
723
724 smart_quotes
725 ~~~~~~~~~~~~
726
727 Activate the SmartQuotes_ transform to
728 change straight quotation marks to typographic form. `Quote characters`_
729 are selected according to the language of the current block element (see
730 language_code_, smartquotes_locales_, and the `pre-defined quote sets`__).
731
732 Also changes consecutive runs of hyphen-minus and full stops (``---``,
733 ``--``, ``...``) to em-dash, en-dash, and ellipsis Unicode characters
734 respectively.
735
736 Supported values:
737
738 booleans_ (yes/no)
739 Use smart quotes?
740
741 alt (or "alternative")
742 Use alternative quote set (if defined for the language).
743
744 Default: "no". Option: ``--smart-quotes``.
745
746 New in Docutils 0.10.
747
748 .. _SmartQuotes: smartquotes.html
749 __ smartquotes.html#localization
750 .. _quote characters:
751 https://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks
752
753
754 smartquotes_locales
755 ~~~~~~~~~~~~~~~~~~~
756
757 Typographical quotes used by the SmartQuotes_ transform.
758
759 A comma-separated list_ with language tag and a set of four quotes (primary
760 open/close, secondary open/close)smartquotes_locales. (If more than one
761 character shall be used for a quote (e.g. padding in French quotes), a
762 colon-separated list may be used.)
763
764 Example:
765 Ensure a correct leading apostrophe in ``'s Gravenhage`` in Dutch (at the
766 cost of incorrect opening single quotes) and set French quotes to double
767 and single guillemets with inner padding::
768
769 smartquote-locales: nl: „”’’,
770 fr: « : »:‹ : ›
771
772 Default: None. Option: ``--smartquotes-locales``.
773
774 New in Docutils 0.14.
775
776 syntax_highlight
777 ~~~~~~~~~~~~~~~~
778
779 Token type names used by Pygments_ when parsing contents of the code_
780 directive and role.
781
782 Supported values:
783
784 long
785 Use hierarchy of long token type names.
786 short
787 Use short token type names. (For use with
788 `Pygments-generated stylesheets`_.)
789 none
790 No code parsing. Use this to avoid the "Pygments not
791 found" warning when Pygments is not installed.
792
793 Default: "long". Option: ``--syntax-highlight``.
794
795 New in Docutils 0.9.
796
797 .. _Pygments: https://pygments.org/
798 .. _code: ../ref/rst/directives.html#code
799 .. _Pygments-generated stylesheets:
800 https://pygments.org/docs/cmdline/#generating-styles
801
802 tab_width
803 ~~~~~~~~~
804
805 Number of spaces for hard tab expansion.
806
807 Default: 8. Option: ``--tab-width``.
808
809 trim_footnote_reference_space
810 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
811
812 Remove spaces before `footnote references`_?
813
814 Default: None [#]_
815
816 Options: ``--trim-footnote-reference-space, --leave-footnote-reference-space``.
817
818 .. [#] Depending on the writer-specific `footnote_references setting`_.
819 The footnote space is trimmed if the reference style is "superscript",
820 and it is left if the reference style is "brackets".
821
822
823 .. _myst:
824
825 [myst parser]
826 -------------
827
828 Provided by the 3rd party package `myst-docutils`_.
829 See `MyST with Docutils`_ and its `Sphinx configuration options`_
830 (some settings are not available with Docutils).
831
832 .. _myst-docutils: https://pypi.org/project/myst-docutils/
833 .. _MyST with Docutils:
834 https://myst-parser.readthedocs.io/en/latest/docutils.html
835 .. _Sphinx configuration options:
836 https://myst-parser.readthedocs.io/en/latest/sphinx/reference.html#sphinx-config-options
837
838
839 .. _pycmark:
840
841 [pycmark parser]
842 ----------------
843
844 Provided by the 3rd party package `pycmark`__.
845 Currently no configuration settings.
846
847 __ https://pypi.org/project/pycmark/
848
849
850 .. _recommonmark:
851
852 [recommonmark parser]
853 ---------------------
854
855 Provisional, depends on (deprecated) 3rd-party package recommonmark__.
856 Currently no configuration settings.
857
858 __ https://pypi.org/project/recommonmark/
859
860
861 [readers]
862 =========
863
864
865 [standalone reader]
866 -------------------
867
868 docinfo_xform
869 ~~~~~~~~~~~~~
870
871 Enable or disable the `bibliographic field list`_ transform
872 (docutils.transforms.frontmatter.DocInfo).
873
874 Default: enabled (True). Options: ``--no-doc-info``.
875
876 doctitle_xform
877 ~~~~~~~~~~~~~~
878
879 Enable or disable the promotion of a lone top-level section title
880 to `document title`_ (and subsequent section title to document
881 subtitle promotion; docutils.transforms.frontmatter.DocTitle).
882
883 Default: enabled (True). Options: ``--no-doc-title``.
884
885 sectsubtitle_xform
886 ~~~~~~~~~~~~~~~~~~
887
888 Enable or disable the promotion of the title of a lone subsection
889 to a subtitle (docutils.transforms.frontmatter.SectSubTitle).
890
891 Default: disabled (False).
892 Options: ``--section-subtitles, --no-section-subtitles``.
893
894
895 [pep reader]
896 ------------
897
898 The `pep_references`_ and `rfc_references`_ settings
899 (`[restructuredtext parser]`_) are set on by default.
900
901
902 .. [python reader]
903 ---------------
904
905 Not implemented.
906
907
908 [writers]
909 =========
910
911 [docutils_xml writer]
912 ---------------------
913
914 .. Caution::
915
916 * The XML declaration carries text encoding information. If the encoding
917 is not UTF-8 or ASCII and the XML declaration is missing, standard
918 tools may be unable to read the generated XML.
919
920 doctype_declaration
921 ~~~~~~~~~~~~~~~~~~~
922
923 Generate XML with a DOCTYPE declaration.
924
925 Default: do (True). Options: ``--no-doctype``.
926
927 indents
928 ~~~~~~~
929
930 Generate XML with indents and newlines.
931
932 Default: don't (None). Options: ``--indents``.
933
934 newlines
935 ~~~~~~~~
936
937 Generate XML with newlines before and after tags.
938
939 Default: don't (None). Options: ``--newlines``.
940
941
942 .. _xml_declaration [docutils_xml writer]:
943
944 xml_declaration
945 ~~~~~~~~~~~~~~~
946
947 Generate XML with an XML declaration.
948 See also `xml_declaration [html writers]`_.
949
950 Default: do (True). Option: ``--no-xml-declaration``.
951
952
953 [html writers]
954 --------------
955
956 .. _attribution [html writers]:
957
958 attribution
959 ~~~~~~~~~~~
960
961 Format for `block quote`_ attributions: one of "dash" (em-dash
962 prefix), "parentheses"/"parens", or "none".
963 See also `attribution [latex writers]`_.
964
965 Default: "dash". Option: ``--attribution``.
966
967
968 cloak_email_addresses
969 ~~~~~~~~~~~~~~~~~~~~~
970
971 Scramble email addresses to confuse harvesters. In the reference
972 URI, the "@" will be replaced by %-escapes (as of RFC 1738). In
973 the visible text (link text) of an email reference, the "@" and
974 all periods (".") will be surrounded by ``<span>`` tags.
975 Furthermore, HTML entities are used to encode these characters in
976 order to further complicate decoding the email address. For
977 example, "[email protected]" will be output as::
978
979 <a class="reference" href="mailto:abc&#37;&#52;&#48;example&#46;org">
980 abc<span>&#64;</span>example<span>&#46;</span>org</a>
981
982 .. Note:: While cloaking email addresses will have little to no
983 impact on the rendering and usability of email links in most
984 browsers, some browsers (e.g. the ``links`` browser) may decode
985 cloaked email addresses incorrectly.
986
987 Default: don't cloak (None). Option: ``--cloak-email-addresses``.
988
989 compact_lists
990 ~~~~~~~~~~~~~
991
992 Remove extra vertical whitespace between items of `bullet lists`_ and
993 `enumerated lists`_, when list items are all "simple" (i.e., items
994 each contain one paragraph and/or one "simple" sub-list only). The
995 behaviour can be specified directly via "class" attributes (values
996 "compact" and "open") in the document.
997
998 Default: enabled (True).
999 Options: ``--compact-lists, --no-compact-lists``.
1000
1001 compact_field_lists
1002 ~~~~~~~~~~~~~~~~~~~
1003
1004 Remove extra vertical whitespace between items of `field lists`_ that
1005 are "simple" (i.e., all field bodies each contain at most one
1006 paragraph). The behaviour can be specified directly via "class"
1007 attributes (values "compact" and "open") in the document.
1008
1009 Default: enabled (True).
1010 Options: ``--compact-field-lists, --no-compact-field-lists``.
1011
1012
1013 .. _embed_stylesheet [html writers]:
1014
1015 embed_stylesheet
1016 ~~~~~~~~~~~~~~~~
1017
1018 Embed the stylesheet in the output HTML file. The stylesheet file
1019 must specified by the stylesheet_path_ setting and must be
1020 accessible during processing.
1021 See also `embed_stylesheet [latex writers]`_.
1022
1023 Default: enabled.
1024 Options: ``--embed-stylesheet, --link-stylesheet``.
1025
1026
1027 .. _footnote_references setting:
1028 .. _footnote_references [html writers]:
1029
1030 footnote_references
1031 ~~~~~~~~~~~~~~~~~~~
1032
1033 Format for `footnote references`_, one of "superscript" or "brackets".
1034 See also `footnote_references [latex writers]`_.
1035
1036 Overrides [#override]_ trim_footnote_reference_space_,
1037 if the parser supports this option.
1038
1039 Default: "brackets". Option: ``--footnote-references``.
1040
1041 initial_header_level
1042 ~~~~~~~~~~~~~~~~~~~~
1043
1044 The initial level for header elements. This does not affect the
1045 document title & subtitle; see doctitle_xform_.
1046
1047 Default: writer dependent (see `[html4css1 writer]`_, `[html5 writer]`_,
1048 `[pep_html writer]`_).
1049 Option: ``--initial-header-level``.
1050
1051
1052 math_output
1053 ~~~~~~~~~~~
1054
1055 The format of mathematical content (`math directive`_ and role) in
1056 the output document. Supported values are (case insensitive):
1057
1058 :HTML:
1059 Format math in standard HTML enhanced by CSS rules.
1060 Requires the ``math.css`` stylesheet (in the system
1061 `stylesheet directory <stylesheet_dirs [html writers]_>`__)
1062
1063 A `stylesheet_path <stylesheet_path [html writers]_>`__
1064 can be appended after whitespace. The specified
1065 stylesheet(s) will only be referenced or embedded if required
1066 (i.e. if there is mathematical content in the document).
1067
1068 :MathJax:
1069 Format math for display with MathJax_, a JavaScript-based math rendering
1070 engine.
1071
1072 Pro:
1073 Works across multiple browsers and platforms.
1074
1075 Large set of `supported LaTeX math commands and constructs`__
1076
1077 __ http://docs.mathjax.org/en/latest/input/tex/macros/index.html
1078
1079 Con:
1080 Rendering requires JavaScript and an Internet connection or local
1081 MathJax installation.
1082
1083 A URL pointing to a MathJax library should be appended after whitespace.
1084 A warning is given if this is missing.
1085
1086 * It is recommended to install__ the MathJax library on the same
1087 server as the rest of the deployed site files.
1088
1089 __ https://www.mathjax.org/#installnow
1090
1091 Example: Install the library at the top level of the web
1092 server’s hierarchy in the directory ``MathJax`` and set::
1093
1094 math-output: mathjax /MathJax/MathJax.js
1095
1096 * The easiest way to use MathJax is to link directly to a public
1097 installation. In that case, there is no need to install MathJax locally.
1098
1099 Downside: Downloads JavaScript code from a third-party site --- opens
1100 the door to cross-site scripting attacks!
1101
1102 Example: MathJax `getting started`__ documentation uses::
1103
1104 math-output: mathjax
1105 https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
1106
1107 See https://www.jsdelivr.com/ for details and terms of use.
1108
1109 __ https://www.mathjax.org/#gettingstarted
1110
1111 * Use a local MathJax installation on the *client* machine, e.g.::
1112
1113 math-output: MathJax file:/usr/share/javascript/mathjax/MathJax.js
1114
1115 This is the fallback if no URL is specified.
1116
1117 :MathML:
1118 Embed math content as presentational MathML_.
1119
1120 Pro:
1121 The W3C recommendation for math on the web.
1122
1123 Self-contained documents (no JavaScript, no external downloads).
1124
1125 Con:
1126 Limited `browser support`__.
1127
1128 Docutil's latex2mathml converter supports only a
1129 `subset of LaTeX math syntax`__.
1130
1131 With the "html4css1" writer, the resulting HTML document does
1132 not validate, as there is no DTD for `MathML + XHTML Transitional`.
1133 However, MathML-enabled browsers will render it fine.
1134
1135 __ https://developer.mozilla.org/en-US/docs/Web/MathML
1136 #browser_compatibility
1137 __ ../ref/rst/mathematics.html
1138
1139
1140 An external converter can be appended after whitespace, e.g.,
1141 ``--math-output="MathML latexml"``:
1142
1143 blahtexml_
1144 Fast conversion, support for many symbols and environments, but no
1145 "align" (or other equation-aligning) environment. (C++)
1146
1147 LaTeXML_
1148 Comprehensive macro support but *very* slow. (Perl)
1149
1150 TtM_
1151 No "matrix", "align" and "cases" environments. Support may be removed.
1152
1153 :LaTeX:
1154 Include literal LaTeX code.
1155
1156 The failsafe fallback.
1157
1158 Default: HTML math.css. Option: ``--math-output``.
1159
1160 New in Docutils 0.8.
1161
1162 .. _math directive: ../ref/rst/directives.html#math
1163 .. _MathJax: http://www.mathjax.org/
1164 .. _MathPlayer: http://www.dessci.com/en/products/mathplayer/
1165 .. _MathML: https://www.w3.org/TR/MathML/
1166 .. _blahtexml: http://gva.noekeon.org/blahtexml/
1167 .. _LaTeXML: http://dlmf.nist.gov/LaTeXML/
1168 .. _TtM: http://hutchinson.belmont.ma.us/tth/mml/
1169
1170
1171 .. _stylesheet [html writers]:
1172
1173 stylesheet
1174 ~~~~~~~~~~
1175
1176 A comma-separated list of CSS stylesheet URLs, used verbatim.
1177 See also `stylesheet [latex writers]`_.
1178
1179 Overrides also stylesheet_path_. [#override]_
1180
1181 Default: None. Option: ``--stylesheet``.
1182
1183
1184 .. _stylesheet_dirs [html writers]:
1185
1186 stylesheet_dirs
1187 ~~~~~~~~~~~~~~~
1188
1189 A comma-separated list of directories where stylesheets can be found.
1190 Used by the stylesheet_path_ setting when expanding relative path arguments.
1191
1192 Note: This setting defines a "search path" (similar to the PATH variable for
1193 executables). However, the term "path" is already used in the
1194 stylesheet_path_ setting with the meaning of a file location.
1195
1196
1197 Default: the working directory of the process at launch and the directory
1198 with default stylesheet files (writer and installation specific).
1199 Use the ``--help`` option to get the exact value.
1200 Option: ``--stylesheet-dirs``.
1201
1202
1203 .. _stylesheet_path:
1204 .. _stylesheet_path [html writers]:
1205
1206 stylesheet_path
1207 ~~~~~~~~~~~~~~~
1208
1209 A comma-separated list of paths to CSS stylesheets. Relative paths are
1210 expanded if a matching file is found in the stylesheet_dirs__.
1211 If embed_stylesheet__ is False, paths are rewritten relative to the
1212 output HTML file.
1213 See also `stylesheet_path [latex writers]`_.
1214
1215 Also overrides "stylesheet". [#override]_
1216 Pass an empty string (to either "stylesheet" or "stylesheet_path") to
1217 deactivate stylesheet inclusion.
1218
1219 Default: writer dependent (see `[html4css1 writer]`_, `[html5 writer]`_,
1220 `[pep_html writer]`_).
1221 Option: ``--stylesheet-path``.
1222
1223 __ `embed_stylesheet [html writers]`_
1224 __ `stylesheet_dirs [html writers]`_
1225
1226
1227 .. _table_style [html writers]:
1228
1229 table_style
1230 ~~~~~~~~~~~
1231
1232 Class value(s) added to all tables_.
1233 See also `table_style [latex writers]`_.
1234
1235 The default CSS sylesheets define:
1236
1237 borderless
1238 No borders around the table.
1239
1240 align-left, align-center, align-right
1241 Align the tables
1242
1243 The HTML5 stylesheets also define:
1244
1245 booktabs
1246 Only lines above and below the table and a thin line after the head.
1247
1248 captionbelow
1249 Place the table caption below the table
1250 (New in Docutils 0.17).
1251
1252 In addition, the HTML writers support:
1253
1254 colwidths-auto
1255 Delegate the determination of table column widths to the back-end
1256 (leave out the ``<colgroup>`` column specification).
1257 Overridden by the "widths" option of the `table directive`_.
1258
1259 colwidths-grid
1260 Backwards compatibility setting. Write column widths
1261 determined from the source to the HTML file.
1262 Overridden by the "widths" option of the `table directive`_.
1263
1264 Default: "". Option: ``--table-style``.
1265
1266 .. _table directive: ../ref/rst/directives.html#table
1267
1268
1269 .. _template [html writers]:
1270
1271 template
1272 ~~~~~~~~
1273
1274 Path to template file, which must be encoded in UTF-8. [#pwd]_
1275 See also `template [latex writers]`_.
1276
1277 Default: "template.txt" in the writer's directory (installed automatically;
1278 for the exact machine-specific path, use the ``--help`` option).
1279 Option: ``--template``.
1280
1281
1282 .. _xml_declaration [html writers]:
1283
1284 xml_declaration
1285 ~~~~~~~~~~~~~~~
1286
1287 Prepend an XML declaration.
1288 See also `xml_declaration [docutils_xml writer]`_.
1289
1290 .. Caution:: The XML declaration carries text encoding information. If the
1291 encoding is not UTF-8 or ASCII and the XML declaration is missing,
1292 standard XML tools may be unable to read the generated XHTML.
1293
1294 Default: writer dependent.
1295 Options: ``--xml-declaration``, ``--no-xml-declaration``.
1296
1297
1298 [html4css1 writer]
1299 ~~~~~~~~~~~~~~~~~~
1300
1301 The `HTML4/CSS1 Writer`_ generates output that conforms to the
1302 `XHTML 1 Transitional`_ specification.
1303 It shares all settings defined in the `[html writers]`_
1304 `configuration section`_.
1305
1306
1307 Writer Specific Defaults
1308 """"""""""""""""""""""""
1309
1310 `initial_header_level`_
1311 1 (for "<h1>")
1312
1313 `stylesheet_path <stylesheet_path [html writers]_>`__:
1314 "html4css1.css"
1315
1316 `xml_declaration <xml_declaration [html writers]_>`__
1317 enabled (True)
1318
1319 .. _HTML4/CSS1 Writer: html.html#html4css1
1320 .. _XHTML 1 Transitional: https://www.w3.org/TR/xhtml1/
1321
1322
1323 field_name_limit
1324 """"""""""""""""
1325
1326 The maximum width (in characters) for one-column `field names`_. Longer
1327 field names will span an entire row of the table used to render the field
1328 list. 0 indicates "no limit". See also option_limit_.
1329
1330 Default: 14 (i.e. 14 characters). Option: ``--field-name-limit``.
1331
1332
1333 option_limit
1334 """"""""""""
1335
1336 The maximum width (in characters) for options in `option lists`_.
1337 Longer options will span an entire row of the table used to render
1338 the option list. 0 indicates "no limit".
1339 See also field_name_limit_.
1340
1341 Default: 14 (i.e. 14 characters). Option: ``--option-limit``.
1342
1343
1344 [html5 writer]
1345 ~~~~~~~~~~~~~~
1346
1347 The `HTML5 Writer`_ generates valid XML that is compatible with `HTML5`_.
1348 It shares all settings defined in the `[html writers]`_
1349 `configuration section`_.
1350
1351 New in Docutils 0.13.
1352
1353 .. _HTML5 Writer: html.html#html5-polyglot
1354 .. _HTML5: https://www.w3.org/TR/2014/REC-html5-20141028/
1355
1356 Writer Specific Defaults
1357 """"""""""""""""""""""""
1358
1359 `initial_header_level`_
1360 2 (for "<h2>", cf. the "`The h1, h2, h3, h4, h5, and h6 elements`__"
1361 in the HTML Standard)
1362
1363 `stylesheet_path <stylesheet_path [html writers]_>`__:
1364 "minimal.css, plain.css"
1365
1366 __ https://html.spec.whatwg.org/multipage/sections.html
1367 #the-h1,-h2,-h3,-h4,-h5,-and-h6-elements
1368
1369 embed_images
1370 """"""""""""
1371
1372 Deprecated. Obsoleted by image_loading_.
1373
1374
1375 image_loading
1376 """""""""""""
1377
1378 Suggest at which point images should be loaded.
1379
1380 :embed: If the image can be read from the local file system,
1381 the image data is embedded into the HTML document.
1382
1383 :link: Link to image in the HTML document (default).
1384
1385 :lazy: Link to image. Specify the `lazy loading attribute`_ to defer
1386 fetching the image.
1387
1388 Default: "link". Option: ``--image-loading``.
1389
1390 New in Docutils 0.18.
1391
1392 .. _base64: https://en.wikipedia.org/wiki/Base64
1393 .. _data URI: https://en.wikipedia.org/wiki/Data_URI_scheme
1394 .. _lazy loading attribute: https://html.spec.whatwg.org/multipage/
1395 urls-and-fetching.html#lazy-loading-attributes
1396
1397
1398 section_self_link
1399 """""""""""""""""
1400
1401 Append an empty anchor element with a ``href`` to the section to
1402 section headings. See ``responsive.css`` for an example how this can be
1403 styled to show a symbol allowing users to copy the section's URL.
1404
1405 Default: disabled (False).
1406 Options: ``--section-self-link``, ``--no-section-self-link``.
1407
1408 New in Docutils 0.18.
1409
1410
1411 [pep_html writer]
1412 ~~~~~~~~~~~~~~~~~
1413
1414 The PEP/HTML Writer derives from the HTML4/CSS1 Writer, and shares
1415 all settings defined in the `[html writers]`_ and `[html4css1 writer]`_
1416 `configuration sections`_.
1417
1418 Writer Specific Defaults
1419 """"""""""""""""""""""""
1420
1421 `initial_header_level`_
1422 1 (for "<h1>")
1423
1424 `stylesheet_path <stylesheet_path [html writers]_>`__:
1425 "pep.css"
1426
1427 `template <template [html writers]_>`__:
1428 ``docutils/writers/pep_html/template.txt`` in the installation
1429 directory. For the exact machine-specific path, use the ``--help``
1430 option.
1431
1432 no_random
1433 """""""""
1434 Do not use a random banner image. Mainly used to get predictable
1435 results when testing.
1436
1437 Default: random enabled (None). Options: ``--no-random`` (hidden).
1438
1439 pep_home
1440 """"""""
1441
1442 Home URL prefix for PEPs.
1443
1444 Default: current directory ("."). Option: ``--pep-home``.
1445
1446 python_home
1447 """""""""""
1448 Python's home URL.
1449
1450 Default: parent directory (".."). Option: ``--python-home``.
1451
1452
1453 [s5_html writer]
1454 ~~~~~~~~~~~~~~~~
1455
1456 The S5/HTML Writer derives from the HTML4/CSS1 Writer, and shares
1457 all settings defined in the `[html writers]`_ and `[html4css1 writer]`_
1458 `configuration sections`_.
1459
1460 Writer Specific Defaults
1461 """"""""""""""""""""""""
1462
1463 compact_lists_:
1464 disable compact lists.
1465
1466 template__:
1467 ``docutils/writers/s5_html/template.txt`` in the installation
1468 directory. For the exact machine-specific path, use the ``--help``
1469 option.
1470
1471 __ `template [html writers]`_
1472
1473
1474 hidden_controls
1475 """""""""""""""
1476
1477 Auto-hide the presentation controls in slideshow mode, or or keep
1478 them visible at all times.
1479
1480 Default: auto-hide (True).
1481 Options: ``--hidden-controls``, ``--visible-controls``.
1482
1483 current_slide
1484 """""""""""""
1485
1486 Enable or disable the current slide indicator ("1/15").
1487
1488 Default: disabled (None).
1489 Options: ``--current-slide``, ``--no-current-slide``.
1490
1491 overwrite_theme_files
1492 """""""""""""""""""""
1493
1494 Allow or prevent the overwriting of existing theme files in the
1495 ``ui/<theme>`` directory. This has no effect if "theme_url_" is
1496 used.
1497
1498 Default: keep existing theme files (None).
1499 Options: ``--keep-theme-files``, ``--overwrite-theme-files``.
1500
1501 theme
1502 """""
1503
1504 Name of an installed S5 theme, to be copied into a ``ui/<theme>``
1505 subdirectory, beside the destination file (output HTML). Note
1506 that existing theme files will not be overwritten; the existing
1507 theme directory must be deleted manually.
1508 Also overrides the "theme_url_" setting. [#override]_
1509
1510 Default: "default". Option: ``--theme``.
1511
1512 theme_url
1513 """""""""
1514
1515 The URL of an S5 theme directory. The destination file (output
1516 HTML) will link to this theme; nothing will be copied. Also overrides
1517 the "theme_" setting. [#override]_
1518
1519 Default: None. Option: ``--theme-url``.
1520
1521 view_mode
1522 """""""""
1523
1524 The initial view mode, either "slideshow" or "outline".
1525
1526 Default: "slidewhow". Option: ``--view-mode``.
1527
1528 .. ------------------------------------------------------------
1529
1530 [latex writers]
1531 ----------------
1532
1533 Common settings for the `LaTeX writers`_
1534 `[latex2e writer]`_ and `[xetex writer]`_.
1535
1536 .. _LaTeX writers: latex.html
1537
1538
1539 .. _attribution [latex writers]:
1540
1541 attribution
1542 ~~~~~~~~~~~
1543
1544 See `attribution [html writers]`_.
1545
1546 compound_enumerators
1547 ~~~~~~~~~~~~~~~~~~~~
1548
1549 Enable or disable compound enumerators for nested `enumerated lists`_
1550 (e.g. "1.2.a.ii").
1551
1552 Default: disabled (None).
1553 Options: ``--compound-enumerators``, ``--no-compound-enumerators``.
1554
1555 documentclass
1556 ~~~~~~~~~~~~~
1557
1558 Specify LaTeX documentclass.
1559
1560 Default: "article". Option: ``--documentclass``.
1561
1562 documentoptions
1563 ~~~~~~~~~~~~~~~
1564
1565 Specify document options. Multiple options can be given, separated by
1566 commas.
1567
1568 Default: "a4paper". Option: ``--documentoptions``.
1569
1570
1571 docutils_footnotes
1572 ~~~~~~~~~~~~~~~~~~
1573 Use the Docutils-specific macros ``\DUfootnote`` and
1574 ``\DUfootnotetext`` for footnotes_.
1575
1576 TODO: The alternative, "use_latex_footnotes" is not implemented yet.
1577
1578 Default: on. Option: ``--docutils-footnotes``.
1579
1580
1581 .. _embed_stylesheet [latex writers]:
1582
1583 embed_stylesheet
1584 ~~~~~~~~~~~~~~~~
1585
1586 Embed the stylesheet(s) in the header of the output file. The
1587 stylesheets must be accessible during processing. Currently, this
1588 fails if the file is not available via the given path (i.e. the
1589 file is *not* searched in the `TeX input path`_).
1590 See also `embed_stylesheet [html writers]`_.
1591
1592 Default: off. Options: ``--embed-stylesheet, --link-stylesheet``.
1593
1594
1595 .. _footnote_references [latex writers]:
1596
1597 footnote_references
1598 ~~~~~~~~~~~~~~~~~~~
1599
1600 Format for `footnote references`_: one of "superscript" or "brackets".
1601 See also `footnote_references [html writers]`_.
1602
1603 Overrides [#override]_ trim_footnote_reference_space_,
1604 if the parser supports this option.
1605
1606 Default: "superscript". Option: ``--footnote-references``.
1607
1608
1609 graphicx_option
1610 ~~~~~~~~~~~~~~~
1611
1612 LaTeX graphicx package option.
1613
1614 Possible values are "dvips", "pdftex", "dvipdfmx".
1615
1616 Default: "". Option: ``--graphicx-option``.
1617
1618 hyperlink_color
1619 ~~~~~~~~~~~~~~~
1620
1621 Color of any hyperlinks embedded in text.
1622
1623 * "0" or "false" disable coloring of links. (Links will be marked
1624 by red boxes that are not printed),
1625 * "black" results in “invisible“ links,
1626
1627 Set hyperref_options_ to "draft" to completely disable hyperlinking.
1628
1629 Default: "blue". Option: ``--hyperlink-color``.
1630
1631 hyperref_options
1632 ~~~~~~~~~~~~~~~~
1633
1634 Options for the `hyperref TeX package`_. If hyperlink_color_ is
1635 not "false", the expansion of ::
1636
1637 'colorlinks=true,linkcolor=%s,urlcolor=%s' % (
1638 hyperlink_color, self.hyperlink_color
1639
1640 is prepended.
1641
1642 Default: "". Option: ``--hyperref-options``.
1643
1644 .. _hyperref TeX package: http://tug.org/applications/hyperref/
1645
1646
1647 latex_preamble
1648 ~~~~~~~~~~~~~~
1649
1650 LaTeX code that will be inserted in the document preamble.
1651 Can be used to load packages with options or (re-) define LaTeX
1652 macros without writing a custom style file (new in Docutils 0.7).
1653
1654 Default: writer dependent (see `[latex2e writer]`_, `[xetex writer]`_).
1655 Option: ``--latex-preamble``.
1656
1657
1658 legacy_class_functions
1659 ~~~~~~~~~~~~~~~~~~~~~~
1660
1661 Use legacy functions ``\DUtitle`` and ``\DUadmonition`` with a
1662 comma-separated list of class values as optional argument. If `False`, class
1663 values are handled with wrappers and admonitions use the ``DUadmonition``
1664 environment. See `Generating LaTeX with Docutils`__ for details.
1665
1666 Default: False (changed in Docutils 0.18).
1667 Options: ``--legacy-class-functions``, ``--new-class-functions``.
1668
1669 New in Docutils 0.17.
1670
1671 __ latex.html#classes
1672
1673
1674 legacy_column_widths
1675 ~~~~~~~~~~~~~~~~~~~~
1676
1677 Use "legacy algorithm" or new algorithm to determine table column widths.
1678
1679 The new algorithm limits the table width to the text width or specified
1680 table width and keeps the ratio of specified column widths.
1681
1682 Custom table and/or column widths can be set with the respective options
1683 of the `table directive`_. See also `Generating LaTeX with Docutils`__.
1684
1685 Default: True (will change to False in 0.19).
1686 Options: ``--legacy-column-widths``, ``--new-column-widths``.
1687
1688 New in Docutils 0.18.
1689
1690 __ latex.html#table-style
1691
1692
1693 literal_block_env
1694 ~~~~~~~~~~~~~~~~~
1695
1696 When possible\ [#]_, use the specified environment for `literal blocks`_.
1697
1698 Default: "" (quoting of whitespace and special chars).
1699 Option: ``--literal-block-env``.
1700
1701 .. [#] A literal-block element may originate from a `parsed literal`_.
1702 A LaTeX verbatim environment is only usable it does not contain
1703 inline elements.
1704
1705 .. _parsed literal: ../ref/rst/directives.html#parsed-literal
1706
1707
1708 reference_label
1709 ~~~~~~~~~~~~~~~
1710
1711 Per default the latex-writer puts the reference title into
1712 hyper references. Specify "ref*" or "pageref*" to get the section
1713 number or the page number.
1714
1715 Default: "" (use hyper references). Option: ``--reference-label``.
1716
1717 section_enumerator_separator
1718 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1719
1720 The separator between section number prefix and enumerator for
1721 compound enumerated lists (see `compound_enumerators`_).
1722
1723 Generally it isn't recommended to use both sub-sections and nested
1724 enumerated lists with compound enumerators. This setting avoids
1725 ambiguity in the situation where a section "1" has a list item
1726 enumerated "1.1", and subsection "1.1" has list item "1". With a
1727 separator of ".", these both would translate into a final compound
1728 enumerator of "1.1.1". With a separator of "-", we get the
1729 unambiguous "1-1.1" and "1.1-1".
1730
1731 Default: "-". Option: ``--section-enumerator-separator``.
1732
1733
1734
1735 section_prefix_for_enumerators
1736 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1737
1738 Enable or disable section ("." subsection ...) prefixes for
1739 compound enumerators. This has no effect unless
1740 `compound_enumerators`_ are enabled.
1741
1742 Default: disabled (None).
1743 Options: ``--section-prefix-for-enumerators``,
1744 ``--no-section-prefix-for-enumerators``.
1745
1746
1747 .. _stylesheet [latex writers]:
1748
1749 stylesheet
1750 ~~~~~~~~~~
1751
1752 A comma-separated list_ of style files.
1753 See also `stylesheet [html writers]`_.
1754
1755 Overrides also stylesheet_path__. [#override]_
1756
1757 If `embed_stylesheet`__ is False (default), the stylesheet files are
1758 referenced with ``\usepackage`` (extension ``.sty`` or no extension) or
1759 ``\input`` (any other extension).
1760
1761 LaTeX will search the specified files in the `TeX input path`_.
1762
1763 Default: no stylesheet (""). Option: ``--stylesheet``.
1764
1765 __ `stylesheet_path [latex writers]`_
1766 __ `embed_stylesheet [latex writers]`_
1767 .. _TeX input path:
1768 http://www.tex.ac.uk/cgi-bin/texfaq2html?label=what-TDS
1769
1770
1771 .. _stylesheet_dirs [latex writers]:
1772
1773 stylesheet_dirs
1774 ~~~~~~~~~~~~~~~
1775
1776 A comma-separated list of directories where stylesheets can be found.
1777 Used by the stylesheet_path__ setting.
1778
1779 Note: This setting defines a "search path" (similar to the PATH variable for
1780 executables). However, the term "path" is already used in the
1781 stylesheet_path__ setting with the meaning of a file location.
1782
1783 __
1784 __ `stylesheet_path [latex writers]`_
1785
1786 Default: the working directory of the process at launch and the directory
1787 with default stylesheet files (writer and installation specific).
1788 Use the ``--help`` option to get the exact value.
1789 Option: ``--stylesheet-dirs``.
1790
1791
1792 .. _stylesheet_path [latex writers]:
1793
1794 stylesheet_path
1795 ~~~~~~~~~~~~~~~
1796
1797 A comma-separated list of style files. Relative paths are expanded if a
1798 matching file is found in the stylesheet_dirs__.
1799 If embed_stylesheet__ is False, paths are rewritten relative to the
1800 output file path. Run ``latex`` from the directory containing
1801 the output file.
1802 See also `stylesheet_path [html writers]`_.
1803
1804 The stylesheet__ option is preferred for files in the `TeX input path`_.
1805
1806 Also overrides stylesheet__. [#override]_
1807
1808 Default: no stylesheet (""). Option: ``--stylesheet-path``.
1809
1810 __ `stylesheet_dirs [latex writers]`_
1811 __ `embed_stylesheet [latex writers]`_
1812 __
1813 __ `stylesheet [latex writers]`_
1814
1815
1816 .. _table_style [latex writers]:
1817
1818 table_style
1819 ~~~~~~~~~~~
1820
1821 Specify the default style for tables_.
1822 See also `table_style [html writers]`_.
1823
1824 Supported values: "booktabs", "borderless", "colwidths-auto", and "standard".
1825 See `Generating LaTeX with Docutils`__ for details.
1826
1827 Default: "standard". Option: ``--table-style``.
1828
1829 __ latex.html#tables
1830
1831
1832 .. _template [latex writers]:
1833
1834 template
1835 ~~~~~~~~
1836
1837 Path [#pwd]_ to template file, which must be encoded in UTF-8.
1838 See also `template [html writers]`_.
1839
1840 Default: writer dependent (see `[latex2e writer]`_, `[xetex writer]`_).
1841 Option: ``--template``.
1842
1843
1844 use_bibtex
1845 ~~~~~~~~~~
1846 Specify style and database for the experimental `BibTeX` support, for
1847 example::
1848
1849 --use-bibtex=mystyle,mydb1,mydb2
1850
1851 Default: "" (don't use BibTeX). Option ``--use-bibtex``.
1852
1853 use_latex_abstract
1854 ~~~~~~~~~~~~~~~~~~
1855
1856 Use LaTeX abstract environment for the document's abstract_.
1857
1858 Default: off. Options: ``--use-latex-abstract, --topic-abstract``.
1859
1860 use_latex_citations
1861 ~~~~~~~~~~~~~~~~~~~
1862
1863 Use \cite for citations_ instead of a simulation with figure-floats.
1864
1865 Default: off. Options: ``--use-latex-citations, --figure-citations``.
1866
1867 use_latex_docinfo
1868 ~~~~~~~~~~~~~~~~~
1869
1870 Attach author and date to the `document title`_
1871 instead of the `bibliographic fields`_.
1872
1873 Default: off. Options: ``--use-latex-docinfo, --use-docutils-docinfo``.
1874
1875 use_latex_toc
1876 ~~~~~~~~~~~~~
1877
1878 To get page numbers in the `table of contents`_, it
1879 must be generated by LaTeX. Usually latex must be run twice to get
1880 numbers correct.
1881
1882 Default: on. Options: ``--use-latex-toc, --use-docutils-toc``.
1883
1884 use_part_section
1885 ~~~~~~~~~~~~~~~~
1886
1887 Add parts on top of the section hierarchy.
1888
1889 Default: don't (None). Option: ``--use-part-section``.
1890
1891 [latex2e writer]
1892 ~~~~~~~~~~~~~~~~
1893
1894 The `LaTeX2e writer`_ generates a LaTeX source for compilation with 8-bit
1895 LaTeX (pdfTeX_). It shares all settings defined in the `[latex writers]`_
1896 `configuration section`_.
1897
1898 .. _LaTeX2e writer: latex.html#latex2e-writer
1899 .. _pdfTeX: https://www.tug.org/applications/pdftex/
1900 .. _configuration section: `Configuration File Sections & Entries`_
1901
1902
1903 Writer Specific Defaults
1904 """"""""""""""""""""""""
1905
1906 latex_preamble_
1907 Load the "PDF standard fonts" (Times, Helvetica, Courier)::
1908
1909 \usepackage{mathptmx} % Times
1910 \usepackage[scaled=.90]{helvet}
1911 \usepackage{courier}
1912
1913 template__
1914 "default.tex" in the ``docutils/writers/latex2e/`` directory
1915 (installed automatically).
1916
1917 __ `template [latex writers]`_
1918
1919
1920 font_encoding
1921 """""""""""""
1922
1923 Specify `LaTeX font encoding`_. Multiple options can be given, separated by
1924 commas. The last value becomes the document default.
1925 Possible values are "", "T1", "OT1", "LGR,T1" or any other combination of
1926 `LaTeX font encodings`_.
1927
1928 Default: "T1". Option: ``--font-encoding``.
1929
1930 .. _LaTeX font encoding: latex.html#font-encoding
1931 .. _LaTeX font encodings:
1932 http://mirror.ctan.org/macros/latex/doc/encguide.pdf
1933
1934 [xetex writer]
1935 ~~~~~~~~~~~~~~
1936
1937 The `XeTeX writer`_ generates a LaTeX source for compilation with `XeTeX or
1938 LuaTeX`_. It derives from the latex2e writer, and shares all settings
1939 defined in the `[latex writers]`_ and `[latex2e writer]`_ `configuration
1940 sections`_.
1941
1942 .. _XeTeX writer: latex.html#xetex-writer
1943 .. _XeTeX or LuaTeX: https://texfaq.org/FAQ-xetex-luatex
1944 .. _configuration sections: `Configuration File Sections & Entries`_
1945
1946 Writer Specific Defaults
1947 """"""""""""""""""""""""
1948
1949 latex_preamble_:
1950 Font setup for `Linux Libertine`_,::
1951
1952 % Linux Libertine (free, wide coverage, not only for Linux)
1953 \setmainfont{Linux Libertine O}
1954 \setsansfont{Linux Biolinum O}
1955 \setmonofont[HyphenChar=None]{DejaVu Sans Mono}
1956
1957 The optional argument ``HyphenChar=None`` to the monospace font
1958 prevents word hyphenation in literal text.
1959
1960 .. _Linux Libertine: http://www.linuxlibertine.org/
1961
1962 template__:
1963 "xelatex.tex" in the ``docutils/writers/latex2e/`` directory
1964 (installed automatically).
1965
1966 .. TODO: show full path with ``--help`` (like in the HTML writers)
1967 and add the following line:
1968 for the exact machine-specific path, use the ``--help`` option).
1969
1970 __ `template [latex writers]`_
1971
1972
1973 [odf_odt writer]
1974 ----------------
1975
1976 The following command line options are specific to ``odtwriter``:
1977
1978 stylesheet
1979 ~~~~~~~~~~
1980
1981 Specify a stylesheet URL, used verbatim.
1982
1983 Default: writers/odf_odt/styles.odt in the installation directory.
1984
1985 odf-config-file
1986 ~~~~~~~~~~~~~~~
1987
1988 Specify a configuration/mapping file relative to the current working
1989 directory for additional ODF options. In particular, this file may
1990 contain a section named "Formats" that maps default style names to names
1991 to be used in the resulting output file allowing for adhering to external
1992 standards. For more info and the format of the configuration/mapping
1993 file, see the `Odt Writer for Docutils`_ document.
1994
1995 cloak-email-addresses
1996 ~~~~~~~~~~~~~~~~~~~~~
1997
1998 Obfuscate email addresses to confuse harvesters while still
1999 keeping email links usable with standards-compliant browsers.
2000
2001 no-cloak-email-addresses
2002 ~~~~~~~~~~~~~~~~~~~~~~~~
2003 Do not obfuscate email addresses.
2004
2005 table-border-thickness
2006 ~~~~~~~~~~~~~~~~~~~~~~
2007
2008 Specify the thickness of table borders in thousands of a cm.
2009 Default is 35.
2010
2011 add-syntax-highlighting
2012 ~~~~~~~~~~~~~~~~~~~~~~~
2013
2014 Add syntax highlighting in literal code blocks.
2015
2016 no-syntax-highlighting
2017 ~~~~~~~~~~~~~~~~~~~~~~
2018
2019 Do not add syntax highlighting in literal code blocks.
2020 (default)
2021
2022 create-sections
2023 ~~~~~~~~~~~~~~~
2024
2025 Create sections for headers. (default)
2026
2027 no-sections
2028 ~~~~~~~~~~~
2029
2030 Do not create sections for headers.
2031
2032 create-links
2033 ~~~~~~~~~~~~
2034 Create links.
2035
2036 no-links
2037 ~~~~~~~~
2038
2039 Do not create links. (default)
2040
2041 endnotes-end-doc
2042 ~~~~~~~~~~~~~~~~
2043
2044 Generate endnotes at end of document, not footnotes at bottom of page.
2045
2046 no-endnotes-end-doc
2047 ~~~~~~~~~~~~~~~~~~~
2048
2049 Generate footnotes at bottom of page, not endnotes at end of
2050 document. (default)
2051
2052 generate-list-toc
2053 ~~~~~~~~~~~~~~~~~
2054
2055 Generate a bullet list table of contents, not an
2056 ODF/``oowriter`` table of contents.
2057
2058 generate-oowriter-toc
2059 ~~~~~~~~~~~~~~~~~~~~~
2060
2061 Generate an ODF/``oowriter`` table of contents, not a bullet
2062 list. (default) **Note:** ``odtwriter`` is not able to
2063 determine page numbers, so you will need to open the generated
2064 document in ``oowriter``, then right-click on the table of
2065 contents and select "Update" to insert page numbers.
2066
2067 custom-odt-header
2068 ~~~~~~~~~~~~~~~~~
2069
2070 Specify the contents of a custom header line. For details about
2071 custom headers and about special field character sequences, see
2072 section "Custom header/footers: inserting page numbers, date,
2073 time, etc" in the `Odt Writer for Docutils`_ document for
2074 details.
2075
2076 custom-odt-footer
2077 ~~~~~~~~~~~~~~~~~
2078
2079 Specify the contents of a custom footer line. For details about
2080 custom footers and about special field character sequences, see
2081 section "Custom header/footers: inserting page numbers, date,
2082 time, etc" in the `Odt Writer for Docutils`_ document for
2083 details.
2084
2085 .. _Odt Writer for Docutils: odt.html
2086
2087
2088 [pseudoxml writer]
2089 ------------------
2090
2091 detailed
2092 ~~~~~~~~~
2093
2094 Pretty-print <#text> nodes.
2095
2096 Default: False. Option: ``--detailed``.
2097
2098
2099 [applications]
2100 ==============
2101
2102 [buildhtml application]
2103 -----------------------
2104
2105 dry_run
2106 ~~~~~~~
2107
2108 Do not process files, show files that would be processed.
2109
2110 Default: False. Option: ``--dry-run``.
2111
2112 ignore
2113 ~~~~~~
2114
2115 List_ of wildcard (shell globing) patterns, specifying files to silently
2116 ignore. To specify multiple patterns, use colon-separated patterns (in
2117 configuration files or on the command line); on the command line, the
2118 option may also be used more than once.
2119
2120 Default: None. Option: ``--ignore``.
2121
2122 prune
2123 ~~~~~
2124
2125 List_ of directories not to process. To specify multiple
2126 directories, use colon-separated paths (in configuration files or
2127 on the command line); on the command line, the option may also be
2128 used more than once.
2129
2130 Default: ['.hg', '.bzr', '.git', '.svn', 'CVS']. Option:
2131 ``--prune``.
2132
2133 recurse
2134 ~~~~~~~
2135
2136 Recursively scan subdirectories, or ignore subdirectories.
2137
2138 Default: recurse (True). Options: ``--recurse, --local``.
2139
2140 silent
2141 ~~~~~~
2142
2143 Work silently (no progress messages). Independent of
2144 "report_level".
2145
2146 Default: show progress (None). Option: ``--silent``.
2147
2148 .. _html_writer:
2149 .. _writer [buildhtml application]:
2150
2151 writer
2152 ~~~~~~
2153
2154 `HTML writer`_ version. One of "html", "html4", "html5".
2155
2156 Default: "html" (use Docutils' default HTML writer).
2157 Option: ``--writer``
2158
2159 New in 0.17. Obsoletes the ``html_writer`` option.
2160
2161 .. _HTML writer: html.html
2162
2163
2164 [docutils application]
2165 --------------------------
2166
2167 New in 0.17. Config file support added in 0.18.
2168 Renamed in 0.19 (the old name "docutils-cli application" is kept as alias).
2169 Support for reader/parser import names added in 0.19.
2170
2171 reader
2172 ~~~~~~
2173 Reader component name.
2174 One of "standalone", "pep",
2175 or the import name of a drop-in reader module.
2176
2177 Default: "standalone".
2178 Option: ``--reader``
2179
2180 parser
2181 ~~~~~~
2182 Parser component name.
2183 Either "rst" (default) or the import name of a drop-in parser module.
2184
2185 Parsers for CommonMark_ known to work with Docutils include "pycmark_",
2186 "myst_", and "recommonmark_".
2187
2188 Default: "rst".
2189 Option: ``--parser``
2190
2191 .. _CommonMark: https://spec.commonmark.org/0.30/
2192
2193
2194 .. _writer [docutils application]:
2195
2196 writer
2197 ~~~~~~
2198 Writer component name.
2199 One of "html", "html4", "html5", "latex", "xelatex", "odt", "xml",
2200 "pseudoxml", "manpage", "pep_html", "s5", an alias,
2201 or the import name of a drop-in writer module.
2202
2203 Default: "html5".
2204 Option: ``--writer``
2205
2206
2207 Other Settings
2208 ==============
2209
2210 Command-Line Only
2211 -----------------
2212
2213 These settings are only effective as command-line options; setting
2214 them in configuration files has no effect.
2215
2216 config
2217 ~~~~~~
2218
2219 Path to a configuration file to read (if it exists). [#pwd]_
2220 Settings may override defaults and earlier settings. The config
2221 file is processed immediately. Multiple ``--config`` options may
2222 be specified; each will be processed in turn.
2223
2224 Filesystem path settings contained within the config file will be
2225 interpreted relative to the config file's location (*not* relative
2226 to the current working directory).
2227
2228 Default: None. Option: ``--config``.
2229
2230
2231 Internal Settings
2232 -----------------
2233
2234 These settings are for internal use only; setting them in
2235 configuration files has no effect, and there are no corresponding
2236 command-line options.
2237
2238 _config_files
2239 ~~~~~~~~~~~~~
2240
2241 List of paths of applied configuration files.
2242
2243 Default: None. No command-line options.
2244
2245 _directories
2246 ~~~~~~~~~~~~
2247
2248 (``buildhtml.py`` front end.) List of paths to source
2249 directories, set from positional arguments.
2250
2251 Default: current working directory (None). No command-line
2252 options.
2253
2254 _disable_config
2255 ~~~~~~~~~~~~~~~
2256
2257 Prevent standard configuration files from being read. For
2258 programmatic use only.
2259
2260 Default: config files enabled (None). No command-line options.
2261
2262 _destination
2263 ~~~~~~~~~~~~
2264
2265 Path to output destination, set from positional arguments.
2266
2267 Default: stdout (None). No command-line options.
2268
2269 _source
2270 ~~~~~~~
2271
2272 Path to input source, set from positional arguments.
2273
2274 Default: stdin (None). No command-line options.
2275
2276 --------------------------------------------------------------------------
2277
2278 .. _language tag: https://www.w3.org/International/articles/language-tags/
2279 .. _BCP 47: https://www.rfc-editor.org/rfc/bcp/bcp47.txt
2280 .. _ISO 639: http://www.loc.gov/standards/iso639-2/php/English_list.php
2281 .. _ISO 3166: http://www.iso.ch/iso/en/prods-services/iso3166ma/
2282 02iso-3166-code-lists/index.html
2283
2284 .. [#pwd] Path relative to the working directory of the process at
2285 launch.
2286
2287 .. [#override] The overridden setting will automatically be set to
2288 ``None`` for command-line options and config file settings. Client
2289 programs which specify defaults that override other settings must
2290 do the overriding explicitly, by assigning ``None`` to the other
2291 settings.
2292
2293
2294 ------------------------------
2295 Old-Format Configuration Files
2296 ------------------------------
2297
2298 Formerly, Docutils configuration files contained a single "[options]"
2299 section only. This was found to be inflexible, and in August 2003
2300 Docutils adopted the current component-based configuration file
2301 sections as described above.
2302 Up to version 2.0, Docutils will still recognize the old "[options]"
2303 section, but complain with a deprecation warning.
2304
2305 To convert existing config files, the easiest way is to change the
2306 section title: change "[options]" to "[general]". Most settings
2307 haven't changed. The only ones to watch out for are these:
2308
2309 ===================== =====================================
2310 Old-Format Setting New Section & Setting
2311 ===================== =====================================
2312 pep_stylesheet [pep_html writer] stylesheet
2313 pep_stylesheet_path [pep_html writer] stylesheet_path
2314 pep_template [pep_html writer] template
2315 ===================== =====================================
2316
2317 .. References
2318
2319 .. _abstract:
2320 .. _bibliographic field list:
2321 .. _bibliographic fields:
2322 ../ref/rst/restructuredtext.html#bibliographic-fields
2323 .. _block quote: ../ref/rst/restructuredtext.html#block-quotes
2324 .. _citations: ../ref/rst/restructuredtext.html#citations
2325 .. _bullet lists: ../ref/rst/restructuredtext.html#bullet-lists
2326 .. _enumerated lists: ../ref/rst/restructuredtext.html#enumerated-lists
2327 .. _field lists: ../ref/rst/restructuredtext.html#field-lists
2328 .. _field names: ../ref/rst/restructuredtext.html#field-names
2329 .. _footnotes: ../ref/rst/restructuredtext.html#footnotes
2330 .. _footnote references: ../ref/rst/restructuredtext.html#footnote-references
2331 .. _inline markup recognition rules:
2332 ../ref/rst/restructuredtext.html#inline-markup-recognition-rules
2333 .. _literal blocks: ../ref/rst/restructuredtext.html#literal-blocks
2334 .. _option lists: ../ref/rst/restructuredtext.html#option-lists
2335 .. _tables: ../ref/rst/restructuredtext.html#tables
2336 .. _table of contents: ../ref/rst/directives.html#contents