Commit Graph

45616 Commits

Author SHA1 Message Date
Scott Kostyshak
7368e5be2b Amend 1dc66608
Declare override, otherwise we get the following warning:

src/insets/InsetListings.h:42:7: error: 'isEnvironment' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
        bool isEnvironment() const { return !params().isInline(); }
             ^
src/insets/Inset.h:606:15: note: overridden virtual function is here
        virtual bool isEnvironment() const { return getLayout().latextype() == InsetLaTeXType::ENVIRONMENT; }
                     ^
1 error generated.
2023-04-10 13:14:15 -04:00
Scott Kostyshak
e3288b4b4a Amend d0a83d33 2023-04-10 13:03:19 -04:00
Juergen Spitzmueller
d0a83d33fc Fixes to heb-article, by Udi Fogiel (#12735)
For some reason theorems titles has \beginR without a \endR, and since
this is basically inside restricted horizontal mode, TeX complains about
a missing \endR.

I could not figure out why were they there in the first place so I
removed them and the output did not change, and the warnings are gone.

Beside that the numbering of the theorems is wrong (e.g. 1.0 instead of
0.1), the \@makelr thing should happen after babel is loaded.

The theorems layouts did not have a counter (in LyX) so I added one.
2023-04-10 18:24:04 +02:00
Juergen Spitzmueller
b42e978080 Do not switch dir with numbers and babel in full unicode
Patch by Udi Fogiel
2023-04-10 15:31:26 +02:00
Juergen Spitzmueller
0de7095774 Add Udi Fogiel to credits 2023-04-10 15:25:58 +02:00
Juergen Spitzmueller
8917cb3cc8 luabidi's \\LR[E] needs to be embraced (possibly a LuaTeX bug)
without the grouping, trailing text disappears
2023-04-10 15:16:20 +02:00
Juergen Spitzmueller
2abde5d162 Inset::forceLTR() only determines whether explicit switches are needed
(as opposed to InsetLayout::forceLTR()). So properly set this for ERT
and remove downstream special casing
2023-04-10 10:20:11 +02:00
Juergen Spitzmueller
767f3e5b81 Fix spacing in forceLTR for classic latex 2023-04-10 08:37:04 +02:00
Juergen Spitzmueller
e9c8b10c1d Do not forceLTR math with Xe/Lua (part of #12731) 2023-04-10 08:24:46 +02:00
Juergen Spitzmueller
f058442be9 Put forceLTR (display) environments in LRE environment rather than command
This fixes whitespace issues.
2023-04-10 08:10:51 +02:00
Juergen Spitzmueller
1dc666082e Add Inset::isEnvironment()
This usually returns InsetLayout::isEnvironment(), but listings has
specific conditions (depending on whether it is inline or not)
2023-04-10 08:09:32 +02:00
Juergen Spitzmueller
823bb2a8dd de/Customization: document EditExternal 2023-04-10 08:05:03 +02:00
Juergen Spitzmueller
902d24cbf9 de/Customization: move section on Arguments 2023-04-10 07:58:38 +02:00
Pavel Sanda
df8abe68cc * cs.po 2023-04-09 21:06:18 +02:00
Juergen Spitzmueller
61f2cd27a8 Fix indentation 2023-04-09 15:01:17 +02:00
Juergen Spitzmueller
7b6707fc52 Properly resolve undefined citations with Xe/Lua and bibliography environment
These need an extra LaTeX run
2023-04-08 19:25:30 +02:00
Juergen Spitzmueller
8c5b65ae6c de.po 2023-04-08 17:32:31 +02:00
Juergen Spitzmueller
9b2fb3b051 Typo 2023-04-08 17:27:31 +02:00
Juergen Spitzmueller
8a99092d77 Fix accelerators 2023-04-08 17:27:06 +02:00
Juergen Spitzmueller
6ec6db8cd9 Fix crash when copying multiple cells in table
while having done "backwards" selection (selBegin() in a later
column/row than selEnd())
2023-04-08 16:55:41 +02:00
Pavel Sanda
77d07c0fd0 * cs.po 2023-04-08 10:06:45 +02:00
Pavel Sanda
20be14d133 Casing consistent with other modules. 2023-04-07 22:13:53 +02:00
Pavel Sanda
694114bae7 We had two overlapping chemistry modules.
See a610e29c9c.
2023-04-07 20:24:23 +02:00
Pavel Sanda
48ed780756 * cs.po 2023-04-07 17:57:55 +02:00
Pavel Sanda
0d5289e03e * cs.po 2023-04-06 22:54:28 +02:00
Scott Kostyshak
21d9bcb561 ctests: uninvert tests thanks to microtype update
microtype version 3.1 somehow fixed an issue that was affecting
these exports and the exports now succeed.

For more information, see here:

  https://github.com/schlcht/microtype/issues/21#issuecomment-1496803268
2023-04-04 23:37:55 -04:00
Scott Kostyshak
5d853e55ad ctests: do not mark Hebrew + Lua as unreliable
The referenced terminal message no longer appears. The upstream
polyglossia issue has been fixed:

  https://github.com/reutenauer/polyglossia/issues/337
2023-04-04 15:30:02 -04:00
Scott Kostyshak
f521c05ae6 Fix a comment 2023-04-04 15:28:01 -04:00
Juergen Spitzmueller
849d0c81ca Record babel use for single par preview 2023-04-02 14:51:47 +02:00
Juergen Spitzmueller
84dde6aeb9 Fix indentation 2023-04-02 12:31:41 +02:00
Daniel Ramoeller
211554d0df Fix bug #12721. 2023-03-30 16:12:08 -04:00
Pavel Sanda
e41f4d20bc * cs.po 2023-03-27 22:27:02 +02:00
Juergen Spitzmueller
3a02e477a0 Sync doc CT settings with dialog-external change of status (#12703) 2023-03-21 10:24:34 +01:00
Pavel Sanda
1e1034248e * autocorrect comment 2023-03-20 22:48:41 +01:00
Pavel Sanda
e21d1d456d * cs.po 2023-03-20 22:47:19 +01:00
Richard Kimberly Heck
8872d6a54d Add a couple logic autocorrects 2023-03-19 21:30:42 -04:00
Yuriy Skalko
e050d8cfe4 Update ru.po 2023-03-20 01:41:33 +01:00
Eugene Chornyi
28647dcebe update gitignore for Visual Studio and VS Code 2023-03-19 15:24:13 +01:00
Enrico Forestieri
c3be5d1709 Amend 4384ac75 2023-03-19 10:50:13 +01:00
Enrico Forestieri
4384ac75ff Cycle through arrows with autocorrect
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 10:26:08 +01:00
Enrico Forestieri
0470082240 Fix bug #12711
Add a few missing autocorrect combinations.
2023-03-19 09:34:01 +01:00
Jean-Marc Lasgouttes
1d637b8af0 Spaces in typewriter font never expand in justified text
This fixes on-screen appearance of things like code with lines longer
than the window width.

The TeXbook makes it clear by indicating that \fontdimen3 == 0 for
these fonts.
2023-03-18 21:03:42 +01:00
Jean-Marc Lasgouttes
f24bb4a919 Remove indentation on screen after a plain separator inset
Fixes bug #12700.
2023-03-18 19:47:42 +01:00
Juergen Spitzmueller
5ad6cbb1d8 Fix signal order (#12712) 2023-03-18 15:58:04 +01:00
Eugene Chornyi
1d0ab7a274 winbuild include python3 2023-03-18 12:10:44 +01:00
Juergen Spitzmueller
81d6965c81 Do not swap parens and stuff with babel and Xe/LuaTeX 2023-03-17 18:11:38 +01:00
Jean-Marc Lasgouttes
e2011856bc Fixup a2378c1182: handle the monospace case
When the font is tt, the stretch space is null. Change the display
rendering to accomodate that.
2023-03-17 14:27:15 +01:00
Jean-Marc Lasgouttes
98b5a16793 Fix completion in math when inline completion was not yet shown (take 2)
Better version of b4211ef2: we handle the case of a unique completion early.

Fixes bug #12674.
2023-03-16 11:58:49 +01:00
Jean-Marc Lasgouttes
fb1c4494ea Revert "Fix completion in math when inline completion was not yet shown"
A better fix is in the works.

This reverts commit b4211ef206.
2023-03-16 11:58:49 +01:00
Richard Kimberly Heck
7bcf201f40 Fix bug #12707 2023-03-15 23:24:47 -04:00