Commit Graph

10898 Commits

Author SHA1 Message Date
Udi-Fogiel
ca2c9d8b46 don't convert hebrew parentheses in passthru insets
Fix 12966. A few notes:

* we need to consider both regular insets and argument insets.
* in passthru layouts (such as verbatim) parentheses still need
  to be reversed.
* all arguments of type 'listpreamble' are passthru (this isn't a rule,
  this is just what happen in practice).
* custom layout and insets from the local layout, or a custom module
  are not considered.

Signed-off-by: Udi-Fogiel <udifoglle@gmail.com>
2024-01-01 12:40:00 +02:00
Udi-Fogiel
41214d8f8f Ammend 9e8901f997
Fix a typo in UserGuide.lyx
2024-01-01 12:33:25 +02:00
Scott Kostyshak
fcb3e0cea0 ja docs: restore \font_typewriter to IPAGothic
This fixes, for example, the following ctests:

  export/doc/ja/Customization_pdf4_systemF
  export/doc/ja/Customization_pdf5_systemF

Consistent with ffe5d61b.
2023-12-25 12:20:33 -05:00
Scott Kostyshak
2aee182d9d ja docs: restore \origin
Amends afcd501f.
2023-12-25 12:09:31 -05:00
Richard Kimberly Heck
afcd501fe8 Japanese translations and docs from Koji 2023-12-25 11:41:49 -05:00
Scott Kostyshak
9143878e5d Python fixes for export to LyX Archive
Patch by Kees and José Matos.

For discussion, please see this [1] ML thread. José additionally
notes [2] the following:

  I took the change and I changed some minor annoyances:
  * test comparison with None;
  * fixed a region where the indentation was different from all the
  others (2 spaces instead of 4);
  * replaced xrange with range.

[1] https://www.mail-archive.com/search?l=mid&q=007b01da285a%241b8e28c0%2452aa7a40%24%40gmail.com
[2] https://www.mail-archive.com/search?l=mid&q=0cd9fe5fd161c0ad8950258867255a3bfae8dbc1.camel%40gmail.com
2023-12-06 14:18:11 -05:00
Juergen Spitzmueller
4723f8e754 Amend ddc5fed0ad
*facepalm*
2023-12-05 18:37:26 +01:00
Juergen Spitzmueller
ddc5fed0ad Omit character activation with hanging package
We do not use this feature anyway, and it breaks with other packages/
languages that activate characters
2023-12-05 17:07:10 +01:00
Pavel Sanda
731c2e2c35 * Additional.lyx - typo reported by Daniel (#12985). 2023-11-27 20:07:35 +01:00
Juergen Spitzmueller
341dd6364c de/Customization: update 2023-11-24 16:49:35 +01:00
Enrico Forestieri
dc8d2d554f Document 58103cf2 2023-11-17 19:30:10 +01:00
Pavel Sanda
cc5ea83936 * layouttranslations reviewed by Yuriy 2023-11-13 22:36:57 +01:00
Juergen Spitzmueller
97d596cda2 Improve documentation of required argument tag 2023-11-09 22:06:11 +01:00
Pavel Sanda
2828ae44ee * layouttranslations - uk review by Yuri 2023-11-09 20:38:34 +01:00
Enrico Forestieri
039de52ad9 Amend 58103cf2
The \underbar macro is a text mode macro that can also be used
in math mode. However, when inserting it in mathed, LyX helpfully
wraps it in a \text inset. One can dissolve such text inset and
the macro would appear in math mode without any problem. But the
output routine thinks that the user is shooting itself in the
foot and tries to protect him by wrapping \underbar in the
\lyxmathsym macro, whose definition is normally added to the
preamble when an unicode character is used in math mode.

Of course, this is not the case for \underbar and a compile
error arises. The easier solution is to simply add lyxmathsym as
a requirement for \underbar in lib/symbols, but this means
that the definition of \lyxmathsym would be added even when not
necessary (because in the validation routine we miss the info
about the current mode). The correct solution is acknowledging
the dual nature of \underbar as a text-mode macro that can also
be used in math mode. Luckily the correct solution is almost as
easy as the easier one and is what is done in this commit.
2023-11-09 00:21:21 +01:00
Yuriy Skalko
76d8bfcf21 UserGuide: fix menu name 2023-11-09 00:15:16 +01:00
Yuriy Skalko
bf0005b5b2 Update ru.po and UserGuide 2023-11-09 00:15:16 +01:00
Juergen Spitzmueller
f74cc0ec92 Limit nomencl backwards support to case when old package is really used
This is only needed for very old versions of the nomencl package
(before March 2005)

No need to output compatibility code with newer versions

Furthermore, this breaks the use of the glossary package which also
has .glo extension (#12968)
2023-11-08 16:17:58 +01:00
Juergen Spitzmueller
412d202fc3 Do not reverse parentheses in pass thru insets (#12966) 2023-11-08 15:14:37 +01:00
Enrico Forestieri
58103cf214 Allow using the text properties dialog in mathed
Until now only the color of the text could be changed by using
the text properties dialog. This commit allows changing all
other properties except for strikethrough. It is possible to
also add underlining with the limitation that the changes
accumulate. This requires other work but I think that underlining
and strikethrough are not so important in mathed and can be
refined at a later time.

Fixes #12958
2023-11-06 18:04:44 +01:00
Pavel Sanda
e83c2e9f05 * RELEASE-NOTES rephrase 2023-11-01 21:34:46 +01:00
Pavel Sanda
1a3eadda04 * RELEASE-NOTES - add wayland & mutter comment.
See https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg219735.html
2023-11-01 21:28:31 +01:00
Pavel Sanda
7e39570231 * RELEASE-NOTES 2023-10-26 21:30:20 +02:00
Jean-Marc Lasgouttes
7e19722b0d Document icon.aliases in Release notes 2023-10-24 14:52:33 +02:00
Jean-Marc Lasgouttes
c80f58396b Use same icon for outline-in/out regardeless of "local" argument
Final touch to #12417.
2023-10-24 14:34:14 +02:00
Jean-Marc Lasgouttes
b3bf838248 fix comment 2023-10-24 13:48:57 +02:00
Pavel Sanda
0b5a9060c2 Move textstyle-apply icon back to the group of text-style related icons (+ its appearance).
(part of ongoing discussion in #11427)
2023-10-21 23:09:37 +02:00
Juergen Spitzmueller
052659fe4d Amend 2a2dad3c4d and 32001918cf
Thanks, Udi.
2023-10-16 13:40:40 +02:00
Juergen Spitzmueller
32001918cf update German UG 2023-10-16 09:48:32 +02:00
Juergen Spitzmueller
2a2dad3c4d extend explanation of hyphenation handling 2023-10-16 09:48:17 +02:00
Richard Kimberly Heck
b1f47e4eb9 Add note on \hyphenation 2023-10-15 21:53:36 -04:00
Richard Kimberly Heck
3a430aed3c Fix documentation on hyphenation points 2023-10-15 21:48:11 -04:00
Juergen Spitzmueller
8c2b26c6aa Update German User Guide 2023-10-15 09:41:22 +02:00
Eugene Chornyi
d2132751a7 Implement ui style selection dialog 12832 attempt 2 2023-10-15 08:46:12 +02:00
Daniel Ramoeller
58b4b6f4d5 Add separator between depth and inset stuff
Adds a separator that is missing between depth increase/decrease and inset stuff in the Edit menu

Fix for bug #12931.
2023-10-13 11:15:03 +02:00
Eugene Chornyi
a99a16ae58 Revert 072ba7bd and f1deb1c6 2023-10-11 23:22:17 +02:00
Eugene Chornyi
f1deb1c658 amend 072ba7bd 2023-10-11 22:03:29 +02:00
Eugene Chornyi
072ba7bd2e Implement ui style selection dialog 12832 2023-10-11 20:06:52 +02:00
Juergen Spitzmueller
fc0ce87ce4 document selectionmath color 2023-10-04 13:29:06 +02:00
Udi-Fogiel
48eda746da proper unicode support for hebrew in 8bit engines 2023-09-30 17:09:41 +02:00
Juergen Spitzmueller
9b8183b877 Fix escape string (reported by José) 2023-09-30 13:07:00 +02:00
Juergen Spitzmueller
087f6bce71 Introduce default box frame color (#12921)
This better aligns with dark mode
2023-09-30 09:56:27 +02:00
Scott Kostyshak
d937afba8a Fix babel quoting for Spanish
The problem, described by Udi, was the following:

  See section 1.10 of babel's manual, on page 12 under
  "TROUBLESHOOTING". There cannot be
  a closing curly brace after a shorthand, and in babel-spanish
  ">" is a shorthand.

Thanks to Udi and Jürgen for the patch.

This is a more general fix than the (now reverted) fix at fa67f709.

For ML discussion, see here:

  https://www.mail-archive.com/search?l=mid&q=rwwvyyvwmx5wwvwhqdaioil32hblkzi7ghokzgekksrf66ww3f%40u6nj3guoayay
2023-09-29 10:30:34 -04:00
Scott Kostyshak
cc66c75593 Revert "Fix compilation of es/Letter standard class"
This fix hardcoded a language package and was specific to this
document.

The next commit will introduce a better fix, thanks to Udi and
Jürgen.

This reverts commit fa67f70992.
2023-09-29 10:23:26 -04:00
Pavel Sanda
6141b437b1 pdfcolmk is an empty stub for many years now (bug #12920).
Patch from Udi.
2023-09-28 00:36:35 +02:00
Pavel Sanda
26866d36b3 * es/Intro,Shortcuts updates from Dan. 2023-09-26 22:36:48 +02:00
Pavel Sanda
921cce8cfc * ca/Intro,Shortcuts updates from Dan.
All changes accepted.
2023-09-26 22:33:15 +02:00
Scott Kostyshak
fa67f70992 Fix compilation of es/Letter standard class
The problem, described by Udi, was the following:

  See section 1.10 of babel's manual, on page 12 under
  "TROUBLESHOOTING". There cannot be
  a closing curly brace after a shorthand, and in babel-spanish ">" is a
  shorthand.

Patch from Dan.

For more discussion, see the following ML thread:

  https://www.mail-archive.com/search?l=mid&q=rwwvyyvwmx5wwvwhqdaioil32hblkzi7ghokzgekksrf66ww3f%40u6nj3guoayay
2023-09-23 20:38:10 -04:00
Jürgen Spitzmüller
fcbbb138a2 Adapt listings label color for darkmode
Do not use semantic foreground color here, as label button color does
not change in dark mode.
2023-09-21 07:11:07 +02:00
Pavel Sanda
153a16777e Whitespace 2023-09-19 23:52:13 +02:00
Pavel Sanda
a624e52c95 + es/Letter standard class (from Dan) 2023-09-19 23:48:31 +02:00
Pavel Sanda
24ed90b853 + ca/Letter standard class (from Dan) 2023-09-19 23:41:52 +02:00
Yuriy Skalko
07ab0da26f Update ru docs 2023-09-19 01:05:40 +02:00
Juergen Spitzmueller
9119671ee6 Set Box label color to static black.
Foreground in dark mode does not have enough contrast against the label
background
2023-09-18 07:29:02 +02:00
Juergen Spitzmueller
9110759ec4 Update links 2023-09-16 08:53:19 +02:00
Pavel Sanda
090a6d2cf1 ca/es Shortcuts.lyx update from Dan.
(ca changes accepted)
2023-09-15 22:22:12 +02:00
Pavel Sanda
5e483c2b8a * Shortcuts.lyx from Dan 2023-09-15 22:19:17 +02:00
Pavel Sanda
441de0a434 Regenerate LFUNs.lyx 2023-09-13 20:53:47 +02:00
Pavel Sanda
39b6e49117 Add brenyhp to credits 2023-09-13 20:41:43 +02:00
Juergen Spitzmueller
b7f5b872f5 Example updates for ca and es from Daniel 2023-09-09 11:07:24 +02:00
Scott Kostyshak
77fc67d3f0 Fix lyx2lyx issue reported on ML
The issue was reported on lyx-users by Chris Menzel [1].

Patch is from José Matos [2].

[1] https://www.mail-archive.com/search?l=mid&q=BD744D7E-54B4-4E95-A4E3-6B28F4987DE1%40gmail.com
[2] https://www.mail-archive.com/search?l=mid&q=c2ac54c2322d24051f171558ad8487ea4f7078ed.camel%40gmail.com
2023-09-06 13:07:40 -04:00
Pavel Sanda
97ed7ded05 * es/Intro from Dan. 2023-09-04 23:11:38 +02:00
Pavel Sanda
5e576550c7 Update footnote.png (foot->Foot)
Patch from Dan.
2023-09-04 23:08:42 +02:00
Pavel Sanda
e361282f5e Irrelevant part of #12882 amending 9e8901f997.
Patch from Udi.
2023-09-04 22:05:21 +02:00
Pavel Sanda
56fe7f47eb * Intro.lyx from Dan 2023-09-04 21:31:35 +02:00
Pavel Sanda
59a036a81e * es/Shortcuts.lyx from Dan. 2023-09-03 21:07:56 +02:00
Pavel Sanda
19a5965153 Review of pt layouttranslation by Jose 2023-09-03 20:47:36 +02:00
Pavel Sanda
669774020f * es Welcome.lyx from Daniel 2023-09-01 20:51:27 +02:00
Pavel Sanda
89120ce722 * ca/Intro.lyx from Daniel 2023-09-01 20:47:25 +02:00
Pavel Sanda
8f06e44d31 * doc/Intro.lyx from Daniel 2023-09-01 20:42:28 +02:00
Pavel Sanda
04619a67e9 Forgot to add ca/Shortcuts.lyx into distribution 2023-09-01 20:34:56 +02:00
Juergen Spitzmueller
58e36a27b6 Doc additions by Pavel 2023-08-30 15:40:16 +02:00
Juergen Spitzmueller
4dc9e0c4e6 Improve CITATION_OPEN
* The lyxpaperview script now only provides the paths and let us do the opening
* We use our own viewers for local files rather than QDesktopServices

Plus several minor improvements and code cleanup
2023-08-30 15:30:29 +02:00
Juergen Spitzmueller
cc5abc873a Remove absolute path 2023-08-29 10:45:23 +02:00
Juergen Spitzmueller
0345ce2335 de/Shortcuts: sync with the changes in en/ 2023-08-29 10:41:16 +02:00
Pavel Sanda
f4615da33b * ca/Shortcuts.lyx - remove notes 2023-08-28 21:17:53 +02:00
Pavel Sanda
188c526b41 * ec/ca Shortcuts.lyx (en CT on, ca CT accepted) 2023-08-27 21:51:33 +02:00
Pavel Sanda
33a9598a48 * Shortcuts.lyx - small changes from Daniel, now in CT 2023-08-27 21:44:01 +02:00
jpc
2f6ab9a509 Update French Intro.Lyx 2023-08-27 11:21:56 +02:00
Juergen Spitzmueller
945aa6fca3 library > system, pt. II. 2023-08-26 12:45:41 +02:00
Juergen Spitzmueller
aaff8a4988 Fix formatting
We use sans serif for widget labels in the docs
2023-08-26 11:29:03 +02:00
Juergen Spitzmueller
b2afc8d1af de/UserGuide: update 2023-08-26 11:28:37 +02:00
Richard Kimberly Heck
344dc1f822 Polish formatted reference patch, and add documentation. 2023-08-25 15:24:13 -04:00
Pavel Sanda
877582721d * Intro.lyx from Dan. 2023-08-25 20:55:21 +02:00
Pavel Sanda
0171f132a7 Fix layouttranslation ES notes
https://www.mail-archive.com/lyx-docs@lists.lyx.org/msg10124.html
2023-08-25 18:53:53 +02:00
Jean-Marc Lasgouttes
7c62a6b3c5 Do not use superscript display for now.
There are font issues on some platforms.
2023-08-25 11:50:14 -04:00
Richard Kimberly Heck
2ad57dcb6b Preview formatted references in the work area.
Patch from Daniel Ramoeller <d.lyx@web.de>, fixed up by RKH.
2023-08-24 21:24:31 -04:00
Pavel Sanda
6eb58a5beb * ca/es Welcome.lyx updates by Dan.
I accepted all changes as there is no one else to check.
2023-08-22 21:55:48 +02:00
Pavel Sanda
3c5c9ed000 * Welcome.lyx - few small fixes by Dan.
I agree with the fixes, but let them in CT, so translators can track it.
Before 2.4 we should accept those changes.
2023-08-22 21:50:46 +02:00
Pavel Sanda
fe74c24da9 Revert part of unintended changes in layouttranslations. Still needs review. 2023-08-21 23:44:21 +02:00
Pavel Sanda
97996a84ef layouttranslations.review - update the current status 2023-08-21 23:41:25 +02:00
Pavel Sanda
2b82438ed1 Add Daniel to credits. 2023-08-21 22:54:39 +02:00
Pavel Sanda
10a75ffe2c Make Acknowledg(e)ment translations identical.
The Acknowledgement can be probably deleted from layouttranslations altogether now.
2023-08-21 22:49:21 +02:00
Pavel Sanda
4afb796c59 Regenerate layouttranslations with es/ca updates 2023-08-21 22:47:48 +02:00
Scott Kostyshak
677dc3b7a6 Python fixes from José Matos
See here:

  https://www.mail-archive.com/search?l=mid&q=a7960223ee91696e916b281d1d9fc55df10a9480.camel%40gmail.com

Description from José pasted below:

  Functions `length_in_bp` and `revert_flex_inset` have an error in a
  (almost) never used path. The reason why this was never triggered is
  because this is part of the code where we try all the best efforts
  to recover from an ill-formed LyX file.

  The problem is that the functions call the `document` variable to
  issue an warning if the file does not follow the usual structure.
  The simple fix is to add that variable (as the first for the
  functions) and to add them at all the places where the functions are
  called.

  For reference this code was introduced by Georg (Baum) more than 8
  years ago and it was never reported. So the issue is not urgent in
  any meaningful way. :-)

  In `lyx2lyx/lyx_2_0.py`, in the function `revert_nameref`, there is
  a call to the document variable. The same as all the above.

  In `lyx2lyx/lyx_2_4.py`, in the `class fontmapping`. Similar to the
  above but now for error.
2023-08-19 22:08:08 -04:00
Scott Kostyshak
008e1cc963 Fix font substitutions of Thai documents
The substitutefont package is obsoleted now on TL because the
required functionality is in the kernel. See here:

  https://ctan.org/pkg/substitutefont
2023-08-17 22:17:02 -04:00
Pavel Sanda
1e4f913847 * lyxpaperview.py - non-waiting process call for all cases. 2023-08-17 23:36:18 +02:00
jpc
8458952e9a Update French Additional.lyx, step 2 2023-08-16 09:10:16 +02:00
Pavel Sanda
05088f6a35 UG: include Zotero per #12878 2023-08-15 22:01:13 +02:00
Juergen Spitzmueller
858b076ab7 Work around French babel's incompatibility with prettyref
In classic (pdf)latex, where the colon is activated, detokenize
the argument of \prettyref.

Fix proposed by egreg at
https://tex.stackexchange.com/a/527912/19291
2023-08-11 17:35:18 +02:00
Udi Fogiel
a2ad210926 fix-arabic-preamble-for-luatex 2023-08-11 12:14:33 +02:00
Enrico Forestieri
4fffa458ae Load esint when using \dotsint in math.
Fixes bug #12863.
2023-08-10 18:43:47 +02:00
Juergen Spitzmueller
e2e74ffb0a Grammar 2023-08-10 18:11:25 +02:00
Juergen Spitzmueller
cdc96159f1 Update German Customization manual 2023-08-10 14:56:53 +02:00
Juergen Spitzmueller
69ffa3a0e6 Typo and markup 2023-08-10 14:56:28 +02:00
Pavel Sanda
a3849e8bbe * layouttranslations ja review from Koji 2023-08-08 21:24:05 +02:00
Pavel Sanda
1b63be89ad * sk fixed 2023-08-07 10:35:41 +02:00
Kornel Benko
3dc29144a2 fix translation 2023-08-07 09:54:16 +02:00
Pavel Sanda
f2170fa583 typo 2023-08-07 01:54:08 +02:00
Pavel Sanda
fa6256d325 * layouttranslations.review 2023-08-06 23:34:53 +02:00
Pavel Sanda
72c495c94e * layouttranslations - review cs 2023-08-06 23:03:12 +02:00
Pavel Sanda
660ccd36a3 * RELEASE-NOTES 2023-08-06 17:08:40 +02:00
Stephan Witt
743c4c7e47 #11765 map Command-w like modern apps do - close current view - on Mac 2023-08-06 17:07:57 +02:00
Pavel Sanda
de74acf92e * lib/RELEASE-NOTES 2023-08-06 17:00:16 +02:00
Pavel Sanda
9e8901f997 Adding hebrew quotation marks (bug #12849).
Patch from Udi Fogiel.
2023-08-06 16:50:07 +02:00
Udi Fogiel
582a437d14 missing-symbols-hebrew-kbd 2023-08-01 05:23:05 -04:00
Thibaut Cuvelier
3112728a58 DocBook: implement the Hanging and Initials modules. 2023-07-31 21:28:42 -04:00
Thibaut Cuvelier
d1398a5ba2 Highlight limitations of current multicol DocBook implementation. 2023-07-31 21:28:42 -04:00
Thibaut Cuvelier
92f79baea6 Fix encoding of examples. 2023-07-31 21:28:42 -04:00
Scott Kostyshak
e9fb0df5ea Whitespace
Use tab for consistency.
2023-07-31 18:41:11 -04:00
Scott Kostyshak
e8b01f3d83 Layout typo
Amends e932dc45.
2023-07-31 18:37:46 -04:00
Richard Kimberly Heck
dc12c19337 Fix copy/paste error 2023-07-29 12:28:09 -04:00
Richard Kimberly Heck
343cf06d19 Documentation for new layout features: RefFormat 2023-07-28 21:11:51 -04:00
Richard Kimberly Heck
e932dc4561 Add a bunch of RefFormat and PrettyFormat tags. 2023-07-28 18:22:14 -04:00
Richard Kimberly Heck
d2d7c41643 Update layouts. 2023-07-28 18:21:47 -04:00
Richard Kimberly Heck
04fc48d790 New RefFormat tag for counters, and PrettyFormat for floats.
Layout format updated to 104.
2023-07-28 17:37:13 -04:00
Richard Kimberly Heck
46b7343b34 Fix some pretty counters.
Polish for c609e9cbcf.
2023-07-28 12:49:53 -04:00
Daniel Ramoeller
a0cf9b1286 Fix bug #12006. New icons for changes. 2023-07-28 12:19:29 -04:00
Richard Kimberly Heck
5cb80b867f Hack to display section symbol 2023-07-28 12:07:15 -04:00
Richard Kimberly Heck
a6e20d7138 Update layouts 2023-07-27 21:22:17 -04:00
Richard Kimberly Heck
96dfc081b7 Fix bug #11822.
Allow counter formatting strings in PrettyFormat. Patch from Daniel.
2023-07-27 21:20:53 -04:00
Richard Kimberly Heck
cc22d766a9 Slight rearrangement 2023-07-27 01:22:30 -04:00
Thibaut Cuvelier
6492fd8e14 Beamer layout: fix issue 8767
The "Frame" label was shown for each Beamer frame.
2023-07-27 00:24:02 +02:00
Richard Kimberly Heck
926ae84921 Use Alt-Escape to float and unfloat dock widgets.
For some reason, redocking is not working for me at all. This
key seems free.
2023-07-26 14:26:02 -04:00
Juergen Spitzmueller
7f4c4cd548 Improve AllowedOccurrences
This does now apply to the whole inset or paragraph group (not to the
current paragraph only) unless the new boolean AllowedOccurrencesPerItem
is set and we are in a list-type environment.

Amends 729ab602ca
2023-07-26 09:53:25 +02:00
Juergen Spitzmueller
729ab602ca To finish up #6854, also add AllowedOccurrences
Again very basic for now (this only considers the current paragraph,
not the whole inset or a serious of grouped layouts
2023-07-25 15:49:53 +02:00
Juergen Spitzmueller
19975d07dd Update layouts 2023-07-25 13:44:29 +02:00
Juergen Spitzmueller
7f4f9a99f0 Implement new tags in some layouts 2023-07-25 13:40:23 +02:00
Juergen Spitzmueller
0b463bfe0f Add AllowedInInsets and AllowedInLayouts InsetLayout tags
This allows to restrict the use of flex insets to specific contexts.

Note that this is currently very basis. It only considers immediately
containing insets/layouts and can be surpassed via cut and paste.

The use case that made me finally implement this are macros in covington
that make sense only in specific environments (but also consider \inst
in some article classes)
2023-07-25 13:37:07 +02:00
Pavel Sanda
04237beb41 * RELEASE-NOTES 2023-07-24 11:39:44 +02:00
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