Commit Graph

42583 Commits

Author SHA1 Message Date
Scott Kostyshak
57fbd57ee0 unicodesymbols: force cp858 for DOUBLE LOW LINE
This fixes compilation of inputenc-cp858.lyx (assuming the system
iconv has corresponding support).

Thanks to Günter Milde.
2019-05-16 13:53:18 -04:00
Jean-Marc Lasgouttes
d933d72fa9 Search for python3 first, then python2 in autoconf
Python 3.x shall have priority over python 2.x. In 2.5.0dev, support
for python2 will be removed.

Now, we ignore all pythonx.y names, which are not relevant, and do not try
either the basic "python" name.
2019-05-16 18:36:41 +02:00
Günter Milde
65ec404eb3 Format incremented to 574: Ruby inset, fixes for Japanese.
New auxiliary functions for lyx2lyx:
del_module(), append_local_layout(), del_local_layout()
2019-05-16 13:48:07 +02:00
Günter Milde
e768f3632e New module for Ruby (furigana) text.
New fileversion and conversion routines will follow once tested.
2019-05-16 13:48:06 +02:00
Günter Milde
4af8d3cc88 Document conflict of Arab and Farsi with utf8x. 2019-05-16 13:48:06 +02:00
José Matos
82ee9794f9 Fix configure.py to work with python3 again (it continues to work with python2(.7)) 2019-05-16 09:27:12 +01:00
Jean-Marc Lasgouttes
26c2811cc4 Some Asian langagues allow to wrap text at any position
This is hardcoded for now for simplicity and to allow backporting to
2.3.

The behavior is unchanged for all languages but Chinese, Japanese or
Korean.

Fixes part of bug #10299.
2019-05-15 17:38:26 +02:00
Günter Milde
6aabcaf856 Fix #11062, new LaTeX feature "textschwa".
Following the suggestion in the Babel-Azerbaijani documentation,
we use the glyphs from the Cyrillic fonts for the Latin
text character. This fits better than IPA fonts (assuming there are matching
Latin and Cyrillic fonts specified) and also provides bold etc.
2019-05-14 20:08:39 +02:00
Günter Milde
06ae6e118c Fix small typo. 2019-05-14 16:39:35 +02:00
Günter Milde
228c969f29 Update author info. 2019-05-14 16:37:46 +02:00
Günter Milde
177ae5a358 Add comment (fixme) about #8479. 2019-05-14 15:31:41 +02:00
Günter Milde
b505bcbab5 ctest update. 2019-05-14 15:31:41 +02:00
Juergen Spitzmueller
3da25187a9 Prevent assert due to some odd role in older qt versions. 2019-05-14 14:05:46 +02:00
Jean-Marc Lasgouttes
6df593049c Revert "Try to compute row height like it should be done"
This is not done right at all. The best is to revert for now and
think about how to do it properly.

This reverts commit 66a3d64346.
2019-05-13 10:47:47 +02:00
Richard Kimberly Heck
051a1a56a9 Revert "GMO for BG"
This reverts commit 5b84f11f80.
2019-05-12 23:30:49 -04:00
Richard Kimberly Heck
5b84f11f80 GMO for BG 2019-05-12 23:30:13 -04:00
Richard Kimberly Heck
15b90e4cc1 Rename for clarity. 2019-05-12 23:16:25 -04:00
Juergen Spitzmueller
af4af35853 Micro-tweak
The bullet form is relevant for the display in the About dialog.
2019-05-12 13:40:09 +02:00
Enrico Forestieri
0a6ca7415d Update it.po 2019-05-12 10:43:27 +02:00
Juergen Spitzmueller
1e519d1115 de.po 2019-05-12 09:31:09 +02:00
Juergen Spitzmueller
6a1d8ef917 Doc updates 2019-05-12 09:26:53 +02:00
Juergen Spitzmueller
682eabbe8e GuiDocument: Further encoding GUI improvement
Move the odd "(no inputenc)" option out of the encoding list.
2019-05-12 09:10:24 +02:00
Jean-Marc Lasgouttes
175711046d Newly created inline math is not numbered
The bad initialisation created phantom entries in equation ToC

Fixes bug #11423.
2019-05-11 23:18:10 +02:00
Juergen Spitzmueller
d93d65e688 UserGuide: update encoding documentation 2019-05-11 20:09:51 +02:00
Juergen Spitzmueller
76e1cf6bb6 de.po 2019-05-11 19:08:36 +02:00
Juergen Spitzmueller
e94239e973 Correct entry string 2019-05-11 19:04:36 +02:00
Juergen Spitzmueller
62085642bc Fix indentation 2019-05-11 18:59:42 +02:00
Juergen Spitzmueller
79feeb0c03 Micro-typographic fix 2019-05-11 12:17:09 +02:00
Juergen Spitzmueller
83a62a6d74 Further encoding GUI improvements 2019-05-11 12:16:52 +02:00
Juergen Spitzmueller
e020a5f341 de.po 2019-05-11 12:16:18 +02:00
Juergen Spitzmueller
99dc00b168 RELEASE-NOTES: document encoding defaults change 2019-05-11 11:28:53 +02:00
Juergen Spitzmueller
a6116428c0 GuiDocument: Adapt to new encoding default
Also simplify the code.
2019-05-11 11:28:21 +02:00
Günter Milde
4aa073c6f6 Update sample document.
After [56a14c3fde/lyxgit], the
language-nesting workaround with dummy notes is no longer needed.
2019-05-10 16:28:34 +02:00
Günter Milde
f8fd7252a5 Fix/update inpuencoding / unicodesymbols ctests. 2019-05-10 16:21:59 +02:00
Jean-Marc Lasgouttes
4cbf8c2f9d add unicode descriptions to InsetSpecialChar code 2019-05-10 14:29:24 +02:00
Jean-Marc Lasgouttes
3a7346b0cb Fixup 12fcaf86: use correct font for metrics of logos 2019-05-10 12:29:23 +02:00
Jean-Marc Lasgouttes
c3f10df95d Move the stateText code for FontInfo to FontInfo class.
The first parameter of Font::stateText is now optional.
2019-05-10 10:45:40 +02:00
Enrico Forestieri
56a14c3fde Refined fix for #9633
A branch inset modifies the layout of the internal structures in
which the text is organized. When a branch is active, it is as if it
was not there, but its only presence makes a paragraph which would not
be the last one to actually be the last one, or the check for the
language of the previous paragraph to fail because there is no
previous paragraph before the first one in a branch inset.
Oney way I found to tackle it, is tracking whether the typesetted
paragraphs are actually part of an active branch inset and acting
accordingly.
2019-05-10 08:09:26 +02:00
Günter Milde
6319b0c303 Do not default/fall back to input encoding setting "auto-legacy".
Use "utf8" instead. "utf8" works now with all supported languages.
2019-05-09 21:57:05 +02:00
Günter Milde
a6c2ae4be8 Update documentation for Japanese with other languages. 2019-05-09 21:56:16 +02:00
Günter Milde
32a17dc965 Fix error with arabic and KOMA-article (as well as other article-like classes). 2019-05-09 21:41:48 +02:00
Günter Milde
db83537e06 unicodesymbols: Remove no longer required "force" flags. Fixes #10620. 2019-05-09 16:53:11 +02:00
Günter Milde
40240ef6a0 Improve error message and ctests for input encoding cp858.
Encoding cp858 supported by only some iconv variants.
Most users will want to change their "encoding" setting instead
of installing/recompiling "iconv" to support this legacy encoding.

ctests are likely will fail with either "vanilla" or "enhanced"
iconv and test a situation that is unlikely to change generally,
so we ignore this test now by default.
2019-05-09 09:28:37 +02:00
Günter Milde
cb3e79f9a0 Use utf8 as inputenc for documentation, examples, and templates. 2019-05-08 21:29:01 +02:00
Günter Milde
c34624e28b ctests: ignore mathmacro and tabletemplate tests with XeTeX and TeX-fonts.
Adding these tests rule to ignore this combination
(which is known to fail if inputenc = auto-legacy).
2019-05-08 12:15:14 +02:00
Günter Milde
df1f0d82a2 ctests: dedicated tests for languages supported by polyglossia/babel 2019-05-08 12:07:20 +02:00
Günter Milde
af9838fd32 Fix spurious \end{CJK} in LaTeX output. 2019-05-07 23:37:30 +02:00
Günter Milde
46119b3564 Make Japanese documentation more robust.
The locally defined Ruby (furigana) inset now
works also with non-TeX fonts.
2019-05-07 16:16:35 +02:00
Juergen Spitzmueller
6a4199ed23 Enable optional \cite* arguments in biblatex-natbib 2019-05-07 14:48:39 +02:00
Jean-Marc Lasgouttes
12fcaf8652 Compute metrics of *TeX* logos using draw and a null painter
Instead of writing a metrics() method that mimics what draw() does,
re-use the draw code with a null painter.

This has the additional benefit of fixing InsetSpecialChar logo width
with EB Garamond. I have to admit that I do not know why it was too
large with the old code, but the new code is shorter/better anyway.

This code removes logowidth(). metrics() is moved to a different
place, but only the logo cases are touched.
2019-05-07 10:53:02 +02:00