Commit Graph

8954 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
1def11d296 Add lyxrc option to force the use of backing store
LyX relies on a a backing store to draw when running under macOS or
Wayland, because Qt arbitrarily overwrites parts of the workarea
before we paint (and we paint only the parts that need to be painted).
However it seems that this is also necessary on X11 when the WM theme
is translucid. Since there is no way that I know of to detect this
situation, this patch adds a LyXRC setting to manually select this
drawing strategy.

Note that using a backing store is not always a good solution, since
this disables subpixel aliasing.

At this point there is no UI for the variable.

Fixes bug #12119

(cherry picked from commit c213eb7f75)
(cherry picked from commit 1ed9257c6d)
2022-01-13 17:24:28 +01:00
jpc
4688094c58 Mark as French pieces of text detected as English by Kornel 2021-05-31 17:54:06 +02:00
jpc
3ddd91487f Update Franch Additional manual
Update status
2021-04-13 18:51:46 +02:00
jpc
5adb555006 Update Additional.lyx 2021-03-02 18:54:40 +01:00
jpc
9a74a51791 Update French Additional manual 2021-03-01 18:50:59 +01:00
jpc
1a57168228 Last French UserGuide and fr.po updates 2021-03-01 18:04:52 +01:00
Jean-Marc Lasgouttes
25b4920fef Fixup 20e1fe46: fix the StartupWMClass in desktop file
(cherry picked from commit 20e1fe4674)
2021-01-11 18:38:40 +01:00
Enrico Forestieri
96a93134b3 Typo 2020-12-07 22:48:27 +01:00
Juergen Spitzmueller
a16d704890 Fix tex4ht odt converter
Private message by Michal Hoftich (tex4ht head developer):

oolatex is not recommended way to use Tex4ht for the ODT conversion.
It is better to use

make4ht -f odt mwe.tex

make4ht fixes some issues in ODT files

This is candidate for stable.

(cherry picked from commit 17ebec693a)
2020-12-01 07:29:36 +01:00
Kornel Benko
a610ee422e Amend 0536193c: Remove requirement of revsymb4-1.sty.
Fixes #12005, reported and indicated a fix by 'ert'

(cherry picked from commit a0f0220348)
2020-10-15 12:22:50 +02:00
Richard Kimberly Heck
f75895180e Fix bug #11986
(cherry picked from commit 444285aca2)
2020-09-28 22:36:13 -04:00
Kornel Benko
155c779432 Gnumeric conversions to html: Remove wrong closing </p> flag
Now LyXHTML export for Spreadsheet.lyx is errorles, but stil we need a wrapper
to remove unneeded 'Ark' captions.

(cherry picked from commit 70725040db)
2020-09-24 16:42:47 +02:00
Richard Kimberly Heck
ede483856e GuiName for counters is only in 2.4.0. 2020-09-08 11:35:32 -04:00
Enrico Forestieri
d8d9ca78db Update the autocorrect file
Correct or activate some already present shortcuts, and add new ones
for easily obtaining the most common fixed size delimiters.
Pressing '*' after a delimiter will cycle through all sizes.
2020-09-03 23:19:25 +02:00
Enrico Forestieri
1f1a8f6007 Personalize fonts
When the fonts distributed with texlive with same family name
as ours are also managed by fontconfig, Qt is not able to
discriminate ours by the style only. In order to be sure Qt
will load our fonts, we change the foundry name from 'PfEd'
to 'LyEd' and augment the font family name with this foundry
name. This only works on *nix, because adding a foundry name
seemingly breaks things on Windows. However, this is a *nix
only problem, seemingly.
2020-09-03 20:42:05 +02:00
jpc
1c21beb14c Set Deja Vu as non-TeX fonts to make xetex/luatex succeed 2020-08-29 14:34:19 +02:00
jpc
1ef545a468 A couple of forgotten sentences in English, and a few typos 2020-08-20 17:08:39 +02:00
jpc
b169561e49 French translation of Customization manual : final update 2020-08-17 16:12:16 +02:00
José Matos
f548903630 Consider file encoding for modules in reconfigure
If the modules are not in utf8 then we warn and skip that file
like it happens for layout files.

This a port of commit a8094051c1 to stable.
2020-08-15 21:02:38 +01:00
Juergen Spitzmueller
88b04ac156 Fix string 2020-08-12 14:31:44 +02:00
Daniel Ramoeller
8898b3d881 Fix bug #11741.
Theorems weren't being numbered by chapter.

(cherry picked from commit e6de6c2b59)
2020-08-09 13:35:02 -04:00
Yuval Deutscher
d4a9442c20 Update labels and tooltips for moderncv layout
Update the user-facing strings in modercv's layout according to the
documentation of the cventry command in moderncv.

Signed-off-by: Yuval Deutscher <yuval@deut.sh>
(cherry picked from commit 328c70a31a)
2020-07-08 05:59:11 +02:00
jpc
bc9c1d4863 Restore French UserGuide 2020-06-21 11:50:14 +02:00
jpc
de6bec4151 Translation update of French manuals, first round 2020-06-20 19:14:22 +02:00
Juergen Spitzmueller
9510586388 Add mathscr and mathds to math type table 2020-06-13 16:47:01 +02:00
Enrico Forestieri
733aa07d63 Add mathscr and mathds to math type table 2020-06-13 16:00:09 +02:00
Enrico Forestieri
10e1f90883 Add support for the doublestroke package
This commit adds the mathed command \mathds that selects a
font more appropriate than \mathbb for typesetting the
mathematical symbols for the natural (N), whole numbers (Z),
rational numbers (Q), real numbers (R), complex numbers (C),
and some others.

As in the \mathbb case, only capital letters are supported,
but in addition one can also typeset a symbol often used for
representing the indicator function (\mathds{1}) and the
letters a, h, k.

Fixes bug #11887.
2020-06-12 23:58:32 +02:00
Kornel Benko
696d9dc52b Typo 2020-06-06 11:47:06 +02:00
Kornel Benko
d1d1bb1ad0 Amend(2) cb680fcf: 2 more instances to remove 2020-06-06 11:38:58 +02:00
Kornel Benko
bb69829bd7 Amend cb680fcf: Added apa7 layout
Remove non existent feature in lyx2.3 which slipped in from lyx2.4 version of apa6.layout

Thanks Jürgen.
2020-06-06 11:24:29 +02:00
Kornel Benko
cb680fcf7d Added apa7 layout 2020-06-05 22:49:07 +02:00
Scott Kostyshak
3792f3e649 Add bind to Insert > Separated <Environment> Above
The binding <Alt + p, Shift + Return> is already used for
environment-split outer, so we bind <Alt + p, Alt + Return>
to environment-split before.

(cherry picked from commit 386aba099b)
2020-05-24 13:45:26 -04:00
Juergen Spitzmueller
589297a684 ru/Tutorial.lyx: update by Yuriy 2020-05-22 07:44:51 +02:00
Enrico Forestieri
877d296b78 Amend bd6d09fc
Was forgetting this.

(cherry picked from commit 92c4bb4682)
2020-05-18 22:27:56 +02:00
Enrico Forestieri
51b8778c73 Fix Python 3 issues when generating preview snippets
The log file generated by latex can contain strings encoded in
whatever supported encoding. Instead of guessing the encoding,
it is better to open it in binary mode and then performing the
necessary comparisons as "bytes". In order to do this, the
strings are encoded in utf8, so that, for example, b"pythön" is
encoded as "pyth\xc3\xb6n" (7 bytes). Of course, this means that
we can only successfully perform comparisons with ascii strings.
However, this is what we actually do, as we only search for
ascii strings in the log file.

(cherry picked from commit bd6d09fc98)
2020-05-18 20:44:33 +02:00
Richard Kimberly Heck
ab686d362f Add revtex 4.2. files to distribution 2020-05-18 13:21:36 -04:00
Kornel Benko
bece189ea6 Added revtex4-2.layout
Essentially cherry-picked 0536193c, but changing format from 80 to 66.
2020-05-18 18:53:28 +02:00
Juergen Spitzmueller
6c6e1c1e17 Fixup inkscape detection on Windows
(cherry picked from commit 53ada26596)
2020-05-18 13:23:09 +02:00
Juergen Spitzmueller
3df1e0d70e Amend 74f831e06d
Forgot this part.

(cherry picked from commit bd89a273bc)
2020-05-18 13:20:57 +02:00
Juergen Spitzmueller
f489ecab99 Safer 0.x version test
(cherry picked from commit d5079c2e73)
2020-05-18 13:20:08 +02:00
Juergen Spitzmueller
733389677f Add support for inkscape 1.0
Command line syntax has changed. We now check for the version and use
the appropriate cl options.

Fixes #11742

(cherry picked from commit 74f831e06d)
2020-05-18 13:19:30 +02:00
Juergen Spitzmueller
73de39e091 Minor doc updates by Yuriy 2020-04-23 07:32:39 +02:00
Richard Kimberly Heck
3606ee5a6a Fix bug #11799.
I've made cut, etc, OptItems, as this menu is already very long.

(cherry picked from commit d34bb46387)
2020-03-28 23:36:04 -04:00
Juergen Spitzmueller
b108ea3129 Un-provide amsmath in beamer article layouts
Fixes #11768

(cherry picked from commit f6f51587cf)
2020-03-01 07:35:55 +01:00
José Matos
20996d46fc Remove code that is redudant.
Both for python2 and python3 output is always a string.

(cherry picked from commit 4268a9e812)
2020-02-25 18:24:41 -05:00
Richard Kimberly Heck
fb9bc1a3f7 Fix bug #11750.
Unfortunately, stat.st_ino returns 0 on Windows, at least on Python 2.7, so we can't use that way of telling when we're seeing the same directory again. Surely the real pathname should work.

(cherry picked from commit 9d8dfe934b)
2020-02-24 19:09:31 -05:00
Juergen Spitzmueller
457c568dbd Handle encoding error in layout file parsing more gracefully
Issue a warning about non-decodable files, but do not break
completely.

Addresses #11736

(cherry picked from commit c4da8d38c9)
2020-02-14 08:05:17 +01:00
Juergen Spitzmueller
ad56c71dce Amend 00bdc20693 2020-01-27 11:13:05 +01:00
Juergen Spitzmueller
6c3e7d2a47 Fix erroneous space in output caused by changebar module (bug 11473) 2020-01-27 08:39:18 +01:00
Juergen Spitzmueller
00bdc20693 Consider shorthand in biblatex cite display
Fixes #11696

(cherry picked from commit 400706ad05)
2020-01-27 08:34:54 +01:00