jfbu
b9c53c8ca6
Merge branch '3.x' into merge_3.x_into_master
...
Resolved Conflicts:
sphinx/texinputs/sphinx.sty
Some hunks needed to go to sphinx/texinputs/sphinxlatexliterals.py,
others already belonged to split files.
2021-02-09 19:03:38 +01:00
jfbu
87d0b15eab
Also indent warning to not interrupt description list
2021-02-09 18:29:56 +01:00
jfbu
a310c4c5b6
Indent note directive inside list item
2021-02-09 18:25:37 +01:00
jfbu
32d8b4e445
Minor refactoring in doc/latex.rst
2021-02-09 18:11:24 +01:00
Jean-François B
1c08467040
Merge pull request #8851 from jfbu/latex_enhance_docs_about_index
...
LaTeX: improve docs of 'printindex' and 'makeindex'
2021-02-09 16:16:26 +01:00
jfbu
aaac721104
Typo
2021-02-09 16:04:01 +01:00
jfbu
035d13fd24
Update CHANGES and docs relative to new verbatimforcewraps
2021-02-09 15:47:15 +01:00
jfbu
eee17ff61a
Fix forgotten link to Pygments home site, mmmmpf
2021-02-09 12:33:16 +01:00
jfbu
abddafa98a
Fix inexistent directive "notice", it is "note"...
2021-02-09 12:28:03 +01:00
jfbu
c6a8fb1625
Add verbatimmaxoverfull and verbatimmaxunderfull
2021-02-09 12:18:31 +01:00
jfbu
0076ad3fd3
Indicated force wrapping code lines is fragile with Unicode input
2021-02-09 00:01:39 +01:00
jfbu
702545da1c
LaTeX: optionally apply a second forceful wrapping of long code lines
...
Closes #8849
2021-02-08 23:13:46 +01:00
jfbu
a984f5f7cc
LaTeX: improve docs of 'printindex' and 'makeindex'
...
Closes #8055
2021-02-08 14:59:20 +01:00
jfbu
c07adc4ebb
Fix docs markup from d6e11b89
...
Sorry that I fixed this in master already, forgetting it was initially
merged into 3.x.
2021-01-30 21:17:07 +01:00
jfbu
6dea091257
Fix markup in docs (from d6e11b89
)
2021-01-30 21:14:02 +01:00
Takeshi KOMIYA
339ce2f894
Merge branch '3.x'
2021-01-30 11:49:08 +09:00
jfbu
d6e11b89e9
Fix suppression of needed whiteline, encapsulate into \sphinxAtStartPar
...
Define it to do nothing with lualatex engine
2021-01-29 10:40:50 +01:00
jfbu
6e80d27841
Refactor LaTeX [1/2]: split sphinx.sty into separate components
...
The latex macros from sphinx.sty were already partitioned into
successive sections. The file sphinx.sty is split into multiple
files in concordance with this pre-existing sectioning.
The files are loaded via \input. File extension is .sty not .tex
to not confuse the Makefile.
2021-01-27 15:58:48 +01:00
Takeshi KOMIYA
502c4ee5fb
Merge branch '3.x'
2021-01-24 14:32:13 +09:00
jfbu
2e22bd0a23
Merge branch 'master' into latex_font_for_pdflatex
2021-01-23 09:13:08 +01:00
Takeshi KOMIYA
9a905ce547
Merge pull request #8724 from jfbu/latex_fancyboxissue
...
Closes : #8339
2021-01-23 16:47:21 +09:00
jfbu
11e7feb6fa
Closes : #8339
...
Handled as only a documentation issue.
2021-01-21 19:51:59 +01:00
jfbu
99a8b7f37f
LaTeX: update default font configuration
...
This replaces times package with tgtermes and tgheros (clones of Times and
Helvetica with better LaTeX support) and the monospace font from txfonts
package (txtt). This font is better matched with Times-like fonts than
Courier clones.
The changes applies to pdflatex/platex/uplatex.
Fixes : #8711
2021-01-20 23:03:08 +01:00
jfbu
59694da63a
Fix some mark-up issues in latex.rst with "Default:" lines
2021-01-20 21:15:52 +01:00
Stephen Finucane
f3360e6922
docs: Fix typo, replace field lists with paragraphs
...
Signed-off-by: Stephen Finucane <stephen@that.guru>
2020-05-30 15:43:05 +01:00
Stephen Finucane
52bb0b02bb
docs: Fix a typo and some indentation
...
Signed-off-by: Stephen Finucane <stephen@that.guru>
2020-05-30 15:23:36 +01:00
Stephen Finucane
ceb72f9cd7
doc: Rework "latex" document
...
Remove some unnecessary indentation, consistently document option
defaults, and fix some wrapping and whitespace.
Signed-off-by: Stephen Finucane <stephen@that.guru>
2020-05-30 15:23:36 +01:00
Takeshi KOMIYA
6e83f0dcb3
doc: fix a versionchnaged to correct one
2020-03-05 23:46:58 +09:00
Jesse Tan
7c1b673076
Add LaTeX styling hook for :kbd: role
2020-01-09 16:35:40 +01:00
jfbu
73a2228c87
Update 'fontenc' latex_elements key documentation
2019-12-07 12:27:21 +01:00
jfbu
a550c7075f
LaTeX: Allow linebreaks at \ (in literals, code-blocks, parsed-literal)
...
Default configuration is to allow the linebreak after the backslash.
It is possible at user side via 'preamble' key and some LaTeX code
to allow the linebreak before the backslash, but each of inline-literal,
code-block, and parsed-literal has its more or less cumbersome way for
that.
Closes : #6000 , #6001
This commit handles only the \ character, which had been left aside
by accident so far. Inline-literals could break at more characters
but this is not yet done in this commit. In this context, in future
it could be useful to modify sphinx.util.texescape to use mark-up
such as \sphinxtextbackslash rather than naked \textbackslash and
similarly for some other characters. This could then be used to
allow linebreaks even in regular text paragraphs.
2019-11-06 18:59:09 +01:00
Takeshi KOMIYA
4ec563fcff
Close #6762 : latex: Allow to load additonal LaTeX packages
2019-11-05 22:25:41 +09:00
jfbu
7be68b7c4b
Add latexpdf support for Greek as main language (via xelatex use)
...
Closes : #6710
2019-10-01 10:27:43 +02:00
jfbu
a46d4c9bca
Improve documentation formatting for Sphinx LaTeX environments
2019-04-12 19:30:31 +02:00
jfbu
f8f4ce8bce
Better format documentation of \sphinx... LaTeX macros
2019-04-12 19:21:34 +02:00
jfbu
7e851510eb
Fix duplicate reference (my wrong, refs: #5919 )
2019-01-13 10:52:42 +01:00
jfbu
ad8205bb0b
[DOC] Move description of latex_elements to latex.rst
2019-01-10 16:48:03 +01:00
jfbu
d4d1a4ba84
Merge branch 'master' into latex_tableofcontentshook
2018-12-23 11:31:10 +01:00
jfbu
8e14532b08
LaTeX: move some hard-coded re-definitions to user hook for TOC
2018-12-22 17:33:03 +01:00
jfbu
1920d1d950
LaTeX: `\sphinxmaketitle
and optional
\sphinxbackoftitlepage
`
...
Closes : #5849
2018-12-21 21:38:27 +01:00
Matthias Geier
4af446349c
DOC: Fix some minor mistakes in "LaTeX customization"
2018-12-11 18:20:28 +01:00
Matthias Geier
0095449314
DOC: Fix some minor mistakes in "LaTeX customization"
2018-12-11 14:06:59 +01:00
Takeshi KOMIYA
8bc136a9cb
Use \sphinxcite
instead of \cite
2018-05-03 20:58:30 +09:00
Takeshi KOMIYA
b35198d847
Deprecate highlightlang directive
...
highlightlang directive is not documented, and marked as old in v0.2.
2018-04-15 00:33:02 +09:00
Takeshi KOMIYA
b2bd9f75a6
Merge branch '1.7'
2018-04-09 01:46:00 +09:00
jfbu
e81f80880a
Slight rework of latex doc
2018-04-02 19:47:57 +02:00
jfbu
8c55793902
Let LaTeX with XeTeX/LuaTeX not use small typeface in code-blocks
...
closes : #4791
2018-03-28 23:17:34 +02:00
jfbu
4ca7bfc601
Merge branch 'stable'
2017-12-12 11:00:52 +01:00
jfbu
faadbef757
Expose some sphinx.sty LaTeX internals for customizability (refs: #4285 )
2017-12-12 10:57:49 +01:00
jfbu
43e6f1aa96
Fix VerbatimHighlightColor key declared non-sphinx-prefixed colour name
2017-12-11 23:09:19 +01:00