Takeshi KOMIYA
c289a35c1b
Fix #2397 : Setup shorthandoff for turkish documents
2016-04-16 18:28:15 +09:00
Takeshi KOMIYA
f15bdce1db
Fix testcase
2016-04-16 16:11:48 +09:00
Takeshi KOMIYA
c3fe96f6fc
Remove debug print
2016-04-14 12:03:10 +09:00
Takeshi KOMIYA
3206ccbae0
sphinx.ext.mathbase: Refactor LaTeX output
2016-04-14 10:39:33 +09:00
Takeshi KOMIYA
39396a4b1e
Fix #2370 : the equations are slightly misaligned in LaTeX
2016-04-14 10:37:54 +09:00
Takeshi KOMIYA
9a7bbb0947
Add image file for testcase of #2395
2016-04-13 21:30:45 +09:00
Takeshi KOMIYA
5b80365409
Merge pull request #2415 from jfbu/jumptorightplace-onstable
...
Fix #2405 and #2414 related to PDF hyperlinks to numbered code listings
2016-04-11 10:53:34 +09:00
jfbu
673222f20a
Added Tests for latex(pdf) links to captioned or named literal blocks
...
As conf.py has now numfig = True, needed to modify accordingly test for
links in html output.
This topic branch fixes #2405 , #2414 , and also makes for latex(pdf)
functional hyperlinks to named references, but only for literal blocks
(code-block or literalinclude).
modified: tests/roots/test-directive-code/caption.rst
modified: tests/roots/test-directive-code/conf.py
new file: tests/roots/test-directive-code/namedblocks.rst
modified: tests/test_directive_code.py
2016-04-10 20:45:59 +02:00
Takeshi KOMIYA
9df7783ba2
Fix #2395 : Sphinx crashs if unicode character in image filename
2016-04-10 20:25:25 +09:00
jfbu
261ff1a9d2
Enable pdf hyperlinks to named literal-blocks without caption.
...
This is tango between latex.py and sphinx.sty to handle PDF hyperlinks
to literal-blocks (both code-block and literalinclude) either with name
or caption (then numref can be used) or both.
modified: sphinx/texinputs/sphinx.sty
modified: sphinx/writers/latex.py
This test file is now back to original.
modified: tests/test_directive_code.py
2016-04-07 11:27:33 +02:00
jfbu
238a3346d9
Merge branch 'stable' into jumptorightplace-onstable
2016-04-06 18:55:15 +02:00
Ruediger Pluem
1c48d18d9a
Tests for 22dce02bec1e97b00fa5dde2479ab498784a866c..1754473c532d300ce517460d2ff467c312ae5510
2016-04-05 12:20:10 +02:00
jfbu
a1647b6bb9
Fix broken numeric reference in PDF hyperlinks to "Listing " code-blocks
...
The `\label` is now inserted into the caption on top of the Verbatim,
and `\ref` will work as expected. No need for `\phantomsection`.
modified: sphinx/writers/latex.py
modified: tests/test_directive_code.py
2016-04-03 16:31:35 +02:00
Takeshi KOMIYA
d35ccb9b4c
The default format of today_fmt and html_last_updated_fmt is back to strftime format again
...
`html_last_updated_fmt` is commonly used for non date formatting. But
LDML is difficult to represent them from its characteristics.
Now we moved to strftime format again (ref: #2394 ).
2016-04-03 10:25:32 +09:00
shimizukawa
0c33d7df78
import mock from util instead of directly.
2016-04-02 22:15:13 +09:00
Takeshi KOMIYA
8ab06530be
Fix #2394 : Sphinx crashes when html_last_updated_fmt is invalid
2016-04-01 11:20:30 +09:00
Jakob Lykke Andersen
42395a177a
C++, also support 'extern' for functions.
...
Thanks to Victor Zverovich.
2016-03-31 13:40:02 +09:00
Jakob Lykke Andersen
dca9e59ea5
C++, add support for 'extern' and 'thread_local'.
...
Thanks to michaeljones/breathe#243 for noticing the lack of 'extern' support.
2016-03-30 16:19:03 +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
478c1d2ea6
Merge branch 'stable' into 1.4-release
2016-03-23 22:01:14 +09:00
shimizukawa
d76e250ca3
fix for 'make style-check'
2016-03-06 21:37:04 +09:00
Takeshi KOMIYA
549b6e27df
Fix #1498 : manpage writer: don't make whole of item in definition list bold if it includes strong node
2016-03-06 17:49:49 +09:00
Takeshi KOMIYA
b0e781c745
Fix broken tests
2016-03-06 16:24:59 +09:00
Takeshi KOMIYA
9d82cad19d
Merge pull request #2297 from jfbu/literalblockcaption
...
LaTeX captions of literal blocks now glued to framed verbatim
2016-03-06 15:01:52 +09:00
jfbu
12c6c9dad2
Fix broken test_literalinclude_caption_latex
...
modified: tests/test_directive_code.py
2016-03-04 13:11:00 +01:00
jfbu
038dd00777
Changes of LaTeX macro names in sphinx.sty to use Sphinx prefix.
...
modified: sphinx/texinputs/sphinx.sty
modified: sphinx/writers/latex.py
modified: tests/test_directive_code.py
2016-03-04 12:46:34 +01: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
f33e25dbad
Fix broken merges
2016-03-03 23:14:16 +09:00
Takeshi KOMIYA
dda98c7d53
Merge branch 'useless-test-noise'
2016-03-03 23:01:34 +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
cfd8b520b6
Fix test_search has been failed
2016-03-01 00:48:58 +09:00
shimizukawa
283bf42ea7
Merge with 'stable'
...
Conflicts:
CHANGES
sphinx/__init__.py
sphinx/io.py
2016-02-29 23:19:13 +09:00
Takeshi KOMIYA
77df787e81
Fix #2019 : the domain objects in search result are not escaped
2016-02-29 10:52:48 +09:00
Takeshi KOMIYA
a682ab2e57
Define `\internalreference` macro to redefine the style of references
2016-02-25 22:07:18 +09:00
Takeshi KOMIYA
cea81e7a70
Define `\menuselection and \accelerator macros to redefine the style of menuselection` roles.
2016-02-25 20:58:01 +09:00
Takeshi KOMIYA
611aa10f78
Merge pull request #2340 from xuhdev/mathjax-align
...
Math extension: support alignment of multiple equations for MathJAX.
2016-02-23 12:44:09 +09:00
Takeshi KOMIYA
2441c647d2
Fix #2229 : no warning is given for unknown options
2016-02-23 12:23:06 +09:00
Takeshi KOMIYA
ae9d786390
Add :confval:suppress_warnings to supress arbitrary warning message
2016-02-23 12:23:06 +09:00
Takeshi KOMIYA
606daeda18
Fix the confval type checker emits warnings if unicode is given to confvals which expects string value
2016-02-23 11:14:58 +09:00
Takeshi KOMIYA
0636d54f6f
`sphinx.ext.graphviz` supports graph substituions by locale
2016-02-22 21:32:06 +09:00
Takeshi KOMIYA
3f0843bca0
Add figure_language_filename to customize filename pattern for figure substitutions
2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
1f5aa28db0
Fix #1921 : Support figure substitutions by locale
2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
46138ca605
Select an image by similarity if multiple images are globbed by `.. image:: filename.*`
...
Until this point, it is used the last image returned from glob.glob().
The order of glob.glob() is determined by filesystem.
After this, Sphinx uses filename similarity to determine the image.
2016-02-22 17:06:35 +09:00