]>
git.lyx.org Git - features.git/log
Thibaut Cuvelier [Sat, 7 Oct 2023 23:39:45 +0000 (01:39 +0200)]
DocBook: fix closing formatting after deleted text.
Previously, when closing font tags, only the previous character's font was used. However, if that character is deleted, it had no change of having the right font tags opened/closed. Hence, look further to compare the font of the current character to output with the font of the previously output character.
Thibaut Cuvelier [Sat, 7 Oct 2023 23:38:27 +0000 (01:38 +0200)]
DocBook: fix formatting of TODOs.
The lines were very long; this commit truncates them to 120 characters.
Thibaut Cuvelier [Sat, 7 Oct 2023 23:20:14 +0000 (01:20 +0200)]
DocBook: add support for InsetInfo.
A similar patch would be required for LyXHTML, but it will come later. The main impact is that some text isn't output in XHTML (like DocBook before this patch).
The code isn't as clean as it could be. I avoided touching anything not related to DocBook, as the release of 2.4 is nearing, while leaving comments for parts to improve for the next release cycle. Given that the code compiles, there are no risks for TeX or XHTML outputs; for DocBook, less content is skipped, which is a net improvement for users.
Juergen Spitzmueller [Tue, 10 Oct 2023 06:53:50 +0000 (08:53 +0200)]
de.po
Pavel Sanda [Mon, 9 Oct 2023 18:41:57 +0000 (20:41 +0200)]
Few string fixes from Dan.
Kornel Benko [Mon, 9 Oct 2023 16:05:51 +0000 (18:05 +0200)]
Add missed file "org.lyx.LyX.metainfo.xml" to cmake build
Scott Kostyshak [Sat, 7 Oct 2023 18:57:30 +0000 (14:57 -0400)]
ctests: add test cases for DocBook
Patch from Thibaut Cuvelier.
Kornel Benko [Fri, 6 Oct 2023 09:18:59 +0000 (11:18 +0200)]
Update sk.po
Pavel Sanda [Wed, 4 Oct 2023 12:53:07 +0000 (14:53 +0200)]
* cs.po
Pavel Sanda [Wed, 4 Oct 2023 12:43:50 +0000 (14:43 +0200)]
remerge cs.po
Juergen Spitzmueller [Wed, 4 Oct 2023 11:49:34 +0000 (13:49 +0200)]
Amend
3f0bb8aa43af
Account for the paragraph marker
Juergen Spitzmueller [Wed, 4 Oct 2023 11:40:38 +0000 (13:40 +0200)]
Fix assertion on paste with empty pars
Juergen Spitzmueller [Wed, 4 Oct 2023 11:29:06 +0000 (13:29 +0200)]
document selectionmath color
Juergen Spitzmueller [Wed, 4 Oct 2023 11:22:27 +0000 (13:22 +0200)]
de.po
Juergen Spitzmueller [Wed, 4 Oct 2023 11:10:07 +0000 (13:10 +0200)]
Introduce color_selectionmath
To have a distinctive color for selected math which works in both modes
Also, link color_selectionmath with QPalette::HighlightedText, so we
won't need to special-case on lyxrc.use_system_colors any longer
Jean-Marc Lasgouttes [Tue, 3 Oct 2023 09:38:40 +0000 (11:38 +0200)]
Use Color_selectiontext as needed for partial selection in math
Currently, selected math hull insets use Color_selectiontext when
system colors are in use. This commit implements the same behavior
for partial selection.
This is done by introducing two element types (BEGIN_SEL and END_SEL)
to MathRow.
Kornel Benko [Sun, 1 Oct 2023 18:15:07 +0000 (20:15 +0200)]
Update sk.po
Juergen Spitzmueller [Sun, 1 Oct 2023 10:20:40 +0000 (12:20 +0200)]
Revert the logic of
343a9749abe4f3
It might be better to be explicit also with black, after all.
Juergen Spitzmueller [Sun, 1 Oct 2023 09:38:10 +0000 (11:38 +0200)]
Simplify
Juergen Spitzmueller [Sun, 1 Oct 2023 09:08:11 +0000 (11:08 +0200)]
When box background is "none", frame color != black and page color has been set
then use the page color as box background, not white
Juergen Spitzmueller [Sun, 1 Oct 2023 08:12:52 +0000 (10:12 +0200)]
No need to use \fcolorbox with explicit black frame and no background
White background, however, is always treated explicit (think non-white
page background)
Juergen Spitzmueller [Sun, 1 Oct 2023 07:34:50 +0000 (09:34 +0200)]
Require xcolor whenever we use an \fcolorbox
Juergen Spitzmueller [Sun, 1 Oct 2023 07:26:26 +0000 (09:26 +0200)]
Scott Kostyshak [Sun, 1 Oct 2023 00:43:10 +0000 (20:43 -0400)]
ctests: uninvert couple of suspended tests
Due to recent changes, 'xcolor' is now loaded in the corresponding
document export, which somehow fixes the compilation error that was
occurring.
Scott Kostyshak [Sun, 1 Oct 2023 00:21:22 +0000 (20:21 -0400)]
Amend
087f6bce
Explanation from Udi:
There is a missing validation for the requirement of xcolor in
InsetBox::validate, the case we use Boxed with non-default color.
Patch from Udi.
Scott Kostyshak [Sun, 1 Oct 2023 00:20:03 +0000 (20:20 -0400)]
Amend
04bfbc0f
Patch from Udi.
jpc [Sat, 30 Sep 2023 16:20:47 +0000 (18:20 +0200)]
Uodate fr.po
Udi-Fogiel [Wed, 27 Sep 2023 11:45:43 +0000 (14:45 +0300)]
proper unicode support for hebrew in 8bit engines
Juergen Spitzmueller [Sat, 30 Sep 2023 14:59:37 +0000 (16:59 +0200)]
Limit RTL hack to classic engines (#12919)
It breaks with LuaTeX, is definitely not needed with XeTeX, and it is
doubted whether it is needed at all (but this needs further testing).
Juergen Spitzmueller [Sat, 30 Sep 2023 11:58:57 +0000 (13:58 +0200)]
Style
Udi Fogiel [Tue, 26 Sep 2023 22:32:55 +0000 (01:32 +0300)]
fix nested uwave
Juergen Spitzmueller [Sat, 30 Sep 2023 11:07:00 +0000 (13:07 +0200)]
Fix escape string (reported by José)
Juergen Spitzmueller [Sat, 30 Sep 2023 11:01:20 +0000 (13:01 +0200)]
Prevent access to null local_font
Juergen Spitzmueller [Sat, 30 Sep 2023 07:59:36 +0000 (09:59 +0200)]
Update tex2lyx tests after recent format change
Juergen Spitzmueller [Sat, 30 Sep 2023 07:56:27 +0000 (09:56 +0200)]
Introduce default box frame color (#12921)
This better aligns with dark mode
Scott Kostyshak [Fri, 29 Sep 2023 14:31:19 +0000 (10:31 -0400)]
Merge branch 'fix-spanish-quoting'
This branch reverts a document-specific fix and introduces a more
general fix.
The following tests still all pass:
ctest -R "es/Letter"
Scott Kostyshak [Fri, 29 Sep 2023 14:25:46 +0000 (10:25 -0400)]
Fix babel quoting for Spanish
The problem, described by Udi, was the following:
See section 1.10 of babel's manual, on page 12 under
"TROUBLESHOOTING". There cannot be
a closing curly brace after a shorthand, and in babel-spanish
">" is a shorthand.
Thanks to Udi and Jürgen for the patch.
This is a more general fix than the (now reverted) fix at
fa67f709 .
For ML discussion, see here:
https://www.mail-archive.com/search?l=mid&q=rwwvyyvwmx5wwvwhqdaioil32hblkzi7ghokzgekksrf66ww3f%40u6nj3guoayay
Scott Kostyshak [Fri, 29 Sep 2023 14:23:26 +0000 (10:23 -0400)]
Revert "Fix compilation of es/Letter standard class"
This fix hardcoded a language package and was specific to this
document.
The next commit will introduce a better fix, thanks to Udi and
Jürgen.
This reverts commit
fa67f70992da5f7c6cb0958d557993d6c0750534 .
Juergen Spitzmueller [Fri, 29 Sep 2023 11:09:20 +0000 (13:09 +0200)]
Fix quote menu item, from Dan
Current language is relevant here, not main language
Pavel Sanda [Wed, 27 Sep 2023 22:35:07 +0000 (00:35 +0200)]
pdfcolmk is an empty stub for many years now (bug #12920).
Patch from Udi.
Scott Kostyshak [Wed, 27 Sep 2023 17:42:40 +0000 (13:42 -0400)]
ctest: invert es/Intro_docbook5
This fails after recent changes to the document.
Pavel Sanda [Tue, 26 Sep 2023 20:36:48 +0000 (22:36 +0200)]
* es/Intro,Shortcuts updates from Dan.
Pavel Sanda [Tue, 26 Sep 2023 20:33:15 +0000 (22:33 +0200)]
* ca/Intro,Shortcuts updates from Dan.
All changes accepted.
Scott Kostyshak [Mon, 25 Sep 2023 14:58:50 +0000 (10:58 -0400)]
ctests: update inverted list after DocBook fix
Thanks to the fix at
ff9dfa96 , we can uninvert a test.
Also invert a couple of other tests and organize into the correct
location.
Scott Kostyshak [Mon, 25 Sep 2023 14:41:21 +0000 (10:41 -0400)]
DocBook: fix case with emphasis at end of footnote
For ML discussion, see here:
https://www.mail-archive.com/search?l=mid&q=CAK0LPyiusCMu-X7KpgO0d1-rh4e3%3DRwR5ooXE_fdb7UVuB0VUA%40mail.gmail.com
Patch from Thibaut Cuvelier.
Jean-Marc Lasgouttes [Mon, 25 Sep 2023 10:46:16 +0000 (12:46 +0200)]
Improve comments
Jean-Marc Lasgouttes [Mon, 25 Sep 2023 10:35:40 +0000 (12:35 +0200)]
Avoid row breaking at inconvenient places.
When it turns out that breaking a STRING row element was not
sufficient in Row::shortenIfNeeded, we still remember the shortest
width that one can obtain. Later, when we try to split a previous
element of the row, we have a better idea of how much of the row
remains after it.
To this end, change the signature of Element::splitAt to use an enum:
FIT (was: force=false), FORCE (was: force= true) and BEST_EFFORT
(split at max_width, but do not return an error if the string is too
large).
Fixes bug #12660.
Jean-Marc Lasgouttes [Mon, 25 Sep 2023 10:28:01 +0000 (12:28 +0200)]
Revert "Avoid row breaking at inconvenient places."
The solution did create new issues.
Fixes bug #12899.
Unfixes bug #12660.
This reverts commit
f7de345f85b4a34346fc52b60a9e754b466d24f0 .
Jean-Marc Lasgouttes [Fri, 22 Sep 2023 15:44:12 +0000 (17:44 +0200)]
Make sure that caret width is not null in mathed
The same test exists in texted.
Fixes bug #12904.
Scott Kostyshak [Sun, 24 Sep 2023 00:35:36 +0000 (20:35 -0400)]
Fix compilation of es/Letter standard class
The problem, described by Udi, was the following:
See section 1.10 of babel's manual, on page 12 under
"TROUBLESHOOTING". There cannot be
a closing curly brace after a shorthand, and in babel-spanish ">" is a
shorthand.
Patch from Dan.
For more discussion, see the following ML thread:
https://www.mail-archive.com/search?l=mid&q=rwwvyyvwmx5wwvwhqdaioil32hblkzi7ghokzgekksrf66ww3f%40u6nj3guoayay
Scott Kostyshak [Sat, 23 Sep 2023 16:43:31 +0000 (12:43 -0400)]
ctests: invert another ca docbook test
Perhaps similar to
eb920502 .
Enrico Forestieri [Sat, 23 Sep 2023 15:50:25 +0000 (17:50 +0200)]
Update it.po
Enrico Forestieri [Sat, 23 Sep 2023 14:18:28 +0000 (16:18 +0200)]
Amend
12e3d46b
Also account for alerts regarding documents that are explicitly
allowed to execute external commands through the settings.
Enrico Forestieri [Sat, 23 Sep 2023 11:41:26 +0000 (13:41 +0200)]
Do not change font in html text without gui
As reported here:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220399.html
if an alert is displayed when the gui is not available Qt6 crashes
when the text contains html directives and the font is changed.
Jean-Marc Lasgouttes [Fri, 22 Sep 2023 10:41:44 +0000 (12:41 +0200)]
When drawing macro names, enforce LtR direction
Add a Direction parameter to the Painter::text methods that take a
FontInfo parameter.
In drawStrRed and drawStrBlack, force the direction to LtR.
Fixes bug #12905.
Jürgen Spitzmüller [Thu, 21 Sep 2023 05:11:07 +0000 (07:11 +0200)]
Adapt listings label color for darkmode
Do not use semantic foreground color here, as label button color does
not change in dark mode.
Pavel Sanda [Tue, 19 Sep 2023 21:52:13 +0000 (23:52 +0200)]
Whitespace
Pavel Sanda [Tue, 19 Sep 2023 21:47:58 +0000 (23:47 +0200)]
+ es/Letter standard class (from Dan)
Pavel Sanda [Tue, 19 Sep 2023 21:41:52 +0000 (23:41 +0200)]
+ ca/Letter standard class (from Dan)
Yuriy Skalko [Mon, 18 Sep 2023 23:10:57 +0000 (01:10 +0200)]
Typo
Yuriy Skalko [Mon, 18 Sep 2023 23:05:40 +0000 (01:05 +0200)]
Update ru docs
Scott Kostyshak [Mon, 18 Sep 2023 20:25:29 +0000 (16:25 -0400)]
ctests: invert test due to acmart issue
The upstream bug report is here:
https://github.com/borisveytsman/acmart/issues/505
Juergen Spitzmueller [Mon, 18 Sep 2023 09:36:16 +0000 (11:36 +0200)]
Remove unneeded method
which is also not available in Qt < 5.13, as it turns out.
Juergen Spitzmueller [Mon, 18 Sep 2023 08:02:34 +0000 (10:02 +0200)]
Prefer following, not previous, item in selection manager after deletion (#12871)
Juergen Spitzmueller [Mon, 18 Sep 2023 07:27:38 +0000 (09:27 +0200)]
Amend
ac275a66b5
Set depth correctly in the active branch
Juergen Spitzmueller [Mon, 18 Sep 2023 06:13:23 +0000 (08:13 +0200)]
Bit refactoring
Juergen Spitzmueller [Mon, 18 Sep 2023 05:29:02 +0000 (07:29 +0200)]
Set Box label color to static black.
Foreground in dark mode does not have enough contrast against the label
background
Juergen Spitzmueller [Sun, 17 Sep 2023 17:17:12 +0000 (19:17 +0200)]
Get rid of unnecessary flickering when clicking in outliner
No need to collapse and re-expand the node where the currently selected
item is in.
Juergen Spitzmueller [Sun, 17 Sep 2023 14:45:19 +0000 (16:45 +0200)]
Fix double-click expansion of outliner
Juergen Spitzmueller [Sun, 17 Sep 2023 12:31:36 +0000 (14:31 +0200)]
Fix readability
here, "custom" was exactly the opposite (non-custom, i.e., default
margins)
Juergen Spitzmueller [Sun, 17 Sep 2023 12:17:05 +0000 (14:17 +0200)]
Juergen Spitzmueller [Sat, 16 Sep 2023 11:31:00 +0000 (13:31 +0200)]
Fix change tracking glitch (#12912)
Juergen Spitzmueller [Sat, 16 Sep 2023 09:00:10 +0000 (11:00 +0200)]
Fix display of disabled page margins (#12887)
while preserving input values on geometry toggle
Juergen Spitzmueller [Sat, 16 Sep 2023 06:53:19 +0000 (08:53 +0200)]
Update links
Juergen Spitzmueller [Sat, 16 Sep 2023 06:34:43 +0000 (08:34 +0200)]
Fix brokenBiblio() and fixBiblio() with change tracking (#12909)
Pavel Sanda [Fri, 15 Sep 2023 20:22:12 +0000 (22:22 +0200)]
ca/es Shortcuts.lyx update from Dan.
(ca changes accepted)
Pavel Sanda [Fri, 15 Sep 2023 20:19:17 +0000 (22:19 +0200)]
* Shortcuts.lyx from Dan
Juergen Spitzmueller [Fri, 15 Sep 2023 16:04:55 +0000 (18:04 +0200)]
Fix nomencl launching
The problem here was that we checked depfile changes too late.
After all these subsequent LaTeX runs, the files's checksums
did not change any longer.
Daniel Ramoeller [Wed, 6 Sep 2023 15:47:27 +0000 (17:47 +0200)]
Only split view rather than split and move
Fix for #12893
Jean-Marc Lasgouttes [Tue, 12 Sep 2023 12:17:22 +0000 (14:17 +0200)]
Rename shortenIfNeeded first parameter to `max_width'
The short name `w' was not meaningful.
Juergen Spitzmueller [Thu, 14 Sep 2023 17:26:20 +0000 (19:26 +0200)]
Do not paste deleted text with CT on (#12900)
Kornel Benko [Thu, 14 Sep 2023 07:38:33 +0000 (09:38 +0200)]
Update sk.po
Scott Kostyshak [Thu, 14 Sep 2023 00:33:41 +0000 (20:33 -0400)]
ctests: invert ca/Intro_docbook5
The document was recently added and the underlying DocBook issue has
not been diagnosed yet.
Pavel Sanda [Wed, 13 Sep 2023 18:53:47 +0000 (20:53 +0200)]
Regenerate LFUNs.lyx
Pavel Sanda [Wed, 13 Sep 2023 18:41:43 +0000 (20:41 +0200)]
Add brenyhp to credits
Juergen Spitzmueller [Wed, 13 Sep 2023 11:31:55 +0000 (13:31 +0200)]
Fix result of deleteSpaces()
With change tracking on, spaces that are marked as ADDED are really
removed (and not marked deleted) if the changeAuthor is the current
author; see Paragraph::eraseChar().
The function tried to account for that but had the logic upside down.
Consequently actually deleted spaces haven't been counted and the
result was off.
This fixes an assertion when pasting in CT parts with deleted stuff
(#12901)
Juergen Spitzmueller [Wed, 13 Sep 2023 11:21:37 +0000 (13:21 +0200)]
whitespace
Juergen Spitzmueller [Tue, 12 Sep 2023 14:39:23 +0000 (16:39 +0200)]
Fix indentation
Jean-Marc Lasgouttes [Sun, 10 Sep 2023 18:24:39 +0000 (20:24 +0200)]
Small updates to painting analysis document
Juergen Spitzmueller [Sun, 10 Sep 2023 12:47:59 +0000 (14:47 +0200)]
Fix nullpointer (#12898)
Also, quit method early if file does not exist
Juergen Spitzmueller [Sat, 9 Sep 2023 10:57:51 +0000 (12:57 +0200)]
Handle bibtex location field syntax file1;file2
This is used, for instance, by zotero with the "betterbibtex" exporter
See #12896
Juergen Spitzmueller [Sat, 9 Sep 2023 09:01:37 +0000 (11:01 +0200)]
Example updates for ca and es from Daniel
Juergen Spitzmueller [Fri, 8 Sep 2023 15:47:47 +0000 (17:47 +0200)]
Only create a new view for lyxfiles-open if no view is open (#12894)
Juergen Spitzmueller [Fri, 8 Sep 2023 14:37:06 +0000 (16:37 +0200)]
Revert "No need (any longer?) to create a new view for lyxfiles-open"
This reverts commit
9f238ca201ef640b47bd413f2d98671404aa173a .
Juergen Spitzmueller [Fri, 8 Sep 2023 14:16:01 +0000 (16:16 +0200)]
No need (any longer?) to create a new view for lyxfiles-open
Juergen Spitzmueller [Fri, 8 Sep 2023 12:02:23 +0000 (14:02 +0200)]
Handle multiple files in file and localfile BibTeX field (#12896)
Juergen Spitzmueller [Fri, 8 Sep 2023 09:56:29 +0000 (11:56 +0200)]
de.po
Daniel Ramoeller [Fri, 8 Sep 2023 04:35:20 +0000 (06:35 +0200)]
Improve Open External Target dialog text
Fix for #12897
Daniel Ramoeller [Thu, 7 Sep 2023 02:52:42 +0000 (22:52 -0400)]
Fix bug #11497
Scott Kostyshak [Wed, 6 Sep 2023 17:05:07 +0000 (13:05 -0400)]
Fix lyx2lyx issue reported on ML
The issue was reported on lyx-users by Chris Menzel [1].
Patch is from José Matos [2].
[1] https://www.mail-archive.com/search?l=mid&q=
BD744D7E -54B4-4E95-A4E3-
6B28F4987DE1 %40gmail.com
[2] https://www.mail-archive.com/search?l=mid&q=
c2ac54c2322d24051f171558ad8487ea4f7078ed .camel%40gmail.com