Commit Graph

8274 Commits

Author SHA1 Message Date
Takeshi KOMIYA
fed8e8b97a Merge pull request #3463 from shibukawa/fix/epub_dublincore_validation_error
Add warning messages for required EPUB3 metadata
2017-03-01 00:22:26 +09:00
Takeshi KOMIYA
98d0be208c Merge branch 'master' into fix/epub_dublincore_validation_error 2017-03-01 00:22:15 +09:00
jfbu
95d9261f1e Update CHANGES for PR#3480 2017-02-28 16:07:01 +01:00
Jean-François B
7d0ac36e2d Merge pull request #3478 from jfbu/transitionlatex
Remove unneeded ``{}`` in LaTeX transition code
2017-02-28 16:04:37 +01:00
Jean-François B
c8e55b3e54 Merge pull request #3480 from jfbu/extraclassoptions
Make ``'extraclassoptions'`` key of ``latex_elements`` public
2017-02-28 16:03:41 +01:00
Takeshi KOMIYA
dea2064dfc Update docstring to patches for table directives
table directives on docutils-0.13.1+ set source information to
caption node.  So these patch will be not necessary in feature
version of docutils.
https://sourceforge.net/p/docutils/patches/137/
2017-02-28 23:23:02 +09:00
jfbu
5b5398768c Make `'extraclassoptions' key of latex_elements` public 2017-02-28 12:43:36 +01:00
Yoshiki Shibukawa
229c5cfa3b Add warning messages for required EPUB3 metadata 2017-02-28 19:51:39 +09:00
jfbu
434a32d1c8 Remove unneeded `{}` in LaTeX transition code 2017-02-28 10:00:41 +01:00
jfbu
801ec86f66 Update a comment 2017-02-28 08:55:20 +01:00
jfbu
3e3d97ff9c fix test 2017-02-28 08:13:37 +01:00
jfbu
f282647e17 Update docs and CHANGES after PR#3429 2017-02-27 23:57:37 +01:00
jfbu
234be035c6 Fix longtable template after PR#3429 merge 2017-02-27 23:33:56 +01:00
Jean-François B
efc2d06e4f Merge pull request #3429 from jfbu/xelatexfontspecclash
deprecate config setting ``latex_keep_old_macro_names`` at 1.6
2017-02-27 22:31:01 +01:00
jfbu
9752525ed1 Make sure spaces have no stretchability in literal blocks (LaTeX)
For PDF via LaTeX PR #2304 (ac7d7b5) implemented wrapping of long code
lines in literal blocks and PR #3340 (8c21abe) extended this to parsed
literals. On this occasion the space was defined as a LaTeX macro,
depending on the used font, and as it allowed some potential uses it was
allowed for the space to obey the stretch and shrink as configured in
the used font. The default is to render using the mono font
(``\ttfamily``), hence a priori the stretchability and shrinkability are
anyhow zero. Non-zero stretch/shrink was left as a theoretical
possibility for special purposes; but although it may make sense to use
a "variable mono" for non-Python code, it is certainly not adequate for
things like verbatim grid tables...

The problem is that XeTeX does not set the TeX font parameters to zero
for OpenType fonts of Mono type, as is discussed there:
  http://tug.org/pipermail/xetex/2017-January/026956.html
and in particular applies to the Latin Modern OpenType font, which is
the default when loading fontspec package. Due to this problem there was
a LaTeX kernel patch update late January 2017 to forcefully set the
corresponding TeX font parameters to zero (indeed since 2017/01/01
release LaTeX uses OpenType fonts by default under XeTeX/LuaTeX
engines.) But this is only a specific kludge for handling the Latin
Modern Mono font. Other OpenType fonts of MonoSpace type may still show
the XeTeX issue.

To make things simple, this commit simply avoids ascribing to the space
the font stretch or shrink as set in the TeX font parameters. This will
alleviate problems with Monospace fonts with XeTeX and avoir user
reports that their literal-blocks are all wrong.

Existing documents are not affected. The possibility to use a variable
space mono font had not been documented.
2017-02-27 20:34:56 +01:00
Dmitry Shachnev
73cd4b038a Add tests for the previous two changes 2017-02-27 15:48:26 +03:00
Dmitry Shachnev
d534692a0e Make genindex support RTL languages
If a string starts with an RTL mark, simply skip it and use the following
character as the first letter.
2017-02-27 15:45:34 +03:00
Dmitry Shachnev
046abd0577 Make genindex support all kinds of letters, not only Latin ones
Without this i.e. all names starting with a Cyrillic letter are moved
into a Symbols section rather than being split into sections by letter.
2017-02-27 15:04:40 +03:00
jfbu
493c65a9ee Update CHANGES for PR#3466 2017-02-27 12:46:27 +01:00
Jean-François B
56d446cb42 Merge pull request #3466 from jfbu/lualatexsettings
same default settings for lualatex as for xelatex
2017-02-27 12:19:32 +01:00
Takeshi KOMIYA
c8bb907a41 Merge pull request #3473 from shibukawa/fix/epub_duplicated_nav_xhtml
epub has duplicated nav.xhtml link except first time
2017-02-27 10:35:26 +09:00
Yoshiki Shibukawa
b1808e7cd5 epub has duplicated nav.xhtml link except first time 2017-02-27 07:58:56 +09:00
jfbu
1c4112b9cc typo in CHANGES 2017-02-26 23:42:49 +01:00
jfbu
d4bf543e7e add missing space in a CHANGES entry 2017-02-26 23:41:37 +01:00
jfbu
465aad14a8 add missing backquote for a literal in a CHANGES entry 2017-02-26 23:36:27 +01:00
jfbu
b6eeb6e13e fix indentation in invocation.rst 2017-02-26 21:52:06 +01:00
jfbu
2543517894 fix bad indentation in CHANGES#L95 2017-02-26 20:09:26 +01:00
Alexander Shadchin
3ae73d06e6 Fix test depend 2017-02-27 00:14:36 +09:00
Takeshi KOMIYA
fa8130d233 Merge pull request #3467 from shadchin/shadchin-patch-1
Fix test depend
2017-02-26 23:49:06 +09:00
Takeshi KOMIYA
cfea9d18e9 Merge pull request #3468 from shibukawa/patch-1
Update CHANGES
2017-02-26 23:46:14 +09:00
Yoshiki Shibukawa
d7163f09ca Update CHANGES
Remove accidental line
2017-02-26 21:33:42 +09:00
Alexander Shadchin
992a795907 Fix test depend 2017-02-26 15:31:21 +03:00
jfbu
ff700ae606 again update LaTeX requirements documentation 2017-02-26 13:26:23 +01:00
jfbu
7f1b9c0e5b update docs about LaTeX builder with required TeX install version 2017-02-26 11:45:20 +01:00
jfbu
4aa2318185 Revert "update LaTeX doc about dependencies"
This reverts commit dbf960884d.
2017-02-26 11:34:18 +01:00
jfbu
c2d7b1dbdd add luatex travis requirement 2017-02-26 10:25:25 +01:00
jfbu
729fc40ed6 Update CHANGES for PR#3446 2017-02-26 09:24:42 +01:00
Jean-François B
8f2b460a93 Merge pull request #3446 from jfbu/latex-utf8x
Fix #3445: (latex) make ``\\usepackage[utf8x]{inputenc}`` usable
2017-02-26 09:21:04 +01:00
Jean-François B
d80012cc64 Merge pull request #3461 from jfbu/footnotehyper
sync with upstream footnotehyper-sphinx, stop loading footnote.sty
2017-02-26 09:17:55 +01:00
jfbu
afa1881b0b Merge branch 'stable' 2017-02-26 09:04:59 +01:00
Mike Fiedler
a0d39222a7 Update latex.rst
typo & extra word removal

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
2017-02-26 09:00:34 +01:00
Jean-François B
c11d60b6fd Merge pull request #3462 from miketheman/patch-1
Update latex.rst
2017-02-26 08:55:17 +01:00
Takeshi KOMIYA
496ff70f4a Merge branch 'stable' 2017-02-26 16:01:22 +09:00
Takeshi KOMIYA
5fc40108d9 Bump version 2017-02-26 15:57:01 +09:00
Takeshi KOMIYA
715eb45755 Bump to 1.5.3 final 2017-02-26 15:49:56 +09:00
Takeshi KOMIYA
75b9e4ea17 Update CHANGES 2017-02-26 15:48:32 +09:00
Takeshi KOMIYA
64041636d6 Merge pull request #3455 from shibukawa/fix-again/epub-nbsp-issue
Fix &nbsp is appeared in EPUB docs #3450 again
2017-02-26 15:46:33 +09:00
Takeshi KOMIYA
1d0083edc5 Fix #3421: Could not translate a caption of tables 2017-02-26 13:47:53 +09:00
Takeshi KOMIYA
3a67910cf4 Merge pull request #3423 from tk0miya/3421_translate_table_caption
Fix #3421: Could not translate a caption of tables
2017-02-26 13:43:45 +09:00
Takeshi KOMIYA
ece821e141 Merge branch 'master' into 3421_translate_table_caption 2017-02-26 13:43:36 +09:00