Commit Graph

175 Commits

Author SHA1 Message Date
jfbu
101af91b80 more precise latex docs 2017-02-06 13:55:25 +01:00
jfbu
451115f2d1 no need to pass truedimen as class option, package option is enough 2017-02-05 20:07:41 +01:00
jfbu
9c6a071572 Fix #3356 and #3394 (latex) text layout of Japanese documents
- make text width integer multiple of zenkaku width

- fix incompatibility of ``geometry`` package with ``jsbook`` LaTeX
  class (``'manual'`` docclass)

- fix issue with shortened text area height in ``'manual'`` docclass
2017-02-05 17:25:50 +01:00
jfbu
e46887b1e9 polish latex.rst doc slightly 2017-01-16 15:15:07 +01:00
jfbu
6f0d0ede3a polish an item in latex.rst doc file 2017-01-16 09:41:37 +01:00
jfbu
8c21abeccc Fix #3308: Parsed-literals don't wrap very long lines with pdf builder 2017-01-16 00:15:29 +01:00
jfbu
ee4138a1de fix typo in doc 2016-11-06 11:30:30 +01:00
Takeshi KOMIYA
392da57094 Merge pull request #3121 from jfbu/inlineliteralwraptoggle
add option to control if inline literal word-wraps in latex
2016-11-06 14:55:29 +09:00
jfbu
44160fa691 rename `'sphinxpackageoptions' to 'sphinxsetup'` 2016-11-05 16:58:01 +01:00
jfbu
a50dfbab0c add option to control if inline literal word-wraps in latex 2016-11-05 16:43:13 +01:00
jfbu
aff72931fc minor update to latex.rst 2016-10-30 00:08:17 +02:00
jfbu
e70746e8da uppercase colour names (latex styling) 2016-10-30 00:04:23 +02:00
jfbu
a48a9c883a style the latex chapter in the docs (for pdf output) 2016-10-29 16:30:33 +02:00
jfbu
528b6c374c refactor the handling of latex options
previously, modifying a single option via ``\sphinxsetup`` redeclared
all dimensions and colours, even if they had not changed.
2016-10-29 14:03:12 +02:00
jfbu
b6695ad7fc use 'sphinxpackageoptions' as argument to `\sphinxsetup`
Indeed, LaTeX's handling of package options is not robust when options
contain LaTeX macros; thus we pass all the user customization to
``\sphinxsetup``, not as package options to "sphinx.sty".

Also, make parameters for long code line breaking (ref #2343, 1.4.2)
accessible as sub-keys of 'sphinxpackageoptions'. The space reserved for
the continuation character has been modified for coherence and
compatibility with use in footnotes. In fact it did not use the correct
font for the dimension computation. The documentation explains how to
recover former value.
2016-10-28 21:45:44 +02:00
jfbu
fb8bb072cb `'sphinxpackageoptions'` for key=value styling of Sphinx LaTeX 2016-10-27 20:24:33 +02:00
Jean-François B
828c96ec10 Fix #3047: spacing before footnote in pdf output is not coherent (#3057)
A ``\sphinxBeforeFootnote`` macro is inserted by footnote environment
and ``\footnotemark`` command. Its default is to remove the space before
the footnote mark. Formerly, footnotes from explicit mark-up were
preceded by a space allowing a linebreak, but automatically generated
footnotes had no such space.
2016-10-16 17:40:19 +02:00
jfbu
fc3908485c kill unwanted TABs 2016-10-13 15:47:30 +02:00
jfbu
44907736ec update more latex.rst 2016-10-13 14:09:43 +02:00
jfbu
0861ca9a03 escape some backslashes in latex.rst example code 2016-10-12 22:33:09 +02:00
jfbu
613b80d3ed update latex.rst (`LaTeX customization` chapter in the docs) 2016-10-12 22:12:36 +02:00
Takeshi KOMIYA
d45c5f8e82 #2725: latex builder: allow to use user-defined template file (experimental) 2016-08-17 22:52:42 +09:00
jfbu
067d3cabf0 latex, make use of `\small` for code listings customizable 2016-06-30 11:20:30 +02:00
jfbu
5bd76815ff Added an item about sphinxVerbatim to doc/latex.rst 2016-06-22 22:30:58 +02:00
jfbu
12ade10d55 New latex.rst for extended documentation of LaTeX's customizing. 2016-06-20 09:23:41 +02:00