sphinx/conf/latex
This commit is contained in:
parent
e9a136f878
commit
01ec2086b2
1 changed files with 28 additions and 7 deletions
|
@ -1,9 +1,8 @@
|
||||||
***********************
|
|
||||||
Configure documentation
|
Configure documentation
|
||||||
***********************
|
=======================
|
||||||
|
|
||||||
MarkDown
|
MarkDown
|
||||||
========
|
--------
|
||||||
|
|
||||||
.. code:: python3
|
.. code:: python3
|
||||||
|
|
||||||
|
@ -11,3 +10,25 @@ MarkDown
|
||||||
'.md': 'recommonmark.parser.CommonMarkParser',
|
'.md': 'recommonmark.parser.CommonMarkParser',
|
||||||
}
|
}
|
||||||
source_suffix = ['.rst', '.md']
|
source_suffix = ['.rst', '.md']
|
||||||
|
|
||||||
|
LaTeX
|
||||||
|
-----
|
||||||
|
|
||||||
|
.. code:: python3
|
||||||
|
|
||||||
|
latex_elements = {
|
||||||
|
'fontenc': r'\usepackage{fontspec}',
|
||||||
|
'fontpkg': r'''
|
||||||
|
\setmainfont{DejaVu Serif}
|
||||||
|
\setsansfont{DejaVu Sans}
|
||||||
|
\setmonofont{DejaVu Sans Mono}
|
||||||
|
''',
|
||||||
|
'papersize': 'a4paper',
|
||||||
|
'pointsize': '12pt',
|
||||||
|
}
|
||||||
|
latex_documents = [
|
||||||
|
(master_doc, 'FileName.tex', 'Title',
|
||||||
|
'Author', 'howto/manual'),
|
||||||
|
]
|
||||||
|
latex_use_parts = False
|
||||||
|
latex_keep_old_macro_names = False
|
||||||
|
|
Loading…
Reference in a new issue