Stop generating invalid doctree if "use_latex_toc" setting is True.
[docutils.git] / docutils / docutils / languages / en.py
blobd35bfbb614da02f7b9aaf3fce81a2a9af1d1ca56
1 # $Id$
2 # Author: David Goodger <goodger@python.org>
3 # Copyright: This module has been placed in the public domain.
5 # New language mappings are welcome. Before doing a new translation, please
6 # read <https://docutils.sourceforge.io/docs/howto/i18n.html>.
7 # Two files must be translated for each language: one in docutils/languages,
8 # the other in docutils/parsers/rst/languages.
10 """
11 English-language mappings for language-dependent features of Docutils.
12 """
14 __docformat__ = 'reStructuredText'
16 labels = {
17 # fixed: language-dependent
18 'author': 'Author',
19 'authors': 'Authors',
20 'organization': 'Organization',
21 'address': 'Address',
22 'contact': 'Contact',
23 'version': 'Version',
24 'revision': 'Revision',
25 'status': 'Status',
26 'date': 'Date',
27 'copyright': 'Copyright',
28 'dedication': 'Dedication',
29 'abstract': 'Abstract',
30 'attention': 'Attention!',
31 'caution': 'Caution!',
32 'danger': '!DANGER!',
33 'error': 'Error',
34 'hint': 'Hint',
35 'important': 'Important',
36 'note': 'Note',
37 'tip': 'Tip',
38 'warning': 'Warning',
39 'contents': 'Contents'}
40 """Mapping of node class name to label text."""
42 bibliographic_fields = {
43 # language-dependent: fixed
44 'author': 'author',
45 'authors': 'authors',
46 'organization': 'organization',
47 'address': 'address',
48 'contact': 'contact',
49 'version': 'version',
50 'revision': 'revision',
51 'status': 'status',
52 'date': 'date',
53 'copyright': 'copyright',
54 'dedication': 'dedication',
55 'abstract': 'abstract'}
56 """English (lowcased) to canonical name mapping for bibliographic fields."""
58 author_separators = [';', ',']
59 """List of separator strings for the 'Authors' bibliographic field. Tried in
60 order."""