Commit Graph

8975 Commits

Author SHA1 Message Date
Richard Kimberly Heck
8750ae62a0 Fix bad escapes 2024-05-21 11:31:37 -04:00
Richard Kimberly Heck
91c3a3b11e Add 2.4.x converter 2024-05-02 11:21:01 -04:00
Richard Kimberly Heck
a5c328b304 Add lyx2lyx tools from 2.4.x 2024-05-02 11:02:01 -04:00
Juergen Spitzmueller
6f65cbdce2 Update lilypond converter settings (#12618)
As of v. 2.23.12, the safe mode is no longer supported and results in
error.

We thus remove the -safe flags from the converter and use our own
needauth flag instead.
2024-04-21 11:43:41 +02:00
Jean-Marc Lasgouttes
0f583c11ea Typo in doc
Thanks to Peter J. Puchyr for noticing it.
2024-03-25 22:35:09 +01:00
Richard Kimberly Heck
5969f0e7d1 Fix a number of issues that were stopping compilation with MSVC 19.
Patch from Thibaut Cuvelier, modified slightly by me (mostly for style).

(cherry picked from commit c506f304bc)
2024-01-31 21:56:55 +01:00
Enrico Forestieri
0ffcff55f3 Use \ifthenelse instead of relying on TeX primitives
This fixes the issue reported here:
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg115156.html

The problem is due to the use of the mathpazo package because
it defines the macro \f@family as "ppl\n", i.e., it appends a
newline character at the end. Now, the "\if" TeX primitive
expands its arguments for comparing them and the newline causes
a "missing \begin{document}" error. Instead of complicating the
code to account for this, it is better using the ifthen package.
2023-06-19 19:53:16 +02:00
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