Commit Graph
6689 Commits
Author SHA1 Message Date
jfbu b25dc5ef4c Fix #2723: extra spaces in latex pdf output from multirow cell
Adds some ``\relax``/``\unskip`` and removes spaces from ``visit_entry``
generated latex code. Earlier, multirow cell inherited one extra space
token at begin and one at end, making left or right alignment with other
cells fail because the native LaTeX space removal mechanism for table
cells could not apply there.

Memo: the ``\eqparbox`` part of ``visit_entry`` from e41f831f is left
untouched; separate analysis required.
2016-06-30 18:11:54 +02:00
jfbu f30a8d5a36 fix a mark-up typo in doc/install.rst 2016-06-30 11:10:58 +02:00
jfbu 2a1826022d Update to CHANGES 2016-06-30 00:03:06 +02:00
Jakob Lykke Andersen 68a32a2bff C++, fix id generation of var/member declarations.
Namespaces not in the declaration are now properly included in the id.
Fixes sphinx-doc/sphinx#2722.
2016-06-29 09:02:35 +02:00
Takeshi KOMIYA e134dc6f57 Fix a condition in latex_image_length() 2016-06-26 11:44:11 +09:00
Takeshi KOMIYA 593f12060c Fix warning in CHANGES 2016-06-26 11:40:08 +09:00
Takeshi KOMIYA 0859b338d8 LaTeX writer: Integerate width_to_latex_length() and latex_image_length() (ref: #2714) 2016-06-26 11:30:02 +09:00
jfbu 45ddb6387c Add a missing word in CHANGES and fix minor other issues there 2016-06-24 19:18:56 +02:00
jfbu 84ed2c394a Merge branch 'jfbu_fixspaceafterinlineliteral' into stable 2016-06-24 15:33:58 +02:00
jfbu b6daf6be56 fix latex, since 1.4.4 inline literal text is followed by spurious space
ref: a51681b use of ``\scantokens`` has a quirk with adding a space in
some cases which we fix by inserting a ``\relax`` at the end of the
argument.
2016-06-24 15:26:50 +02:00
Takeshi KOMIYA 211fd352ae Fix #2579: Could not refer a label including both spaces and colons via sphinx.ext.intersphinx
This fixes only the case the label including both spaces and colons as
ad-hoc. There is still a bug if a label having spaces, colons and
numbers like "foo bar:baz 1234".

Note: To support the case, we have to improve the inventory format.
2016-06-24 21:11:31 +09:00
Jakob Lykke Andersen fab5911004 C, neutralize xrefs to fundamental types.
TypedFields generate xrefs to whatever it gets.
See sphinx-doc/sphinx#2439.
2016-06-24 09:37:20 +02:00
Takeshi KOMIYA ce1b9e3192 Fix flake8 violation 2016-06-24 14:51:25 +09:00
Takeshi KOMIYA bf692e2f34 Fix #2700: HtmlHelp builder has hard coded index.html 2016-06-24 12:35:44 +09:00
Takeshi KOMIYA 04723c1175 Fix #2479: sphinx.ext.viewcode uses python2 highlighter by default 2016-06-24 11:35:15 +09:00
Takeshi KOMIYA 1e979091f2 Fix #2705: toctree generates empty bullet_list if `:titlesonly:` specified 2016-06-23 11:56:49 +09:00
jfbu 8feb92dd2d Update CHANGES for PR #2672 2016-06-22 18:33:43 +02:00
Jean-François B 0802e5499a Merge pull request #2672 from jfbu/jfbu_fixincludegraphics
Fix #2671: image directive may lead to inconsistent spacing in pdf
2016-06-22 18:25:46 +02:00
Jean-François B 58100c2856 Merge pull request #2697 from jfbu/jfbu_reusefloatpackage
Fix #2679: (latex) load package float for 'H' value of 'figure_align'
2016-06-20 07:51:28 +02:00
Takeshi KOMIYA 2fc30b001a Merge pull request #2696 from mitya57/stable
Fix LocalTimeZone.utcoffset return value when SOURCE_DATE_EPOCH is set
2016-06-20 11:30:18 +09:00
jfbu 3650663bb3 Fix #2679: (latex) load package float for 'H' value of 'figure_align' 2016-06-19 20:57:38 +02:00
Dmitry Shachnev 0b2a4e9073 Fix LocalTimeZone.utcoffset return value when SOURCE_DATE_EPOCH is set
Subclasses of tzinfo should follow the parent class and return offset either
as None (when unknown) or as timedelta.

Otherwise datetime.fromtimestamp() will raise a TypeError:
tzinfo.utcoffset() must return None or timedelta, not 'int'.
2016-06-19 16:40:42 +03:00
jfbu beeeb56c27 latex `\noindent` for non-inline images, not only if top level 2016-06-19 11:04:45 +02:00
jfbu 6929d546c8 Hard-wrap some long lines in CHANGES
Seems longer lines are more frequent since 1.4. I hard-wrapped at 80
chars the ones I committed which sometimes exceeded 100 chars. Other
long lines remain (one has 108 chars).
2016-06-18 12:22:18 +02:00
Jean-François B a358f309da Merge pull request #2664 from jfbu/jfbu_safertestforundefined
latex: let sphinx.sty use own \spx@ifundefined for some tests.

the first commit is more aggressive, I leave it in commit history in case it could be useful in future.
2016-06-18 11:57:17 +02:00
Takeshi KOMIYA 7586297d6d Fix #2684: sphinx.ext.intersphinx crashes with six-1.4.1 2016-06-18 10:27:32 +09:00
jfbu 664e24cf86 Fix #2671: image directive may lead to inconsistent spacing in pdf 2016-06-17 10:08:31 +02:00
jfbu 44bd987314 latex: let sphinx.sty use own \spx@ifundefined for some tests 2016-06-16 18:35:01 +02:00
jfbu b78d9fec2f latex: let sphinx.sty use own \spx@ifundefined safer test 2016-06-16 18:34:09 +02:00
Jakob Lykke Andersen 65dddfcd69 C++, fix parsing of function types in other types.
Let all kinds of function parameters be allowed to have a name.
Fixes michaeljones/breathe#267.
2016-06-16 10:54:16 +09:00
Jean-François B 4cf78e608e Merge pull request #2675 from jfbu/jfbu_macroswithprefix
Fix #2629. Add new config option latex_keep_old_macro_names
2016-06-15 09:31:47 +02:00
jfbu f16ce14954 Make sphinxShadowBox customizable via three lengths with public names 2016-06-15 08:54:52 +02:00
jfbu 5510653d6e Fix #2629. Add new config option `latex_keep_old_macro_names`
The cause of the issue was a clash about ``\titleref`` macro being already
defined in memoir class context. To avoid similar problems, this makes
the text styling macros

  ``\strong``, ``\code``, ``\bfcode``, ``\email``, ``\tablecontinued``,
  ``\titleref``, ``\menuselection``, ``\accelerator``, ``\crossref``,
  ``\termref``, ``\optional``,

also available with ``\sphinx`` prefix, with a conf.py boolean option to
let sphinx.sty only define ``\sphinx``-prefixed macros. As default value
is False, backwards compatibility is maintained.

On this occasion, some internal non-public macros have been renamed with
prefix ``\spx@``. The command

    find . -name '*.sty' -exec grep -l \\\\spx@ {} \;

has been executed in TeXLive 2015 and 2016 installations to check no
package defines macros starting with ``\spx@``.

Some internal macros having public names (because they are written by
latex.py into the body of the latex document) have been renamed to have
``\sphinx`` prefix. The macros in sphinx.sty starting with \py@, or \DU,
or \PYG have not been modified. Similarly ``\release``, ``\version``,
``\releasename``, etc... have not been renamed.
2016-06-15 08:53:24 +02:00
jfbu 8608387585 Fix #2676: (latex) Error with verbatim text in captions
Was caused by PR#2627 due to fragile ``\@noligs`` added to ``\code``.
2016-06-14 10:06:11 +02:00
Jakob Lykke Andersen c0df9205e6 C++, skip adding already used old-style ids.
See michaeljones/breathe#266.
2016-06-14 15:55:01 +09:00
Jakob Lykke Andersen 2d20e337b3 C++, properly look up constructors.
Fixes sphinx-doc/sphinx#2666.
2016-06-14 15:17:45 +09:00
Jakob Lykke Andersen 49957210d5 C++, fix missing scope info on some declarations.
See sphinx-doc/sphinx#2607
2016-06-13 00:06:11 +09:00
Takeshi KOMIYA ecd2ca10d5 Bump version 2016-06-12 21:43:21 +09:00
Takeshi KOMIYA 93b3860597 Bump to 1.4.4 final v1.4.4 2016-06-12 21:37:52 +09:00
Takeshi KOMIYA b054a79e63 Merge pull request #2659 from tk0miya/build_pdf_on_travisci
Enable to build PDF docs on Ubuntu precise
2016-06-12 11:53:06 +09:00
Takeshi KOMIYA bc4148983d Sphinx now bundles needspace.sty 2016-06-12 11:33:43 +09:00
Takeshi KOMIYA 3d5319e705 Use six in util/reindent.py 2016-06-12 00:27:59 +09:00
Takeshi KOMIYA 80921b2ab8 Fix flake8 violation under tests/ 2016-06-12 00:02:11 +09:00
Takeshi KOMIYA 2483122c2f Fix flake8 violation (utils/reindent.py) 2016-06-12 00:02:11 +09:00
Takeshi KOMIYA 7ab5bed4be Remove ez_setup.py from flake8-exclude list 2016-06-12 00:02:11 +09:00
jfbu a62292cd3a Update CHANGES for PR #2651 2016-06-11 16:54:22 +02:00
Jean-François B 7fd7d29b2a Merge pull request #2651 from jfbu/latex_avoidtoodeeplynestedI
Fix #777 (part Ia): Latex output "too deeply nested"
2016-06-11 16:46:57 +02:00
Takeshi KOMIYA fec2a36db7 Use \c@chapter instead of \thechapter to check what sectioning unit is used
In ubuntu precise, the old condition; \thechapter is defined or not
misdetects the sectioning unit. And then, it causes build error.
2016-06-11 22:50:34 +09:00
Takeshi KOMIYA d7dd00a898 Failed to build PDF with framed.sty 0.95
The framed.sty which ubuntu precise bundles does not uses \OuterFrameSep macro yet.
2016-06-11 22:50:31 +09:00
Takeshi KOMIYA 8fa890c5fd Install TeXLive for testing on Travis CI 2016-06-11 15:16:24 +09:00