summaryrefslogtreecommitdiff
path: root/sphinx/texinputs
Commit message (Collapse)AuthorAgeFilesLines
* Allow multi-line object description signatures (#11011)TLouf2023-05-112-1/+28
| | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Jean-François B <2589111+jfbu@users.noreply.github.com> Co-authored-by: TLouf <loufthomas@gmail.com>
* Revert "Support and prefer ``.jinja`` to ``_t`` for static templates ↵James Addison2023-04-234-0/+0
| | | | | (#11165)" (#11329) This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47.
* Support and prefer ``.jinja`` to ``_t`` for static templates (#11165)James Addison2023-04-074-0/+0
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Fix #11274: external links may break PDF build if under \sphinxupquoteJean-François B2023-03-311-2/+9
|
* LaTeX: rename ``\sphinxnotetitle`` into ``\sphinxstylenotetitle`` (etc)Jean-François B2023-03-272-24/+22
| | | | | Follow-up to #11266. Using \sphinxstyle prefix looked a posteriori better, for coherency, although it is a bit long.
* LaTeX: let \sphinxremovefinalcolon work also if no colon in inputJean-François B2023-03-271-7/+18
|
* Fix typos found by codespellDimitri Papadopoulos2023-03-274-6/+6
|
* LaTeX: add \sphinxnotetitle et al.Jean-François B2023-03-262-40/+76
| | | | | | | | In passing I reverted some deprecation I had added at 6bf40599e to some internals of the sphinxadmonition environment, as it does not look that pressing anyhow and the redundant namings of two colors in particular may nevertheless prove useful to user \renewcommand's, as they avoid to have to refer to \spx@noticetype.
* LaTeX: let mark-up for seealso directive use explicit colon (fix #11264)Jean-François B2023-03-261-1/+1
|
* LaTeX: comment applied workaround to pict2e 0.4b breaking ellipse.styJean-François B2023-03-201-7/+4
|
* LaTeX: unneeded 4 code lines from #11254 trimmedJean-François B2023-03-191-5/+1
| | | | | At some point after having inserted these extras I had ensured that rx and ry where either both zero or both positive, making them unneeded.
* LaTeX: support elliptical corners in rounded boxesJean-François B2023-03-191-46/+175
|
* LaTeX: fix nits with some mark-up in doc and code commentJean-François B2023-03-192-2/+2
|
* LaTeX: add <prefix>_{TeXcolor,TeXextras} optionsJean-François B2023-03-195-30/+97
| | | | | | | | And add <type>TextColor and <type>TeXextras for <type>=hint, important, note, tip for variants which do not trigger for sphinxheavybox but still uses sphinxlightbox (suitably enhanced). Similar named TeXcolor and TeXextras options for \sphinxbox.
* LaTeX: refactor some internals related to color namesJean-François B2023-03-195-29/+43
|
* LaTeX: reset options in nested \sphinxbox'esJean-François B2023-03-192-10/+43
|
* LaTeX: let rounded boxes support up to 4 distinct border-widthsJean-François B2023-03-152-120/+104
| | | | | | | Internally replace "strokepath" operation for drawing the border (which mandated constant border-width) by only "fillpath" operations. This also allowed to significantly simplify some other aspects of the code related to box-decoration-break=slice.
* LaTeX: fix a ad3235421 regression with pre_box-shadow-TeXcolorJean-François B2023-03-153-3/+4
| | | | | | | The internally used color name for the (optional) shadow of code-blocks had changed at one place but not another, so using pre_box-shadow-TeXcolor option of 'sphinxsetup' with latex_elements was broken since.
* Dummy commit to re-launch Windows CI (instance of #11232)Jean-François B2023-03-151-1/+0
|
* LaTeX: fix rounded boxes stroke twice their bordersJean-François B2023-03-151-1/+1
|
* LaTeX: add boolean option addstrut to \sphinxbox/\sphinxboxsetupJean-François B2023-03-142-1/+10
|
* LaTeX: also admonition directives support box-decoration-break=sliceJean-François B2023-03-133-7/+19
|
* LaTeX: add support for div.topic_box-decoration-break=sliceJean-François B2023-03-132-11/+23
| | | | | | | | | It is however undecided if the slice style should suppress the horizontal shadow forcefully. It does not so far. This commit has removed the \spx@ShadowFBox macro which got so simple that its meaning could be put directly into \FrameCommand definition.
* LaTeX: refactoring of some internals from box-decoration-break supportJean-François B2023-03-132-47/+87
|
* LaTeX: comments following up on regression fix commit in sphinxShadowBoxJean-François B2023-03-133-14/+27
|
* LaTeX: fix a regression revealed by test_includegraphics_oversizedJean-François B2023-03-131-3/+5
|
* LaTeX: encapsulate dimension options in \dimexprJean-François B2023-03-133-37/+32
|
* LaTeX: guard against non-available xcolor in setting \sphinxbox defaultsJean-François B2023-03-131-3/+5
|
* LaTeX: polish code commentsJean-François B2023-03-132-124/+117
|
* Fix #11235: LaTeX: ``\color`` may cause color leaks in topic or noticesJean-François B2023-03-121-8/+40
|
* LaTeX: fix breakage at 4de9d4604 from misuse of \pagecolorJean-François B2023-03-121-1/+1
| | | | | This is a one-argument command to set the page colour, not a toggle to use the page colour!
* LaTeX: use older syntax and not the ``\expanded`` added at #11234Jean-François B2023-03-121-5/+5
| | | | | | Sorry about this, the \expanded was added to pdflatex in 2019 only (but was available earlier to lualatex). This is in contrast with \unexpanded which has been available for more than 15 years.
* LaTeX: add support for styling ``note`` (``hint``, ...) similarly as ↵Jean-François B2023-03-122-104/+207
| | | | ``warning`` ( ``danger``, ...) (#11234)
* Dummy commit to span CI as Windows failed test_gettext_dont_rebuild_moJean-François B2023-03-101-0/+1
|
* LaTeX: comment for future maintenance of \sphinxboxJean-François B2023-03-101-0/+21
|
* LaTeX: guard against \renewsphinxbox[...]{\sphinxbox}Jean-François B2023-03-101-1/+11
|
* LaTeX: \sphinxbox must issue \leavevmode to let TeX enter paragraph modeJean-François B2023-03-101-0/+5
|
* LaTeX: refactoring to avoid code duplicationJean-François B2023-03-094-52/+33
|
* LaTeX: fix some documentation from #11224Jean-François B2023-03-071-1/+1
|
* LaTeX: streamline matters related to pict2e availabilityJean-François B2023-03-072-28/+64
|
* LaTeX: fix a glitch from recent internal renamingsJean-François B2023-03-073-3/+4
| | | | | | On a system with LaTeX package pict2e unavailable it would lead to an infinite loop. Caused by forgotten update of a macro name which has changed meaning.
* Update some LaTeX comments and documentation after #11224Jean-François B2023-03-071-1/+7
|
* LaTeX: ``\sphinxbox`` for boxing inline text elementsJean-François B2023-03-072-10/+72
|
* LaTeX: refactor how display environments use sphinxpackageboxesJean-François B2023-03-075-236/+170
| | | | | This is to share code as much as possible and facilitate future extensions.
* LaTeX: clean-up of comments for refactoring of CSS-like options supportJean-François B2023-03-071-38/+79
|
* LaTeX: fix unintended 1pt upwards vertical shift of rounded box framesJean-François B2023-03-071-0/+2
| | | | | | | This issue was not clearly visible on code-blocks whose contents always occupy at least one full height line and 1pt is small compared to it and the default padding. It became more obvious when experimenting (work in progress) with applying the macro to inline contents with zero padding.
* LaTeX: refactor support macros for CSS-like sphinxsetup optionsJean-François B2023-03-064-401/+246
| | | | | Use batch definitions to handle in a unified way options for code-blocks, topics and admonitions.
* LaTeX: guard usage of shadow color via associated booleanJean-François B2023-03-061-2/+5
| | | | modified: sphinxpackageboxes.sty
* LaTeX: Fix shadow color leaks to border (rounded box) if no border colorJean-François B2023-03-061-2/+5
|
* LaTeX: workaround to help users of luatex-ja LaTeX classes (#11191)Jean-François B2023-02-111-4/+6
| | | Close #11179