]>
git.lyx.org Git - lyx.git/log
Günter Milde [Sat, 4 May 2019 21:32:41 +0000 (23:32 +0200)]
Use Latin Modern vector fonts for Latin text parts in Japanese documents.
Latin Modern works fine with Japanese.
If "lmodern" is set for \font_roman the "lmodern.sty" package sets
sans-serif and teletype to Latin Modern fonts as well.
Therefore, \font_sans and \font_teletype are better left as "default"
(less preamble code) in the LaTeX source).
Günter Milde [Fri, 3 May 2019 12:04:11 +0000 (14:04 +0200)]
Update tests and documentation for supported languages.
Günter Milde [Thu, 2 May 2019 10:01:00 +0000 (12:01 +0200)]
Fix a table in Hebrew documentation.
The "outer" language of the table was set to English leading to wrong output
(swapped columns and words with non-TeX fonts, wrong characters with TeX-fonts).
Kornel Benko [Tue, 30 Apr 2019 11:19:00 +0000 (13:19 +0200)]
Amend
74b1b9d8 : Correcting dist files
Günter Milde [Tue, 30 Apr 2019 09:27:35 +0000 (11:27 +0200)]
Fix conversion/reversion of parenthese order in Hebrew text.
The algorithm in [
c9be8bff74b233 /lyxgit] did not
account for layout nesting. As a result, some parentheses
were swapped in English text parts
(e.g. around "(for Linux)" in he/Intro.lyx).
Günter Milde [Tue, 30 Apr 2019 07:34:51 +0000 (09:34 +0200)]
Fix Font selector GUI (font encoding) broken in
27ba6f282dc3 .
Günter Milde [Mon, 29 Apr 2019 18:55:48 +0000 (20:55 +0200)]
ctest update
Separate xetex-inputenc test sample in working and non-working parts.
Sort HTML-only tests.
Update tagging and ignore-rules.
Change inputencoding to utf8 in dedicated tests (get pdf4_texF working).
jpc [Mon, 29 Apr 2019 17:07:13 +0000 (19:07 +0200)]
Update fr.po
Günter Milde [Mon, 29 Apr 2019 12:02:48 +0000 (14:02 +0200)]
Hebrew support: use non-TeX fonts for documentation and templates and HE8 as tex font encoding default.
Günter Milde [Sun, 28 Apr 2019 20:45:51 +0000 (22:45 +0200)]
Use utf8 inputencoding for Russian documentation.
Solves errors with luatex and enables compilation with xetex.
Add dedicated test document for the errors with auto-legacy and xe/luatex.
Günter Milde [Sat, 27 Apr 2019 18:09:58 +0000 (20:09 +0200)]
ctests: Sort dedicated test documents for language support.
Günter Milde [Sat, 27 Apr 2019 14:00:29 +0000 (16:00 +0200)]
Load inputenc after babel with Thai.
"thai.ldf" breaks "inputenc" by changing catcodes.
Loading "inputenc" after "babel" allows a workaround.
Günter Milde [Sat, 27 Apr 2019 10:36:51 +0000 (12:36 +0200)]
"AsBabelOptions" no longer required. Part2.
AsBabelOptions was introduced 2010 in [
cc5dd37a2a05 /lyxgit].
Since the re-orgianization and opening of the Babel package to
"contributed" language definitions in March 2013, it is no longer required.
Clean up after Part 1 [
1361f1a45f23 /lyxgit].
Enrico Forestieri [Sat, 27 Apr 2019 10:53:05 +0000 (12:53 +0200)]
Compile fix for mingw
This was probably overlooked at [
7bb08f10 /lyxgit].
Richard Kimberly Heck [Sat, 27 Apr 2019 01:59:52 +0000 (21:59 -0400)]
Make Ctrl-Mouse open an included file for editing.
It might be nice to do this also for other insets that allow editing.
To do that properly, we'd want to standardize how such insets call an
external (or internal) program, which I guess would mean a virtual
method corresponding to editIncluded. When it exists (i.e., isn't null),
then we could call it, and we'd only need one centralized method to do
that. But at the moment, we have editGraphics, etc.
Richard Kimberly Heck [Sat, 27 Apr 2019 01:51:48 +0000 (21:51 -0400)]
Simplify a bit.
Also, I always worry that "file" will conflict with something....
Günter Milde [Fri, 26 Apr 2019 20:57:21 +0000 (22:57 +0200)]
Fixes for Japanese documents
PDF outline improves with unicode/utf8 (although some chars still wrong).
Math: ERT for umlauts no longer required (now force-converted with unicodesymbols)
Kornel Benko [Fri, 26 Apr 2019 14:55:30 +0000 (16:55 +0200)]
Cmate tests: Add citenegine-modules to tests
Enrico Forestieri [Fri, 26 Apr 2019 13:30:08 +0000 (15:30 +0200)]
Correctly protect macros with optionals inserted in an optional argument
The trick turns out to be inserting in braces the whole optional
argument, rather than the single macro.
See #11552 for the long history.
Enrico Forestieri [Fri, 26 Apr 2019 10:21:38 +0000 (12:21 +0200)]
Revert [
60ac25a4 /lyxgit], [
30f16463 /lyxgit], and part of [
e8f480e7 /lyxgit]
As evidenced in #11552, at loading time there is no way to tell
whether braces were added by LyX with certainty. However, after
[
503f7db2 /lyxgit], LyX does not automatically removes brace insets.
So, in case one faces the problems mentioned in [
e8f480e7 /lyxgit],
the workaround of adding a brace inset now will not be frustrated.
In essence, after [
503f7db2 /lyxgit], the real fix for #11552 would
have been reverting the part in [
e8f480e7 /lyxgit] that was adding
the braces on output.
Pavel Sanda [Fri, 26 Apr 2019 10:26:18 +0000 (12:26 +0200)]
Translation reviewed by Veso.
Pavel Sanda [Fri, 26 Apr 2019 10:25:36 +0000 (12:25 +0200)]
* layouttranslation bg update
Juergen Spitzmueller [Fri, 26 Apr 2019 08:24:11 +0000 (10:24 +0200)]
bg.po: another update
Günter Milde [Thu, 25 Apr 2019 21:19:07 +0000 (23:19 +0200)]
ctest update
Document findings around the failure of platex with ps2pdf.
Fix some tagging regexps for nonstandard features.
Günter Milde [Thu, 25 Apr 2019 12:02:58 +0000 (14:02 +0200)]
ctest update
invert tests failing in TL19,
fix sorting in "supported-languages.lyx".
Enrico Forestieri [Thu, 25 Apr 2019 09:11:51 +0000 (11:11 +0200)]
Write braces around macros only when actually needed
When a macro with optionals appeared inside the optional argument of
another one, the onscreen display and latex output were wrong. This
issue was addressed at [
e8f480e7 /lyxgit] by enclosing in braces macros
with optional arguments. However, this was done even when the macro
with optionals was in a non-optional argument of another macro.
This commit limits the bracing to the cases where it is really needed
and allows to address some particular issues evidenced in #11552.
Pavel Sanda [Wed, 24 Apr 2019 22:17:32 +0000 (00:17 +0200)]
layoutranslations: tiny bg update
Enrico Forestieri [Wed, 24 Apr 2019 15:28:53 +0000 (17:28 +0200)]
Yet another attempt at properly fixing #11552
This commit supercedes [
54147a71 /lyxgit] and [
acba8476 /lyxgit].
Jean-Marc Lasgouttes [Wed, 24 Apr 2019 14:28:08 +0000 (16:28 +0200)]
Do not redefine LyXAlignment; reformat a bit
Jean-Marc Lasgouttes [Wed, 24 Apr 2019 12:54:41 +0000 (14:54 +0200)]
remove dummy LyXRC class that was forgotten
Kornel Benko [Wed, 24 Apr 2019 12:44:41 +0000 (14:44 +0200)]
Amend
7d021a93 : Use interprocedural optimization if possible
Discard test programs using dummy_fuctions from the optimization.
This omits warnings about multiple method definitions.
Günter Milde [Wed, 24 Apr 2019 10:57:28 +0000 (12:57 +0200)]
Use Latin Modern for non-Hebrew parts of Hebrew documentation.
Enrico Forestieri [Tue, 23 Apr 2019 19:06:12 +0000 (21:06 +0200)]
Amend [
54147a71 /lyxgit]
If none of the optional arguments of a macro is used, there is no
following '[' after the macro name. Unfortunately, at loading time
the macro machinery is still not initialized, so the optionals()
member of InsetMathMacro is unusable. Hence, we have to track the
creation of macros with optionals as already we do for all macros.
The collected information is only used at loading time, because
the macros are dynamic and they may loose or acquire optional args.
Fixes the particular case reported at #11552.
Kornel Benko [Tue, 23 Apr 2019 12:27:52 +0000 (14:27 +0200)]
Amend
522b1a67 : Revive Bulgarian localization
Juergen Spitzmueller [Tue, 23 Apr 2019 11:26:57 +0000 (13:26 +0200)]
Revive Bulgarian localization
Juergen Spitzmueller [Tue, 23 Apr 2019 06:58:01 +0000 (08:58 +0200)]
Only write btUnits if we have a bibliography
Fixes: #11562
Juergen Spitzmueller [Tue, 23 Apr 2019 06:34:53 +0000 (08:34 +0200)]
Append rows and columns if necessary when pasting into table
Kornel Benko [Mon, 22 Apr 2019 16:49:03 +0000 (18:49 +0200)]
Cmake build: Use interprocedural optimization if possible
With gnu compilers this adds -flto and -fno-fat-lto-objects
to compiler and linker flags.
Enrico Forestieri [Mon, 22 Apr 2019 16:34:08 +0000 (18:34 +0200)]
Update it.po
Juergen Spitzmueller [Mon, 22 Apr 2019 09:10:07 +0000 (11:10 +0200)]
Amend
cf1c506d644
Get direct copying fro LibreOffice working
Juergen Spitzmueller [Mon, 22 Apr 2019 08:56:00 +0000 (10:56 +0200)]
Handle plain text/html rows/columns in tabular LFUN_PASTE
Fixes: #7932
Juergen Spitzmueller [Sun, 21 Apr 2019 14:44:29 +0000 (16:44 +0200)]
\cprotect some content in captions
Fixes: #6243
Juergen Spitzmueller [Sun, 21 Apr 2019 13:48:24 +0000 (15:48 +0200)]
Some more 0 > nullptr substitutions
Kornel Benko [Sun, 21 Apr 2019 11:16:55 +0000 (13:16 +0200)]
Update + casing for sk.po
Juergen Spitzmueller [Sun, 21 Apr 2019 10:45:23 +0000 (12:45 +0200)]
de.po
Juergen Spitzmueller [Sun, 21 Apr 2019 10:42:28 +0000 (12:42 +0200)]
fr.po: fix backslash escaping
Juergen Spitzmueller [Sun, 21 Apr 2019 09:17:44 +0000 (11:17 +0200)]
Handle orphaned bibitems
Fixes #7160
Juergen Spitzmueller [Sun, 21 Apr 2019 07:55:17 +0000 (09:55 +0200)]
Fix renaming of citation refs after changing bibitem key
Fixes: #6494
Günter Milde [Sat, 20 Apr 2019 19:53:16 +0000 (21:53 +0200)]
ctests: add some dedicated test samples.
Günter Milde [Sat, 20 Apr 2019 14:27:58 +0000 (16:27 +0200)]
Set inputenc for Spanish documentation to utf8
Works around a bug in Spanish-Babel that led to wrong output with LuaTeX and TeX fonts.
Günter Milde [Sat, 20 Apr 2019 14:05:33 +0000 (16:05 +0200)]
ctest and documentation update
Thai works fine with LuaTeX, TeX-fonts and auto-legacy input encoding.
Remove obsolete preamble code,
we now load "fontenc" with Japanese documents by default.
Juergen Spitzmueller [Sat, 20 Apr 2019 17:53:24 +0000 (19:53 +0200)]
update buffer after fixBiblio
fixes: #2743
Juergen Spitzmueller [Sat, 20 Apr 2019 17:42:29 +0000 (19:42 +0200)]
reset bibitem counter in the second updateBuffer() routine as well
Fixes: #8499
Juergen Spitzmueller [Sat, 20 Apr 2019 15:51:06 +0000 (17:51 +0200)]
Pass proper text to TeXOnePar in Paragrapgh::Private::validate
This fixes InPreamble layouts in insets (#11557)
Juergen Spitzmueller [Sat, 20 Apr 2019 15:50:21 +0000 (17:50 +0200)]
GuiIdListModel: ignore DecorationRole (icons of available list)
Juergen Spitzmueller [Sat, 20 Apr 2019 07:28:46 +0000 (09:28 +0200)]
Add system/local icon to available modules list
Also markup modules with missing requirements (like we do for layouts)
Juergen Spitzmueller [Fri, 19 Apr 2019 17:03:29 +0000 (19:03 +0200)]
Fix some listings/minted incompatibilities
The basic problem here is that rather than using an abstract syntax,
backend-specific param strings are produced in the listings dialog,
depending on whether listings or minted is used.
Of course this breaks if a user switches backends inbetween (s/he would
have to open and re-apply each and every listings inset!)
Do at least the most basic translations in InsetListings::latex().
A sane solution would imply the use of only one param syntax with
respective interpretation for each backend. But this would be a file
format change.
Enrico Forestieri [Fri, 19 Apr 2019 15:26:14 +0000 (17:26 +0200)]
Fix #11552 in a different way
The reported issue is fixed in a different way, not
involving the fix for #9348.
This commit supercedes [
f2029fb3 /lyxgit] and [
17abf68b /lyxgit].
Juergen Spitzmueller [Fri, 19 Apr 2019 15:18:18 +0000 (17:18 +0200)]
Use proper listings font styles with polyglossia and RTL
Fixes: #11554
Also load color with minted and polyglossia/RTL, as minted loads it
too late.
Kornel Benko [Fri, 19 Apr 2019 13:44:22 +0000 (15:44 +0200)]
Update sk.po
Kornel Benko [Fri, 19 Apr 2019 13:40:18 +0000 (15:40 +0200)]
Juergen Spitzmueller [Fri, 19 Apr 2019 13:15:20 +0000 (15:15 +0200)]
de.po
Jean-Marc Lasgouttes [Thu, 18 Apr 2019 15:09:12 +0000 (17:09 +0200)]
Move initial values of LyXRC members to the header
We use a C++11 construct that puts initial values of members along
with their definition. It is a good construct and now the out of line
constructor and the setDefaults() method can go.
This removes the need to define a dummy constructor in tex2lyx and
client.
The only needed change to the rest of code is a change of signature
for the user_(name|email) to return std::string. They are now called
explicitely from the constructor. We now have to include userinfo.h in
LyXRC.h, but this should not be too expensive.
Juergen Spitzmueller [Fri, 19 Apr 2019 12:27:27 +0000 (14:27 +0200)]
Another quotation mark fix.
Juergen Spitzmueller [Fri, 19 Apr 2019 11:43:33 +0000 (13:43 +0200)]
Fix quotation marks in GUI string.
Juergen Spitzmueller [Fri, 19 Apr 2019 09:27:54 +0000 (11:27 +0200)]
Layout tweaking
Juergen Spitzmueller [Fri, 19 Apr 2019 08:15:16 +0000 (10:15 +0200)]
Adapt documentation of natbib use with bibitem
Juergen Spitzmueller [Fri, 19 Apr 2019 07:53:42 +0000 (09:53 +0200)]
The Author(Year) label format is also mandatory for numeric natbib!
Juergen Spitzmueller [Fri, 19 Apr 2019 07:34:12 +0000 (09:34 +0200)]
More formalia
(this are just things QtCreator nags about, and I address them in passing)
Juergen Spitzmueller [Fri, 19 Apr 2019 07:33:31 +0000 (09:33 +0200)]
Display full author list with Natbib (non-BibTeX) if requested
Juergen Spitzmueller [Fri, 19 Apr 2019 07:04:23 +0000 (09:04 +0200)]
Do not owerwrite specific CiteFormat def with default def
amends
5996b2e373544 and fixes natbib numerical display
Juergen Spitzmueller [Fri, 19 Apr 2019 07:04:11 +0000 (09:04 +0200)]
Break long string
Juergen Spitzmueller [Fri, 19 Apr 2019 07:03:47 +0000 (09:03 +0200)]
Formalia
Kornel Benko [Thu, 18 Apr 2019 16:00:23 +0000 (18:00 +0200)]
Update sk.po
Juergen Spitzmueller [Thu, 18 Apr 2019 15:33:37 +0000 (17:33 +0200)]
Available modules should not be editable.
Juergen Spitzmueller [Thu, 18 Apr 2019 15:09:03 +0000 (17:09 +0200)]
de.po
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.