root/galaxy-central/eggs/docutils-0.4-py2.6.egg/docutils/parsers/rst/languages/en.py @ 3

リビジョン 3, 3.2 KB (コミッタ: kohda, 14 年 前)

Install Unix tools  http://hannonlab.cshl.edu/galaxy_unix_tools/galaxy.html

行番号 
1# Author: David Goodger
2# Contact: goodger@users.sourceforge.net
3# Revision: $Revision: 4229 $
4# Date: $Date: 2005-12-23 00:46:16 +0100 (Fri, 23 Dec 2005) $
5# Copyright: This module has been placed in the public domain.
6
7# New language mappings are welcome.  Before doing a new translation, please
8# read <http://docutils.sf.net/docs/howto/i18n.html>.  Two files must be
9# translated for each language: one in docutils/languages, the other in
10# docutils/parsers/rst/languages.
11
12"""
13English-language mappings for language-dependent features of
14reStructuredText.
15"""
16
17__docformat__ = 'reStructuredText'
18
19
20directives = {
21      # language-dependent: fixed
22      'attention': 'attention',
23      'caution': 'caution',
24      'danger': 'danger',
25      'error': 'error',
26      'hint': 'hint',
27      'important': 'important',
28      'note': 'note',
29      'tip': 'tip',
30      'warning': 'warning',
31      'admonition': 'admonition',
32      'sidebar': 'sidebar',
33      'topic': 'topic',
34      'line-block': 'line-block',
35      'parsed-literal': 'parsed-literal',
36      'rubric': 'rubric',
37      'epigraph': 'epigraph',
38      'highlights': 'highlights',
39      'pull-quote': 'pull-quote',
40      'compound': 'compound',
41      'container': 'container',
42      #'questions': 'questions',
43      'table': 'table',
44      'csv-table': 'csv-table',
45      'list-table': 'list-table',
46      #'qa': 'questions',
47      #'faq': 'questions',
48      'meta': 'meta',
49      #'imagemap': 'imagemap',
50      'image': 'image',
51      'figure': 'figure',
52      'include': 'include',
53      'raw': 'raw',
54      'replace': 'replace',
55      'unicode': 'unicode',
56      'date': 'date',
57      'class': 'class',
58      'role': 'role',
59      'default-role': 'default-role',
60      'title': 'title',
61      'contents': 'contents',
62      'sectnum': 'sectnum',
63      'section-numbering': 'sectnum',
64      'header': 'header',
65      'footer': 'footer',
66      #'footnotes': 'footnotes',
67      #'citations': 'citations',
68      'target-notes': 'target-notes',
69      'restructuredtext-test-directive': 'restructuredtext-test-directive'}
70"""English name to registered (in directives/__init__.py) directive name
71mapping."""
72
73roles = {
74    # language-dependent: fixed
75    'abbreviation': 'abbreviation',
76    'ab': 'abbreviation',
77    'acronym': 'acronym',
78    'ac': 'acronym',
79    'index': 'index',
80    'i': 'index',
81    'subscript': 'subscript',
82    'sub': 'subscript',
83    'superscript': 'superscript',
84    'sup': 'superscript',
85    'title-reference': 'title-reference',
86    'title': 'title-reference',
87    't': 'title-reference',
88    'pep-reference': 'pep-reference',
89    'pep': 'pep-reference',
90    'rfc-reference': 'rfc-reference',
91    'rfc': 'rfc-reference',
92    'emphasis': 'emphasis',
93    'strong': 'strong',
94    'literal': 'literal',
95    'named-reference': 'named-reference',
96    'anonymous-reference': 'anonymous-reference',
97    'footnote-reference': 'footnote-reference',
98    'citation-reference': 'citation-reference',
99    'substitution-reference': 'substitution-reference',
100    'target': 'target',
101    'uri-reference': 'uri-reference',
102    'uri': 'uri-reference',
103    'url': 'uri-reference',
104    'raw': 'raw',}
105"""Mapping of English role names to canonical role names for interpreted text.
106"""
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。