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