Thibaut Cuvelier
1220f399a7
Use a static method instead of a method call on a global variable.
2022-03-01 03:15:30 +01:00
Kornel Benko
3002a20800
FindAdv: Add missed command after 030db93a
2022-02-28 09:53:12 +01:00
Juergen Spitzmueller
6c530e1215
Still more indentation fixes.
2022-02-28 08:04:55 +01:00
Thibaut Cuvelier
75be9b1200
Slightly simplify code by using for range.
2022-02-27 20:37:51 +01:00
Juergen Spitzmueller
9cd479a044
Clarify debug message
2022-02-27 15:12:33 +01:00
Juergen Spitzmueller
6d17c5a1d6
Another indentation fix
2022-02-27 14:53:01 +01:00
Juergen Spitzmueller
f2bd823217
Fix indentation
2022-02-27 14:45:16 +01:00
Juergen Spitzmueller
b04a930a27
Amend 8a0715d0bd
...
Also do not use the bb trick when exporting "nice".
2022-02-27 10:02:52 +01:00
Thibaut Cuvelier
030db93ab2
unicodesymbols: fix problematic entries.
2022-02-27 04:14:12 +01:00
Juergen Spitzmueller
8a0715d0bd
Do not output eps bounding box for unknown/missing graphics ( #8899 )
...
Except for dvi/ps output chain for which this trick was meant.
Also, issue an error message in this case. This is analogous to
the other output flavors now.
2022-02-26 16:23:27 +01:00
Kornel Benko
de0dbfb61b
Amend(2) b5d9bbfe
: FindAdv: Added handling of some missing conversions
2022-02-23 18:22:16 +01:00
Daniel Ramoeller
8bc6aa7535
Footnote LabelString should be "Foot" rather than "foot"
...
Fix for bug #12487 .
2022-02-22 10:33:51 +01:00
Thibaut Cuvelier
4cab1a77d2
Encodings::fromLaTeXCommand: if the command directly maps an entry of unicodesymbols, use it and bypass most of the logic.
...
This is important for commands like !`, that are equivalent to \textexclamdown. However, ! is matched earlier, because the logic works with prefixes, hence the output doesn't make sense.
2022-02-21 18:24:26 +01:00
Thibaut Cuvelier
0cde3dce12
unicodesymbols: add math versions of some symbols according to unicodetex
2022-02-21 18:24:26 +01:00
Thibaut Cuvelier
548c12158f
unicodesymbols: mark several Greek characters as deprecated (oxia becoming tonos).
...
Some of corresponding commands did not have a matching LaTeX command for a currently recommended Unicode character; these have been added.
2022-02-21 18:24:26 +01:00
Kornel Benko
407ae8db04
Amend b5d9bbfe
: FindAdv: Added handling of some missing conversions
2022-02-21 14:52:56 +01:00
Kornel Benko
b5d9bbfecd
FindAdv: Added handling of some missing conversions
2022-02-21 11:11:55 +01:00
Juergen Spitzmueller
0d7d8c37e3
Fix language direction switch issue
...
reported at https://marc.info/?l=lyx-users&m=164538003727435&w=2
2022-02-21 09:49:32 +01:00
Thibaut Cuvelier
fb70452086
unicodesymbols: amend fec498d6
, there was an O (capital letter O) instead of an 0 (zero).
2022-02-20 22:29:15 +01:00
Thibaut Cuvelier
cfb6f205fa
DocBook, InsetFloat: avoid a potential nullptr dereference when detecting the type of table for filler content.
2022-02-20 21:31:13 +01:00
Jean-Marc Lasgouttes
bfe9818116
Make undo action no-ops when the buffer is read-only
...
Since the buffer cannot be modified, there is no point to record changes.
Avoids marking buffer dirty after running "inset-forall".
2022-02-20 19:48:13 +01:00
Jean-Marc Lasgouttes
a90a1aed06
Fixup cc426346
: rename curs to bvcur
...
The name "curs" was chosen to avoid to hide the existing "cur" local variable.
Using "bvcur" makes the name easier to grasp.
2022-02-20 19:35:37 +01:00
Jean-Marc Lasgouttes
48ee2fd07b
Do not call recordUndo(), lyx::dispatch handles it.
...
This avoids extra memory use (and would mark document dirty even if
read-only).
2022-02-20 19:33:22 +01:00
Jean-Marc Lasgouttes
3b28ac4637
inset-forall: clear selection after each action
...
This avoid a crash when doing
command-sequence inset-forall Caption char-delete-forward; statistics; undo
in the user guide when a malformed selection is created.
The selection happens here because char-delete-forward will select the
caption instead of deleting it if the "force" parameter is not given.
This is a poor API IMO, it is the plain <del> action that should use a
special parameter.
2022-02-20 19:07:58 +01:00
Daniel Ramoeller
aad18e969a
Combine the separation between different layouts (with same depth)
...
Fix for #12402 .
2022-02-20 18:09:57 +01:00
Jean-Marc Lasgouttes
b365a47112
Avoid null pointer dereference
...
Spotted by coverity. In the real world, getInset should never return
nullptr when isInset is true.
2022-02-20 17:22:07 +01:00
Jean-Marc Lasgouttes
a900667ea1
Avoid null pointer dereference
...
Spotted by coverity.
2022-02-20 17:09:49 +01:00
Jean-Marc Lasgouttes
e263fe8e03
Fix unintialized variables spotted by coverity
...
The InsetWrap case happens in decodeInsetParaps (InsetCommand.cpp),
where the default constructor is invoked. In this case, lines was not
initialized.
2022-02-20 17:03:33 +01:00
Stephan Witt
6b0cd451fb
#9287 query Standard User Defaults on mac and adjust cursor flash time accordingly
2022-02-20 13:06:54 +01:00
jpc
28af3b6cf8
Update fr.po
2022-02-20 10:06:50 +01:00
Thibaut Cuvelier
dec5330426
Amend 0dc7f34e
: avoid using a C++20 function.
2022-02-20 02:03:51 +01:00
Thibaut Cuvelier
fec498d661
unicodesymbols: add several synonyms.
2022-02-20 01:33:28 +01:00
Thibaut Cuvelier
0dc7f34e00
unicodesymbols: parse supplementary lines to encode alternative ways to encode symbols in raw LaTeX.
2022-02-20 01:33:03 +01:00
Thibaut Cuvelier
3f9e21b826
CharInfo: allow to store several commands (both text and math) for each character.
...
Only the first one is returned by default with existing methods to guarantee compatibility with existing code.
2022-02-20 01:33:03 +01:00
Thibaut Cuvelier
faf0e9ee13
configure: for EPS to PNG, ask ImageMagick to only consider the first image.
...
Issue discussed in the mailing list: when the EPS contains several images (Adobe Photoshop exports two of them, one being a low-quality TIFF for preview), two files are generated, none with the existing name (prefix: -0 and -1). Hence, LyX thought that there was an error.
2022-02-20 01:33:02 +01:00
Daniel Ramöller
df59649a18
Properly show labels from broken references in Cross-references dialog
...
Fix for bug #12456 .
The labels are transmitted from Buffer to GuiRef by reference of refs_
in the getLabelList function. Previously, only one string was
transmitted. But I needed both the formatted string, e.g. "x enu:test"
or "Missing: enu:test", as well as the plain label, e.g. "enu:test".
The former is for the list of labels to choose from in GuiRef and the
latter for the label as shown in the line edit that contains the plain
label in order to create a new reference from it. Transmitting both is
what the pair achieves.
2022-02-19 18:14:47 +01:00
Kornel Benko
8519e2b074
Update sk.po
2022-02-19 15:59:52 +01:00
Juergen Spitzmueller
ac0cd0e660
de.po
2022-02-19 14:32:04 +01:00
Juergen Spitzmueller
8fa7e27e7e
child documents: allow inheritance of bibliography file list ( #4427 )
2022-02-19 14:09:59 +01:00
Juergen Spitzmueller
fcc139b06e
Consider that "and" in BibTeX name lists is case-insensitive ( #10465 )
2022-02-19 11:58:11 +01:00
jpc
69ba7f1536
Update fr.po
2022-02-18 10:56:05 +01:00
Enrico Forestieri
94a7f74423
Avoid a Qt warning about bad svg
...
See #10384 for the details.
2022-02-17 14:59:17 +01:00
Kornel Benko
124e0fc2be
Update sk.po
2022-02-17 12:19:33 +01:00
Juergen Spitzmueller
f7e8e3f10e
Correct error message
2022-02-17 10:52:37 +01:00
Juergen Spitzmueller
a179395bd9
de.po
2022-02-17 08:53:52 +01:00
Juergen Spitzmueller
755146287c
Typo
2022-02-17 08:21:36 +01:00
Juergen Spitzmueller
266a5e04d4
InsetIndex: Some comments and indentation fixes
2022-02-17 08:19:33 +01:00
Juergen Spitzmueller
44d5676430
Report if index processor failed ( #7820 )
2022-02-17 07:25:00 +01:00
Scott Kostyshak
23b7b95e68
ctests: log fixed upstream Polyglossia issues
...
Thanks to Jürgen for fixing the upstream issue.
Also add a row "ctest" to give the pattern of the ctests that
failed.
2022-02-16 22:07:05 -05:00
Kornel Benko
58a8884b06
Update sk.po
2022-02-16 14:44:43 +01:00