Commit Graph

10658 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
6a8c10f0d6 Display footnote labels as superscripts
A new counter type \superarabic is introduced, that transforms the
counter into superscript Unicode numbers.

This is used for the footnote counter.

The Foot inset layout is modified to use an empty LabelString (in size
Normal, since the numbers could be too small).

We use this occasion to set footnote text in footnotesize, as it should.

A couple of changes are done to the code to make the button label and
tooltip look better.

Fixes bug #12238.
2023-07-24 11:15:03 +02:00
Richard Kimberly Heck
c932425f9a Add Edit External to ERT context menu 2023-07-23 21:08:09 -04:00
Jean-Marc Lasgouttes
6d929e7139 update layout files to format 101 2023-07-22 23:38:53 +02:00
Jean-Marc Lasgouttes
81e35bc396 Replace hardcoded inheritFont() with InheritFont InsetLayout tag
Each removed inheritFont method is replaced by a 'InheritFont false'
line in the relevant InsetLayout entry.

Add code to layout2layout that does this automatically when the entry
is missing.

The case of InsetScript is special, since the inheritFont() was not
needed here: the default is indeed true.

Fixes bug #12238.
2023-07-22 23:38:53 +02:00
Jean-Marc Lasgouttes
cfe094a380 Introduce new InsetLayout tag InheritFont
The font inside the inset is inherited from the parent for LaTeX
export if this parameter is true, as well as on screen. Otherwise
the document default font is used.

The default value is true.

Update tufte layouts to use this tag for sidenote and marginnote flex
insets.

Increase layout format to 101.

Fixes bug #12238.
2023-07-22 15:53:14 +02:00
Jean-Marc Lasgouttes
d59046512c Use macros with parameters for modulo macros
It turns out that it is possible to use macros with parameters in lib/symbols.

I use this to simplify the use of mod-like macros.

Update documentation.
2023-07-21 23:58:28 +02:00
Pavel Sanda
00a98856f8 Switch delimiters for hebrew keyboard (bug #12829).
Patch from Udi Fogiel.
2023-07-21 23:37:39 +02:00
Pavel Sanda
8335dc49e1 * RELEASE-NOTES 2023-07-21 23:19:05 +02:00
Pavel Sanda
179c0d6ff2 Create the other side of conversion chain when IM is banned (bug #12646).
We allow png, jpg to channel through already existing tiff2ps (library
libtiff-tools). Other formats can be added if there is a request.

For future reference:
- using pnmtops seem to have issues with landscape/portrait flip, so
  tiff2ps seems better alternative.
- using GraphicsMagick won't help because some distros ban postscript
  processing directly in its code (e.g. openSUSE)

This patch finishes IM policy ban handling, we can't probably do much
better.
2023-07-21 23:17:55 +02:00
Juergen Spitzmueller
03268082a3 Current covington requires varwidth 2023-07-21 14:34:22 +02:00
Juergen Spitzmueller
dfab2898de Fix lyx2lyx reversion problem for covington examples
Do not take arguments of nested insets/layouts as your own
2023-07-21 09:46:47 +02:00
Juergen Spitzmueller
37b39eb0cf Update linguistics manual 2023-07-20 16:45:43 +02:00
Juergen Spitzmueller
a91d1ebe82 Forgot these 2023-07-20 16:26:17 +02:00
Juergen Spitzmueller
2841a1c063 Update covington support in linguistics module (file format change) 2023-07-20 15:09:47 +02:00
Kornel Benko
bf69b7b3a7 Add 'tab-group-next' to emacs.bind
Theis resembles the shortcut "other-window" in emacs.
(Suggestion comes from Christopher Menzel)
2023-07-07 10:51:51 +02:00
Jean-Marc Lasgouttes
7cc431bd55 Add optional parameter 'local' to outline-in/out
When this parameter is given, only the current paragraph is affected
by the section promoting/demoting.

Note that the new argument is not used yet.

Update release notes and LFUNS documentation.

Part of ticket #12417.
2023-07-06 17:47:08 +02:00
Juergen Spitzmueller
86069c9e9a lyx2lyx: skip mathed in convert_hebrew_parentheses (#12824)
Those have not been swapped in Hebrew.
2023-07-04 07:37:06 +02:00
Enrico Forestieri
c5c03f9be3 Amend b135c965
A macro with @ in its name must be used after \makeatletter
2023-06-19 18:30:23 +02:00
Enrico Forestieri
b135c965f6 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
2023-06-19 18:17:31 +02:00
Richard Kimberly Heck
67178df979 Fix lyx2lyx bug reported by Herbert Voss.
For some reason, files converted from really old versions have fewer
lines in reference insets than in more recent versions.
2023-06-16 01:22:52 -04:00
Yuriy Skalko
771bb50552 Name menu item according to UI guidelines 2023-06-16 00:34:05 +02:00
Juergen Spitzmueller
96e5ca81c0 de/UserGuide: updates 2023-06-15 10:06:25 +02:00
Juergen Spitzmueller
129cb86e64 UserGuide: small amendments 2023-06-15 10:06:09 +02:00
Pavel Sanda
f7e625d7ce Rename No page break -> Prevent page break.
Fixes #12790, improved patch from Daniel Ramoeller.
2023-06-14 02:12:44 +02:00
Pavel Sanda
384240498a * UG - move fullscreen section, see #12124. 2023-06-13 11:32:05 +02:00
Pavel Sanda
22bdd1b619 * UG - document #12795 2023-06-13 07:07:10 +02:00
Richard Kimberly Heck
371c20ac11 Docs for empty macros 2023-06-11 13:16:45 -04:00
Richard Kimberly Heck
c3f98d1fa4 The lyx2lyx for the previous commit. 2023-06-11 12:55:51 -04:00
Pavel Sanda
e4c9a71088 Use ps2pdf -dALLOWPSTRANSPARENCY by default.
Ghostscript 9.52 breaks transparency, for some time -dNOSAFER
workaround worked but since 9.53.3 -dALLOWPSTRANSPARENCY should
work. Tested on 9.53.3.

See also
https://www.lyx.org/trac/ticket/12303
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg115086.html
https://tex.stackexchange.com/questions/597980/ghostscript-requires-dallowpstransparency-when-compiling-pstricks-figures
https://forums.fedoraforum.org/showthread.php?324453-Ghostscript-9-52-breaks-transparency-in-LaTeX-packages
2023-06-05 22:45:14 +02:00
Pavel Sanda
86a757a7b0 * UserGuide.lyx - reflect reorganization of Output pane. 2023-06-02 20:32:06 +02:00
Pavel Sanda
528183ddcf * Additional.lyx - clarify git VCS handling. 2023-06-02 20:30:24 +02:00
Daniel Ramoeller
d957afdb64 Remove ellipsis from "End Edit Externally..."
Fix for bug #12780
2023-05-17 15:52:11 -04:00
Enrico Forestieri
a401b26640 Update layouts 2023-05-09 12:10:45 +02:00
Enrico Forestieri
ee9fca42bb Use black as default color for an inset button label text
It turns out that LyX was using red as default color for the
inset button text since ever. However, due to the use of "inherit",
the default button text color was black in practice. This was so
until [897ee2ed/lyxgit], which made the label font not inherited
by default anymore. Hence, all insets that didn't specify a specific
label button color started using red as default color.

This commit restores the previous behavior and introduces the
possibility of modifying this default color.

Fixes bug #12771
2023-05-09 11:33:13 +02:00
Daniel Ramoeller
5556cb3d3f Simplify Quotation/Quote style
Fix for bug #12745
2023-05-08 21:10:50 -04:00
Jean-Marc Lasgouttes
84dc007f1d typo 2023-05-02 14:39:33 +02:00
jpc
78b588031e Update French Additional.lyx, step 1 2023-04-27 14:53:16 +02:00
Juergen Spitzmueller
718a2d2c6b de/Customization.lyx - some forgotten colors 2023-04-15 12:48:27 +02:00
Juergen Spitzmueller
f5356ba0f3 Tiny amendments of 442d463288
Fix alphabetic order and spelling
2023-04-15 12:47:52 +02:00
Pavel Sanda
442d463288 * Customization.lyx - some forgotten colors 2023-04-14 23:33:11 +02:00
Pavel Sanda
14b752c9a9 * customHeadersFooters.module - add pointer to docs. 2023-04-11 09:45:32 +02: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
0de7095774 Add Udi Fogiel to credits 2023-04-10 15:25:58 +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
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
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