summaryrefslogtreecommitdiff
path: root/sphinx/texinputs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Sync with footnotehyper 1.1djfbu2021-02-041-23/+61
| | | | | | | | | | | | | | This fixes a problem introduced at 1.1b which could case latex build crash in case of extra user packages. It also improves compatibility with babel + french.
* | Fix lost LaTeX in mergejfbu2021-02-021-1/+1
| |
* | Merge branch '3.x' into master_with_merged_3.xjfbu2021-02-021-4/+26
|\ \ | |/
| * LaTeX: sync with upstream footnotehyper 1.1cjfbu2021-02-011-4/+26
| | | | | | | | | | | | Incorporate 1.1c fix to usage of savenotes around a mid-paragraph list, and also the 1.0..1.1 upstream patch about usage within minipages while we are at it.
| * Merge branch '3.4.x' into 3.xTakeshi KOMIYA2021-01-311-1/+1
| |\
| | * Fix #8796: define \spx@image@box as a box not a dimen!jfbu2021-01-311-1/+1
| | | | | | | | | | | | This bug was introduced at 2.0 (commit 669f9c3a) (sorry)
* | | Fix accidental revert of f937facc (#8767) by #8790 mergejfbu2021-01-311-2/+2
| | | | | | | | | | | | Due to file renaming
* | | LaTeX: document what the style files provide and requirejfbu2021-01-3114-82/+263
| | |
* | | Refactor LaTeX style filesjfbu2021-01-3017-568/+594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a (continuation and) re-work of #8769 (e6bf9145dc) I have reintegrated option handling and most package loading into the original file sphinx.sty and reorganized completely the filenames of secondary style files. sphinx.sty had become too big and first #8769 now this more definitive refactoring is necessary to clarify structure, dependencies, and ease up future maintenance. Unfortunately this means a lot of moving around hunks of latex code with some alterations. I tried to carefully check everything is defined in right order (as LaTeX being a macro expansion language, often one can manipulate things before them being defined, nevertheless I checked things are done in order). Only simple thing is to review is that I added missing EOLs at last lines of the extracted files...
* | | Merge branch '3.x'jfbu2021-01-301-5/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | Resolved Conflicts: sphinx/texinputs/sphinx.sty modified: CHANGES modified: sphinx/texinputs/sphinxlatexstyleheadings.sty
| * | LaTeX: remove last argument of \titleformat in sphinx.styjfbu2021-01-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | The {\py@NormalColor} was wrong it should have been [\py@NormalColor]. It got executed by latex during document preamble and never got integrated as part of the heading... Closes: #8788
* | | Merge branch '3.x'Takeshi KOMIYA2021-01-302-1/+8
|\ \ \ | |/ /
| * | Merge pull request #8779 from jfbu/latex_hlist_supportJean-François B2021-01-291-0/+2
| |\ \ | | | | | | | | Fix #8072: Directive hlist not implemented in LaTeX
| | * | Fix #8072: Directive hlist not implemented in LaTeXjfbu2021-01-281-0/+2
| | | | | | | | | | | | | | | | | | | | Adds ``multicol`` LaTeX package requirement, but it is a required part of any latex distribution.
| * | | Add \nobreak inside \sphinxAtStartParjfbu2021-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Else, a non-hyphenatable long word as first word in a narrow column in a longtable/tabular (with column type e.g. p{1cm} from tabularcolumns directive) gets shifted downwards vertically in PDF output. Memo: 1. I did not find other cases where such a vertical shift may occur (I tried with deeply nested lists and artificial words such as 'A'*32) with LaTeX mark-up produced by Sphinx, 2. but with the support of hlist directive via PR #8779 using multicols environment, there is again this situation of downwards shift of non-hyphenatable long first words. But it occurs whether or not \sphinxAtStartPar is used (\nobreak does not modify this).
| * | | Fix suppression of needed whiteline, encapsulate into \sphinxAtStartParjfbu2021-01-291-0/+5
| |/ / | | | | | | | | | Define it to do nothing with lualatex engine
* | | Refactor LaTeX [4/2]: suppress extra bracket from bad latex merge :(jfbu2021-01-271-1/+1
| | |
* | | Refactor LaTeX [3/2]: Add all missing .sty in the \ProvidesFilejfbu2021-01-2714-14/+14
| | | | | | | | | | | | Sorry for oversight
* | | Merge branch 'master' into refactor_latex_into_multiple_filesjfbu2021-01-271-6/+17
|\ \ \ | |/ /
| * | Merge branch '3.x' into latex_memoir_french_footnoteTakeshi KOMIYA2021-01-281-2/+2
| |\ \
| | * | Fix #8214: duplicate entries in latex index if term also in glossaryjfbu2021-01-261-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes .idx files contain \spxentry{..} with no space, whether or not the \index latex command is encountered in main text or e.g. in a label of a description list (like happens for terms from a glossary). Xindy does not care about spaces, but Makeindex doesn't merge entries whose typesetting is to be done via \spxentry{..} or \spxentry {..}. An alternative work-around would be for Sphinx LaTeX writer to use some wrapper, say, \sphinxindexwrap, only to fetch the argument and force TeX tokenization and then hand over it to \index command. But we choose to let \spxentry expand to its own name, with no trailing space (it gets its final definition only from the python.ist file in case of Makeindex). In case both the :index: role and the glossary are on same page, Xindy and Makeindex behave differently: the former gives only once the page number, the latter issues them twice (but the indexed term only once), and there is warning in the .ilg file. But this is unrelated and we can't do here anything about it.
| * | | LaTeX: sync with upstream footnotehyperjfbu2021-01-261-6/+17
| |/ / | | | | | | | | | This fixes #7576
* | | Refactor LaTeX [2/2]: renamings of auxiliary Sphinx LaTeX packagesjfbu2021-01-275-15/+17
| | | | | | | | | | | | | | | | | | sphinxcyrillic -> sphinxpackagecyrillic sphinxmulticell -> sphinxpackagemulticell footnotehyper-sphinx -> sphinxpackagefootnote
* | | Refactor LaTeX [1/2]: split sphinx.sty into separate componentsjfbu2021-01-2715-1842/+1966
|/ / | | | | | | | | | | | | | | | | 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.
* | Fix #8735jfbu2021-01-231-12/+8
| | | | | | | | | | | | | | | | | | | | | | It is hard to provide a unit test, because the problem only raises a LaTeX warning and shows as broken internal links in pdf output. As the fix moves some LaTeX code to the end of preamble, user or extension code may have to be moved there too. However, a large part of it already was delayed. I checked that sphinxmessages.tex does not introduce preamble code which would be broken from missing macros due to this change.
* | Closes: #8339jfbu2021-01-211-3/+3
|/ | | | Handled as only a documentation issue.
* Merge branch '3.x' into fix-oneside-latexJean-François B2020-10-233-4/+4
|\
| * Strip trailing whitespaces and normalize line endingsFrançois Freitag2020-10-033-4/+4
| | | | | | | | | | | | | | | | Trailing whitespace do not have impact on the result, they are just unused bytes. Most text editors are configured to strip trailing whitespaces. Remove them all in one go. Update a handful of files to use the UNIX line ending.
* | Fix 'oneside' latex outputGrant Likely2020-09-161-6/+9
|/ | | | | | | | | | | | | | Sphinx.sty had an FIXME bug where documents with the 'oneside' option would output lots of the following warnings when building the document: Package Fancyhdr Warning: \fancyfoot's `E' option without twoside option is useless on input line 309. Fix the problem by using \if@twoside around the offending tex code that tries to set format for the even pages. 'Even' pages don't exist on oneside builds, which causes the warning to be emitted. Fixes: #8215
* Issue \@addtoreset at begin document, after hyperrefJellby2020-06-121-5/+15
|
* Merge branch '3.x' into 7005_kbd_for_latexTakeshi KOMIYA2020-03-053-23/+5
|\
| * Merge branch '2.x' into 3.xTakeshi KOMIYA2020-03-011-1/+2
| |\
| | * LaTeX, fix \sphinxhref + \includegraphics problem with platexjfbu2020-02-231-1/+2
| | | | | | | | | | | | | | | | | | Upstream issue: https://github.com/latex3/latex2e/issues/286 Fixes #7197
| * | Merge branch '2.0'Takeshi KOMIYA2020-02-091-2/+2
| |\ \ | | |/
| | * Close #7115: LaTeX: Allow to override LATEXOPTS and LATEXMKOPTS via envvarsTakeshi KOMIYA2020-02-091-2/+2
| | |
| * | Merge branch '2.0'Takeshi KOMIYA2019-12-162-6/+28
| |\ \ | | |/
| * | Merge branch '2.0'Takeshi KOMIYA2019-12-093-4/+26
| |\ \
| * \ \ Merge branch '2.0'Takeshi KOMIYA2019-11-302-2/+2
| |\ \ \
| * \ \ \ Merge branch '2.0'Takeshi KOMIYA2019-11-172-12/+79
| |\ \ \ \
| * \ \ \ \ Merge branch '2.0'Takeshi KOMIYA2019-10-061-3/+5
| |\ \ \ \ \
| * \ \ \ \ \ Merge pull request #6189 from jfbu/latex_stop_using_extractbbJean-François B2019-09-052-20/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | LaTeX: stop using extractbb for image inclusion in Japanese documents
| | * | | | | | LaTeX: stop using extractbb for image inclusion in Japanese documentsjfbu2019-03-192-20/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since TeXLive2015, the dvipdfmx binary does not need extra .xbb files for images (which were produced using extractbb).
* | | | | | | | Add LaTeX styling hook for :kbd: roleJesse Tan2020-01-091-0/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | LaTeX: avoid quotes and TeX ligature replacements in PDF outputjfbu2019-12-152-6/+28
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refs: #6890 The comma character is not TeX-escaped because it is frequent in general text and escaping it would make the LaTeX output larger for only dealing with the problem of the LaTeX-ligature of ,, into a single character. And one there is problem with the commas in options to Verbatim from PygmentsBridge. The hyphen character is escaped (not in ids and URIs!) to \sphinxhyphen{} for both Unicode and non-Unicode engines. This is needed to work around hyperref transforming -- and --- from section titles into EN DASH resp. EM DASH in PDF bookmarks. https://github.com/latex3/hyperref/issues/112 Note to expert LaTeX users: if Sphinx latex user with xelatex has - turned off Smart Quotes for some reason, - but does want TeX ligatures and thus overrode Sphinx latex_elements['fontenc'] default (since #6888) to this effect, then this should be added to LaTeX preamble: \def\sphinxhyphen#1{-}% (\protected is now not needed) \let\sphinxhyphenforbookmarks\sphinxhyphen
* | | | | | Merge branch '2.2.2' into 2.0Takeshi KOMIYA2019-12-031-2/+2
|\ \ \ \ \ \
| * | | | | | Fix typo in LaTeX code commentjfbu2019-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | modified: sphinx/texinputs/sphinxmulticell.sty
* | | | | | | LaTeX: avoid ragged line endings in case of multi-line author displayjfbu2019-11-302-2/+24
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Closes #6876
* | | | | | Fix #4186: LaTeX: Support upLaTeX as a new latex_engine (experimental)Takeshi KOMIYA2019-11-172-4/+4
| |_|_|_|/ |/| | | |
* | | | | Trim possibly erroneous comment from Sphinx LaTeX codejfbu2019-11-151-1/+1
| | | | |
* | | | | LaTeX: fix #6809jfbu2019-11-151-1/+15
| | | | |