Commit Graph

6396 Commits

Author SHA1 Message Date
Jean-François B
5ecbbec79d Merge pull request #2524 from jfbu/latex_fix2523
Fix #2523: LaTeX raises error for labeled code-block
2016-05-03 15:05:17 +02:00
jfbu
e093846dcc Fix #2523: LaTeX raises error for labeled code-block
Was caused because produced latex source may not have blank line before
\begin{Verbatim}. Solved by adding a \par to sphinx.sty.
2016-05-03 14:49:52 +02:00
Takeshi KOMIYA
1b147f1b2f Merge pull request #2515 from nevimov/split-doctest-docs-into-sections
Split doctest extension docs into sections
2016-05-02 11:07:23 +09:00
Takeshi KOMIYA
488ee5279a Fix #2501: Unicode subscript numbers are normalized in LaTeX 2016-05-02 11:03:50 +09:00
nevimov
0960f0d9f2 Split doctest extension docs into sections
At the moment the docs have no sections at all. This commit adds
sections "Directives" and "Configuration" to facilitate navigation.
Also, it removes the outdated line about the number of directives
provided by the extension (there’s now 5 of them).
2016-05-02 02:02:55 +07:00
Jean-François B
06e2928ef0 Merge pull request #2509 from jfbu/latex_fixcomment
This better documents in sphinx.sty vertical spacing above code-blocks.
2016-05-01 08:21:06 +02:00
Jean-François B
57149d378f Merge pull request #2508 from jfbu/latex_frenchlistscompatibility
Fix #2507: French lists in LaTeX-PDF output cause vertical space problems
2016-05-01 08:19:46 +02:00
Takeshi KOMIYA
7ebe5704be Fix #2483: any figure number was not assigned if figure title contains only non text objects 2016-05-01 07:30:32 +09:00
Takeshi KOMIYA
6ea833280d Fix figure nodes do not known lineno itself 2016-05-01 07:30:11 +09:00
jfbu
0da097136d Fix and make more precise obsolete comment in sphinx.sty 2016-04-30 18:39:41 +02:00
jfbu
66fdb340f7 Fix #2507: French lists in LaTeX-PDF output cause vertical space problems
modified:   sphinx/texinputs/sphinx.sty
2016-04-30 17:47:04 +02:00
Takeshi KOMIYA
11d8b64ae4 sphinx.ext.jsmath should be emit an math extension conlict error 2016-04-28 14:09:48 +09:00
Takeshi KOMIYA
b602370951 Update error message for conflict of math extensions 2016-04-28 14:09:44 +09:00
Takeshi KOMIYA
9eae1a1c6e Fix flake8 violation 2016-04-28 00:29:26 +09:00
Takeshi KOMIYA
f0fe8480c8 Fix error messages 2016-04-28 00:26:22 +09:00
Takeshi KOMIYA
b15da47746 Show error reason when multiple math extensions are loaded (ref: #2499) 2016-04-28 00:17:14 +09:00
Jean-François B
d0d2636c39 Merge pull request #2498 from jfbu/latex_less_space_above_codecaptions 2016-04-27 16:13:57 +02:00
jfbu
83f230799d Update CHANGES (ref: #2460) 2016-04-27 15:50:27 +02:00
Takeshi KOMIYA
dc6717145b Merge pull request #2491 from nevimov/fix-theming-docs
Fix a small bug in docs on "HTML theming support"
2016-04-27 22:07:33 +09:00
Jean-François B
df93a0e4ce Merge pull request #2493 from jfbu/latex_luatex85
Move luatex85 loading check from sphinx.sty to sphinx{howto,manual}.cls
2016-04-26 18:04:28 +02:00
jfbu
5833dfc60f Move luatex85 loading check from sphinx.sty to sphinx{howto,manual}.cls 2016-04-26 15:24:00 +02:00
nevimov
7ead796168 Fix code example in "HTML theming support" docs
- replaces invalid js-style comments with valid python
- shortens the comments so they don't need l10n
2016-04-26 19:14:53 +07:00
Takeshi KOMIYA
68e8c974c5 Merge pull request #2487 from ryaanwells/stable
Error message improvement: sphinx_rtd_theme not found error
2016-04-26 13:38:29 +09:00
jfbu
b2b8fa41a5 Fix #2460: too much white space on top of captioned literal blocks in PDF output
the standard \abovecaptionskip should be enough.
2016-04-25 18:40:13 +02:00
Jean-François B
84191470f3 Merge pull request #2343 from jfbu/codeautolinebreakV3
Allow linebreaks in latex(pdf) codeblocks
2016-04-25 18:11:26 +02:00
jfbu
39e768e15b Update CHANGES after PR#2343 2016-04-25 17:56:50 +02:00
jfbu
ac7d7b5f3a Fix #2304: auto line breaks in latexpdf codeblocks
Also related to #1534. Convert code lines into flushleft paragraphs,
thus allowing linebreaks at spaces, and use pre-existing Pygments
mark-up to also allow line breaks at (type 1) characters {, <, #, %, $,
' and " and (type 2) _, }, ^, &, >, -, ~, ., ;, :, ?, !, / and the
comma. Characters of type 1 go to next line in case of break, those of
type 2 stay on same line.

 - no new LaTeX package is used, but current use of fancyverb modified.

 - code line numbering is not affected (extra lines are not numbered.

 - spacing of top line and last line with respect of frame is improved.

 - near bottom of page the wrapping of lines longer than text width,
   which formerly continued into right margin, can produce one or more
   extra lines at bottom of page. It looks impossible without extensive
   rewrite of fancyvrb.sty or the switch to an altogether different
   LaTeX package doing source code formatting to allow page breaks
   there.
2016-04-25 17:30:29 +02:00
Jean-François B
eabfd5e514 Merge pull request #2459 from jfbu/pdfvariablewidthcodeblocks
Make framing and captions of PDF literal code-blocks obey indentation
2016-04-25 16:52:19 +02:00
jfbu
d3f73e7585 Make framing and captions of PDF literal code-blocks obey indentation
Thus, html and pdf look more similar.
2016-04-25 16:35:32 +02:00
ryaanwells
7038e53d5d Error message improvement: sphinx_rtd_theme not found error 2016-04-25 15:28:38 +01:00
Takeshi KOMIYA
6ce0c239d0 Fix #2088: intersphinx crashes if the mapping URL requires basic auth 2016-04-25 22:30:34 +09:00
Mathias Ertl
d7e0471564 fix HTTP BasicAuth for intersphinx mappings 2016-04-25 22:27:37 +09:00
Takeshi KOMIYA
d38915e2a5 Fix intersphinx fails if mapping URL contains any port 2016-04-25 11:08:03 +09:00
Takeshi KOMIYA
ad738a0978 Fix #2309: Could not refer "indirect hyperlink targets" by ref-role 2016-04-24 13:57:32 +09:00
Takeshi KOMIYA
59c40c24f3 Add warning for Application.add_source_parser() 2016-04-24 13:57:32 +09:00
Takeshi KOMIYA
57ad420b42 Fix typo (ref: #2483) 2016-04-24 11:23:44 +09:00
shimizukawa
16ecc34b2e refs #2481: update CHANGES 2016-04-22 22:27:40 +09:00
Takayuki SHIMIZUKAWA
d13b062b5f Merge pull request #2481 from naokisatoname/stable
Modify a spelling mistake
2016-04-22 22:24:39 +09:00
Takeshi KOMIYA
e48335097c Fix broken testcase 2016-04-22 18:40:41 +09:00
Naoki Sato
4e47b2dc7e Modify a spelling mistake 2016-04-22 18:05:44 +09:00
Takeshi KOMIYA
5744c53361 Fix Sphinx crashes if self referenced toctree found 2016-04-22 11:29:11 +09:00
Takeshi KOMIYA
52c7867d14 Fix #2466: Allow image.data_uri and image.nonlocal_uri as confval of suppress_warnings 2016-04-22 11:14:46 +09:00
Takeshi KOMIYA
88322af1ea #2465: latex builder fails in case no caption option is provided to toctree directive 2016-04-22 11:05:12 +09:00
Takeshi KOMIYA
becc54702a Increment ENV_VERSION for #2456 2016-04-21 11:20:04 +09:00
Takeshi KOMIYA
b8a7bb5bf6 Update CHANGES for PR#2476 2016-04-21 11:13:05 +09:00
Takeshi KOMIYA
ea8e71a3d0 Merge pull request #2476 from mgeier/mathjax-nowrap2
Omit MathJax markers if :nowrap: is given
2016-04-21 11:11:08 +09:00
Matthias Geier
9a6882595d Omit MathJax markers if :nowrap: is given 2016-04-20 19:25:25 +02:00
Jean-François
78c57dc788 Merge pull request #2453 from jfbu/fixpdfunbreakabletopicboxes
Fix #2446: latex(pdf) sets local tables of contents in unbreakable boxes
2016-04-20 17:47:14 +02:00
jfbu
d8b4ce585d fix a latex issue of vertical space
modified:   sphinx/texinputs/sphinx.sty
2016-04-20 13:59:37 +02:00
jfbu
75992bc831 Update CHANGES for PR #2453 2016-04-20 12:49:43 +02:00