Your message dated Fri, 01 Jul 2016 18:31:10 +0000 with message-id <[email protected]> and subject line Bug#829118: fixed in sphinx 1.4.4-3 has caused the Debian Bug report #829118, regarding python-sphinx: latex output fails on \code to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 829118: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829118 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-sphinx Version: 1.4.4-2 Severity: important Tags: patch upstream Dear Maintainer, With sphinx 1.4.4 latex output is broken when handling \code inside places like \caption{}. This is reported upstream: https://github.com/sphinx-doc/sphinx/issues/2676 and fixed in upstream git https://github.com/sphinx-doc/sphinx/commit/8608387585b6d24945a4ba94f80f50714425a6d4 (attached) Please consider including this patch in the package as this problem causes the pyx and pyx3 sources to FTBFS. thanks Stuart>From 8608387585b6d24945a4ba94f80f50714425a6d4 Mon Sep 17 00:00:00 2001 From: jfbu <[email protected]> Date: Tue, 14 Jun 2016 10:01:53 +0200 Subject: [PATCH] Fix #2676: (latex) Error with verbatim text in captions Was caused by PR#2627 due to fragile ``\@noligs`` added to ``\code``. --- CHANGES | 2 ++ sphinx/texinputs/sphinx.sty | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 3c1b5d9..890d9bd 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,8 @@ Release 1.4.5 (in development) Bugs fixed ---------- +* #2676: (latex) Error with verbatim text in captions since Sphinx 1.4.4 + Release 1.4.4 (released Jun 12, 2016) ===================================== diff --git a/sphinx/texinputs/sphinx.sty b/sphinx/texinputs/sphinx.sty index 9b09b2b..1c98654 100644 --- a/sphinx/texinputs/sphinx.sty +++ b/sphinx/texinputs/sphinx.sty @@ -145,10 +145,10 @@ % Some custom font markup commands. % \newcommand{\strong}[1]{{\textbf{#1}}} -% let \code and \bfcode use straight quotes (\@noligs patched by upquote) -% use \scantokens to handle e.g. \item[{\code{'fontenc'}}], too late for -% \code to change catcodes. -\newcommand{\code}[1]{{\@noligs\scantokens{\texttt{#1}}}} +% let \code and \bfcode use straight quotes. \@noligs patched by upquote, +% but needs protection in "moving arguments" such as for captions. +\newcommand{\code}{}% raise error if exists already +\DeclareRobustCommand{\code}[1]{{\@noligs\scantokens{\texttt{#1}}}} \newcommand{\bfcode}[1]{\code{\bfseries#1}} \newcommand{\email}[1]{\textsf{#1}} \newcommand{\tablecontinued}[1]{\textsf{#1}}
--- End Message ---
--- Begin Message ---Source: sphinx Source-Version: 1.4.4-3 We believe that the bug you reported is fixed in the latest version of sphinx, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Dmitry Shachnev <[email protected]> (supplier of updated sphinx package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 01 Jul 2016 20:59:46 +0300 Source: sphinx Binary: python-sphinx python3-sphinx sphinx-common sphinx-doc libjs-sphinxdoc Architecture: source Version: 1.4.4-3 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Dmitry Shachnev <[email protected]> Description: libjs-sphinxdoc - JavaScript support for Sphinx documentation python-sphinx - documentation generator for Python projects (implemented in Pytho python3-sphinx - documentation generator for Python projects (implemented in Pytho sphinx-common - documentation generator for Python projects - common data sphinx-doc - documentation generator for Python projects - documentation Closes: 829118 Changes: sphinx (1.4.4-3) unstable; urgency=medium . * Backport upstream patch (latex_code_robust.diff) to fix the \code command in generated LaTeX files (closes: #829118). Checksums-Sha1: 13b567534c45347a0fc950128376565e19b77d7f 3037 sphinx_1.4.4-3.dsc 69c65c1fc2fdbf566cd085fc785f3a366b7588f1 34060 sphinx_1.4.4-3.debian.tar.xz Checksums-Sha256: b9d223f512ddb417d7d94ddd6e6f6bfe8d809d4fd636f0d583211ce9167b66c4 3037 sphinx_1.4.4-3.dsc 57cff509cbd45eeaf7c6ef68d9db7a50b9324703474da80946dc947c8b58e142 34060 sphinx_1.4.4-3.debian.tar.xz Files: bd78d20720abdca3c5cdb07b9bd9273f 3037 python optional sphinx_1.4.4-3.dsc a4c1a3c0b998a6b590c081644b1cb27b 34060 python optional sphinx_1.4.4-3.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXdrCjAAoJENb+cQNj+F3TWe0P/1B8j+OX+GF0IQEDaRPyEcBF Ty0pMzr8bKxROIGHY2R82/dt+8geIIPlEG7Yku31iexDsbjh2PUDlTfQKjv6kiVE c0Z6y6eiZpSG+Jpb5VRtGvhGujtjyRI7ZGsezFR0aqHoR7+lnXN1tIoWDEVXWRR+ KZzsAnY0AQFUqP0Us5QALxutXQeXrrXSq1rpyezPNEbsIFqWyI/2upOpV/BqBn/k NJ4MCn2O8/WNps/E+Q1dCLhYYkHy6Vm3AJXzj1iv2EGbXWZTPUPQrSyrTKn5GIcC L5SZpvrgjmGJ5v694BflLv1r2RzT7yIUs9AsQs7AKR9ujL4Y9i20zWxYQScJqcsI 0SJcRmu3Z/3liBYOyew4iWO+uRJgqoPOCdQ2heay+OWoWoNmSH03achqTCsZwxC4 UxcDk0yIgmJOhkxjS8nrlJ3oNbxmvdPrHCYum439YD0jKLDXqeFWOWGpjeQgOOkF ZpYr2etZ0DO7TPp6luBlm1xD+enId8dRgyrwykXy5ND54OZgsYLoTDc87uRGpAOd 7XkVoiXZbqrsI+arqSo98psb3PmaUULiKvWD54bjVVZS9xAOwnO3est9b7glAmlQ D67CjL/Lq3RozPay49n8+3+mQDLhIq1de0DXVmUBFFU++p9HzQd5SLVfCUWgUsrC z1EUaGIGEvBGvExqNBCW =VKr4 -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

