Juergen Spitzmueller
126cbec5e7
Re-focus workarea after some outline context-menu actions (see #1624 )
...
Thanks Pavel for the main idea
2024-09-24 08:47:55 +02:00
Jean-Marc Lasgouttes
194b53ef9d
QFontMetrics::xHeight() is not always the ascent of 'x'
...
Use the real ascent of glyph 'x' as LyX 2.3.x did.
It can make a difference at least on Windows with many fonts.
Fixes bug #13100 .
2024-09-23 21:11:49 +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
Kornel Benko
3add2204d4
Cmake tests: Amend 6e05409d
...
Use with a slightly better thought out selection of possible exports to tex-source.
2024-09-22 11:40:28 +02:00
Kornel Benko
7f970b11b3
Update sk.po
2024-09-21 21:54:49 +02:00
Kornel Benko
13f275d0aa
Cmake build: Omit "PRE_BUILD" in add_custom_command()
...
According to cmake warning output while configuring:
CMake Error (dev) at po/CMakeLists.txt:72 (ADD_CUSTOM_COMMAND):
The following keywords are not supported when using
add_custom_command(OUTPUT): PRE_BUILD.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
po/CMakeLists.txt:106 (add_gettext_python)
This error is for project developers. Use -Wno-error=dev to suppress it.
2024-09-21 21:52:21 +02:00
Scott Kostyshak
6e05409d13
ctests: invert chess lyx2lyx tests
...
In export.cmake, if the detected output format is pdf3, we try to
export to "platex", which usually makes sense, but for this file we
would need to export to "latex". This file is very particular, and
also old, so I do not know if it is worth the time to handle this
case.
This commit inverts the following tests:
export/examples/Articles/Chess/Game_1_lyx16 (Failed)
export/examples/Articles/Chess/Game_1_lyx20 (Failed)
export/examples/Articles/Chess/Game_1_lyx21 (Failed)
export/examples/Articles/Chess/Game_1_lyx22 (Failed)
export/examples/Articles/Chess/Game_1_lyx23 (Failed)
2024-09-21 13:10:20 +02:00
Juergen Spitzmueller
f6741c72e1
de.po
2024-09-21 12:46:45 +02:00
Juergen Spitzmueller
d43e82a5a7
Only \protect labels in \thanks notes
...
See https://marc.info/?l=lyx-users&m=136394387505489
2024-09-21 11:30:08 +02:00
Juergen Spitzmueller
124f441a00
GuiBibTeX: introduce way to toggle between absolute and relative local paths ( #13097 )
2024-09-21 07:30:55 +02:00
Pavel Sanda
b7e4cc9a37
Header not needed anymore
2024-09-20 21:33:41 +02:00
Jean-Marc Lasgouttes
77e4092b99
Move assertion at the right position
...
It would wrongly trigger when doing a multi-cell selection.
2024-09-19 23:18:47 +02:00
Scott Kostyshak
92c7c33d9e
ctests: invert lyx2lyx tests that fail TeX export
...
These fail when exporting to TeX, but since they have to do with old
formats, it's not clear it's worth the time to investigate.
These started failing once we check the exit code of LyX's TeX
export (at c7be9780
).
2024-09-19 22:38:49 +02:00
Scott Kostyshak
c7be978098
ctests: exit with error if export to .tex fails
...
Now that we detect and export to the correct TeX format (instead of
assuming pdflatex), we can make the check more strict by giving an
error if LyX exits with error from the export.
2024-09-19 22:34:37 +02:00
Scott Kostyshak
03f0392849
ctests: default for Japanese + systemF is pdf4
...
This fixes the following tests:
export/examples/ja/Modules/Rnw_%28knitr%29_lyx22
export/examples/ja/Modules/Rnw_%28knitr%29_lyx23
export/examples/ja/Modules/Sweave_lyx22
export/examples/ja/Modules/Sweave_lyx23
2024-09-19 22:01:38 +02:00
Juergen Spitzmueller
f5306b7054
Fix outliner tree depth ( #13098 )
2024-09-19 10:00:39 +02:00
Pavel Sanda
9d9f13ff83
Move header where needed.
2024-09-18 21:25:18 +02:00
Scott Kostyshak
8edc2aeb3e
ctests: comment the inverted ja Math systemF tests
...
Comments from Jürgen about why it is complicated to fix the exports.
2024-09-18 14:20:16 +02:00
Scott Kostyshak
2cce445862
Amend e72ca6a5
2024-09-17 21:41:48 +02:00
Pavel Sanda
c87b2d5fc2
Header not needed anymore
2024-09-17 19:51:35 +02:00
Kornel Benko
e72ca6a586
Cmake lyx2lyx export tests: Try to use output format from the lyx-source
2024-09-17 18:42:46 +02:00
Juergen Spitzmueller
2e408d2fdc
Do not output empty statement in lyx2lyx reversion
2024-09-17 15:53:18 +02:00
Scott Kostyshak
e3d26bcb5f
Uninvert ja UserGuide systemF tests
...
These exports pass thanks to Jürgen's recent fixes, including
working around a language nesting issue.
2024-09-17 11:12:10 +02:00
Juergen Spitzmueller
71e314c247
ja/UserGuide: work around language nesting issue
2024-09-17 09:51:29 +02:00
Scott Kostyshak
bdc6df14ed
Uninvert the ja Additional systemF tests
...
These exports now succeed thanks to Jürgen's recent fixes.
2024-09-16 17:54:17 +02:00
Juergen Spitzmueller
9ac0d48849
Add missing ("false") condition
2024-09-16 17:05:12 +02:00
Kornel Benko
4002eb0b67
Update sk.po
2024-09-16 15:31:03 +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
5002da6070
Fix font def
2024-09-16 08:48:28 +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
649c5e9b0a
Uee a more accesible JP mono font
2024-09-15 17:34:28 +02:00
Juergen Spitzmueller
e256357509
Fixup polyglossia-languages test file
...
* Workaround for churchslavonic
2024-09-15 15:21:46 +02:00
Juergen Spitzmueller
e7c5b8aecc
Fixup polyglossia-languages test file
...
* Branch Kazakh as it is now babel-only
* Setup fonts for Chinese via fontspec
* Setup proper fonts for Japanese
* Use proper Japanese language variant
2024-09-15 15:09:08 +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
Jean-Marc Lasgouttes
928f9514a8
More places where DocumentClassPtr should not be copied
...
Spotted by COverity scan.
2024-09-14 20:40:53 +02:00
Jean-Marc Lasgouttes
8c76a9fc3d
Pass sigPtr object as const reference too
...
Spotted by Coverity scan.
2024-09-14 20:36:04 +02:00
Jean-Marc Lasgouttes
980f91d12e
Pass SocketCallback object as const reference
...
Spotted by Coverity scan.
2024-09-14 20:19:34 +02:00
Juergen Spitzmueller
52157c9318
Set appropriate tt font that supports CJK
...
The actual font should be discussed. This one is OSS and works well:
https://github.com/adobe-fonts/source-han-code-jp
2024-09-14 14:46:29 +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