Commit Graph
100 Commits
Author SHA1 Message Date
Takeshi KOMIYA 9669f2a48b Fix #2171: cannot linkcheck url with unicode 2015-12-19 22:58:53 +09:00
Takeshi KOMIYA 788c0ebffc Add testcase for encoding URIs in linkcheck builder 2015-12-19 22:49:14 +09:00
Takeshi KOMIYA 209e5f29b1 Fix #2168: raw directive does not work for text writer 2015-12-19 20:34:27 +09:00
Takeshi KOMIYA 157375baa3 Merge pull request #2159 from sphinx-doc/1237_footnote_in_deflist
Fix #1237 footnotes not working in definition list in LaTeX
2015-12-19 17:55:07 +09:00
Takeshi KOMIYA a21bfb1061 Make ShowUrlsTransform plain class 2015-12-19 16:53:15 +09:00
Takeshi KOMIYA 9f96bbaf35 Move testcases for footnotes to roots/test-footnote 2015-12-19 16:45:23 +09:00
Takeshi KOMIYA 5983d02787 Fix #1237 footnotes not working in definition list in LaTeX 2015-12-19 16:45:23 +09:00
Takeshi KOMIYA 5fc4536040 Fix invalid node id was assigned
Because document.ids is reset on pickling doctree...
2015-12-19 16:44:45 +09:00
Takeshi KOMIYA 9fec96d327 Refactor latex_show_urls processor to Transform class 2015-12-19 16:44:45 +09:00
Takeshi KOMIYA 885b997a25 Add testcases for latex_show_urls 2015-12-19 16:40:10 +09:00
Takeshi KOMIYA e859543f8b Fix #967: SVG inheritance diagram is not hyperlinked (clickable) 2015-12-19 16:12:26 +09:00
Takeshi KOMIYA 39458552ec Update CHANGES for PR #2176 2015-12-19 15:20:55 +09:00
Takeshi KOMIYA e568f03e38 Merge pull request #2176 from xuhdev/graphviz-interactive-svg
sphinx.ext.graphviz: use <object> instead of <img> to embed svg
2015-12-19 15:15:13 +09:00
Takeshi KOMIYA cb3f8c62ae Fix typo in CHANGES 2015-12-19 15:12:44 +09:00
Takeshi KOMIYA cc84702257 Update CHANGES for PR #1833 2015-12-19 10:52:53 +09:00
Takeshi KOMIYA 7f55295650 Merge pull request #1833 from xuhdev/latex-mailto
Email addresses should not be showed again if latex_show_urls is not None
2015-12-19 10:45:53 +09:00
Takeshi KOMIYA 8b47cc52b1 Update CHANGES 2015-12-10 00:15:07 +09:00
Takeshi KOMIYA aa475604dc `figure_align` is added at 1.3 2015-12-03 23:31:54 +09:00
Takeshi KOMIYA 8648bdeec1 Fix #2094 rubric with reference not working in Latex 2015-12-03 14:48:00 +09:00
Takeshi KOMIYA c8837338d3 Fix section and table titles with reference cause latex build error 2015-12-03 11:39:25 +09:00
Takeshi KOMIYA 32b483d5bc Fix #2134 figure caption with reference causes latex build error 2015-12-03 10:33:29 +09:00
Takeshi KOMIYA 47e7b022c2 Fix #2012 exception occurred if `numfig_format` is invalid 2015-11-30 11:38:37 +09:00
Takeshi KOMIYA 042daed015 Update CHANGES for #2140 2015-11-29 22:03:48 +09:00
Takeshi KOMIYA f4c5a2e136 Fix #2140: footnotes in caption of table has broken in LaTeX 2015-11-29 21:55:36 +09:00
Takeshi KOMIYA 12396a71d9 Fix #2140: footnotes in table has broken in LaTeX 2015-11-29 21:47:55 +09:00
Takeshi KOMIYA 2c5c54aa67 Closes #1987: Fix ampersand is ignored in `:menuselection: and :guilabel:` on LaTeX builder 2015-09-01 00:29:03 +09:00
Takeshi KOMIYA 5be5b057a9 Remove unused method: LaTeXTranslator.generate_contentsname() 2015-08-21 14:37:51 +09:00
Takeshi KOMIYA 3803ce7db4 Remove debug print 2015-08-21 14:33:36 +09:00
Takeshi KOMIYA e1305d549d Fix flake8 violation 2015-08-21 14:29:01 +09:00
Takeshi KOMIYA 20d992cdf5 Close #1990: Use caption of toctree to title of \tableofcontents in LaTeX 2015-08-21 14:15:30 +09:00
Takeshi KOMIYA 49b812b856 Fix #1540: Fix RuntimeError with circular referenced toctree 2015-08-09 21:08:33 +09:00
Takeshi KOMIYA 962a830015 Update README 2015-06-26 21:37:16 +09:00
Takeshi KOMIYA 65663912a4 Add testcase for graphviz 2015-06-26 21:23:03 +09:00
Takeshi KOMIYA 342a5ee83d Update CHANGES refs #1935 2015-06-26 18:52:45 +09:00
Takeshi KOMIYA 7b9c3981cc Merge pull request #1935 from bgeron/allow-override-latex-numfig_format
Allow overriding 'numfig_format' for LaTeX output in latex_elements
2015-06-26 18:50:40 +09:00
Takeshi KOMIYA 10183a6ca0 Fix a crash when setting up extensions which do not support metadata 2015-06-11 19:05:23 +02:00
Takeshi KOMIYA c475b1eb6b Set version number as "unknwon" for extensions which do not support metadata 2015-05-17 16:37:58 +09:00
Takeshi KOMIYA ccd393734e Fix a crash when setting up extensions which do not support metadata 2015-05-17 15:56:10 +09:00
Takeshi KOMIYA 64d2f22eb4 Fix #1790 literalinclude strips empty lines at the head and tail 2015-04-02 14:48:14 +09:00
Takeshi KOMIYA aa66e7860b Fix #1789 :pyobject: option of literalinclude directive includes following lines after definitions 2015-04-02 14:47:51 +09:00
Takeshi KOMIYA f0206f77e4 Fix flake8 violation 2015-03-08 08:41:36 +09:00
Takeshi KOMIYA 5e48ac9b4f Role `numref uses %s as special character instead #` symbol 2015-03-08 08:30:16 +09:00
Takeshi KOMIYA 3d62e353a5 Update testcases for changing prefix of captions 2015-03-08 08:30:16 +09:00
Takeshi KOMIYA a434486dfb Use babel to change prefix of captions 2015-03-07 18:01:29 +09:00
Takeshi KOMIYA 9f06027836 #1719 Add prefix to linkname of :numref: on LaTeX mode 2015-03-03 01:16:06 +09:00
Takeshi KOMIYA 1ee7f5a163 #1719 Use numfig_format for prefix of captions in LaTeX builder 2015-03-03 01:16:02 +09:00
Takeshi KOMIYA b0e77e4c75 Use fully_normalize_name() instead of str.lower() 2015-02-22 23:20:00 +09:00
Takeshi KOMIYA 62e0490b81 Closes #1718. :numref: does not work with capital letters in the label 2015-02-22 11:28:21 +09:00
Takeshi KOMIYA 198731f154 Update CHANGES for b563fa4 2015-01-18 16:08:46 +09:00
Takeshi KOMIYA 9ca4bc7081 Merge branch '1620_change_VerbatimBorderColor' (Close #1620) 2015-01-18 15:53:52 +09:00
Takeshi KOMIYA b563fa44f2 Fix #1620: Use VerbatimBorderColor to add frame to code-block in LaTeX 2015-01-18 15:32:17 +09:00
tk0miya d3615d9c0b Merge heads 2014-11-27 16:34:44 +09:00
tk0miya dab10e885b Update CHANGES for PR#317 2014-11-27 16:32:35 +09:00
tk0miya 0f1d8433e7 Fix #1607: Sphinx crashes on building latexpdf with "howto" class 2014-11-24 12:13:17 +09:00
tk0miya 88103c112a Fix #1603 :numref: doesn't work correctly when label contain underscore
If label contains underscore, the underscores are replaced with hyphens on normalization.
:numref: confuses the normalization with explicit notation.
This fix uses `target` variable insted of labelid to check the role is explicit or not.
2014-10-27 11:02:54 +09:00
tk0miya 83e8bbf58b Add docs about :numref: role 2014-10-09 19:31:36 +09:00
tk0miya e32883433a Update docs by reviewing 2014-10-09 01:41:51 +09:00
tk0miya f51b945d89 Add frame to code-block in LaTeX 2014-10-08 21:52:33 +09:00
tk0miya 18051a5110 Add docs about confval for numfig 2014-10-08 11:03:14 +09:00
tk0miya cdc244428d Merge with default 2014-10-06 23:57:16 +09:00
tk0miya 69bcadee89 Fix it should not use starttag() to tags which are not related with node 2014-10-06 23:25:25 +09:00
tk0miya 568ac7e9a9 Fix position of \label tag for literal_block was invalid in LaTeX 2014-10-06 21:05:56 +09:00
tk0miya 71cf3e7a4f Fix position of \label tag for table was invalid in LaTeX 2014-10-06 20:24:57 +09:00
tk0miya e0fb54a7bb Catch KeyError resolving numref if target docs does not included in toctree 2014-10-06 18:50:01 +09:00
tk0miya a5606976b6 Fix flake8 violations 2014-10-06 13:56:51 +09:00
tk0miya 777218580a Surround fignum and caption with <span> tag 2014-10-05 20:55:46 +09:00
tk0miya 8ee53ddb06 Refactor creating permalinks on HTML writer 2014-10-05 20:54:50 +09:00
tk0miya a875e8f377 Set permanent links to every captions and titles 2014-10-05 16:27:38 +09:00
tk0miya 8270575a9c Update testcases for :numref: 2014-10-02 11:17:34 +09:00
tk0miya 0d28a95f85 Fix numfig got error if table without title exists 2014-10-01 22:15:29 +09:00
tk0miya 5046abbaee Support :numref: in other writers 2014-10-02 11:36:24 +09:00
tk0miya 002ba5e4de Support :numref: in LaTeX writer 2014-10-01 11:38:41 +09:00
tk0miya 6c798fd5f0 Merge with default 2014-10-02 11:38:49 +09:00
tk0miya 1e63f34d2e Fix Builder.imgpath has not been initialized correctly 2014-10-01 10:12:20 +09:00
tk0miya 4c82a16564 Add :numref: role to refer figures, tables and code-blocks by its fignum 2014-10-01 00:33:00 +09:00
tk0miya 8c38327f0e Refactored; Initialize imagedir at init() method 2014-09-29 00:17:24 +09:00
tk0miya 7e59c5385e Merge with default 2014-09-28 21:56:20 +09:00
tk0miya 0853176305 Merge with default 2014-09-28 21:28:45 +09:00
tk0miya f746a45dc9 Remove debug print 2014-09-28 21:25:46 +09:00
tk0miya 16529c5604 Add options argument to Sphinx.add_latex_package() 2014-09-28 21:10:26 +09:00
tk0miya 0c5b460dc6 Separate numfig testcase from toctree's 2014-09-27 16:49:28 +09:00
tk0miya c35886f6d0 Refactor has_child() function (by review) 2014-09-27 16:17:25 +09:00
tk0miya a557e0dd32 Make numfig_prefix translatable 2014-09-27 15:50:19 +09:00
tk0miya c04ad2908e Add new API: Sphinx.add_latex_package()
Sphinx.add_latex_package() allows sphinx extensions to add latex packages.
It helps creating extensions for latex (for example, latex-theming)
2014-09-27 12:47:27 +09:00
tk0miya cc5859fcbf Add imgpath property to all builders 2014-09-27 10:11:47 +09:00
tk0miya e3826ba2c4 Fix assign_figure_numbers() raises AttributeError with old environment 2014-09-27 00:56:50 +09:00
tk0miya 7cd470f59a Assign fignum to tables and code-blocks 2014-09-27 00:47:44 +09:00
tk0miya 7c7a563426 Fix by review comment 2014-09-26 20:15:17 +09:00
tk0miya cffec13355 Add testcases for numfig 2014-09-26 00:36:38 +09:00
tk0miya 07e52ff22d Fix @caption should be placed to inside of @float element in texinfo 2014-09-24 00:54:27 +09:00
tk0miya 3ad1f1c164 Merge with default 2014-09-24 00:43:47 +09:00
tk0miya 5f96826ffc Merge with default 2014-09-23 17:58:02 +09:00
tk0miya d076452199 do nested_parse() :caption: of code-block directive 2014-09-19 12:04:25 +09:00
tk0miya 447c8c1d37 Wrap float environment on writing literal_block to latex 2014-09-19 11:08:07 +09:00
tk0miya 873efc5358 Fix #1512 env.record_dependency crashes on multibyte directories 2014-09-15 22:10:13 +09:00
tk0miya 0780d8ca04 Fix tests has broken by changset:bb0211a65072 2014-08-24 19:40:32 +09:00
tk0miya b17320ee1e Fix cannot capture title of literal_block node by xref 2014-08-24 14:33:56 +09:00
tk0miya 08cf46cbc9 Fix #1509 TODO extension not compatible with websupport
websupport assigns UID to every node on reading phase and reads it
on writing phase.
but `todolist` directive generates new paragraph node on resolving phase.
This problem will occur any extensions that generate paragraph nodes
on resolving phase.

This fix changes websupport ignores paragraph node not having UIDs.
2014-08-24 12:28:37 +09:00
tk0miya 65be2792a8 Do not highlight function pointers if unexpected tokens found 2014-08-21 13:30:25 +09:00
tk0miya 2ccdebf5d9 Fix RuntimeError with numbered circular toctree 2014-08-21 09:54:57 +09:00