Commit Graph

11053 Commits

Author SHA1 Message Date
Juergen Spitzmueller
c56bad8a6e Work around bug in aa.cls 2024-09-25 14:31:56 +02:00
Juergen Spitzmueller
67d3c6f8b3 Work around bug in aa.cls 2024-09-25 11:44:32 +02:00
Pavel Sanda
766f666cbb UG: document hyperref borders/colors interaction.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg222962.html
2024-09-24 20:15:00 +02:00
Jean-Marc Lasgouttes
edf56d644d Do not use big characters for some unicode points
This modifies LOGICAL AND, LOGICAL OR, INTERSECTION and UNION.

Fixes bug #13099.
2024-09-23 19:42:29 +02:00
Juergen Spitzmueller
8d724b23a6 Better fix for Spanish Tufte problem
The option "nohyper" causes the issue
2024-09-22 17:16:54 +02:00
Juergen Spitzmueller
4df40706b4 Revert "Work around fragility problem in Spanish Tufte Handout"
This reverts commit 8298454577.
2024-09-22 17:15:46 +02:00
Juergen Spitzmueller
8298454577 Work around fragility problem in Spanish Tufte Handout
It is unclear what the actual problem is; it only shows up in this
document (not the other l7ns)
2024-09-22 11:50:40 +02:00
Juergen Spitzmueller
2e408d2fdc Do not output empty statement in lyx2lyx reversion 2024-09-17 15:53:18 +02:00
Juergen Spitzmueller
71e314c247 ja/UserGuide: work around language nesting issue 2024-09-17 09:51:29 +02:00
Juergen Spitzmueller
9ac0d48849 Add missing ("false") condition 2024-09-16 17:05:12 +02:00
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