mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #3363 from jfbu/dvipdfm
LaTeX, pass dvipdfm option to geometry package for Japanese documents
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -52,6 +52,7 @@ Bugs fixed
|
||||
* #3308: Parsed-literals don't wrap very long lines with pdf builder (ref #3340)
|
||||
* #3295: Could not import extension sphinx.builders.linkcheck
|
||||
* #3285: autosummary: asterisks are escaped twice
|
||||
* LaTeX, pass dvipdfm option to geometry package for Japanese documents
|
||||
|
||||
|
||||
Release 1.5.1 (released Dec 13, 2016)
|
||||
|
||||
@@ -1733,6 +1733,11 @@ These options influence LaTeX output. See further :doc:`latex`.
|
||||
``'\\usepackage[margin=1in,marginparwidth=0.5in]{geometry}'``.
|
||||
|
||||
.. versionadded:: 1.5
|
||||
|
||||
.. versionchanged:: 1.5.2
|
||||
For Japanese documents also ``dvipdfm`` option is passed to
|
||||
``geometry``.
|
||||
|
||||
``'babel'``
|
||||
"babel" package inclusion, default ``'\\usepackage{babel}'`` (the
|
||||
suitable document language string is passed as class option, and
|
||||
|
||||
@@ -122,6 +122,8 @@ ADDITIONAL_SETTINGS = {
|
||||
},
|
||||
'platex': {
|
||||
'latex_engine': 'platex',
|
||||
'geometry': ('\\usepackage[margin=1in,marginparwidth=0.5in,dvipdfm]'
|
||||
'{geometry}'),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user