Commit Graph

8968 Commits

Author SHA1 Message Date
Enrico Forestieri
27208273ef Fix bug #12711
Add a few missing autocorrect combinations and allow cycling
through arrows.

The way autocorrect is implemented it is not possible to map
--> and ==> to \longleftarrow and \Longleftarrow, respectively.
One has to type ->- and =>= to that effect, which may be
counterintuitive.

This commit allows typing -> or => followed by * to cycle through
all possible arrows of the same type.
2023-03-19 23:40:15 +01:00
Juergen Spitzmueller
61eed0305f typo 2023-02-28 16:51:38 +01:00
José Matos
fef787a80a Make layout2layout compatible with Python 2 and 3
(cherry picked from commit 940d3ceeb9)
2023-01-08 11:26:27 -05:00
Juergen Spitzmueller
b2907f7abc Add missing revert routine to lyx_2_0.py
(cherry picked from commit d89a48483e)
2023-01-06 13:36:21 -05:00
Pavel Sanda
94c8586764 * LFUNs.lyx 2022-12-11 21:08:18 +01:00
jpc
c04ad62197 A couple of new updates for graphique semantics 2022-11-28 17:25:30 +01:00
jpc
8f219c976f Update doc (semantics of "graphique" in French) 2022-11-26 18:30:46 +01:00
Juergen Spitzmueller
8e05616557 HP-Statements example: update
Some of the examples used here seem to be no longer supported by
the hpstatement package and lead to errors.
2022-11-25 08:49:23 +01:00
Jean-Marc Lasgouttes
e7f9554f39 Preview: do not overwrite fg/bg color names that beamer uses
Rename them to lyxfg/lyxbg

Fixes bug #12563.

(cherry picked from commit a20477993b)
2022-11-22 21:26:18 -05:00
Richard Kimberly Heck
f2d901fb4f Fix #12311 as described there. 2022-11-22 21:25:11 -05:00
Juergen Spitzmueller
e9a5dd741e Only load subscript package with LaTeX < 2005/12/01 (#12387)
(cherry picked from commit d4d4654d63)
2022-11-22 21:19:53 -05:00
Juergen Spitzmueller
c9414213bc Support 0x019b via tipa (#12426)
(cherry picked from commit ea475c0ce6)
2022-11-22 21:19:03 -05:00
Richard Kimberly Heck
caf8708e5f Backport fix for #11223. From Enrico. 2022-11-22 21:16:40 -05:00
Richard Kimberly Heck
4f8152b7f5 Fix bug #12369 2022-11-22 20:57:45 -05:00
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