Commit Graph

6799 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
Takeshi KOMIYA
1eaa412372 Fix CHANGES for PR#2650 (again) 2016-06-30 20:06:18 +09:00
Takeshi KOMIYA
624bcef1cb Merge remote-tracking branch 'tjanez/setup-warning-is-error-master' 2016-06-30 20:05:37 +09:00
Jean-François B
75ed2e6e4f Merge pull request #2721 from jfbu/makeVerbatimfontcustomizable
latex, make use of ``\small`` for code listings customizable
2016-06-30 11:22:49 +02:00
jfbu
067d3cabf0 latex, make use of `\small` for code listings customizable 2016-06-30 11:20:30 +02:00
jfbu
f30a8d5a36 fix a mark-up typo in doc/install.rst 2016-06-30 11:10:58 +02:00
Tadej Janež
a9ffcf0d60 Add `--warning-is-error` option to setup.py command 2016-06-30 10:18:49 +02:00
Takeshi KOMIYA
2a5e5a5530 Update CHANGES for PR#2650 2016-06-30 10:55:02 +09:00
Takeshi KOMIYA
d3fe0f82dd Merge pull request #2650 from mindw/build_sphinx_pdb_opt
add --pdb support to setuptools command
2016-06-30 10:54:09 +09:00
jfbu
446e93aca7 fix a typo in CHANGES 2016-06-30 00:08:40 +02:00
jfbu
2a1826022d Update to CHANGES 2016-06-30 00:03:06 +02:00
jfbu
a20533540b Add a sentence in doc/config.rst on `'pxunit'` key 2016-06-29 20:55:07 +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
3d3ee6fef3 Merge pull request #2716 from tk0miya/rstdim_to_latexdim
Refactoring latex writer
2016-06-27 11:18:28 +09:00
Takeshi KOMIYA
b1c6717743 Check latex_image_length() returns none value 2016-06-27 01:36:00 +09:00
jfbu
d76e9d48a5 Update doc/rest.rst 2016-06-26 23:13:32 +09:00
Takeshi KOMIYA
cd093fb0ca latex writer considers unitless dimensions as px based 2016-06-26 22:56:20 +09:00
Takeshi KOMIYA
fe3f2a4a3f latex: Do not convert px to float 2016-06-26 22:55:57 +09:00
Takeshi KOMIYA
cb00f51328 latex: Raise error if invalid dimension value 2016-06-26 22:55:54 +09:00
Takeshi KOMIYA
4bc5a242ce Show warnings if invalid dimension units found 2016-06-26 22:32:34 +09:00
Takeshi KOMIYA
efd74a9e14 latex, replace `pt by TeX equivalent bp if found in width or height` attribute of an image (ref: #2714) 2016-06-26 12:03:55 +09:00
Takeshi KOMIYA
980da84393 Merge branch 'stable' 2016-06-26 11:44:55 +09: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
6caf0b2a88 latex, add comment on the possibility of `\listof{literalblock}{foo}`
Memo: this command produces a list of the code listings in the document
(with chosen title foo), analogous to ``\listoffigures``, and it comes
from LaTeX package float.sty.
2016-06-25 18:50:24 +02:00
jfbu
830ffc7738 latex, load float package before wrapfig package
This should not change anything for Sphinx produced documents without
extra custom use of float package by user, and is recommended by wrapfig
doc for good functioning.
2016-06-25 18:26:25 +02:00
Matthias Geier
71dd8bfbf9 HTML: Add sourcelink_suffix to globalcontext 2016-06-25 16:46:25 +02:00
Matthias Geier
71e1aaf377 searchtools: Add .txt only if suffix isn't already .txt 2016-06-25 15:39:25 +02:00
Jean-François B
2273be9c37 Merge pull request #2711 from jfbu/latex_allowpx2
latex, allow image dimensions using px unit (96px=1in)
2016-06-25 13:00:23 +02:00
jfbu
fc2202fd2a latex, replace `'pixelsize' by more precise 'pxunit'` name 2016-06-25 10:32:48 +02:00
Takeshi KOMIYA
7a81169e4c Fix warning in CHANGES 2016-06-25 10:31:30 +09:00
jfbu
f6b0ae903d latex, allow image dimensions using px unit (96px=1in)
New key ``'pixelsize'`` in ``latex_elements`` dictionary.
2016-06-24 20:36:35 +02: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
Jakob Lykke Andersen
4be597bb34 C++, fix role mismatch warnings for templateParam 2016-06-24 09:15:31 +02:00
Takeshi KOMIYA
ce1b9e3192 Fix flake8 violation 2016-06-24 14:51:25 +09:00
Takeshi KOMIYA
cc9f21ce19 Merge pull request #2599 from tk0miya/show_warnings_as_yellow
#2597: Show warning messages as yellow
2016-06-24 14:35:15 +09:00
Takeshi KOMIYA
51937f8089 #2597: Show warning messages as darkred 2016-06-24 14:23:19 +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
Rob Ruana
2b60fc2027 Fixes #2688: [Napoleon] Updates to Napoleon documentation to fix intersphinx links and demonstrate PEP 484 type annotations 2016-06-23 15:25:46 -04:00
Takeshi KOMIYA
1e979091f2 Fix #2705: toctree generates empty bullet_list if `:titlesonly:` specified 2016-06-23 11:56:49 +09:00
jfbu
5bd76815ff Added an item about sphinxVerbatim to doc/latex.rst 2016-06-22 22:30:58 +02:00
jfbu
4919406f94 Fix a comment in sphinx.sty 2016-06-22 19:26:11 +02:00
jfbu
3bce72f49b Update a comment in latex.py 2016-06-22 19:12:08 +02:00
jfbu
77ea9daf43 Fix comments in sphinx.sty after merge of 'stable' 2016-06-22 18:56:02 +02:00