]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Thu, 18 Apr 2019 14:27:22 +0000 (16:27 +0200)]
Amend
3615a6a75bfe7b
Natbib provides separation of abbreviated and full author list also
beyond BibTeX
Jean-Marc Lasgouttes [Thu, 18 Apr 2019 09:53:36 +0000 (11:53 +0200)]
Do not redefine a stripped-down LyXRC object.
I am not sure why it was done this way, but it is not really necessary.
Moreover gcc LTO does not like it.
Günter Milde [Thu, 18 Apr 2019 13:31:38 +0000 (15:31 +0200)]
unicodesymbols: use less force for utf8
since we auto-load "textcomp" now also for encodable characters,
we no longer need to force conversions defined in ts1enc.dfu.
FIXME: this is currently not working as intended, because
exclusion (force != ...) seems to fail with a list of encodings
and the characters are nevertheless force-converted.
Günter Milde [Thu, 18 Apr 2019 13:20:06 +0000 (15:20 +0200)]
Don't force encoding switch for Japanese "listings" auto-strings.
listings copes with variable-width encodings under platex.
Kornel Benko [Thu, 18 Apr 2019 13:07:30 +0000 (15:07 +0200)]
Amend [
f2029fb3 /lyxgit]
Omitting acces to invalid index
Kornel Benko [Thu, 18 Apr 2019 12:54:35 +0000 (14:54 +0200)]
Add Notion entry to paragraph-select function
Thanks Pavel
Juergen Spitzmueller [Thu, 18 Apr 2019 12:51:10 +0000 (14:51 +0200)]
Fix doxygen comment
Juergen Spitzmueller [Thu, 18 Apr 2019 12:48:01 +0000 (14:48 +0200)]
Make usage of natbib without BibTeX more obvious
Fixes: #5549
Pavel Sanda [Thu, 18 Apr 2019 12:28:54 +0000 (14:28 +0200)]
unintended part of previous commit
Pavel Sanda [Thu, 18 Apr 2019 12:26:06 +0000 (14:26 +0200)]
* layouttranslations - big bg update from Veso.
Pavel Sanda [Thu, 18 Apr 2019 12:16:27 +0000 (14:16 +0200)]
* layouttranslations - sk updates.
Kornel I hope this was your intention (looks correct to me).
Pavel Sanda [Thu, 18 Apr 2019 12:00:00 +0000 (14:00 +0200)]
Module categories: join math related stuff
Juergen Spitzmueller [Thu, 18 Apr 2019 09:44:10 +0000 (11:44 +0200)]
bg.po: more updates from Veso
Juergen Spitzmueller [Thu, 18 Apr 2019 09:40:56 +0000 (11:40 +0200)]
bump layout formats
Juergen Spitzmueller [Thu, 18 Apr 2019 09:35:03 +0000 (11:35 +0200)]
Add NewlineCmd InsetLayout and Argument option
This allows to specific an alternative macro for newlines
Fixes: #10407
Juergen Spitzmueller [Thu, 18 Apr 2019 08:27:19 +0000 (10:27 +0200)]
Add MenuString to InsetLayout
Fixes: #8818
Enrico Forestieri [Wed, 17 Apr 2019 16:08:46 +0000 (18:08 +0200)]
Amend [
f2029fb3 /lyxgit]
The fix for #11552 was reintroducing #9348. This commit makes sure
it stays fixed.
Enrico Forestieri [Wed, 17 Apr 2019 14:03:13 +0000 (16:03 +0200)]
Fix bug #11552
Do not insert a brace inset when we know that LyX wrote the braces.
This commit amends [
503f7db2 /lyxgit].
Günter Milde [Wed, 17 Apr 2019 11:36:50 +0000 (13:36 +0200)]
ctest fixes.
Kornel Benko [Wed, 17 Apr 2019 06:08:58 +0000 (08:08 +0200)]
RELEASE-NOTES update
Kornel Benko [Wed, 17 Apr 2019 05:40:31 +0000 (07:40 +0200)]
Don't switch encodings if in search modus
Günter Milde [Tue, 16 Apr 2019 20:05:58 +0000 (22:05 +0200)]
language support update (tests and workaround for Thai).
Günter Milde [Tue, 16 Apr 2019 18:17:32 +0000 (20:17 +0200)]
Rename legacy input encoding settings.
Format incremented to 573
Kornel Benko [Tue, 16 Apr 2019 17:50:31 +0000 (19:50 +0200)]
Select the whole paragraph with tripple-left-click
Fixes #9175
Also added new function: paragraph-select.
Jean-Marc Lasgouttes [Tue, 16 Apr 2019 14:04:12 +0000 (16:04 +0200)]
Revert "Make math autocorrrect work with more than 2 chars"
This reverts commit
144e7d715938af7cadd9073f4afc30f3744a226a .
Jean-Marc Lasgouttes [Tue, 16 Apr 2019 14:03:57 +0000 (16:03 +0200)]
Revert "Allow to undo partly math autocorrect"
This reverts commit
f7a11ca7115064710b98bedc64d724ca15362527 .
Jean-Marc Lasgouttes [Tue, 16 Apr 2019 13:58:51 +0000 (15:58 +0200)]
Rewrite the code that sets caret height in mathed
Instead of remembering the caret ascent and descent for the cell that contains the cursor, the new code remembers caret dimension for each MathRow object. This makes the code much less fragile (ans slightly smaller).
This fixes caret size issues when the Update::SinglePar flag is active.
Fixes bug #11541.
Jean-Marc Lasgouttes [Mon, 15 Apr 2019 09:12:25 +0000 (11:12 +0200)]
Allow to undo partly math autocorrect
To this end, introduce Undo::splitUndoGroup, which ends currently
group and creates a new one with same nesting level.
Isaac [Tue, 9 Apr 2019 01:48:46 +0000 (13:48 +1200)]
Make math autocorrrect work with more than 2 chars
Enrico Forestieri [Mon, 15 Apr 2019 18:56:52 +0000 (20:56 +0200)]
Properly fix #9616
Now all symbols in the unicodesymbols file having a mathcommand
are not wrapped in a \text inset anymore.
Enrico Forestieri [Mon, 15 Apr 2019 17:26:53 +0000 (19:26 +0200)]
Revert "Correctly classify arrows as math symbols"
This reverts commit
c56adfc8ec633145703111d6cce8831e7995e1ca .
I am reverting this because LyX uses an italic font for representing
mathalpha symbols and it is funny when a vertical arrow looks like
a leaning tower.
Enrico Forestieri [Mon, 15 Apr 2019 16:23:45 +0000 (18:23 +0200)]
Correctly classify arrows as math symbols
The unicodesymbols file should be audited in order to add the
mathalpha flag to all symbols having a math representation.
If the flag is missing, when pasting in mathed a given symbol
with a math definition, one gets \text{\ensuremath{\symbname}}
because LyX assumes that the symbol is a textmode one by default.
jpc [Mon, 15 Apr 2019 15:28:33 +0000 (17:28 +0200)]
Update fr.po : translations of new strings, shortcuts untested
Juergen Spitzmueller [Mon, 15 Apr 2019 10:15:23 +0000 (12:15 +0200)]
bg.po: fix escaping
Juergen Spitzmueller [Mon, 15 Apr 2019 10:01:32 +0000 (12:01 +0200)]
credits: add Veselin and update Sergei Winitzki's entry.
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