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
0b60eafe0e
Fix #1790 literalinclude strips empty lines at the head and tail
2015-03-31 11:32:01 +09:00
Takeshi KOMIYA
0215b1fb10
Fix #1789 :pyobject: option of literalinclude directive includes following lines after definitions
2015-03-31 10:21:36 +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
tk0miya
ba5a42c504
Ignore "self" and URL in toctree
2014-08-21 09:54:57 +09:00
tk0miya
7f9b6b73ed
Fix section entries were shown twice if toctree has been put under only directive
2014-08-21 09:51:15 +09:00
tk0miya
4e0053cceb
Fix #1513 highlights for function pointers in argument list of c:function
2014-08-20 19:30:19 +09:00
tk0miya
dd8a02d5e1
Fix #1381 :rfc: and :pep: roles support custom link text
2014-08-20 12:27:08 +09:00
tk0miya
95fc3ce888
Backed out changeset 177fce4ba59c
2014-08-20 12:21:18 +09:00
tk0miya
3c1067c038
Fix #1381 :rfc: and :pep: roles support custom link text
2014-08-20 12:19:12 +09:00
tk0miya
3c8bc8f5fd
Merge upstream changes
2014-08-20 10:05:58 +09:00
tk0miya
876d593764
Optimize marking docnames as assigned
2014-08-20 01:23:36 +09:00
tk0miya
7db168416b
Set its URL as a default title value if URL appears in toctree
2014-08-20 01:00:29 +09:00
tk0miya
137de0ddc8
Mark master_doc as assigned numbers
2014-08-19 11:02:24 +09:00
tk0miya
57cc7dfa05
Fix RuntimeError with numbered circular toctree
2014-08-19 10:44:09 +09:00
tk0miya
14107fd5de
Fix numbering section at singlehtml mode does not work for nested toctree
2014-08-18 22:06:30 +09:00
tk0miya
ba072ab903
Use config.master_doc insted of "index"
2014-08-18 21:51:49 +09:00
tk0miya
2f5ea82b37
Add config entries for numfig
2014-08-16 09:39:01 +09:00
tk0miya
f974aca356
Assign figure numbers automatically
2014-09-26 22:40:24 +09:00
tk0miya
b9aa71ec39
Update comment for adhoc changes
2014-08-12 19:47:59 +09:00
tk0miya
0943375069
Fix #1476 replace <tt> tag by <code>
2014-08-12 12:12:10 +09:00
tk0miya
5725ee0e82
Fix numbering section does not work at singlehtml mode (adhoc)
2014-08-12 11:22:34 +09:00
tk0miya
3e1667290b
Rename :filename: option of code-block directive to :caption:
2014-08-11 22:36:31 +09:00
tk0miya
13f37e9a3b
Fix could not capture caption of graphviz node by xref
...
std domain and LaTeX writer expect figure node for capturing captions,
but graphviz directive returns graphviz node including caption attribute.
So sphinx cannot capture it on resolving xref.
This change makes graphviz directive returns figure and caption nodes in place.
2014-08-10 12:05:24 +09:00
tk0miya
b3798ab32c
Fix could not resolve xref for figure node with :name: option
2014-07-28 01:30:24 +09:00
Takeshi Komiya
024e8837cf
Fix tx init command again.
2014-07-06 06:00:47 +00:00
Takeshi Komiya
65e83c6057
Do not enter password of transifex at command line by security reason
...
Any command line options could be accessed by other users.
`tx init` command has interaction interface.
It should be used by all users by default.
2014-07-06 05:09:16 +00:00