]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Mon, 15 Apr 2019 09:55:46 +0000 (11:55 +0200)]
Listings: language updates
Patch by Sergei Winitzki
Juergen Spitzmueller [Mon, 15 Apr 2019 09:46:20 +0000 (11:46 +0200)]
bg.po: rebase
Juergen Spitzmueller [Mon, 15 Apr 2019 09:37:56 +0000 (11:37 +0200)]
Bulgarian po update by Veso
Note that this is still under the 50% treshold, so it's not active yet.
Günter Milde [Sat, 13 Apr 2019 15:55:38 +0000 (17:55 +0200)]
ctests: fix some test failures reported by Kornel.
Günter Milde [Fri, 12 Apr 2019 16:34:06 +0000 (18:34 +0200)]
Document languages with new polyglossia support.
Günter Milde [Fri, 12 Apr 2019 16:06:43 +0000 (18:06 +0200)]
ctests: update tagging rules
Don't generally ignore Japanese documents with non-TeX fonts,
as some of them compile.
Günter Milde [Fri, 12 Apr 2019 15:57:46 +0000 (17:57 +0200)]
Set non-TeX fonts supporting Japanese in Japanese documents.
Günter Milde [Fri, 12 Apr 2019 09:46:21 +0000 (11:46 +0200)]
Update language support documentation and comments.
Günter Milde [Fri, 12 Apr 2019 08:03:44 +0000 (10:03 +0200)]
ctest update: Japanese documents (should) work with non-TeX fonts.
* do not ignore Japanese (platex) with system fonts.
* CJK can be used with XeTeX and TeX-fonts if the input encoding is utf8.
do not ignore.
* TODO: set non-TeX fonts and uninvert where possible.
Günter Milde [Fri, 12 Apr 2019 07:59:15 +0000 (09:59 +0200)]
Japanese (platex) works fine with fontenc.
While not required for hyphenation, using T1 as default font encoding
helps with text in Latin script (pre-composed accented characters,
Nordic letters "eth" and "thorn").
Günter Milde [Thu, 11 Apr 2019 16:19:44 +0000 (18:19 +0200)]
Do not switch the input encoding inside documents using platex.
Fixes wrong and missing characters in text parts in other languages
(platex does not support "inputenc").
Fixes compilation errors due to desynchronized encoding switches.
Günter Milde [Thu, 11 Apr 2019 16:24:12 +0000 (18:24 +0200)]
platex input encodings: move handling of some "force" exceptions to unicodesymbols.
Günter Milde [Thu, 11 Apr 2019 11:37:39 +0000 (13:37 +0200)]
ctests: update ignoredTests patterns and comments.
Kornel Benko [Fri, 12 Apr 2019 11:37:00 +0000 (13:37 +0200)]
Ctests: Invert some Spanish tests using non-ascii in references
These tests fail at the combination luatex + tex fonts.
Günter Milde [Wed, 10 Apr 2019 22:31:48 +0000 (00:31 +0200)]
platex fixes.
* Force unicodesymbols conversion for all *-platex input encodings,
* except some characters that work well in utf8.
* Use platex if document language is "japanese" and input encoding is "utf8".
Günter Milde [Wed, 10 Apr 2019 19:02:10 +0000 (21:02 +0200)]
ctest: update tagging scripts.
Günter Milde [Wed, 10 Apr 2019 14:05:46 +0000 (16:05 +0200)]
Force unicodesymbols conversion with uf8-platex.
Fixes Japanese (platex) documents with text parts in other languages.
Günter Milde [Wed, 10 Apr 2019 13:59:17 +0000 (15:59 +0200)]
Typographical corrections.
Günter Milde [Wed, 10 Apr 2019 13:57:23 +0000 (15:57 +0200)]
ctest: update/fix tag rules.
Günter Milde [Wed, 10 Apr 2019 11:22:51 +0000 (13:22 +0200)]
Use LatinRoman for Latin text parts in Japanese documentation.
Günter Milde [Tue, 9 Apr 2019 20:52:31 +0000 (22:52 +0200)]
unicodesymbols: support Thai characters.
Also update the ctests.
Günter Milde [Tue, 9 Apr 2019 15:13:44 +0000 (17:13 +0200)]
Improve and document use of Thai language.
Jean-Marc Lasgouttes [Tue, 9 Apr 2019 09:29:20 +0000 (11:29 +0200)]
Fix bold-like characters when selecting bidi text
In painter, restrting paining regions does not really work when region is empty.
Fixes bug #11198.
Günter Milde [Mon, 8 Apr 2019 20:08:49 +0000 (22:08 +0200)]
ctests: update names of included files in input encoding samples for Xe/LuaTeX.
Kornel Benko [Mon, 8 Apr 2019 14:39:50 +0000 (16:39 +0200)]
Cmake export tests: Do not compile Minted files converted to lyx22 format
Kornel Benko [Mon, 8 Apr 2019 09:44:53 +0000 (11:44 +0200)]
Amend
e55ed79d : Extend handling of Noto fonts
Also renamed
known_roman_fonts -> known_roman_font_packages
known_sans_fonts -> known_sans_font_packages
known_typewriter_fonts -> known_typewriter_font_packages
known_math_fonts -> known_math_font_packages
Kornel Benko [Sun, 7 Apr 2019 19:09:56 +0000 (21:09 +0200)]
Cmake tests: Converted to new format, to insert \use_non_tex_fonts variable set
Juergen Spitzmueller [Sun, 7 Apr 2019 11:57:41 +0000 (13:57 +0200)]
Do not attempt to show module info for category headers
Kornel Benko [Sun, 7 Apr 2019 11:48:55 +0000 (13:48 +0200)]
Update sk.po
Kornel Benko [Sun, 7 Apr 2019 11:47:45 +0000 (13:47 +0200)]
Adapt tex2lyx to the noto fonts extension
Kornel Benko [Sun, 7 Apr 2019 11:30:31 +0000 (13:30 +0200)]
Update tex2lyx tests due to format change
Juergen Spitzmueller [Sun, 7 Apr 2019 10:10:03 +0000 (12:10 +0200)]
tabular-style-insert: add rows also for 1x and 2x tables
Fixes: #11537
Juergen Spitzmueller [Sun, 7 Apr 2019 09:41:29 +0000 (11:41 +0200)]
de.po
Juergen Spitzmueller [Sun, 7 Apr 2019 09:23:19 +0000 (11:23 +0200)]
GuiDocument: Sort available modules by category
Also improve display of module information
Juergen Spitzmueller [Sun, 7 Apr 2019 09:21:21 +0000 (11:21 +0200)]
Module re-categorization, part 2
Re-categorize remaining modules
Improve categorization
Give some modules a more descriptive name.
Kornel Benko [Sun, 7 Apr 2019 09:05:42 +0000 (11:05 +0200)]
Extend handling of Noto fonts
Added the possibility to use options Regular, Medium, Thin, Light, Extralight
Scott Kostyshak [Sun, 7 Apr 2019 05:59:46 +0000 (01:59 -0400)]
ctests: adapt regex for "Obsolete/Latex8_.*"
Günter Milde [Sat, 6 Apr 2019 16:21:00 +0000 (18:21 +0200)]
Do not change input encoding globally for Kazakh language.
The global change
* is no longer required since the last fixes to the "textcyrillic" feature,
* is wrong for documents with only parts in Kazakh.
Günter Milde [Sat, 6 Apr 2019 16:19:07 +0000 (18:19 +0200)]
update lib/languages
* add workarounds for problematic definitions in Albanian and Lithuanian
* Babel-Serbian is fixed since version 3.0 (2019-01-12).
Günter Milde [Sat, 6 Apr 2019 16:08:30 +0000 (18:08 +0200)]
ctests: examples/uk/Welcome.lyx still fails with XeTeX on TeXLive19.
Tenacious bug in babel-ukrainian:
The date-string uses literal unicode characters (not present in TeX-fonts)
that somehow bypass inputenc's utf8 decoding.
Juergen Spitzmueller [Fri, 5 Apr 2019 15:53:41 +0000 (17:53 +0200)]
Fix crash in GuiBibtex
Günter Milde [Fri, 5 Apr 2019 14:14:58 +0000 (16:14 +0200)]
Amend
6def81f30ff4f73 . Never switch encodings with XeTeX or LuaTeX.
Juergen Spitzmueller [Fri, 5 Apr 2019 09:52:37 +0000 (11:52 +0200)]
GuiDocument: Add filter to modules selection
Sorting by category is needs more work, since the GuiIdListModel is
not suitable for trees.
Juergen Spitzmueller [Fri, 5 Apr 2019 09:47:59 +0000 (11:47 +0200)]
Resolve some implicit conversion warnings.
Günter Milde [Fri, 5 Apr 2019 07:15:24 +0000 (09:15 +0200)]
AASTeX layout: Normalize layout name of \thebibliography.
Allows easy sharing of reference entries between documents
using different classes or switching document classes.
Kornel Benko [Thu, 4 Apr 2019 18:23:15 +0000 (20:23 +0200)]
Update sk.po
Juergen Spitzmueller [Thu, 4 Apr 2019 16:43:29 +0000 (18:43 +0200)]
Make module categories (almost) great again
The category tag was rarely used and thus not very useful. This adds
categorization to most modules (the rest will follow) and uses the
\DeclareCategory tag we use in layouts rather than the extra syntax
we used in modules. Categories are now added to the po files and
translated.
Note that this is work in progress: the current categories are still
subject to change.
The ultimate goal of this is to sort the modules in the GUI by category
as we do with layouts, examples and templates (and add a filter to search
for specific modules)
As it is now (with the many modules we accumulated), the module selector
is not really usable anymore. If you don't happen to know how exactly a
module is named, selecting a module is really a PITA.
Daniel Ramoeller [Thu, 4 Apr 2019 15:01:56 +0000 (17:01 +0200)]
Fix for Mac Command-0 zoom-buffer binding
Amends fix to #10455
Daniel Ramoeller [Thu, 4 Apr 2019 14:51:39 +0000 (16:51 +0200)]
Fix for #11476: Icons have spurious squares
Juergen Spitzmueller [Thu, 4 Apr 2019 14:39:20 +0000 (16:39 +0200)]
Prevent multiplication of preamble code
Fixes rest of #8229
Juergen Spitzmueller [Thu, 4 Apr 2019 13:46:49 +0000 (15:46 +0200)]
tex2lyx: improve module support
The current heuristics only considered modules with styles that defined
a searched command in their preamble, and only for commands/environments
that were defined in the document's preamble. This limited the module
support drastically.
The new heuristics also checks for commands coming from packages. If the
command is not (re-)defined in the document preamble, it checks modules
that provide a style with a matching LaTeXName, checks for their
requirements and matches those with the packages loaded by the document.
If no module provides a searched style, but we found modules that load
packages that are loaded in the imported tex file, and if those packages
are not auto-loaded by LyX anyway, we also load this module.
fixes: #11259, part of #8229
Juergen Spitzmueller [Thu, 4 Apr 2019 07:33:53 +0000 (09:33 +0200)]
update tex2lyx tests
\cmidrule(lr) now natively imported.
Juergen Spitzmueller [Thu, 4 Apr 2019 07:33:36 +0000 (09:33 +0200)]
tex2lyx: support for cmidrule trimming
Juergen Spitzmueller [Thu, 4 Apr 2019 06:24:51 +0000 (08:24 +0200)]
Update tex2lyx tests
Juergen Spitzmueller [Thu, 4 Apr 2019 06:24:25 +0000 (08:24 +0200)]
Disable TABLUAR_STYLE_INSERT with TABULAR_INSERT
Juergen Spitzmueller [Thu, 4 Apr 2019 06:23:27 +0000 (08:23 +0200)]
Initialize TabularCreate dialog enabled.
As pointed out in #10105.
Kornel Benko [Thu, 4 Apr 2019 05:59:05 +0000 (07:59 +0200)]
Fixed \origin
Next amend of
d3ec77c6 : Reorganize templates and example folders
Kornel Benko [Wed, 3 Apr 2019 21:45:31 +0000 (23:45 +0200)]
Fix a path
Next amend of
d3ec77c6 : Reorganize templates and example folders
Kornel Benko [Wed, 3 Apr 2019 16:46:28 +0000 (18:46 +0200)]
Update sk.po
Juergen Spitzmueller [Wed, 3 Apr 2019 16:17:40 +0000 (18:17 +0200)]
Some doc updates
Juergen Spitzmueller [Wed, 3 Apr 2019 15:58:20 +0000 (17:58 +0200)]
Improve error message
* Take preceding line break out of the l10n range. This is bound to get
lost in translation
* Display encoding names that people actually find in the GUI
Juergen Spitzmueller [Wed, 3 Apr 2019 15:57:38 +0000 (17:57 +0200)]
de.po
Juergen Spitzmueller [Wed, 3 Apr 2019 15:32:46 +0000 (17:32 +0200)]
Add formal table templates with and without footlines
See discussion in #10105
Juergen Spitzmueller [Wed, 3 Apr 2019 15:18:21 +0000 (17:18 +0200)]
booktabs trimming: fix some thinkos
Juergen Spitzmueller [Wed, 3 Apr 2019 14:35:08 +0000 (16:35 +0200)]
Fix cmidline trimming with multicolumns
Günter Milde [Sat, 16 Mar 2019 11:43:50 +0000 (12:43 +0100)]
Fix #10600: XeTeX with 8-bit TeX fonts requires input encodings "utf8" or "ascii".
* New: support also utf8 (working around false positive test in "inputenc.sty").
* Do not force the change of input encoding to "ascii".
Deny compilation with XeTeX if a document uses TeX fonts and a non-supported input encoding.
Juergen Spitzmueller [Wed, 3 Apr 2019 13:16:27 +0000 (15:16 +0200)]
Update (formal) table documentation
Jean-Marc Lasgouttes [Wed, 3 Apr 2019 10:13:13 +0000 (12:13 +0200)]
Fixup
283ac91a : Forgotten test for null pointer
Jean-Marc Lasgouttes [Wed, 3 Apr 2019 10:03:24 +0000 (12:03 +0200)]
Document itemize bullets
Make the unicode value explicit as we do elsewhere.
Also change the value used for labeliv, since the current one may be
square with some fonts.
Jean-Marc Lasgouttes [Wed, 3 Apr 2019 09:06:43 +0000 (11:06 +0200)]
Put end label on own row after display inset
This corresponds to what is done on display. The same should be done
for start label too (e.g. beginning of a proof), but this requires more
work.
This required to move the static function getEndLabel to Text.
Fixes bug #11536.
Günter Milde [Wed, 3 Apr 2019 06:40:29 +0000 (08:40 +0200)]
Remove obsolete comment.
Günter Milde [Wed, 3 Apr 2019 06:36:46 +0000 (08:36 +0200)]
ctest fixes.
Hebrew with "nikud" requires HE8 font encoding.
All tests requiring Hebrew 8-bit fonts are "nonstandard".
Juergen Spitzmueller [Wed, 3 Apr 2019 05:59:52 +0000 (07:59 +0200)]
booktabs: support for \cmidrule trimming
This has probably still some rough edges, so please test thoroughly.
Fixes: #3072
Günter Milde [Tue, 2 Apr 2019 14:38:52 +0000 (16:38 +0200)]
ctest update.
* some Japanese (platex) documents fail with inputenc "utf8-platex"
(missing characters in non-Japanese text parts), because the
Unicodechar definitions from "inputenc" are not used.
* some Japanes (platex) documents show wrong output with "auto",
because platex ignores the encoding switch for text parts
in other languages.
* Japanese Beamer documents must set default output to "pdf",
because dvipdfm(x) produces wrong output with document class "Beamer".
* update tagging/inverting rules.
* use HE8 font encoding for Hebrew in language test.
Günter Milde [Tue, 2 Apr 2019 13:46:50 +0000 (15:46 +0200)]
Ignore CJK-tests with Xe/LuaTeX and tex fonts.
The CJK package does not support this combination...
Jean-Marc Lasgouttes [Tue, 2 Apr 2019 12:30:50 +0000 (14:30 +0200)]
Fixup
ad79ac40 : reintroduce markers around delimiters
The reasoning behind this change was not correct.
Fixes bug #11516.
Günter Milde [Tue, 2 Apr 2019 11:13:13 +0000 (13:13 +0200)]
Do not force the use of the HE8 font encoding for Hebrew.
While HE8 provides more characters and prevents use of bitmap fonts,
forcing its use may break older installations.
The dedicated test file 012_hebrew_he_HE8.lyx provides an
example for use of HE8 encoded fonts with babel-hebrew.
Jean-Marc Lasgouttes [Tue, 2 Apr 2019 07:53:40 +0000 (09:53 +0200)]
Pass a pit to Text::isRTL(), not a paragraph
Günter Milde [Mon, 1 Apr 2019 17:10:06 +0000 (19:10 +0200)]
unicodesymbols: add Hebrew nikud symbols and presentation forms.
The "nikud" (vowel) signs, shindot, and shindot are combining Unicode
characters. However, LaTeX-Hebrew expects them as postfix characters, not
accent macros (cf. www.cs.tau.ac.il/~stoledo/Bib/Pubs/vowels.pdf).
Juergen Spitzmueller [Mon, 1 Apr 2019 11:04:05 +0000 (13:04 +0200)]
Remove TODO entry
This is covered in the "Consider layouts in modules that do not have a
preamble definition" general TODO item.
Kornel Benko [Mon, 1 Apr 2019 09:39:20 +0000 (11:39 +0200)]
Update sk.po
Juergen Spitzmueller [Mon, 1 Apr 2019 09:28:54 +0000 (11:28 +0200)]
Fix tooltip.
Thanks, Kornel.
Juergen Spitzmueller [Mon, 1 Apr 2019 07:27:12 +0000 (09:27 +0200)]
reset.formal-default: no need to fiddle with left/right lines at all.
Juergen Spitzmueller [Mon, 1 Apr 2019 07:26:09 +0000 (09:26 +0200)]
Fix left/right border UI when toggling formal
Fixes: #9835
Juergen Spitzmueller [Mon, 1 Apr 2019 07:18:16 +0000 (09:18 +0200)]
Remove Qt 5.12-only colorrole
Designer inserts those automatically. So we have again backwards-incompatible
designer behavior :-(
Juergen Spitzmueller [Mon, 1 Apr 2019 05:35:31 +0000 (07:35 +0200)]
de.po
Juergen Spitzmueller [Mon, 1 Apr 2019 05:08:13 +0000 (07:08 +0200)]
Add option to reset to default booktabs lines
Addresses: #10106
Juergen Spitzmueller [Mon, 1 Apr 2019 03:43:32 +0000 (05:43 +0200)]
Fix booktabs bottom line with multirows
Fixes: #11445
Kornel Benko [Sun, 31 Mar 2019 16:06:40 +0000 (18:06 +0200)]
Cmake export tests: Set \origin also for unavailable
This is important for lyx-files not under the lyxsystemdir.
Since the exports are done from a copied lyx-file, some referenced data
may be available only relative to the source of the original.
Juergen Spitzmueller [Sun, 31 Mar 2019 15:52:31 +0000 (17:52 +0200)]
Add listpreamble tex2lyx test
Enrico Forestieri [Sun, 31 Mar 2019 13:14:28 +0000 (15:14 +0200)]
Fix bug #11528
The code was not doing what said in the description.
Juergen Spitzmueller [Sun, 31 Mar 2019 12:30:55 +0000 (14:30 +0200)]
fix typo in comment
Juergen Spitzmueller [Sun, 31 Mar 2019 12:27:56 +0000 (14:27 +0200)]
tex2lyx: support for list preambles
Kornel Benko [Sun, 31 Mar 2019 09:34:14 +0000 (11:34 +0200)]
Cmake export tests: Use absolute paths for subfiles inside the source dir
The testfile is inside the build dir, so no relative path to the source dir
should be alloved.
Kornel Benko [Sun, 31 Mar 2019 09:00:02 +0000 (11:00 +0200)]
Amend
0b295819 : Fix some non-accessible URLS
Thanks Jürgen
Kornel Benko [Sat, 30 Mar 2019 23:52:04 +0000 (00:52 +0100)]
Amend
99eeb29e : tex2lyx test: make box-color-*.tex sample compilable
Kornel Benko [Sat, 30 Mar 2019 23:15:52 +0000 (00:15 +0100)]
Fix some non-accessible URLS
Also don't check attic, devel or obsolete files
Not found good replacements for
http://texcatalogue.ctan.org/bytopic.html
http://www.tiresias.org/research/reports/braille_cell.htm
Juergen Spitzmueller [Sat, 30 Mar 2019 11:46:05 +0000 (12:46 +0100)]
Add missing files to Makefile.am
Another fixup of
ffc682424efb065 .
Alas, make distcheck still fails.
Kornel Benko [Sat, 30 Mar 2019 11:01:16 +0000 (12:01 +0100)]
Cmate tests: Use absolute values for systemlyxdir
This omits use of relative path for the \origin variable
inside the test-build-dir.
Juergen Spitzmueller [Sat, 30 Mar 2019 11:03:42 +0000 (12:03 +0100)]
de.po