Takeshi KOMIYA
a5ce3e8961
refactor applehelp: Divide build_helpbook() to small methods
2019-01-11 01:32:21 +09:00
jfbu
ad8205bb0b
[DOC] Move description of latex_elements to latex.rst
2019-01-10 16:48:03 +01:00
Jean-François B
214f75800f
Merge pull request #5918 from jfbu/latex_verbatimenvironment_macro
...
LaTeX: no need for \sphinxVerbatimEnvironment (refactoring)
2019-01-10 14:43:57 +01:00
jfbu
45898757ca
LaTeX: no need for \sphinxVerbatimEnvironment
...
It is not needed as fancyvrb's \VerbatimEnvironment can be used in
nested way and the outer one prevails (sorry for adding the complication
initially when providing sphinxVerbatimintable environment).
That internal macro is not public API, and it is hard to deprecate it
from LaTeX as the Sphinx custom Verbatim environments redefined it
on-the-fly.
I searched and found no usage on internet of this, so there does not
seem any need to deprecate this non-public internal macro before
removal.
2019-01-10 10:52:17 +01:00
Timotheus Kampik
14b67a0464
Update Markdown doc ( #5913 )
...
* update Markdown doc
after relase of ecommonmark version 0.5.0
2019-01-09 16:44:00 +01:00
Takeshi KOMIYA
8d3be1addb
Merge pull request #5912 from tk0miya/improve_i18n
...
Make info messages more translatable
2019-01-09 01:06:05 +09:00
Takeshi KOMIYA
035ebff407
Make info messages more translatable
2019-01-09 00:54:42 +09:00
Takeshi KOMIYA
70647ccf2d
env.set_versioning_method() allows callable object as a method
...
This allows to add custom versioning method from extensions.
2019-01-09 00:19:56 +09:00
Takeshi KOMIYA
e82f5ddb55
The arguments of Epub3Builder.build_navigation_doc() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
b6c422ac86
The arguments of EpubBuilder.build_epub() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
64533e142c
The arguments of EpubBuilder.build_toc() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
d437f39bc4
The arguments of EpubBuilder.build_content() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
f000df8bfb
The arguments of EpubBuilder.build_container() is deprecated.
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
0f972e8bbf
The arguments of EpubBuilder.build_mimetype() is deprecated
2019-01-09 00:10:36 +09:00
Takeshi KOMIYA
90b93dda33
Merge pull request #5384 from tk0miya/smart_latex_conf_py
...
quickstart: Simplify generated conf.py (for latex)
2019-01-08 02:12:38 +09:00
Takeshi KOMIYA
7aa69237de
Merge pull request #5903 from tk0miya/show_deprecationwarnings_for_pycompat
...
refactor: deprecate some pycompat functions
2019-01-08 01:54:04 +09:00
Takeshi KOMIYA
7eb8b735c0
Merge pull request #5907 from tk0miya/5906_test_markup
...
Fix #5906 : LaTeX Builder is not initialized correctly on test_markup
2019-01-08 01:51:01 +09:00
Takeshi KOMIYA
bc13c25f9b
Merge branch 'master' into smart_latex_conf_py
2019-01-08 01:34:50 +09:00
Takeshi KOMIYA
6e5fda6bca
Merge pull request #5904 from tk0miya/update_CONTRIBUTING
...
Update CONTRIBUTING.rst
2019-01-08 01:33:56 +09:00
Takeshi KOMIYA
66228fb60f
Fix #5906 : LaTeX Builder is not initialized correctly on test_markup
2019-01-08 01:30:25 +09:00
Takeshi KOMIYA
064c80336f
Merge pull request #5881 from tk0miya/refactor_conf_py
...
refactor: Use repr() to make escaped string in template for conf.py
2019-01-08 00:11:32 +09:00
Takeshi KOMIYA
2c7fd9b681
Merge pull request #5899 from jdufresne/image-import
...
Remove outdated fallback to 'import Image'
2019-01-08 00:09:39 +09:00
Takeshi KOMIYA
4c78adb92c
Merge pull request #5900 from jdufresne/guess-mime
...
Add TODO comment to help future developer to refactor guess_mimetype
2019-01-08 00:07:07 +09:00
Jon Dufresne
d8b34cedf0
Add TODO comment to help future developer to refactor guess_mimetype
2019-01-07 06:58:33 -08:00
Jon Dufresne
f1e41a616c
Remove outdated fallback to 'import Image'
...
The fallback 'import Image' was added in commit
99621d7a01
for the PIL package. However,
the PIL package is no longer maintained and does not support Python 3.
Development has moved to the Pillow package which always installs to the
PIL namespace.
Pillow repo: https://github.com/python-pillow/Pillow
Old PIL website: http://www.pythonware.com/products/pil/
2019-01-07 06:44:35 -08:00
Takeshi KOMIYA
46b19b29f3
latex: Do escape_abbr() for author and project
2019-01-07 23:14:56 +09:00
Takeshi KOMIYA
09a8b5e25c
doc: quickstart.py has moved
2019-01-07 23:07:48 +09:00
Takeshi KOMIYA
e700532dd1
docs: check_sources.py now becomes flake8 plugin
2019-01-07 23:07:48 +09:00
Takeshi KOMIYA
68c90a26f1
quickstart: Simplify generated conf.py (for latex)
2019-01-07 23:06:14 +09:00
Takeshi KOMIYA
39c0380c4d
refactor: deprecate some pycompat functions
2019-01-07 22:54:37 +09:00
Takeshi KOMIYA
353c3e9fd6
Merge pull request #5415 from tk0miya/5410_replace_open_file_by_open
...
refactor: Repalce HTMLHelpBuilder.open_file() by standard open()
2019-01-07 00:59:03 +09:00
Takeshi KOMIYA
c608c03832
Merge pull request #5898 from jdufresne/incremental
...
Remove redundant mypy config 'incremental'
2019-01-07 00:57:38 +09:00
Jon Dufresne
5d497d0083
Remove redundant mypy config 'incremental'
...
The mypy config 'incremental` has defaulted as true since version 0.590.
Can drop the local override. For details, see:
6b13652a46
2019-01-06 06:58:26 -08:00
Jakob Lykke Andersen
be29f73150
Merge pull request #5896 from jakobandersen/cpp_fixes
...
C++ fixes
2019-01-06 12:55:13 +01:00
Jakob Lykke Andersen
dc1a63cbc8
mypy fix?
2019-01-06 12:45:19 +01:00
Jakob Lykke Andersen
e9df857531
C++, parse all fold expressions
2019-01-06 12:03:17 +01:00
Jakob Lykke Andersen
8eb4ab0681
C++ fixes
...
- Hyperlinks for declarations involving east cv-qualifiers.
- Duplicate declaration error on function templates with constraints
in the return type.
Fixes sphinx-doc/sphinx#5755
2019-01-06 12:03:17 +01:00
Jean-François B
74e16bcb71
Merge pull request #5894 from jfbu/latex_fix_addtocaptions_5516
...
LaTeX: fix ``addtocaptions`` for sphinxmessages.sty_t if 'babel' empty
2019-01-06 10:13:40 +01:00
jfbu
259d5053fa
LaTeX: fix `addtocaptions
` for sphinxmessages.sty_t if 'babel' empty
...
For example if config setting `language` is 'ja'.
Refs: #5516
2019-01-06 10:05:02 +01:00
Takeshi KOMIYA
3a83f29f86
Merge pull request #5895 from mitya57/add-node-warning-message
...
Fix warning message when a node class is already registered
2019-01-06 14:45:39 +09:00
Dmitry Shachnev
a21d18141b
Fix warning message when a node class is already registered
...
self._setting_up_extension is a list, we should only take its last
item. This is what add_directive() and add_role() already do.
Otherwise the message looks like this:
while setting up extension ['?', 'myextension']: ...
2019-01-06 01:01:33 +03:00
jfbu
af2bb9f80d
Merge branch '1.8'
...
Conflicts:
sphinx/writers/latex.py
tests/test_build_latex.py
Also, modifications were needed in further files.
modified: CHANGES
modified: sphinx/templates/latex/sphinxmessages.sty_t
modified: sphinx/util/template.py
modified: sphinx/util/texescape.py
modified: sphinx/writers/latex.py
modified: tests/test_build_latex.py
2019-01-05 11:00:19 +01:00
Jean-François B
e44f56a871
Merge pull request #5891 from jfbu/latex_5889
...
LaTeX: obey spaces from `numfig_format` (figure and table only)
2019-01-05 10:03:11 +01:00
jfbu
f42e406af4
Update CHANGES for PR #5891
2019-01-05 10:02:00 +01:00
jfbu
2259466d4b
Remove some spaces added in last commit, which are ignored anyhow
2019-01-05 00:14:45 +01:00
jfbu
37f1aacd1f
LaTeX do not strip spaces from numfig_format split at %s
...
Only for figure and table, currently. Code-bloks have some FIXME code to
still be handled.
PDF output should remain unchanged so this is backwards compatible. The
`\nobreakspace` from LaTeX default `\fnum@figure` is removed by a normal
space. If figname is an abbreviation, the dot is followed by a `\@` to
avoid double space. At the location where the `\@` is inserted the `@`
has catcode non-letter so a space after it is not swallowed.
MEMO: when this is will be moved to sphinxmessages.sty on master branch
it is needed to use `\@{}` or to modify locally catcode of `@` to avoid
space swallowing..
Closes : #5889
2019-01-04 23:53:17 +01:00
jfbu
18bf90822c
Fix LaTeX writer handling of user custom numfig_format
2019-01-04 23:35:30 +01:00
Takeshi KOMIYA
833e5ef78b
Merge pull request #5516 from tk0miya/refactor_latex
...
Move labels related with numfig_format to sphinxmessage.sty
2019-01-05 00:09:33 +09:00
Takeshi KOMIYA
56f4b27faa
Deprecate LaTeXTranslator.generate_numfig_format()
2019-01-04 23:06:34 +09:00
Takeshi KOMIYA
cd28de5ba8
refactor: Move \literalblockname to sphinxmessage.sty
2019-01-04 23:06:34 +09:00