Günter Milde
02e7bb80d3
Force unicodesymbols conversion with uf8-platex.
...
Fixes Japanese (platex) documents with text parts in other languages.
2019-04-10 16:08:43 +02:00
Günter Milde
6fd263122d
Typographical corrections.
2019-04-10 15:59:17 +02:00
Jean-Marc Lasgouttes
f9da28428a
Fix bold-like characters when selecting bidi text
...
In painter, restrting paining regions does not really work when region is empty.
Fixes bug #11198 .
2019-04-09 11:32:22 +02:00
Kornel Benko
3f9cdc7c63
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
2019-04-08 11:44:53 +02:00
Juergen Spitzmueller
dfde45a01a
Do not attempt to show module info for category headers
2019-04-07 13:57:41 +02:00
Kornel Benko
6fc7739053
Adapt tex2lyx to the noto fonts extension
2019-04-07 13:47:45 +02:00
Kornel Benko
35ac73a425
Update tex2lyx tests due to format change
2019-04-07 13:30:31 +02:00
Juergen Spitzmueller
6482ddee30
tabular-style-insert: add rows also for 1x and 2x tables
...
Fixes : #11537
2019-04-07 12:10:03 +02:00
Juergen Spitzmueller
823263904f
GuiDocument: Sort available modules by category
...
Also improve display of module information
2019-04-07 11:23:19 +02:00
Kornel Benko
e55ed79da9
Extend handling of Noto fonts
...
Added the possibility to use options Regular, Medium, Thin, Light, Extralight
2019-04-07 11:05:42 +02:00
Juergen Spitzmueller
6fef1cec1f
Fix crash in GuiBibtex
2019-04-05 17:53:41 +02:00
Günter Milde
2183978f1a
Amend 6def81f30ff4f73. Never switch encodings with XeTeX or LuaTeX.
2019-04-05 16:14:58 +02:00
Juergen Spitzmueller
38fbbf07cd
GuiDocument: Add filter to modules selection
...
Sorting by category is needs more work, since the GuiIdListModel is
not suitable for trees.
2019-04-05 11:54:44 +02:00
Juergen Spitzmueller
fa79ff2db2
Resolve some implicit conversion warnings.
2019-04-05 11:54:44 +02:00
Juergen Spitzmueller
b5af05b4a7
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.
2019-04-04 18:43:29 +02:00
Juergen Spitzmueller
f51fa38123
Prevent multiplication of preamble code
...
Fixes rest of #8229
2019-04-04 16:39:20 +02:00
Juergen Spitzmueller
0b54650f0e
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
2019-04-04 16:01:07 +02:00
Juergen Spitzmueller
a5e89c842f
update tex2lyx tests
...
\cmidrule(lr) now natively imported.
2019-04-04 09:33:53 +02:00
Juergen Spitzmueller
171e251189
tex2lyx: support for cmidrule trimming
2019-04-04 09:33:36 +02:00
Juergen Spitzmueller
7f24e3ad4f
Update tex2lyx tests
2019-04-04 08:24:51 +02:00
Juergen Spitzmueller
97d3b73e9a
Disable TABLUAR_STYLE_INSERT with TABULAR_INSERT
2019-04-04 08:24:25 +02:00
Juergen Spitzmueller
2709c5fb58
Initialize TabularCreate dialog enabled.
...
As pointed out in #10105 .
2019-04-04 08:23:27 +02:00
Juergen Spitzmueller
324bfe90df
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
2019-04-03 17:58:20 +02:00
Juergen Spitzmueller
4d513ca49e
de.po
2019-04-03 17:57:38 +02:00
Juergen Spitzmueller
f60bda37a6
booktabs trimming: fix some thinkos
2019-04-03 17:18:21 +02:00
Juergen Spitzmueller
bf5d5e5d66
Fix cmidline trimming with multicolumns
2019-04-03 16:35:08 +02:00
Günter Milde
6def81f30f
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.
2019-04-03 15:32:44 +02:00
Jean-Marc Lasgouttes
051da4ba25
Fixup 283ac91a: Forgotten test for null pointer
2019-04-03 12:13:13 +02:00
Jean-Marc Lasgouttes
5e2b24c2a9
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.
2019-04-03 12:03:24 +02:00
Jean-Marc Lasgouttes
283ac91aa7
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 .
2019-04-03 11:17:14 +02:00
Juergen Spitzmueller
8085fc21f8
booktabs: support for \cmidrule trimming
...
This has probably still some rough edges, so please test thoroughly.
Fixes : #3072
2019-04-03 07:59:52 +02:00
Jean-Marc Lasgouttes
3b58e38dc6
Fixup ad79ac40: reintroduce markers around delimiters
...
The reasoning behind this change was not correct.
Fixes bug #11516 .
2019-04-02 14:32:32 +02:00
Jean-Marc Lasgouttes
f609a4717f
Pass a pit to Text::isRTL(), not a paragraph
2019-04-02 09:56:42 +02:00
Juergen Spitzmueller
0c18f6a8c1
Remove TODO entry
...
This is covered in the "Consider layouts in modules that do not have a
preamble definition" general TODO item.
2019-04-01 13:04:05 +02:00
Juergen Spitzmueller
9d384c3c12
Fix tooltip.
...
Thanks, Kornel.
2019-04-01 11:28:54 +02:00
Juergen Spitzmueller
a8f778b66c
reset.formal-default: no need to fiddle with left/right lines at all.
2019-04-01 09:27:12 +02:00
Juergen Spitzmueller
00de6c4be7
Fix left/right border UI when toggling formal
...
Fixes : #9835
2019-04-01 09:26:09 +02:00
Juergen Spitzmueller
b0f9d98d6e
Remove Qt 5.12-only colorrole
...
Designer inserts those automatically. So we have again backwards-incompatible
designer behavior :-(
2019-04-01 09:18:16 +02:00
Juergen Spitzmueller
3bbcfda3db
Add option to reset to default booktabs lines
...
Addresses: #10106
2019-04-01 07:08:13 +02:00
Juergen Spitzmueller
819c9c1645
Fix booktabs bottom line with multirows
...
Fixes : #11445
2019-04-01 05:43:32 +02:00
Juergen Spitzmueller
18ee587a1e
Add listpreamble tex2lyx test
2019-03-31 17:52:31 +02:00
Enrico Forestieri
45e0ce2372
Fix bug #11528
...
The code was not doing what said in the description.
2019-03-31 15:14:28 +02:00
Juergen Spitzmueller
b1c36045ee
fix typo in comment
2019-03-31 14:30:55 +02:00
Juergen Spitzmueller
57157d2e4d
tex2lyx: support for list preambles
2019-03-31 14:27:56 +02:00
Kornel Benko
e5b98a86fa
Amend 99eeb29e: tex2lyx test: make box-color-*.tex sample compilable
2019-03-31 00:52:04 +01:00
Juergen Spitzmueller
c12190b5e5
GuiBibtex: add button to edit individual databases externally
...
This complements the inset context menu function, which only allows for
editing all databases externally
2019-03-30 11:37:28 +01:00
Juergen Spitzmueller
02974ff2a9
GuiSelectionManager: properly handle de-selecting items
...
When an item is de-selected with the mouse, and thus no item selected
anymore, disable add, up, down and delete buttons.
2019-03-30 11:36:47 +01:00
Juergen Spitzmueller
aa5add6b96
Consider individual bib file encoding when parsing
2019-03-30 09:50:55 +01:00
Juergen Spitzmueller
4d54d3afca
Fix some implicit conversion issues.
2019-03-30 09:33:09 +01:00
Juergen Spitzmueller
d8bdfa8462
Update paths in tex2lyx tests
2019-03-29 16:08:17 +01:00