Commit Graph

103 Commits

Author SHA1 Message Date
Takeshi KOMIYA
c64a23f3c6 Add testcase for #2382 2016-05-28 12:57:46 +09:00
Takeshi KOMIYA
885653a35d Fix the caption of figure is always put on center even if `:align:` was specified 2016-05-04 01:27:54 +09:00
Takeshi KOMIYA
4789ef899f Fix #2492: Figure directive with :figwidth: generates incorrect Latex-code 2016-05-04 01:27:31 +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
c289a35c1b Fix #2397: Setup shorthandoff for turkish documents 2016-04-16 18:28:15 +09:00
Takeshi KOMIYA
150ce21fb3 Fix broken testcase caused by translation 2016-03-29 12:40:42 +09:00
Takeshi KOMIYA
0d807a62cc Remove duplicated testcase for latex builder
test_numref_on_bable_disabled and test_numref_with_language_el are mainly
used for testing babel (not for numref).  But now we added enough testcases
for babel.
2016-03-29 12:21:58 +09:00
Takeshi KOMIYA
0211e19ae6 Fix #2337: Use `\url{URL} macro instead of \href{URL}{URL}` in LaTeX writer 2016-03-04 15:45:28 +09:00
Takeshi KOMIYA
4899214238 Merge branch 'stable' 2016-03-03 23:18:53 +09:00
Takeshi KOMIYA
da94ca5699 Merge branch '2327_toplevel_sectioning' 2016-03-03 20:41:17 +09:00
Takeshi KOMIYA
3939c4d684 Merge branch '2229_suppress_warnings' 2016-03-03 20:40:38 +09:00
Takeshi KOMIYA
92934ebe79 Add `\sphinxAtStartFootnote` macro 2016-03-03 00:19:48 +09:00
Takeshi KOMIYA
d91fd33de5 Rename `\internalreference to \crossref` 2016-03-02 22:58:17 +09:00
Takeshi KOMIYA
6efdd07d94 #2351: Fix footnote spacing 2016-03-02 12:22:05 +09:00
Takeshi KOMIYA
110c2b0dbc Fix #2327: Add latex_toplevel_sectioning to switch the top level sectioning of LaTeX document. 2016-03-02 11:18:08 +09:00
Takeshi KOMIYA
a682ab2e57 Define `\internalreference` macro to redefine the style of references 2016-02-25 22:07:18 +09:00
Takeshi KOMIYA
2441c647d2 Fix #2229: no warning is given for unknown options 2016-02-23 12:23:06 +09:00
Takeshi KOMIYA
d38b3ff2a0 Merge branch 'stable' 2016-02-20 21:19:51 +09:00
Takeshi KOMIYA
f6af2af9a4 Don't show option-role warnings in 1.3.x too 2016-02-20 19:43:39 +09:00
Georg Brandl
6101cb4ab6 fix tests 2016-02-19 09:25:48 +01:00
Georg Brandl
c1b7b6f369 The default highlight language is now Python 3.
References: #2279.

This means that source code is highlighted as Python 3 (which is mostly
a superset of Python 2), and no parsing is attempted to distinguish
valid code.
2016-02-14 09:21:35 +01:00
Takeshi KOMIYA
9273140ee2 Override figure directive to apply :name: option to the figure itself 2016-02-14 14:49:20 +09:00
shimizukawa
980653f277 Merge with stable
Conflicts:
	sphinx/environment.py
	sphinx/ext/autodoc.py
	sphinx/writers/latex.py
2016-02-09 23:19:49 +09:00
Takeshi KOMIYA
9ba7cc815c Fix #2292: Some footnotes disappear from LaTeX output 2016-02-08 11:24:07 +09:00
Takeshi KOMIYA
9b958b6dcc Fix #2291: pdflatex "Counter too large" error from footnotes inside tables of contents 2016-02-07 20:04:28 +09:00
Takeshi KOMIYA
9b21115146 Fix #2265: babel is used in spite of disabling it on `latex_elements` 2016-01-27 19:38:57 +09:00
shimizukawa
b1a23817fc Merge with 'stable' 2016-01-24 13:47:51 +09:00
Takeshi KOMIYA
43c77a2838 Fix TOC is not shown when no `:maxdepth:` for toctrees (ref: #771) 2016-01-21 11:32:25 +09:00
Takeshi KOMIYA
92e4b0cac6 Merge branch 'stable' 2016-01-18 18:46:30 +09:00
Takeshi KOMIYA
0329edc510 Fix #1565: Show warning if Pygments throws an ErrorToken 2016-01-18 15:31:44 +09:00
Takeshi KOMIYA
121fc4a326 Fix #1030: Make page reference names for latex_show_pagerefs translatable 2016-01-16 23:59:13 +09:00
Takeshi KOMIYA
350d8aade0 Fix broken LaTeX code is generated if unknown language is given 2016-01-16 23:59:13 +09:00
Hong Xu
875e6a503b Run LaTeX in testing: don't skip the test unless all latexes do not exist
Until now when one of the 3 latexes (pdflatex, xelatex, lualatex) does
not exist, the test was skipped. This commit changes the behavior to
"unless none of the 3 latexes exists, don't skip the test".
2016-01-15 11:39:17 -08:00
Hong Xu
afcc7f4626 Move the testing code which spawns pdflatex to a function
There are currently two locations in the testing code running the same
code to spawn pdflatex. This commit puts these code into one single
function to reduce redundancy.
2016-01-15 01:48:49 -08:00
Georg Brandl
4f72bdb722 Merge branch 'stable' 2016-01-14 22:54:08 +01:00
Georg Brandl
46d7e8558e Obligatory copyright update. 2016-01-14 22:54:04 +01:00
Takeshi KOMIYA
3f998a0096 Fix line numbers was not shown on warnings of indecies 2016-01-13 11:37:07 +09:00
Takeshi KOMIYA
4c8b575dcc Fix filenames were not shown on warnings of citations 2016-01-13 00:37:28 +09:00
Takeshi KOMIYA
6dc7ca0234 Fix line numbers were not shown on warnings in LaTeX and texinfo builder 2016-01-13 00:36:51 +09:00
shimizukawa
f824539119 merge with stable 2016-01-13 00:13:35 +09:00
shimizukawa
d33b32323f 95 chars in line. It was warned by make check. 2016-01-12 23:53:45 +09:00
Takeshi KOMIYA
ca896755a9 Fix #2229, any-role and `-W` option are conflicted 2016-01-12 13:35:52 +09:00
Takeshi KOMIYA
bba3f388e9 Fix #2229: No warning is given for unknown options 2016-01-11 23:31:28 +09:00
Takeshi KOMIYA
e4b9eb51f6 Merge branch 'stable' 2016-01-11 00:27:26 +09:00
shimizukawa
e5860fd75c Merge with '87998df9cbef2380345d436121e6bca43345d2bd' on stable
Conflicts:
	tests/test_build_latex.py
2016-01-10 10:21:27 +09:00
André Klitzing
62c49763f8 Fix broken TOC of PDFs if section includes an image
If someone adds an image to a section it will be added to the sidebar
TOC of a PDF, too. A PDF viewer will show the "width and height"
data instead of an image. So we need to filter out images for this with
the optional "short title" of latex sections.
2016-01-08 10:15:39 +01:00
Takeshi KOMIYA
e03dc8d27e Fix #2072: Footnotes in chapter-titles do not appear in PDF output 2016-01-06 11:13:30 +09:00
Takeshi KOMIYA
26e29de904 Fix broken testcase; Split test-toctree-maxdepth from test-tocdepth 2016-01-06 09:54:48 +09:00
Takeshi KOMIYA
b0a5a1339e Fix #771: latex output doesn't set tocdepth 2016-01-06 01:34:29 +09:00
Takeshi KOMIYA
d0576cd012 Fix #1408: Check latex_logo validity before copying 2016-01-05 16:48:22 +09:00