Commit Graph

10704 Commits

Author SHA1 Message Date
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
Pavel Sanda
1e1034248e * autocorrect comment 2023-03-20 22:48:41 +01:00
Richard Kimberly Heck
8872d6a54d Add a couple logic autocorrects 2023-03-19 21:30:42 -04: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
6572a3f141 Fix bindings for ellipsis and end-of-sentence-period
On some keyboards, `period' is only accessible with the shift modifier.
2023-03-15 19:04:36 +01:00
Richard Kimberly Heck
8e190c09f2 Add note about CopyStyle 2023-03-14 11:50:06 -04:00
Yuriy Skalko
cc30ec0061 Update ru.po and docs 2023-03-14 16:30:17 +01:00
Kornel Benko
f2f49674be Cmake tests: Adapted BATCH tests to ignore the stored LyX-version 2023-03-12 20:19:21 +01:00
jpc
c9c7f0d30b Typos in French UserGuide 2023-03-12 11:29:47 +01:00
jpc
5f7ae3ade5 Translation of the safety nets section, last step 2023-03-10 10:18:37 +01:00
Pavel Sanda
bf4ba774c6 Update csv2lyx.py to work with Python 3.
Patch from Jose.
2023-03-08 22:26:04 +01:00
jpc
42bb89b553 Translation of the safety nets section, step 2 2023-03-06 11:01:57 +01:00
Pavel Sanda
bad9e2285c * cs/Tutorial.lyx 2023-03-03 21:17:45 +01:00
jpc
2cdb7c3efa Translation of the safety nets section, step 1 2023-03-03 18:28:10 +01:00
Scott Kostyshak
ffe5d61bb2 ja docs: restore \font_typewriter to IPAGothic
It had been (accidentally, I think) set to default at 723d3703.

See 6656dd22 for why we set to IPAGothic.
2023-02-27 20:54:45 -05:00
Pavel Sanda
9dee1572bb Fix casing.
Spotted by Juergen.
2023-02-26 19:51:48 +01:00
Pavel Sanda
2b6ef1257a Infoinset - better specification of few strings 2023-02-25 18:52:31 +01:00
Juergen Spitzmueller
7da020a594 Remove zombie Acknowledgement theorem 2023-02-25 08:43:41 +01:00
Pavel Sanda
52d51fe433 lyxpaperview - fix redirection
Any time pdfviewer process write anything to stderr it's killed,
most probably due to not existing pipe to proper stderr file descriptor.
/dev/null redirection fixes the issue.
2023-02-24 20:44:37 +01:00
Pavel Sanda
17829ee513 lyxpaperview - don't wait for the process to finish 2023-02-24 20:26:35 +01:00
Pavel Sanda
723d3703fd Update ja manuals from Koji 2023-02-24 19:57:30 +01:00
Juergen Spitzmueller
010fb0690a de/UserGuide: additions to citation search 2023-02-21 10:41:21 +01:00
Juergen Spitzmueller
c9b1b46796 Minor corrections and elaborations 2023-02-21 10:41:05 +01:00
Pavel Sanda
9cba175930 * UserGuide - few details on lyxpaperview 2023-02-21 09:52:11 +01:00
Pavel Sanda
307498894c * lyxpaperview.py - allow arguments for viewers 2023-02-20 23:07:09 +01:00
jpc
794c2aa956 Restore French guillemets 2023-02-20 11:13:09 +01:00
Pavel Sanda
cb32a61e94 UserGuide - document citation_search_view 2023-02-19 17:01:43 +01:00
Scott Kostyshak
07a7e847d6 French docs: remove unicode thin spaces
Consistent with 9b20b33a and cb732ef5.
2023-02-18 16:40:50 -05:00
Scott Kostyshak
9b20b33a3e fr EmbeddedObjects: fix comp with LuaTeX + babel
This commit removes unicode thin space characters (unicode 2009).

LuaTeX with polyglossia (the default) was compiling before, but this
fixes LuaTeX with babel.

XeTeX compilation (with both polyglossia and babel) still yields
missing glyphs.

Consistent with cb732ef5.
2023-02-18 16:30:07 -05:00
Pavel Sanda
e98d9f974a CT: Shorten menu items 2023-02-18 12:19:56 +01:00
Juergen Spitzmueller
a6f51c904d Some more minor corrections on the new (backup-related) documentation 2023-02-17 12:57:05 +01:00
Juergen Spitzmueller
85eff6884e de/UserGuide: add the recent additions on backup files 2023-02-17 11:28:42 +01:00
Juergen Spitzmueller
b4febc33da Minor corrections 2023-02-17 11:28:11 +01:00
Juergen Spitzmueller
cbcc369a94 Amend 176caed5c7
Forgot to save before committing.
How fitting given the topic of this section.
2023-02-17 10:41:44 +01:00
Juergen Spitzmueller
176caed5c7 UserGuide: Add documentation on our backup and safety framework
Explain the diverse types of backup, rescue and snapshot files, where
to find them and when to use which one.
2023-02-17 10:34:58 +01:00
Scott Kostyshak
0784e08062 Fix \origin of newly added ja books and reports 2023-02-16 12:07:51 -05:00
Scott Kostyshak
8bf93b35a1 Fix \origin of newly added files 2023-02-16 12:05:07 -05:00
Scott Kostyshak
8887c4edda Add layout format number of newly added file
Update it to 99.
2023-02-16 12:00:21 -05:00
Juergen Spitzmueller
900dc62226 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.
2023-02-16 15:45:58 +01:00
Juergen Spitzmueller
d3c11e3322 Document needauth 2023-02-16 14:16:41 +01:00
Juergen Spitzmueller
79269ef021 Casing fix 2023-02-16 11:21:45 +01:00
Juergen Spitzmueller
76280b84db Fix URL documentation
It's not true that long URLs are not broken by default.
They are just broken only at certain characters, and this can be customized.

It's also not true that the font formatting cannot be customized.
2023-02-16 09:40:39 +01:00
Juergen Spitzmueller
62ea103662 Completion of Japanese classes, by Koji Yokota (#12658). 2023-02-16 08:59:27 +01:00
Pavel Sanda
74ed7a12a6 * UserGuide.lyx - add note about linebreaking URL via \usepackage{xurl}. 2023-02-15 18:29:45 +01:00
Daniel Ramoeller
04fc8b5e92 Wrong borders on Simple Grid/Grid with Head table template
Fix for #12505.
2023-02-11 12:07:24 +01:00
Juergen Spitzmueller
812ac64447 Fix moved examples's \origin 2023-02-10 16:31:33 +01:00
Juergen Spitzmueller
9784fd4214 Move some example files to proper location
Listen to Uncle Tarski and do not mixup meta and object language!
2023-02-10 16:24:10 +01:00
Juergen Spitzmueller
4f324cf46f Another cut an paste error 2023-02-10 14:11:03 +01:00
Juergen Spitzmueller
5c1b055b31 Clarify example file names
These are not about multilingual typesetting in general,
but about combining Japanese (as main language) with other scripts.
2023-02-10 14:04:21 +01:00
Juergen Spitzmueller
eca06b4273 Fix cut and paste error 2023-02-10 13:51:43 +01:00
Juergen Spitzmueller
3365012fe0 Add Armenian example file, originally by Günter Milde, extended by me (#10580) 2023-02-10 13:50:54 +01:00
Juergen Spitzmueller
93872e6fca Move language-specific examples in their own category
Also, give some files a more transparent name
2023-02-10 13:10:15 +01:00
Juergen Spitzmueller
f17bc84788 Remove acknowledgement theorem traces 2023-02-10 12:54:20 +01:00