Commit Graph

11093 Commits

Author SHA1 Message Date
Juergen Spitzmueller
4d3592fd18 amend 8e49c9a704
we might not be using babel, after all
2024-09-16 15:12:42 +02:00
Juergen Spitzmueller
8e49c9a704 Fix es/ModernCV on older versions that do not have language options 2024-09-16 14:54:30 +02:00
Juergen Spitzmueller
61a7e970d1 Fix most math problems with Xe/LuaTeX
One NULL character issue left
2024-09-16 14:30:16 +02:00
Juergen Spitzmueller
a2d75bb9d7 Fixup ja/Additional for Xe/LuaTeX 2024-09-16 13:36:48 +02:00
Juergen Spitzmueller
6821738fe5 Fixup ja/UserGuide for XeTeX
The system fonts do not cover Western quotation marks
2024-09-16 13:36:03 +02:00
Juergen Spitzmueller
49904f5d3d A&A does not work with polyglossia
(babel is hardcoded in the class)
2024-09-15 18:36:23 +02:00
Juergen Spitzmueller
5c5b488c88 Fix Spanish ModernCV example 2024-09-15 13:53:41 +02:00
Juergen Spitzmueller
08c5b8b8b2 Set appropriate system fonts for Chinese docs 2024-09-15 13:32:10 +02:00
Juergen Spitzmueller
7340fe5d65 Fixup some more Japanese templates
All of these rely on non-polyglossia language support
2024-09-14 14:43:43 +02:00
Juergen Spitzmueller
80fdb6ba42 Fixup Japanese Article template
This one relies on its own language support
2024-09-14 14:38:47 +02:00
Juergen Spitzmueller
250cb1401d Fixup Japanese Feynman example
Polyglossia is loaded after the user preamble
2024-09-14 14:36:18 +02:00
Juergen Spitzmueller
6d06f5fa55 Fixup Japanese Article example
This one relies on its own language support
2024-09-14 14:29:31 +02:00
Udi Fogiel
abd35bc33c fix jlreq abstract layout and adapt Chinese docs for unicode engines
jlreq layout defined the abstract environment to be boxed
in the preamble. Doing any kind of typesetting before
all the setup has finished is error prone and may lead to
wrong output (wrong fonts for example). The correct
place to put the abstract code is right before \maketitle.

The Chinese docs loaded the ctex package in case system fonts
were used. Now, with the new support for languages with babel
and polyglossia it is no longer necessary and creates collisions.
2024-09-10 15:17:07 +03:00
Jean-Marc Lasgouttes
6c20e5db7d Add ScrollType BOTTOM and TOGGLE for BufferView::scrollToCursor()
BOTTOM shows the paragraph containing the cursor at the bottom of the
work area.

TOGGLE does CENTER, then TOP, BOTTOM and finally cycles to CENTER.
This is a feature copied from emacs's C-l binding.

Add new argument "caret" to lfun "scroll" that can be used like
  scroll caret center

Change the keys (either C-l, M-l or F5) bound to screen-recenter to
"scroll caret toggle".

As an experiment, change paragraph-goto to use this scrolling method.
This can be tested when going to a heading in the outline pane.
2024-09-06 12:21:42 +02:00
Jean-Marc Lasgouttes
3c59a9a23c Remove legacy code to compute geometry
This code is not necessary anymore after the fix to #13069.

Remove the first QString argument to createView(). Set the autoShow
parameter to false by default and rename createView(id) to
createAndShowView(id) to avoid member function overloading issues.

Remove optional <GEOMETRY> argument of window-new lfun.
Document the removal of the argument in release notes.
2024-08-30 14:45:36 +02:00
Jürgen Spitzmüller
b0a2aa5aa5 Add missing Spanish modifier 2024-08-28 09:23:35 +02:00
Juergen Spitzmueller
686b55e70d Amend fc605cf138
Use proper option if main and a secondary language have BabelProvide 2
2024-08-25 18:01:26 +02:00
Juergen Spitzmueller
68b7378db8 Another language GUI string improvement 2024-08-25 16:20:42 +02:00
Juergen Spitzmueller
1abfc116ff Clarify usablity of language support variants in GUI string 2024-08-25 15:45:18 +02:00
Juergen Spitzmueller
5a0ec69a79 Farsi and Arabic need BabelProvide 2, too 2024-08-25 15:31:14 +02:00
Juergen Spitzmueller
fc605cf138 Add proper support for BabelProvide 2
We need to instruct babel not to load an existing ldf in this case
2024-08-25 14:56:05 +02:00
Juergen Spitzmueller
8aaaa53c5b Fix typo 2024-08-25 14:08:33 +02:00
Juergen Spitzmueller
b9bb585d06 Fix GUI string 2024-08-25 14:00:44 +02:00
Juergen Spitzmueller
b625138be6 Add support for the following languages
Polyglossia:
Chinese (Simplified), Chinese (Traditional), Japanese, Kurdish (Sorani),
Latin (Classic), Latin (Ecclesiastic), Latin (Medieval), N'ko, Odia,
Punjabi, and Uyghur

Babel:
Amharic, Armenian, Asturian, Bengali, Church Slavonic, Coptic, Divehi,
Kannada, Kazakh, Khmer, Kurdish (Sorani), Lao, Latin (Classic),
Latin (Ecclesiastic), Latin (Medieval), Malayalam, Marathi, N'ko,
Occitan, Odia, Punjabi, Russian (Petrine orthography), Sanskrit, Syriac,
Tamil, Telugu, Tibetan, Urdu, and Uyghur
2024-08-25 13:22:07 +02:00
José Matos
d06a034578 Python 3.13 removed the pipes module from the standard library
That module was a wrapper over the popen module and it was scheduled to
be removed in Python 3.11.

This code is also compatible with Python 2.
2024-08-25 10:14:18 +01:00
Juergen Spitzmueller
d0fe7fcb7b Some more language TODOs
Obviously, we can support all languages that have so far only been
provided via polyglossia with babel(provide)
2024-08-25 10:10:00 +02:00
Juergen Spitzmueller
b322ecb483 Load Ancient Greek and Mexican Spanish via \babelprovide
In classic babel, these varieties are only available via modifiers
or attributes, which means that they could only be used instead rather
than in addition to the default variety
2024-08-25 09:48:04 +02:00
Juergen Spitzmueller
047dee5a3b Basic support for \babelprovide
This is the new(er) babel mechanism to load languages via babel *.ini
files.

Some languages (or varieties) are only supported this way, some work
better with unicode engines this way (for the latter case, we have
BabelProvide 2)
2024-08-25 09:46:29 +02:00
Juergen Spitzmueller
ac509f3b6e spell out all polyglossia variants (required if varieties are mixed) 2024-08-24 15:53:01 +02:00
Juergen Spitzmueller
3038a8bc04 Some more language TODOs 2024-08-24 15:43:58 +02:00
Juergen Spitzmueller
b249140cf1 Update some polyglossia names
and add TODOs for not yet supported polyglossia languages
2024-08-24 15:10:20 +02:00
Juergen Spitzmueller
7e09f574ba Add BabelOpts to languages
This way, some settings that were hardcoded in BabelPreamble are
customizable in document settings
2024-08-24 14:30:37 +02:00
Juergen Spitzmueller
285f467f24 Provide babel language options only for languages that have options 2024-08-24 04:51:45 +02:00
Juergen Spitzmueller
2b6f01cdad More languages that use babel modifiers 2024-08-23 17:15:04 +02:00
Juergen Spitzmueller
ca7e772882 babel-german uses modifiers 2024-08-23 16:46:37 +02:00
Juergen Spitzmueller
671d6e4ea2 Document language options 2024-08-23 16:08:37 +02:00
Juergen Spitzmueller
7e49ae7b13 Add support for language options (#8034)
File format change.

Note that this cannot be properly reverted to LyX 2.4, so any options
will simply vanish on reversion or roundtrip
2024-08-23 15:52:34 +02:00
Juergen Spitzmueller
ceaaacd8e3 typos 2024-08-22 09:42:40 +02:00
Juergen Spitzmueller
2d3c088651 clarify use of subgroups 2024-08-22 09:19:43 +02:00
Juergen Spitzmueller
33869b62bf Add GUI support for nomencl options 2024-08-22 08:11:18 +02:00
Juergen Spitzmueller
0ca600b93b \use_nomentbl -> \nomencl_opts
This allows for support of more options

As the param is only a few hours old, no lyx2lyx handling is needed
2024-08-22 05:35:47 +02:00
Juergen Spitzmueller
2552f350ba disambiguate string 2024-08-21 18:07:47 +02:00
Juergen Spitzmueller
13ee0bc8cd Add support for the nomentbl nomenclature option
file format change
2024-08-21 17:39:36 +02:00
Richard Kimberly Heck
db1d2c7769 Replace lyx2lyx code with native solution
(cherry picked from commit 46f2fd1a74)
2024-08-21 11:27:35 -04:00
Juergen Spitzmueller
807c9124dc Fix erroneous self-nesting 2024-08-21 06:19:45 +02:00
Juergen Spitzmueller
c0f785e366 fix A&A template 2024-08-20 17:38:28 +02:00
Juergen Spitzmueller
1429552063 Improve output pane, as discussed in #12372
* The image scale param is shared by XHTML and DocBook
* It does not only apply to math
* Get rid of redundant group headers (#12902)
2024-08-18 18:18:07 +02:00
Juergen Spitzmueller
03c5842006 Add "needcopiesfrom" converter flag
This is needed to provide ePub and other DocBook-based exports with
the right (renamed) images (fixes #12372)
2024-08-18 17:53:51 +02:00
Juergen Spitzmueller
ccdf8ba701 another lyx2lyx fix for index 2024-08-17 16:55:23 +02:00
Juergen Spitzmueller
01f5efbe13 fix lyx2lyx functions 2024-08-17 16:19:10 +02:00
Juergen Spitzmueller
5b5127891d remove useless warning 2024-08-17 16:15:11 +02:00
Juergen Spitzmueller
083e9b44a0 harmonize indendation 2024-08-17 13:32:07 +02:00
Juergen Spitzmueller
e1b6ad7980 further improve get_quoted_value
as per José's suggestion
2024-08-15 17:45:40 +02:00
Juergen Spitzmueller
bb3dd3c9f2 style 2024-08-15 13:11:20 +02:00
Juergen Spitzmueller
54eff37ac0 revert_nomencl: escape " and \ for command inset 2024-08-15 09:06:14 +02:00
Juergen Spitzmueller
9835022c59 forgotten subindex 2024-08-15 08:51:18 +02:00
Juergen Spitzmueller
a6fbb8677e fix convert_index_sc method 2024-08-15 08:05:31 +02:00
Juergen Spitzmueller
eb16ecf8b6 fix get_quoted_value
The previous version also stripped quotes that are part of the string
2024-08-15 08:04:48 +02:00
Juergen Spitzmueller
0659af15fb Add InsertCotext tag to InsetLayout
Avoids hardcoding of insets, and this behavior is possibly useful to
other insets than index and nomencl

We take this on yesterday's layout format change
2024-08-13 07:29:14 +02:00
Juergen Spitzmueller
6fa0532ed4 Escape special chars in indexes
We now have the functionality via sub-insets, and unexperienced users
are surprised when they don't get a literal !.

The unescaped chars can still be used via ERT.
2024-08-12 17:10:57 +02:00
Juergen Spitzmueller
2ec65921be Document an advanced nomencl use (#6996) 2024-08-12 12:54:55 +02:00
Juergen Spitzmueller
a5841b3312 Transform InsetNomenclature to a collapsible
Fixes: #10460, #12595, #6353
2024-08-12 12:33:16 +02:00
Juergen Spitzmueller
66afab4497 Update layout formats 2024-08-12 12:29:50 +02:00
Juergen Spitzmueller
8847651623 Add EscapeChars layout tag
This allows to define chars to be escape and an escape character

Needed in index and nomenclature
2024-08-12 12:25:31 +02:00
Juergen Spitzmueller
01ab4c151e Some documentation for reference-to-paragraph 2024-08-09 08:44:03 +02:00
Juergen Spitzmueller
1c5fd2ea4e reference-to-paragraph for footnotes 2024-08-09 08:30:29 +02:00
Juergen Spitzmueller
26258dc5fc de/Additional: stick with 2.4 file format 2024-08-09 07:40:17 +02:00
Juergen Spitzmueller
a2f396d177 de/Additional: eLyXer removal 2024-08-09 07:01:13 +02:00
Richard Kimberly Heck
7d686799b7 Check changes from eLyXer removal 2024-08-08 11:03:56 -04:00
Pavel Sanda
e545678687 * RELEASE-NOTES 2024-08-07 22:55:49 +02:00
Pavel Sanda
017fad533e Drop eLyXer, part2.
Removed parts of xHTML-related notes explaining elyxer,
reworded little bit. Native speaker might want to review.
2024-08-07 22:53:12 +02:00
Pavel Sanda
86c06ea93c Drop eLyXer, part1.
Last release 2013, no more present as distro package, python2 requirement.
2024-08-07 22:51:24 +02:00
Richard Kimberly Heck
337a94a425 Restore obvious shortcut 2024-08-06 14:50:29 -04:00
Juergen Spitzmueller
f2e6a9b4ae Add plt as gnuplot extension (#11148)
This seems to be the common one on Windows
2024-08-06 16:29:55 +02:00
Juergen Spitzmueller
43baae382c Add Tomasz Kołodziejski to the credits 2024-08-05 10:28:31 +02:00
Juergen Spitzmueller
7ac4e53e37 Disambiguate string
At least in German "label" in a form and "label" as in \label
translate differently
2024-08-01 12:16:10 +02:00
Juergen Spitzmueller
143e534d1e Implement reference-to-paragraph in outliner (#1624)
This allows to insert a cross-reference to headings, figures or tables
by right-clicking on the outliner item.

If the item in question does not have a label yet, it is inserted.
2024-07-28 15:59:06 +02:00
José Matos
52295693d6 Clean python code (lyx2lyx)
Please linter where it makes sense:

* Avoid bare exceptions;
* Use formatted strings instead of string interpolation
2024-07-28 09:56:29 +01:00
Juergen Spitzmueller
d4f58c96b5 Add support for multiple indexes in Memoir
As with almost everything, this class bakes its own cake also with
multiple indexes. So we need to account for this to produce
compilable output.

Not very nice, but there you go!
2024-07-26 12:48:12 +02:00
Scott Kostyshak
8c3d378217 Amend previous commit (4b33e603)
Jürgen confirmed that the layout change to the last file is indeed
expected [1].

[1] https://www.mail-archive.com/search?l=mid&q=e00fb2e29dfd77b992761aaa1f822fc979059728.camel%40lyx.org
2024-07-24 11:00:51 -04:00
Scott Kostyshak
4b33e60346 Update layouts
I do not commit the update to the following file since it has a
non-trivial change:

  lib/layouts/jlreq-common.inc

I'll ask for confirmation on the list before updating that file.
2024-07-24 10:19:31 -04:00
Juergen Spitzmueller
9f31d562bf UserGuide: fix two nomencl entries 2024-07-22 10:42:54 +02:00
Juergen Spitzmueller
ae1e1cb069 Add possibility to manually specify longest label in nomenclature
File format change
2024-07-21 17:59:34 +02:00
Juergen Spitzmueller
f58a442380 Make headlesscite an alias of MLA's autocite
As in biblatex-mla itself
2024-07-14 08:57:02 +02:00
Juergen Spitzmueller
369c871609 Support MLA's \autocite variants 2024-07-13 17:32:54 +02:00
Juergen Spitzmueller
6603c5362f Provide reversed style specifier for citation commands
This lets you exclude given variants for specific citation styles only
2024-07-13 17:20:29 +02:00
Juergen Spitzmueller
29b36dd0b8 Improve on-screen representation with MLA style
This style is quite unique, so we need to accommodate that
2024-07-11 13:39:17 +02:00
Juergen Spitzmueller
2dac89aca0 Add support for biblatex-apa's \nptextcite 2024-07-11 10:28:38 +02:00
Juergen Spitzmueller
f7cc716861 Allow to pass several styles for style-specific cite commands 2024-07-11 10:09:26 +02:00
Juergen Spitzmueller
04d8616c0a Fix cut and paste error in fbbe1eb013 2024-07-11 09:56:08 +02:00
Juergen Spitzmueller
d2ad0618bb Amend fbbe1eb013
Include apa6
2024-07-11 09:47:37 +02:00
Juergen Spitzmueller
fbbe1eb013 Improve representation of APA citation 2024-07-11 09:20:19 +02:00
Juergen Spitzmueller
5c2652fa12 BiblioInfo: Ability to distinguish '&' and 'and' author separation
Finicky styles such as APA use both in different context, and we need
to represent this to make style choice differentiatable
2024-07-11 09:13:43 +02:00
Juergen Spitzmueller
a1e57a8fe5 BiblioInfo: Add citestyle conditional 2024-07-11 07:41:47 +02:00
Udi Fogiel
ae70eb0d36 remove language switches from index entries in fr Additional.lyx 2024-07-10 23:07:31 +03:00
Scott Kostyshak
49907c9bd2 fr Additional.lyx: restore a path to an include 2024-07-10 11:41:43 -04:00
Juergen Spitzmueller
40d644a7f9 Implement possibility to define citestyle-specific commands with biblatex
Not yet used.
2024-07-10 16:58:34 +02:00
Juergen Spitzmueller
f96422fc9c Fix glitch in revert_biblatex_chicago 2024-07-10 09:51:55 +02:00
jpc
18ce7a2e80 Import Additional from 2.4.x 2024-07-09 18:15:48 +02:00
Juergen Spitzmueller
8941b05774 Add support for biblatex-chicago (#12240)
File format change
2024-07-09 15:18:06 +02:00