]>
git.lyx.org Git - lyx.git/log
Enrico Forestieri [Fri, 25 Sep 2020 19:25:40 +0000 (21:25 +0200)]
Fix clipping for vector formats and when exporting from command line
This amends
ea81faa9 that only took into account the postscript format
and did not consider that without GUI an image is not available even if
if it is actually cached. In this case we load the image for obtaining
its dimensions in order to correct the clipping bounding box.
Kornel Benko [Thu, 24 Sep 2020 08:14:35 +0000 (10:14 +0200)]
Gnumeric conversions to html: Remove wrong closing </p> flag
Now LyXHTML export for Spreadsheet.lyx is errorles, but stil we need a wrapper
to remove unneeded 'Ark' captions.
(cherry picked from commit
70725040db010ee5596b4d57e0b597e53e06817c )
Juergen Spitzmueller [Sat, 19 Sep 2020 06:46:04 +0000 (08:46 +0200)]
ru.po update from Yuriy
Enrico Forestieri [Fri, 18 Sep 2020 21:51:36 +0000 (23:51 +0200)]
Update it.po
Kornel Benko [Fri, 18 Sep 2020 16:36:48 +0000 (18:36 +0200)]
Update sk.po
Juergen Spitzmueller [Fri, 18 Sep 2020 15:37:46 +0000 (17:37 +0200)]
de.po
Pavel Sanda [Fri, 18 Sep 2020 15:36:52 +0000 (17:36 +0200)]
* cs.po
Richard Kimberly Heck [Fri, 18 Sep 2020 15:06:07 +0000 (11:06 -0400)]
Remerge strings.
Jean-Marc Lasgouttes [Mon, 7 Sep 2020 13:45:30 +0000 (15:45 +0200)]
Fixup
b7f6b979 : make caret geometry update lazy
Instead of working around crashes in update of caret geometry, only
request it as needed. The actual computation will take place just
before painting the caret.
It might be that this is overkill and that caret geometry should be
updated unconditionally. One would have to to some timing while idle to
ascertain that.
Fixes bug #11912.
(cherry picked from commit
c1f8c6c26d5480556db1500160d1df6ce79a724f )
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 21:20:29 +0000 (23:20 +0200)]
Introduce BufferView::caretInView()
It is not a good idea to call caretPosAndHeight when the caret is in a
paragraph that is not in cached metrics. This can happen when not
using "cursor follows scrollbar".
This commit refactor things a bit so that testing is done in
BufferView.
(cherry picked from commit
e6b54ea4d2e28d55565699ded45da971278b23bf )
Yuriy Skalko [Mon, 31 Aug 2020 07:29:14 +0000 (10:29 +0300)]
Show custom text styles in status bar
Fixes bug #11951.
(cherry picked from commit
b0db575dc1bcd08efb5b1289204326a3391de798 )
Pavel Sanda [Wed, 16 Sep 2020 10:13:55 +0000 (12:13 +0200)]
* cs.po : new strings
Pavel Sanda [Wed, 16 Sep 2020 10:00:09 +0000 (12:00 +0200)]
remerge cs.po
Juergen Spitzmueller [Sat, 29 Aug 2020 09:50:43 +0000 (11:50 +0200)]
Localize format prettyName in some more places (#11954)
(cherry picked from commit
6f476b960edf2d774f0a4ba7d39b391034f093c7 )
Eugene Chornyi [Thu, 9 Jul 2020 07:36:12 +0000 (09:36 +0200)]
Workaround Qtbug where QAbstractScrollArea::mouseMoveEvent(...)
is called falsely when quickly double tapping on a touchpad of a notebook running Windows (only for specific Qt Versions)
Enrico Forestieri [Tue, 8 Sep 2020 23:25:12 +0000 (01:25 +0200)]
Try to use the right width for math symbols
The rules for typesetting math differ from the rules for typesetting
text. For example, two italic 'f' chars have to be typeset more closely
than two 'o' chars in text mode, but not in math mode. Qt provides a
method that returns the distance appropriate for drawing a subsequent
character in text mode, but nothing for math mode. Typically, the
distance appropriate for drawing the next character in math mode is
the actual width span by the character, corrected by the rules of
an appendix in the TeXbook. Recently, those rules are followed more
closely in LyX but not exactly, and we have to find a way to adapt to them.
Some symbols may need more spacing around them than the width they span.
So, we use the distance suggested by Qt, unless it is less than the
width of the rectangle bounding the symbol. Before Qt 5.11 the used method
was QFontMetrics::width(), but since then it has been declared obsolete
in favor of QFontMetrics::horizontalAdvance(), whose name conveys better
its meaning.
No status entry is needed as this amends
79998fdc .
Richard Kimberly Heck [Tue, 8 Sep 2020 15:34:56 +0000 (11:34 -0400)]
GuiName for counters is only in 2.4.0.
Enrico Forestieri [Thu, 3 Sep 2020 21:19:25 +0000 (23:19 +0200)]
Update the autocorrect file
Correct or activate some already present shortcuts, and add new ones
for easily obtaining the most common fixed size delimiters.
Pressing '*' after a delimiter will cycle through all sizes.
Enrico Forestieri [Thu, 3 Sep 2020 18:53:41 +0000 (20:53 +0200)]
Adjust debug output for fonts
This restores the debug output as it was intended before the
introduction of the LYXERR macro that was unconditionally outputing
an end of line. This is how this output was appearing until lyx 1.5:
Looking for font family cmr10 ... got: cmr10
got it normal!
instead of as it was since lyx 1.6 and until now:
Looking for font family cmr10 ...
got: cmr10
got it
normal!
Enrico Forestieri [Thu, 3 Sep 2020 18:42:05 +0000 (20:42 +0200)]
Personalize fonts
When the fonts distributed with texlive with same family name
as ours are also managed by fontconfig, Qt is not able to
discriminate ours by the style only. In order to be sure Qt
will load our fonts, we change the foundry name from 'PfEd'
to 'LyEd' and augment the font family name with this foundry
name. This only works on *nix, because adding a foundry name
seemingly breaks things on Windows. However, this is a *nix
only problem, seemingly.
Juergen Spitzmueller [Thu, 3 Sep 2020 05:46:40 +0000 (07:46 +0200)]
de.po
Richard Kimberly Heck [Wed, 2 Sep 2020 14:22:21 +0000 (10:22 -0400)]
Accelerators
(cherry picked from commit
5606e934ac44c11943cfea9f5088d32c2cd27a2c )
Richard Kimberly Heck [Tue, 1 Sep 2020 05:41:10 +0000 (01:41 -0400)]
Localization
(cherry picked from commit
1ba785f2c6ed0c2dc70b4f046571c425d3eb3e49 )
Kornel Benko [Mon, 31 Aug 2020 16:30:23 +0000 (18:30 +0200)]
Update sk.po
Richard Kimberly Heck [Sat, 22 Aug 2020 19:21:53 +0000 (15:21 -0400)]
Fix problem with edit button.
The previous implementation relied upon the cursor being immediately
in front of the inset. A bad idea.
(cherry picked from commit
cf7e32ee8f398f8dc60f2373b8a74b1df08bcd86 )
Richard Kimberly Heck [Sat, 22 Aug 2020 19:15:47 +0000 (15:15 -0400)]
Fix bug 4475.
Add ability to create child from the include dialog.
(cherry picked from commit
a385b7dc2b585ff259f9a9681e5d68168d1dac66 )
jpc [Sat, 29 Aug 2020 12:33:35 +0000 (14:33 +0200)]
Set Deja Vu as non-TeX fonts to make xetex/luatex succeed
Yuriy Skalko [Thu, 27 Aug 2020 23:03:23 +0000 (02:03 +0300)]
Prevent permanent disabling of comboboxes in Vertical/Horizontal space dialogs
jpc [Thu, 20 Aug 2020 15:08:39 +0000 (17:08 +0200)]
A couple of forgotten sentences in English, and a few typos
jpc [Mon, 17 Aug 2020 14:18:48 +0000 (16:18 +0200)]
Update status
jpc [Mon, 17 Aug 2020 14:10:31 +0000 (16:10 +0200)]
French translation of Customization manual : final update
José Matos [Sat, 15 Aug 2020 20:02:38 +0000 (21:02 +0100)]
Consider file encoding for modules in reconfigure
If the modules are not in utf8 then we warn and skip that file
like it happens for layout files.
This a port of commit
a8094051c1ae9c546c76bb0d3300d83e6cdbadef to stable.
Juergen Spitzmueller [Sat, 15 Aug 2020 06:35:26 +0000 (08:35 +0200)]
Amend
89d9334e03
This needs to be default layout, not plain layout
(cherry picked from commit
ea122aa8fa2381cac9858fc9dfe71062acb7218e )
Juergen Spitzmueller [Sat, 15 Aug 2020 06:14:17 +0000 (08:14 +0200)]
Maintain plain layout for separating paragraphs when switching layouts (#11936)
(cherry picked from commit
89d9334e03c311a4a7585f40ad81880304d174d4 )
Yuriy Skalko [Tue, 11 Aug 2020 08:48:24 +0000 (11:48 +0300)]
Disable editing of math package names in Document Settings
(cherry picked from commit
e1dd91e10e3f76b4bd47c8d7133ad7318edf04f1 )
Juergen Spitzmueller [Wed, 12 Aug 2020 12:35:07 +0000 (14:35 +0200)]
de.po
Juergen Spitzmueller [Wed, 12 Aug 2020 12:31:44 +0000 (14:31 +0200)]
Fix string
Juergen Spitzmueller [Mon, 10 Aug 2020 06:54:56 +0000 (08:54 +0200)]
Consider nesting when checking whether an inset is in a title
Amends
e2a29fe55686
No status entry needed.
Daniel Ramoeller [Fri, 7 Aug 2020 14:13:48 +0000 (16:13 +0200)]
Fix for bug #11926
Change comobox signal to user interaction only to avoid problems with "Apply changes immediately" aka "Immediate Apply". (See https://doc.qt.io/qt-5/qcombobox.html#currentIndexChanged and https://doc.qt.io/qt-5/qcombobox.html#activated.)
(cherry picked from commit
d3a04c089b5e7345a6d5557dd99392a42cc0b83a )
Richard Kimberly Heck [Sun, 9 Aug 2020 17:36:22 +0000 (13:36 -0400)]
Status
Daniel Ramoeller [Sun, 9 Aug 2020 17:09:41 +0000 (13:09 -0400)]
Fix bug #11741.
Theorems weren't being numbered by chapter.
(cherry picked from commit
e6de6c2b596d1554c4489a00cb82416010ae91c1 )
Enrico Forestieri [Thu, 6 Aug 2020 17:10:23 +0000 (19:10 +0200)]
Correctly compute metrics for single-char non-math fonts
No status entry needed, as this amends
79998fdc .
Juergen Spitzmueller [Tue, 4 Aug 2020 14:52:58 +0000 (16:52 +0200)]
Revert [
9370135c3e /lyxgit] and fix #8499 properly
Fixes #11920
(cherry picked from commit
7250aad280ceee21200b07c3e1e7cf52849c8e2d )
Juergen Spitzmueller [Fri, 31 Jul 2020 07:17:34 +0000 (09:17 +0200)]
Revert "Fix #11827"
Not ready yet.
This reverts commit
3a544072a522845b192594dd2ab11fcb1fc80eeb .
Daniel Ramoeller [Thu, 30 Jul 2020 11:14:51 +0000 (13:14 +0200)]
Fix #11827
Keep spacing of math intact.
(cherry picked from commit
b521d36bfbedce9f89b48510409c32860f99559d )
Enrico Forestieri [Fri, 24 Jul 2020 17:09:17 +0000 (19:09 +0200)]
Fix placement of limits with integral signs
Since
be836909c52 the positioning of super- and subscripts
for symbol fonts has been broken because the metrics of the
font of the environment (rather than those of the symbol itself)
were used.
Jean-Marc Lasgouttes [Fri, 17 Jul 2020 16:48:39 +0000 (18:48 +0200)]
Improve metrics for \limits in display mode
(cherry picked from commit
8d54457dbf6ab41083b5c769be22b8333f764037 )
Jean-Marc Lasgouttes [Mon, 13 Jul 2020 21:29:15 +0000 (23:29 +0200)]
Fix paragraph position in TextMetrics::singleParUpdate()
When running redoParagraph, it may happen that the ascent of the first
row changes. Since the ParagraphMetrics position is actually the
baseline of its first row, it may be necessary to update it.
Fixes bug #11601.
(cherry picked from commit
2e8c9cfc832d876ff66e47ae7aadc30fe9328e9d )
Eugene Chornyi [Sun, 12 Jul 2020 16:54:56 +0000 (18:54 +0200)]
Wininstaller, remove the option to run LyX from the finish page
Jean-Marc Lasgouttes [Thu, 30 Apr 2020 10:35:57 +0000 (12:35 +0200)]
Set desktop name for Wayland
Fixes bug 11847.
(cherry picked from commit
2a80b0ac01bed283d3f06d6dbe50307b2a3bab15 )
Jean-Marc Lasgouttes [Fri, 10 Jul 2020 15:17:15 +0000 (17:17 +0200)]
Use Common Number separator instead of European to detect numbers
This is a fixup to commit
611df441 . It seems that the wrong unicode
property was selected. It could be that both classes should be used.
Fixes bug #11900.
(cherry picked from commit
f758894c2fc78f33be0c8bd60c2fd0a1f470056e )
Kornel Benko [Wed, 8 Jul 2020 10:09:27 +0000 (12:09 +0200)]
Update sk.po
Eugene Chornyi [Wed, 8 Jul 2020 05:58:49 +0000 (07:58 +0200)]
Juergen Spitzmueller [Wed, 8 Jul 2020 04:15:25 +0000 (06:15 +0200)]
de.po
Yuval Deutscher [Sat, 4 Jul 2020 12:44:35 +0000 (15:44 +0300)]
Update labels and tooltips for moderncv layout
Update the user-facing strings in modercv's layout according to the
documentation of the cventry command in moderncv.
Signed-off-by: Yuval Deutscher <yuval@deut.sh>
(cherry picked from commit
328c70a31aa8ab2f7973e5871222dc2533dff738 )
Eugene Chornyi [Tue, 7 Jul 2020 19:13:34 +0000 (21:13 +0200)]
Wininstaller, fix bug where previous installations, with emergency version greater than 1, could not be seen in registry on overinstall
jpc [Mon, 6 Jul 2020 16:09:11 +0000 (18:09 +0200)]
Update fr.po
Juergen Spitzmueller [Sat, 4 Jul 2020 08:54:20 +0000 (10:54 +0200)]
Prevent outputting \maketitle within an inset embedded in title.
Amends [
e4ef8ddc0f8202 /lyxgit]
(cherry picked from commit
0bddf448ef5756eee90c771ff3277dd805b2b0a3 )
Juergen Spitzmueller [Fri, 3 Jul 2020 14:18:53 +0000 (16:18 +0200)]
Properly fix handling of title layouts within insets (#11787)
(cherry picked from commit
e4ef8ddc0f820290a2fead1149e1e950bd947832 )
Juergen Spitzmueller [Tue, 30 Jun 2020 07:06:40 +0000 (09:06 +0200)]
Fix pasting of math grid with more rows in source than target (#11897)
Juergen Spitzmueller [Mon, 29 Jun 2020 11:40:27 +0000 (13:40 +0200)]
Correctly initialize font (language) for multiple-cell paste (#11898)
(cherry picked from commit
2cee820f718f8b2db3030dadc670d3855934096f )
Juergen Spitzmueller [Mon, 29 Jun 2020 10:51:15 +0000 (12:51 +0200)]
Do not paste \t when pasting multiple table columns outside table (#4449)
(cherry picked from commit
6dd990560e439dd8a1c07230519033253e1ce77c )
Kornel Benko [Fri, 26 Jun 2020 10:32:28 +0000 (12:32 +0200)]
Update sk.po
jpc [Sun, 21 Jun 2020 09:50:14 +0000 (11:50 +0200)]
Restore French UserGuide
jpc [Sat, 20 Jun 2020 17:13:06 +0000 (19:13 +0200)]
Translation update of French manuals, first round
Juergen Spitzmueller [Fri, 19 Jun 2020 14:40:07 +0000 (16:40 +0200)]
Fix swapped logic (#11889)
(cherry picked from commit
bde95c1876c78f5391d80b1c547411ba5886f347 )
Richard Kimberly Heck [Thu, 18 Jun 2020 14:51:05 +0000 (10:51 -0400)]
Focus keyword filed in Thesaurus dialog
(cherry picked from commit
ef65414d25d36bacd2ff057a47d71bc362f6898d )
Richard Kimberly Heck [Sun, 14 Jun 2020 19:05:59 +0000 (15:05 -0400)]
Whitespace
Juergen Spitzmueller [Sat, 13 Jun 2020 14:47:01 +0000 (16:47 +0200)]
Add mathscr and mathds to math type table
Enrico Forestieri [Sat, 13 Jun 2020 14:00:09 +0000 (16:00 +0200)]
Add mathscr and mathds to math type table
Juergen Spitzmueller [Sat, 13 Jun 2020 08:38:39 +0000 (10:38 +0200)]
de.po
Kornel Benko [Sat, 13 Jun 2020 07:14:49 +0000 (09:14 +0200)]
Update sk.po
Enrico Forestieri [Fri, 12 Jun 2020 21:58:32 +0000 (23:58 +0200)]
Add support for the doublestroke package
This commit adds the mathed command \mathds that selects a
font more appropriate than \mathbb for typesetting the
mathematical symbols for the natural (N), whole numbers (Z),
rational numbers (Q), real numbers (R), complex numbers (C),
and some others.
As in the \mathbb case, only capital letters are supported,
but in addition one can also typeset a symbol often used for
representing the indicator function (\mathds{1}) and the
letters a, h, k.
Fixes bug #11887.
Juergen Spitzmueller [Thu, 11 Jun 2020 15:29:37 +0000 (17:29 +0200)]
UI improvement to math matrix dialog, suggested by magistere (#11888)
Juergen Spitzmueller [Wed, 10 Jun 2020 10:38:48 +0000 (12:38 +0200)]
WinInstaller: assure configure.py is run in the user dir, by Eugene
(cherry picked from commit
c680d0360a2cf2d84d8b98d9310adb5fdcfe3f80 )
Kornel Benko [Wed, 10 Jun 2020 15:11:36 +0000 (17:11 +0200)]
Cmake build: Add trailing '.'
Cpack in the cmake 3.18-version creates invalid control file
containg empty line. 'dpkg' chokes on this control file.
(cherry picked from commit
392aaa11acdc085108ebcd02f81d2a03df2c4375 )
Stephan Witt [Thu, 6 Feb 2020 21:19:15 +0000 (22:19 +0100)]
Allow externally provided list of components to skip for Qt framework builds on macOS
(cherry picked from commit
2817439ddd343ace9c9ba4d4b7898f8c38753ebc )
Stephan Witt [Thu, 6 Feb 2020 21:17:35 +0000 (22:17 +0100)]
More flexible definition of Qt libraries to include as frameworks for macOS
(cherry picked from commit
6e54c86a860a81ae75991f21703281d661c48bc5 )
Stephan Witt [Thu, 6 Feb 2020 21:16:13 +0000 (22:16 +0100)]
Care for Qt library source directory rename for 5.12.x
(cherry picked from commit
a3e14fe6cdad91fc3b9dfd77319a92e8d994de06 )
Stephan Witt [Thu, 6 Feb 2020 21:15:08 +0000 (22:15 +0100)]
Enhanced version string extraction for 3rd party libraries.
(cherry picked from commit
6b48c45c5447f4851311e6012ba60effc5edb43a )
Stephan Witt [Sun, 29 Mar 2020 16:56:53 +0000 (18:56 +0200)]
use path to developer tools for SetFile utility as fallback
(cherry picked from commit
38ba0ea240375ad945c177ed2433875ad7ea2e30 )
Richard Kimberly Heck [Sun, 7 Jun 2020 16:39:04 +0000 (12:39 -0400)]
Better variable name
Richard Kimberly Heck [Sun, 7 Jun 2020 16:37:54 +0000 (12:37 -0400)]
Unused option
Richard Kimberly Heck [Sun, 7 Jun 2020 16:36:53 +0000 (12:36 -0400)]
Fix up lyx-build script.
Jean-Marc Lasgouttes [Mon, 24 Feb 2020 09:37:14 +0000 (10:37 +0100)]
Fixup
d207e85c : paint sublabel with the correct background color
The above mentionned patch did paint the background of the sublabel to
avoid "bold-like" effect. However the correct backgound color is the
row's one, not the inset's one.
To fix this, extend MetricsInfo::backgroundColor to work when no inset
is specified. The code is also simplified as in master.
(cherry picked from commit
74540c9896892b8f956f52258a59613af83a5cf8 )
(cherry picked from commit
a71b96ac426438abb4fe835d0ad000c769693421 )
Kornel Benko [Sat, 6 Jun 2020 09:47:06 +0000 (11:47 +0200)]
Typo
Kornel Benko [Sat, 6 Jun 2020 09:42:05 +0000 (11:42 +0200)]
Update sk.po
Kornel Benko [Sat, 6 Jun 2020 09:38:58 +0000 (11:38 +0200)]
Amend(2)
cb680fcf : 2 more instances to remove
Kornel Benko [Sat, 6 Jun 2020 09:24:29 +0000 (11:24 +0200)]
Amend
cb680fcf : Added apa7 layout
Remove non existent feature in lyx2.3 which slipped in from lyx2.4 version of apa6.layout
Thanks Jürgen.
Juergen Spitzmueller [Sat, 6 Jun 2020 07:29:27 +0000 (09:29 +0200)]
de.po
Richard Kimberly Heck [Fri, 5 Jun 2020 21:36:45 +0000 (17:36 -0400)]
Status
Kornel Benko [Fri, 5 Jun 2020 20:49:07 +0000 (22:49 +0200)]
Added apa7 layout
Kornel Benko [Fri, 5 Jun 2020 12:10:04 +0000 (14:10 +0200)]
Cmake installs: Clean up some installs
Richard Kimberly Heck [Mon, 18 May 2020 04:06:59 +0000 (00:06 -0400)]
Fix bug #11405.
We don't actually prevent hidden buffers from being dirty, so we need
to save them if they are.
(cherry picked from commit
b2517d60b8d05ad68c007e120e3b10059d043845 )
Richard Kimberly Heck [Tue, 3 Mar 2020 04:57:08 +0000 (23:57 -0500)]
Fix bug #10316.
By sending the request through the usual dispatch machinery, we
make sure the cursor is valid when we're done.
(cherry picked from commit
e5b6be0712a245901ec54aee44da45db77594382 )
Jean-Marc Lasgouttes [Sat, 23 May 2020 14:47:48 +0000 (16:47 +0200)]
Fix first draw of auto-open inset
note-next and reference-next should trigger an update so that metrics
are updated when the cursor ends up in an auto-open inset.
Fixes bug #11870.
(cherry picked from commit
7761e1317eaa2c880446f05b707b03067d665681 )
Richard Kimberly Heck [Fri, 5 Jun 2020 19:29:15 +0000 (15:29 -0400)]
Back to development
Richard Kimberly Heck [Wed, 3 Jun 2020 21:17:38 +0000 (17:17 -0400)]
Notes for build script. Will fix later.
Richard Kimberly Heck [Wed, 3 Jun 2020 21:12:44 +0000 (17:12 -0400)]
Update version.
Kornel Benko [Wed, 3 Jun 2020 19:21:04 +0000 (21:21 +0200)]
Cmake build: Add some missing language-specific files for installation
(Language files of the form pt_PT, or zh_CN were not handled)