]>
git.lyx.org Git - lyx.git/log
Kornel Benko [Thu, 3 Sep 2020 16:27:12 +0000 (18:27 +0200)]
Cmake build: Amend
a9afdbb7 and
46fca4dc
Partly revert installing fonds in system dir, not needed after
a9afdbb7 (Personalize fonts)
Enrico Forestieri [Thu, 3 Sep 2020 15:46:30 +0000 (17:46 +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.
Jean-Marc Lasgouttes [Thu, 3 Sep 2020 10:55:06 +0000 (12:55 +0200)]
Fixup
2e784b2f : consider default layout too.
And simplify the test at the same time.
Kornel Benko [Thu, 3 Sep 2020 10:03:11 +0000 (12:03 +0200)]
Update sk.po
Kornel Benko [Thu, 3 Sep 2020 09:45:04 +0000 (11:45 +0200)]
Tools(listFontWithLang.pl): Handle also fonts provided by lyx
These fonts are normally not handled by fontconfig
Juergen Spitzmueller [Thu, 3 Sep 2020 06:55:46 +0000 (08:55 +0200)]
Foward-port tooltip addition from stable (
3a7560dcb07 )
Juergen Spitzmueller [Thu, 3 Sep 2020 06:53:32 +0000 (08:53 +0200)]
de.po
Richard Kimberly Heck [Wed, 2 Sep 2020 14:22:21 +0000 (10:22 -0400)]
Accelerators
Thibaut Cuvelier [Wed, 2 Sep 2020 13:05:20 +0000 (15:05 +0200)]
Windows: fix in CMakeLists for warning flags.
/Wp64 was used to debug 64-bit incompatibilities. /W4 is used for warnings.
Don't enable /Wx to turn warnings into errors, as the dependencies won't build.
Enrico Forestieri [Tue, 1 Sep 2020 10:12:55 +0000 (12:12 +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!
Richard Kimberly Heck [Tue, 1 Sep 2020 05:41:10 +0000 (01:41 -0400)]
Localization
Richard Kimberly Heck [Mon, 31 Aug 2020 15:20:49 +0000 (11:20 -0400)]
Improved fix for edit button
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.
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.
Kornel Benko [Sun, 30 Aug 2020 18:30:21 +0000 (20:30 +0200)]
Cmake build: Install lyx fonts in system dir too on linux
1.) Math-editor seems to use system fonts, so install it there.
2.) We use fonts from the support-dir, so install them there too.
This is something automake may take int account too.
Jean-Marc Lasgouttes [Sun, 30 Aug 2020 17:15:20 +0000 (19:15 +0200)]
Add FIXME: do we need to update scrollbar at each draw()?
Related to ticket #11947.
Stephan Witt [Sun, 30 Aug 2020 13:39:05 +0000 (15:39 +0200)]
Add lilypond wrapper scripts to cmake install
Stephan Witt [Sun, 30 Aug 2020 13:34:44 +0000 (15:34 +0200)]
#11756 cleanup the view menu on Mac
Using US english desktop language LyX's Mac OS adds some items to the view menu:
1. Show/Hide Tab Bar and
2. Enter Full Screen
These items won't work properly and it's better to hide them.
Juergen Spitzmueller [Sun, 30 Aug 2020 09:44:08 +0000 (11:44 +0200)]
Fix conversion and reversion of relative totalheights/heights
Stephan Witt [Sun, 30 Aug 2020 09:24:04 +0000 (11:24 +0200)]
#11756 hide additional menu items in edit menu on Mac
Mac OS adds two extra menu entries to the edit menu.
These menu items are:
1. Start Dictation...
2. Emoji & Symbols
Both menu items don't work with LyX.
Therefore they shouldn't be present and the new code hides them.
Stephan Witt [Sun, 30 Aug 2020 07:02:55 +0000 (09:02 +0200)]
Remove unused leftover from Makefile.
Pavel Sanda [Sun, 30 Aug 2020 08:50:05 +0000 (10:50 +0200)]
This test is no more just about stmary10.
Pavel Sanda [Sun, 30 Aug 2020 08:47:32 +0000 (10:47 +0200)]
Add new section about problems on opensuse.
Kornel Benko [Sun, 30 Aug 2020 07:58:29 +0000 (09:58 +0200)]
Scott Kostyshak [Sun, 30 Aug 2020 02:53:14 +0000 (22:53 -0400)]
ctests: mark ru XY dvi3_systemF tests wrong output
Scott Kostyshak [Sun, 30 Aug 2020 02:47:10 +0000 (22:47 -0400)]
ru XY examples: set fonts to DejaVu
This choice of fonts is consistent with the Russian Intro manual,
and fixes compilation with XeTeX.
Scott Kostyshak [Sun, 30 Aug 2020 02:38:10 +0000 (22:38 -0400)]
ctests: invert ru XY LuaTeX tests
The following error is given during the compilation:
! Package xypdf Error: pdfTeX version 1.40.0 or higher is needed for the xypdf
Scott Kostyshak [Sat, 29 Aug 2020 18:01:23 +0000 (14:01 -0400)]
ctests: invert ru Math LuaTeX tests
There are issues due to varioref. Consistent with
6e50327a .
Enrico Forestieri [Sat, 29 Aug 2020 18:10:26 +0000 (20:10 +0200)]
Use correct width for \fint
Both QTextLine::naturalTextWidth() and QTextLine::horizontalAdvance()
return the same value for \fint. However, examining esint10.ttf with
fontforge does not reveal any issue with the metrics. The fact that
\fint seems to be the only affected symbol might be due to its code
point, which corresponds to a space, so that maybe Qt makes some
assumptions on the metrics.
As QTextLine::naturalTextWidth() returns the width of the line that is
occupied by text, in the case of a single symbol we can obtain the
same value by using the width of the rectangle bounding the symbol.
Scott Kostyshak [Sat, 29 Aug 2020 17:49:02 +0000 (13:49 -0400)]
ru UserGuide: set default output format to pdf2
This is consistent with the math manual, and some of the other
formats don't work, because of varioref issues.
Scott Kostyshak [Sat, 29 Aug 2020 15:09:54 +0000 (11:09 -0400)]
ctests: invert LuaTeX + DavidCLM exports
Thanks to Jürgen, who mentions the following:
luaotfload does not find "DavidCLM". In fact, at least on my system,
there is no such font, only "DavidCLM Medium" (and other shapes). This
one is found. Apparently, luaotfload cannot infer from the one to the
other.
As opposed to LuaTEX, XeTeX also queries TEXMF so maybe it just finds
its font there.
Kornel Benko [Sat, 29 Aug 2020 13:26:58 +0000 (15:26 +0200)]
Tools(listFontWithLang.pl): Amend
99508630 , polish also the style
Kornel Benko [Sat, 29 Aug 2020 13:20:49 +0000 (15:20 +0200)]
Revert "Ignore missing glyphs for fr/Customization.lyx"
This reverts commit
7ec0870cceefb232a28ca7e9fe36891bf167182a .
After setting the Dejavu font in
c4cba1d3 , this is no longer needed
jpc [Sat, 29 Aug 2020 12:24:28 +0000 (14:24 +0200)]
Set Deja Vu as non-TeX fonts to make xetex/luatex succeed
Juergen Spitzmueller [Sat, 29 Aug 2020 09:55:56 +0000 (11:55 +0200)]
Fix Hebrew intro with LuaTeX
(use iftex rather than ifpdf)
Juergen Spitzmueller [Sat, 29 Aug 2020 09:50:43 +0000 (11:50 +0200)]
Localize format prettyName in some more places (#11954)
Pavel Sanda [Fri, 28 Aug 2020 18:53:04 +0000 (20:53 +0200)]
UG: Import and review changes from Phil Netro.
Chapter 4-6 & Appendix.
Only few bits actually.
Enrico Forestieri [Fri, 28 Aug 2020 15:39:01 +0000 (17:39 +0200)]
Daniel Ramoeller [Fri, 28 Aug 2020 05:03:52 +0000 (07:03 +0200)]
Fix for bug #11948
Force plain layout in soul char styles.
Juergen Spitzmueller [Fri, 28 Aug 2020 05:32:29 +0000 (07:32 +0200)]
Do not \protect label in subfloat caption (#11950)
Yuriy Skalko [Thu, 27 Aug 2020 23:03:23 +0000 (02:03 +0300)]
Prevent permanent disabling of comboboxes in Vertical/Horizontal space dialogs
Kornel Benko [Thu, 27 Aug 2020 17:05:52 +0000 (19:05 +0200)]
Cmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp
Juergen Spitzmueller [Thu, 27 Aug 2020 12:43:23 +0000 (14:43 +0200)]
address deprecation warning
Pavel Sanda [Thu, 27 Aug 2020 12:05:22 +0000 (14:05 +0200)]
Fix Qt4 compilation.
Juergen Spitzmueller [Thu, 27 Aug 2020 11:33:12 +0000 (13:33 +0200)]
Improve and translate documentation of openCitation feature
Juergen Spitzmueller [Thu, 27 Aug 2020 10:59:05 +0000 (12:59 +0200)]
de.po
Juergen Spitzmueller [Thu, 27 Aug 2020 10:53:41 +0000 (12:53 +0200)]
Disable citationSearchLE with citationSearchCB
Juergen Spitzmueller [Thu, 27 Aug 2020 10:41:40 +0000 (12:41 +0200)]
Clear info_ cache if format changes
Kornel Benko [Thu, 27 Aug 2020 10:31:10 +0000 (12:31 +0200)]
Update sk.po
Kornel Benko [Thu, 27 Aug 2020 10:09:11 +0000 (12:09 +0200)]
Update sk.po
Juergen Spitzmueller [Thu, 27 Aug 2020 10:05:49 +0000 (12:05 +0200)]
lyxpaperview: take the first match
Juergen Spitzmueller [Thu, 27 Aug 2020 09:58:37 +0000 (11:58 +0200)]
Properly report back if showDirectory() doesn't succeed
Juergen Spitzmueller [Thu, 27 Aug 2020 09:52:52 +0000 (11:52 +0200)]
Report back if citation target could not be opened
Juergen Spitzmueller [Thu, 27 Aug 2020 09:52:23 +0000 (11:52 +0200)]
Fix string subst
Juergen Spitzmueller [Thu, 27 Aug 2020 09:42:03 +0000 (11:42 +0200)]
Assure bibinfo is correctly processed
Juergen Spitzmueller [Thu, 27 Aug 2020 08:59:15 +0000 (10:59 +0200)]
Properly disable function
Juergen Spitzmueller [Thu, 27 Aug 2020 06:57:49 +0000 (08:57 +0200)]
de.po
Juergen Spitzmueller [Thu, 27 Aug 2020 06:45:41 +0000 (08:45 +0200)]
Make paper search function accessible and customizable
Scott Kostyshak [Thu, 27 Aug 2020 03:16:53 +0000 (23:16 -0400)]
ctests: invert Hebrew dvi3, pdf5 TeX font tests
These exports fail with the following error:
"! Right-to-Left Support Error: use TeX--XeT or e-TeX engine."
Scott Kostyshak [Thu, 27 Aug 2020 03:06:48 +0000 (23:06 -0400)]
ctests: comment out a comment
Scott Kostyshak [Wed, 26 Aug 2020 18:19:45 +0000 (14:19 -0400)]
ctests: add ertroundtrip lable and invert a lyx22x
In many cases, round trip with older formats involves exporting ERT
or preamble code in the backwards conversion. In the forwards
conversion, if this code is not parsed, often errors can result.
However, in many cases, especially for older formats, it might not
be worth the time or code complexity to address these cases. Such
tests are labled "ertroundtrip".
This commit also inverts a currently failing lyx22x test under the
label "ertroundtrip" since the above paragraph is my best guess as
to why that test is failing. It is likely not worth the time to fix
it, especially since the APA7 layout wasn't even shipped for LyX
2.2.x.
Stephan Witt [Wed, 26 Aug 2020 12:36:47 +0000 (14:36 +0200)]
autotools build: Install lyx.svg under images for all platforms
Kornel Benko [Wed, 26 Aug 2020 12:33:42 +0000 (14:33 +0200)]
Cmake build: Install lyx.svg under images for all platforms
Yuriy Skalko [Wed, 26 Aug 2020 07:23:28 +0000 (10:23 +0300)]
Update Russian localization
Juergen Spitzmueller [Wed, 26 Aug 2020 08:01:11 +0000 (10:01 +0200)]
Install lyx.svg
Juergen Spitzmueller [Wed, 26 Aug 2020 07:59:56 +0000 (09:59 +0200)]
About: Fix cutting of icon (#11946)
Kornel Benko [Tue, 25 Aug 2020 12:31:15 +0000 (14:31 +0200)]
Cmake export tests: Ignore some pdflatex tests for Hebrew documents
These tests are not expected to succeed anytime soon.
Jean-Marc Lasgouttes [Tue, 25 Aug 2020 11:05:29 +0000 (13:05 +0200)]
Add space before display math that starts a paragraph
This extra spacing was missing and is important for detecting extra
par breaks before equations (which are most of the times not wanted).
To do that, add a new member vmode to MetricsInfo which is equivalent
to LaTeX's \ifvmode (start of paragraph).
If in vmode, add the equivalent of an empty line before a display math inset.
At the same time, tweak value of \(above|below)displayskip, which was
12pt, whereas LaTeX uses 10pt in 10pt size (our reference).
Fixes bug #11891.
Stephan Witt [Tue, 25 Aug 2020 05:14:29 +0000 (07:14 +0200)]
#6401 avoid use of lyxCode()
Jean-Marc Lasgouttes [Tue, 25 Aug 2020 08:25:14 +0000 (10:25 +0200)]
Center correctly top labels like Abstract.
They used to take the paragraph indentation into account.
Fixes bug #11939.
Scott Kostyshak [Mon, 24 Aug 2020 20:28:46 +0000 (16:28 -0400)]
ctests: restore use of -shell-escape to fix Minted
This commit amends
4bb00e99 and fixes the Minted tests.
Jean-Marc Lasgouttes [Mon, 24 Aug 2020 15:21:04 +0000 (17:21 +0200)]
Forgotten break in switch found by coverity scan.
Jean-Marc Lasgouttes [Mon, 24 Aug 2020 15:10:06 +0000 (17:10 +0200)]
Fixup
907f0207 : another place where pm.ascent() is wrong
Fix bug where selecting in first paragraph gave an end of selection on
wrong row.
Since pm.ascent() may contain the top margin, it makes sense in
setCursorFromCoordinates() to use the ascent of the front row instead,
like was none in907f0207 for getPitAndRowNearY().
Juergen Spitzmueller [Mon, 24 Aug 2020 13:59:26 +0000 (15:59 +0200)]
lyxpaperview.py: credit Pavel
Juergen Spitzmueller [Mon, 24 Aug 2020 13:41:52 +0000 (15:41 +0200)]
laypaperview.py: Fix program description
Juergen Spitzmueller [Mon, 24 Aug 2020 13:38:55 +0000 (15:38 +0200)]
lyxpaperview.py: no need to limit to year and author
The script can now take an unlimited number of arguments, which are all
searched for in the filename. This allows for more flexibility.
Pavel Sanda [Mon, 24 Aug 2020 13:10:14 +0000 (15:10 +0200)]
Do not hardcode launching of lyxpaperview script.
Pavel Sanda [Mon, 24 Aug 2020 13:08:55 +0000 (15:08 +0200)]
UG: Remove opening comment from Phil.
Pavel Sanda [Mon, 24 Aug 2020 13:06:57 +0000 (15:06 +0200)]
First draft of open citation feature
Kornel Benko [Mon, 24 Aug 2020 11:51:09 +0000 (13:51 +0200)]
Ignore missing glyphs for fr/Customization.lyx
Kornel Benko [Mon, 24 Aug 2020 11:45:42 +0000 (13:45 +0200)]
Tools(listFontWithLang.pl): Polishing the display of font names.
Also always display the foundry
Juergen Spitzmueller [Mon, 24 Aug 2020 11:32:50 +0000 (13:32 +0200)]
Add python lyxpaperview script
Kornel Benko [Mon, 24 Aug 2020 09:40:18 +0000 (11:40 +0200)]
Update sk.po
Juergen Spitzmueller [Mon, 24 Aug 2020 07:19:05 +0000 (09:19 +0200)]
de.po
Juergen Spitzmueller [Mon, 24 Aug 2020 05:31:36 +0000 (07:31 +0200)]
de.po
Juergen Spitzmueller [Mon, 24 Aug 2020 05:29:19 +0000 (07:29 +0200)]
Remerge strings
Yuriy Skalko [Thu, 20 Aug 2020 10:55:20 +0000 (13:55 +0300)]
Update Russian localization
Yuriy Skalko [Sun, 23 Aug 2020 20:50:11 +0000 (23:50 +0300)]
Split some UI strings for translations
Pavel Sanda [Sun, 23 Aug 2020 20:19:34 +0000 (22:19 +0200)]
Enable Open Citation menu item iff citation contain locator information or external search script is available.
Per Juergen's request.
Pavel Sanda [Sun, 23 Aug 2020 18:47:39 +0000 (20:47 +0200)]
distribute lyxpaperview
Pavel Sanda [Sun, 23 Aug 2020 12:45:40 +0000 (14:45 +0200)]
UG: Import and review changes from Phil Netro.
Chapter 3.
Few additional changes from me.
Juergen Spitzmueller [Sun, 23 Aug 2020 11:48:45 +0000 (13:48 +0200)]
Amend
76cdca64223f
Use auto pointer in all loops over UsedLanguages_
Pavel Sanda [Sun, 23 Aug 2020 10:59:56 +0000 (12:59 +0200)]
UG: Import and review changes from Phil Netro.
Chapter 2.
Few additional changes from me.
Richard Kimberly Heck [Sun, 23 Aug 2020 09:48:02 +0000 (05:48 -0400)]
Fix warnings
Kornel Benko [Sun, 23 Aug 2020 09:38:20 +0000 (11:38 +0200)]
Cmake export tests: Typo
Juergen Spitzmueller [Sun, 23 Aug 2020 08:38:15 +0000 (10:38 +0200)]
de/UserGuide: adapt some changes from en
Juergen Spitzmueller [Sun, 23 Aug 2020 08:07:49 +0000 (10:07 +0200)]
range-based loops
Juergen Spitzmueller [Sun, 23 Aug 2020 08:04:07 +0000 (10:04 +0200)]
Sort secondary babel languages alphabetically
Kornel Benko [Sun, 23 Aug 2020 06:21:53 +0000 (08:21 +0200)]
Amend
3dccce14 : Tools(listFontWithLang.pl): Ignore white space while checking font name
Do not manipulate search strings which already contain regex elements.
Pavel Sanda [Sat, 22 Aug 2020 19:08:42 +0000 (21:08 +0200)]
UG: Import and review changes from Phil Netro.
Chapter 1.