Commit Graph
1991 Commits
Author SHA1 Message Date
Takeshi KOMIYA 7eca745b5c Fix #2667: latex crashes if resized images appeared in section title 2016-07-05 14:33:44 +09:00
Takeshi KOMIYA 00af06af8f latex: Separate stylesheets of pygments to .sty file
To improve readability of generated LaTeX source code, separate
stylesheets of pygments into independent .sty file.
2016-07-03 01:48:50 +09:00
jfbu 0ecfa8e8e9 Fix #2735: latexpdf `Underfull \hbox` warnings from title page
This came from the spurious space tokens following a fullwidth rule at
top of ``\maketitle`` in ``sphinxhowto.cls`` and ``sphinxmanual.cls``.
The ``\newline\null\par`` incantation recreates the extra empty line
which originated in these spurious space tokens, but it avoids the
Underfull latex warning. Nothing is changed to layout from this fix.
2016-07-02 10:56:59 +02:00
Takeshi KOMIYA e3c3e4f0cb Merge branch 'stable' 2016-07-02 16:39:13 +09:00
jfbu 7796a553d3 Update CHANGES for PR#2726 2016-07-02 07:41:43 +02:00
Takeshi KOMIYA bd2ad1bc68 Fix #2699: hyperlinks in help HTMLs are broken if html_file_suffix is set 2016-07-02 14:30:38 +09:00
Takeshi KOMIYA 1142a7f43f Fix CHANGES for #2650 (again) 2016-07-02 14:15:03 +09:00
Takeshi KOMIYA b30d4f4882 Fix #2718: Sphinx crashes if the document file is not readable 2016-07-02 13:54:45 +09:00
Takeshi KOMIYA 2ebeff6776 Fix CHANGES 2016-07-02 10:29:26 +09:00
Takeshi KOMIYA e6b545c2f2 Update CHANGES for PR#2731 2016-07-02 10:26:57 +09:00
jfbu 35214d4518 Fix #2733: `make latexpdf` generates lots of hyperref warnings 2016-07-01 19:18:27 +02:00
mixmastamyk c80db568eb Update CHANGES 2016-06-30 13:57:25 -07: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
jfbu 067d3cabf0 latex, make use of `\small` for code listings customizable 2016-06-30 11:20:30 +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
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
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 cd093fb0ca latex writer considers unitless dimensions as px based 2016-06-26 22:56:20 +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 593f12060c Fix warning in CHANGES 2016-06-26 11:40:08 +09: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
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
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
Takeshi KOMIYA 1e979091f2 Fix #2705: toctree generates empty bullet_list if `:titlesonly:` specified 2016-06-23 11:56:49 +09:00
jfbu 9002966085 Merge branch 'stable' 2016-06-22 18:42:13 +02:00
jfbu 8feb92dd2d Update CHANGES for PR #2672 2016-06-22 18:33:43 +02:00
jfbu a4296a04d1 A bit of refactoring of latex entries in CHANGES for 1.5 2016-06-22 16:15:05 +02:00
jfbu f1cc694af7 latex: customizable literal blocks
- new dimensions ``\sphinxverbatimsep`` and ``\sphinxverbatimborder``
  configure the frame width and its separation from contents,

- new ``\ifsphinxverbatimwithframe`` and ``\ifsphinxverbatimwrapslines``
  to customize behaviour of sphinxVerbatim or define wrapper
  environments, such as sphinxVerbatimNoFrame and sphinxVerbatimintable,

- the latter is used in table cells, in place of OriginalVerbatim, thus
  allowing to handle captions for code-blocks in tables (issue #2706).

On this occasion, a bit of refactoring in sphinx Verbatim code,
particularly the caption is typeset in advance to its insertion in
non-breakable from code location (this avoids using the amstext
``\iffirstchoice@`` conditional), and the sphinxVerbatim is usable
without any optional argument (but currently option is always present
and contains at least ``commandchars=\\\{\}`` to activate syntax
highlighting).
2016-06-22 15:57:03 +02:00
jfbu 4ab9854483 Update CHANGES for PR#2708 2016-06-22 09:36:10 +02:00
jfbu e5db9da45d latex: fully customizable notices/admonitions
The refactoring maintains backwards compatibility for the non-customized
usage: but macros such as ``\py@noticesstart@note`` have been removed
and any customization by extension or user will be without effect.
However the ``notice`` environment is still used, hence customization or
modified usage of it will work as before.

The LaTeX writer now uses ``sphinxadmonition``. Currently it is a
wrapper of ``notice`` environment. At some future release ``>1.5`` of
Sphinx it is planned to remove definition of ``notice`` environment, and
rename it directly to ``sphinxadmonition``. In the transition period
both will work, but at end of transition period extensions using only
``notice`` will stop working and those using ``sphinxadmonition`` will
require at least Sphinx ``1.5``.
2016-06-20 09:06:28 +02:00
jfbu 3650663bb3 Fix #2679: (latex) load package float for 'H' value of 'figure_align' 2016-06-19 20:57:38 +02:00
jfbu 01f1696d9b Remove usage by sphinx.sty of latex package newfloat.sty 2016-06-19 16:22:49 +02:00
jfbu 4be797ccd3 Merge branch 'stable' 2016-06-18 12:23:20 +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
jfbu 80a1ad5a5a Fix typo in CHANGES 2016-06-18 10:09:51 +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 b3d8961ca8 Enhance latex text styling customizability 2016-06-17 19:48:52 +02:00
jfbu d4cdfc148b Fix typo in CHANGES 2016-06-16 16:09:05 +02:00
jfbu 2cec5a25b2 Merge branch 'stable'
Conflicts:
	sphinx/domains/cpp.py
	sphinx/texinputs/sphinx.sty
	tests/test_build_latex.py
2016-06-15 18:29:58 +02:00