From 4566e215dfeb7a14af21c7510e0f74f04e49cca6 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Sat, 8 Dec 2018 19:19:28 +0900 Subject: [PATCH 1/4] Fix a mypy violation --- sphinx/locale/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/locale/__init__.py b/sphinx/locale/__init__.py index acad829c8..5bdcd6ac6 100644 --- a/sphinx/locale/__init__.py +++ b/sphinx/locale/__init__.py @@ -57,7 +57,7 @@ class _TranslationProxy(UserString, object): self._args = args @property - def data(self): + def data(self): # type: ignore # type: () -> unicode return self._func(*self._args) From c050d44299c2c17500ccd0ba1a00949de57d6a4d Mon Sep 17 00:00:00 2001 From: jfbu Date: Tue, 11 Dec 2018 18:02:15 +0100 Subject: [PATCH 2/4] LaTeX update a comment about inputenc --- sphinx/texinputs/LICRlatin2utf8.xdy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sphinx/texinputs/LICRlatin2utf8.xdy b/sphinx/texinputs/LICRlatin2utf8.xdy index 60a24b421..31c80f97c 100644 --- a/sphinx/texinputs/LICRlatin2utf8.xdy +++ b/sphinx/texinputs/LICRlatin2utf8.xdy @@ -29,6 +29,9 @@ ;; to preamble of LaTeX document. However this character is not supported ;; by the TeX "times" font used by default by Sphinx for pdflatex engine. ;; +;; **Update**: since LaTeX 2018/12/01, the \j as well as \SS, \k{} and +;; \.{} need no extra user declaration anymore. +;; ;; - ẞ needs \DeclareUnicodeCharacter{1E9E}{\SS} (but ß needs no extra set-up). ;; ;; - U+02DB (˛) and U+02D9 (˙) are also not supported by inputenc From 4af446349c086a3613a5437858e7cd1ccb5151e5 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Tue, 11 Dec 2018 14:06:48 +0100 Subject: [PATCH 3/4] DOC: Fix some minor mistakes in "LaTeX customization" --- doc/latex.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/latex.rst b/doc/latex.rst index cfd6f7d8b..63e860a64 100644 --- a/doc/latex.rst +++ b/doc/latex.rst @@ -209,7 +209,7 @@ The available styling options the default changed from ``false`` to ``true``. ``verbatimcontinuedalign``, ``verbatimcontinuesalign`` - default ``c``. Horizontal position relative to the framed contents: + default ``r``. Horizontal position relative to the framed contents: either ``l`` (left aligned), ``r`` (right aligned) or ``c`` (centered). .. versionadded:: 1.7 @@ -354,9 +354,9 @@ The available styling options ``attentionBgColor``, ``dangerBgColor``, ``errorBgColor`` -.. |warningborders| replace:: ``warningBorder``, ``cautionBorder``, - ``attentionBorder``, ``dangerBorder``, - ``errorBorder`` +.. |warningborders| replace:: ``warningborder``, ``cautionborder``, + ``attentionborder``, ``dangerborder``, + ``errorborder`` LaTeX macros and environments ----------------------------- From c899b27b4a659f95a20d80bf467f1e6d21ffb883 Mon Sep 17 00:00:00 2001 From: jfbu Date: Tue, 11 Dec 2018 18:24:09 +0100 Subject: [PATCH 4/4] Update CHANGES for PR #5754 --- CHANGES | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES b/CHANGES index 70b549943..6482e7f86 100644 --- a/CHANGES +++ b/CHANGES @@ -21,6 +21,7 @@ Bugs fixed * #5614: autodoc: incremental build is broken when builtin modules are imported * #5627: qthelp: index.html missing in QtHelp * #5659: linkcheck: crashes for a hyperlink containing multibyte character +* #5754: DOC: Fix some mistakes in :doc:`/latex` Testing --------