Takeshi KOMIYA
8a9459b308
Merge branch 'stable'
2016-08-09 23:19:11 +09:00
Yoshiki Shibukawa
59ebeb7f1f
fix epub3 toc.xhtml, epub date format to satisfy spec
2016-08-09 16:58:56 +09:00
Jakob Lykke Andersen
678630a59b
C++, add support for removing index text prefixes
...
Closes sphinx-doc/sphinx#1958 .
2016-08-06 00:53:50 +02:00
Jakob Lykke Andersen
c85e60a5ac
C++, increase support for attributes.
...
User-defined attributes and simple C++11 style attributes.
Closes sphinx-doc/sphinx#2682 .
2016-08-06 00:08:02 +02:00
Takeshi KOMIYA
d651613583
Merge pull request #2772 from tk0miya/good_default_settings_for_latexpdfja
...
better default LaTeX settings for Japanese
2016-07-21 01:06:08 +09:00
Takeshi KOMIYA
1a575f4666
Update CHANGES and docs
2016-07-19 11:03:38 +09:00
Takeshi KOMIYA
2aace8d54b
Use jreport to the docclass for Japanese howto documents
2016-07-15 23:34:51 +09:00
Takeshi KOMIYA
fc9c9e04ee
better default LaTeX settings for Japanese
2016-07-15 22:36:49 +09:00
Takeshi KOMIYA
31c6beb578
Merge pull request #2454 from mgeier/html-sourcelink-txt
...
Add option html_sourcelink_suffix
2016-07-06 01:43:18 +09:00
jfbu
a20533540b
Add a sentence in doc/config.rst on `'pxunit'` key
2016-06-29 20:55:07 +02:00
jfbu
fc2202fd2a
latex, replace `'pixelsize' by more precise 'pxunit'` name
2016-06-25 10:32:48 +02:00
jfbu
f6b0ae903d
latex, allow image dimensions using px unit (96px=1in)
...
New key ``'pixelsize'`` in ``latex_elements`` dictionary.
2016-06-24 20:36:35 +02:00
jfbu
12ade10d55
New latex.rst for extended documentation of LaTeX's customizing.
2016-06-20 09:23:41 +02:00
jfbu
2cec5a25b2
Merge branch 'stable'
...
Conflicts:
sphinx/domains/cpp.py
sphinx/texinputs/sphinx.sty
tests/test_build_latex.py
2016-06-15 18:29:58 +02:00
jfbu
5510653d6e
Fix #2629 . Add new config option `latex_keep_old_macro_names`
...
The cause of the issue was a clash about ``\titleref`` macro being already
defined in memoir class context. To avoid similar problems, this makes
the text styling macros
``\strong``, ``\code``, ``\bfcode``, ``\email``, ``\tablecontinued``,
``\titleref``, ``\menuselection``, ``\accelerator``, ``\crossref``,
``\termref``, ``\optional``,
also available with ``\sphinx`` prefix, with a conf.py boolean option to
let sphinx.sty only define ``\sphinx``-prefixed macros. As default value
is False, backwards compatibility is maintained.
On this occasion, some internal non-public macros have been renamed with
prefix ``\spx@``. The command
find . -name '*.sty' -exec grep -l \\\\spx@ {} \;
has been executed in TeXLive 2015 and 2016 installations to check no
package defines macros starting with ``\spx@``.
Some internal macros having public names (because they are written by
latex.py into the body of the latex document) have been renamed to have
``\sphinx`` prefix. The macros in sphinx.sty starting with \py@, or \DU,
or \PYG have not been modified. Similarly ``\release``, ``\version``,
``\releasename``, etc... have not been renamed.
2016-06-15 08:53:24 +02:00
Takeshi KOMIYA
a35399a0aa
Merge branch 'stable'
2016-06-10 20:55:05 +09:00
jfbu
7d3bddd4e3
Convert text into links at bottom of tutorial.rst and top of config.rst
2016-06-09 15:34:59 +02:00
Matthias Geier
5559150578
Change html_sourcelink_txt -> html_sourcelink_suffix
2016-06-07 15:17:12 +02:00
Matthias Geier
86615e1f09
Add option html_sourcelink_txt
2016-06-07 15:15:39 +02:00
Takeshi KOMIYA
f6ebd372d4
Merge branch 'stable'
2016-06-05 17:24:41 +09:00
Takeshi KOMIYA
7661a92fc1
Update docs; the inputenc hack will be released at 1.4.3
2016-05-31 10:07:03 +09:00
Avram Lubkin
197b33816f
Only add '\\usepackage[utf8]{inputenc}' when using pdflatex
2016-05-31 10:02:58 +09:00
Takeshi KOMIYA
e01d5d8507
Merge pull request #2590 from avylove/inputenc
2016-05-29 09:24:47 +09:00
Avram Lubkin
786f31eb57
Only add '\\usepackage[utf8]{inputenc}' when using pdflatex
2016-05-28 13:26:45 -04:00
Takeshi KOMIYA
e3be266be3
Merge branch 'stable'
2016-05-28 17:29:43 +09:00
Takeshi KOMIYA
98c27003d0
Update description of numref option (ref: #2384 )
2016-05-27 23:40:01 +09:00
Takeshi KOMIYA
c9296ba467
Merge branch 'stable'
2016-05-09 10:11:13 +09:00
Takeshi KOMIYA
e3def45ffe
Use locales as a default value of locale_dirs
2016-04-25 22:25:58 +09:00
Takeshi KOMIYA
59c40c24f3
Add warning for Application.add_source_parser()
2016-04-24 13:57:32 +09:00
Takeshi KOMIYA
52c7867d14
Fix #2466 : Allow image.data_uri and image.nonlocal_uri as confval of suppress_warnings
2016-04-22 11:14:46 +09:00
Takeshi KOMIYA
21ee53df2d
Define new warning types for suppress_warnings (ref #2451 )
2016-04-16 12:43:03 +09: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
Takeshi KOMIYA
da94ca5699
Merge branch '2327_toplevel_sectioning'
2016-03-03 20:41:17 +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
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
84fb1b7617
Fix #2245 : Add `latex_elements["passoptionstopackages"]` option to call PassOptionsToPackages in early stage of preambles
2016-02-23 00:14:03 +09:00
Takeshi KOMIYA
904163f5b6
Merge pull request #2276 from tk0miya/1921_figure_substitutions
...
Fix #1921 : Support figure substitutions by locale
2016-02-22 23:55:53 +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
shimizukawa
cea8c85bf0
remove a part of description that mentioned about epub3 internal formating.
2016-02-22 10:36:39 +09:00
shimizukawa
905cbd09ed
Fix: ambiguous description for epub3_page_progression_direction conf value.
2016-02-22 10:20:28 +09:00
Takeshi KOMIYA
2b93e09c0a
Highlighting fallbacks by default
...
In 423bf7b , I tried to add fallback mechanism to ``python3``. But it breaks
the python3 highlighting on python2 environment.
This adds ``'default'`` to highlighting languages; it works like
``'python3'``, but fallbacks if failed Highlighting. And this removes
try-parse step from ``'python3'`` language. Now, it highlights regardless of
runtime environments. Thanks to Yoshiki SHIBUKAWA.
2016-02-20 00:44:28 +09:00
shimizukawa
a7ae5e39d9
fix wrong documentation
2016-02-15 09:45:04 +09:00
Takeshi KOMIYA
4452cc3d2e
Fix #794 : Date formatting in latex output is not localized
2016-02-14 21:48:24 +09:00
shimizukawa
0992ce542b
Closes #1853 : support custom text splitter on html search with language='ja'.
2016-02-14 19:23:51 +09:00
Takayuki SHIMIZUKAWA
e1394b5427
Merge pull request #2321 from sphinx-doc/py-3-highlighting
...
The default highlight language is now Python 3. Use it in viewcode as well.
2016-02-14 19:10:05 +09: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
shimizukawa
81a0f13199
Merge pull request #1854 from mocobeta/search_ja_janome
...
Allow to choose Janome for Japanese splitter.
2016-02-14 16:46:21 +09:00
Georg Brandl
5e8642983b
Fixup links in the documentation.
2016-02-13 16:00:46 +01:00