]> git.lyx.org Git - features.git/log
features.git
3 years agoUse correct width for \fint
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.

3 years agoru UserGuide: set default output format to pdf2
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.

3 years agoctests: invert LuaTeX + DavidCLM exports
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.

3 years agoTools(listFontWithLang.pl): Amend 99508630, polish also the style
Kornel Benko [Sat, 29 Aug 2020 13:26:58 +0000 (15:26 +0200)]
Tools(listFontWithLang.pl): Amend 99508630, polish also the style

3 years agoRevert "Ignore missing glyphs for fr/Customization.lyx"
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

3 years ago Set Deja Vu as non-TeX fonts to make xetex/luatex succeed
jpc [Sat, 29 Aug 2020 12:24:28 +0000 (14:24 +0200)]
   Set Deja Vu as non-TeX fonts to make xetex/luatex succeed

3 years agoFix Hebrew intro with LuaTeX
Juergen Spitzmueller [Sat, 29 Aug 2020 09:55:56 +0000 (11:55 +0200)]
Fix Hebrew intro with LuaTeX

(use iftex rather than ifpdf)

3 years agoLocalize format prettyName in some more places (#11954)
Juergen Spitzmueller [Sat, 29 Aug 2020 09:50:43 +0000 (11:50 +0200)]
Localize format prettyName in some more places (#11954)

3 years agoUG: Import and review changes from Phil Netro.
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.

3 years agoAmend f96b99dc
Enrico Forestieri [Fri, 28 Aug 2020 15:39:01 +0000 (17:39 +0200)]
Amend f96b99dc

3 years agoFix for bug #11948
Daniel Ramoeller [Fri, 28 Aug 2020 05:03:52 +0000 (07:03 +0200)]
Fix for bug #11948

Force plain layout in soul char styles.

3 years agoDo not \protect label in subfloat caption (#11950)
Juergen Spitzmueller [Fri, 28 Aug 2020 05:32:29 +0000 (07:32 +0200)]
Do not \protect label in subfloat caption (#11950)

3 years agoPrevent permanent disabling of comboboxes in Vertical/Horizontal space dialogs
Yuriy Skalko [Thu, 27 Aug 2020 23:03:23 +0000 (02:03 +0300)]
Prevent permanent disabling of comboboxes in Vertical/Horizontal space dialogs

3 years agoCmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp
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

3 years agoaddress deprecation warning
Juergen Spitzmueller [Thu, 27 Aug 2020 12:43:23 +0000 (14:43 +0200)]
address deprecation warning

3 years agoFix Qt4 compilation.
Pavel Sanda [Thu, 27 Aug 2020 12:05:22 +0000 (14:05 +0200)]
Fix Qt4 compilation.

3 years agoImprove and translate documentation of openCitation feature
Juergen Spitzmueller [Thu, 27 Aug 2020 11:33:12 +0000 (13:33 +0200)]
Improve and translate documentation of openCitation feature

3 years agode.po
Juergen Spitzmueller [Thu, 27 Aug 2020 10:59:05 +0000 (12:59 +0200)]
de.po

3 years agoDisable citationSearchLE with citationSearchCB
Juergen Spitzmueller [Thu, 27 Aug 2020 10:53:41 +0000 (12:53 +0200)]
Disable citationSearchLE with citationSearchCB

3 years agoClear info_ cache if format changes
Juergen Spitzmueller [Thu, 27 Aug 2020 10:41:40 +0000 (12:41 +0200)]
Clear info_ cache if format changes

3 years agoUpdate sk.po
Kornel Benko [Thu, 27 Aug 2020 10:31:10 +0000 (12:31 +0200)]
Update sk.po

3 years agoUpdate sk.po
Kornel Benko [Thu, 27 Aug 2020 10:09:11 +0000 (12:09 +0200)]
Update sk.po

3 years agolyxpaperview: take the first match
Juergen Spitzmueller [Thu, 27 Aug 2020 10:05:49 +0000 (12:05 +0200)]
lyxpaperview: take the first match

3 years agoProperly report back if showDirectory() doesn't succeed
Juergen Spitzmueller [Thu, 27 Aug 2020 09:58:37 +0000 (11:58 +0200)]
Properly report back if showDirectory() doesn't succeed

3 years agoReport back if citation target could not be opened
Juergen Spitzmueller [Thu, 27 Aug 2020 09:52:52 +0000 (11:52 +0200)]
Report back if citation target could not be opened

3 years agoFix string subst
Juergen Spitzmueller [Thu, 27 Aug 2020 09:52:23 +0000 (11:52 +0200)]
Fix string subst

3 years agoAssure bibinfo is correctly processed
Juergen Spitzmueller [Thu, 27 Aug 2020 09:42:03 +0000 (11:42 +0200)]
Assure bibinfo is correctly processed

3 years agoProperly disable function
Juergen Spitzmueller [Thu, 27 Aug 2020 08:59:15 +0000 (10:59 +0200)]
Properly disable function

3 years agode.po
Juergen Spitzmueller [Thu, 27 Aug 2020 06:57:49 +0000 (08:57 +0200)]
de.po

3 years agoMake paper search function accessible and customizable
Juergen Spitzmueller [Thu, 27 Aug 2020 06:45:41 +0000 (08:45 +0200)]
Make paper search function accessible and customizable

3 years agoctests: invert Hebrew dvi3, pdf5 TeX font tests
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."

3 years agoctests: comment out a comment
Scott Kostyshak [Thu, 27 Aug 2020 03:06:48 +0000 (23:06 -0400)]
ctests: comment out a comment

3 years agoctests: add ertroundtrip lable and invert a lyx22x
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.

3 years agoautotools build: Install lyx.svg under images for all platforms
Stephan Witt [Wed, 26 Aug 2020 12:36:47 +0000 (14:36 +0200)]
autotools build: Install lyx.svg under images for all platforms

3 years agoCmake 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

3 years agoUpdate Russian localization
Yuriy Skalko [Wed, 26 Aug 2020 07:23:28 +0000 (10:23 +0300)]
Update Russian localization

3 years agoInstall lyx.svg
Juergen Spitzmueller [Wed, 26 Aug 2020 08:01:11 +0000 (10:01 +0200)]
Install lyx.svg

3 years agoAbout: Fix cutting of icon (#11946)
Juergen Spitzmueller [Wed, 26 Aug 2020 07:59:56 +0000 (09:59 +0200)]
About: Fix cutting of icon (#11946)

3 years agoCmake export tests: Ignore some pdflatex tests for Hebrew documents
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.

3 years agoAdd space before display math that starts a paragraph
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.

3 years ago#6401 avoid use of lyxCode()
Stephan Witt [Tue, 25 Aug 2020 05:14:29 +0000 (07:14 +0200)]
#6401 avoid use of lyxCode()

3 years agoCenter correctly top labels like Abstract.
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.

3 years agoctests: restore use of -shell-escape to fix Minted
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.

3 years agoForgotten break in switch found by coverity scan.
Jean-Marc Lasgouttes [Mon, 24 Aug 2020 15:21:04 +0000 (17:21 +0200)]
Forgotten break in switch found by coverity scan.

3 years agoFixup 907f0207: another place where pm.ascent() is wrong
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().

3 years agolyxpaperview.py: credit Pavel
Juergen Spitzmueller [Mon, 24 Aug 2020 13:59:26 +0000 (15:59 +0200)]
lyxpaperview.py: credit Pavel

3 years agolaypaperview.py: Fix program description
Juergen Spitzmueller [Mon, 24 Aug 2020 13:41:52 +0000 (15:41 +0200)]
laypaperview.py: Fix program description

3 years agolyxpaperview.py: no need to limit to year and author
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.

3 years agoDo not hardcode launching of lyxpaperview script.
Pavel Sanda [Mon, 24 Aug 2020 13:10:14 +0000 (15:10 +0200)]
Do not hardcode launching of lyxpaperview script.

3 years agoUG: Remove opening comment from Phil.
Pavel Sanda [Mon, 24 Aug 2020 13:08:55 +0000 (15:08 +0200)]
UG: Remove opening comment from Phil.

3 years agoFirst draft of open citation feature
Pavel Sanda [Mon, 24 Aug 2020 13:06:57 +0000 (15:06 +0200)]
First draft of open citation feature

3 years agoIgnore missing glyphs for fr/Customization.lyx
Kornel Benko [Mon, 24 Aug 2020 11:51:09 +0000 (13:51 +0200)]
Ignore missing glyphs for fr/Customization.lyx

3 years agoTools(listFontWithLang.pl): Polishing the display of font names.
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

3 years agoAdd python lyxpaperview script
Juergen Spitzmueller [Mon, 24 Aug 2020 11:32:50 +0000 (13:32 +0200)]
Add python lyxpaperview script

3 years agoUpdate sk.po
Kornel Benko [Mon, 24 Aug 2020 09:40:18 +0000 (11:40 +0200)]
Update sk.po

3 years agode.po
Juergen Spitzmueller [Mon, 24 Aug 2020 07:19:05 +0000 (09:19 +0200)]
de.po

3 years agode.po
Juergen Spitzmueller [Mon, 24 Aug 2020 05:31:36 +0000 (07:31 +0200)]
de.po

3 years agoRemerge strings
Juergen Spitzmueller [Mon, 24 Aug 2020 05:29:19 +0000 (07:29 +0200)]
Remerge strings

3 years agoUpdate Russian localization
Yuriy Skalko [Thu, 20 Aug 2020 10:55:20 +0000 (13:55 +0300)]
Update Russian localization

3 years agoSplit some UI strings for translations
Yuriy Skalko [Sun, 23 Aug 2020 20:50:11 +0000 (23:50 +0300)]
Split some UI strings for translations

3 years agoEnable Open Citation menu item iff citation contain locator information or external...
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.

3 years agodistribute lyxpaperview
Pavel Sanda [Sun, 23 Aug 2020 18:47:39 +0000 (20:47 +0200)]
distribute lyxpaperview

3 years agoUG: Import and review changes from Phil Netro.
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.

3 years agoAmend 76cdca64223f
Juergen Spitzmueller [Sun, 23 Aug 2020 11:48:45 +0000 (13:48 +0200)]
Amend 76cdca64223f

Use auto pointer in all loops over UsedLanguages_

3 years agoUG: Import and review changes from Phil Netro.
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.

3 years agoFix warnings
Richard Kimberly Heck [Sun, 23 Aug 2020 09:48:02 +0000 (05:48 -0400)]
Fix warnings

3 years agoCmake export tests: Typo
Kornel Benko [Sun, 23 Aug 2020 09:38:20 +0000 (11:38 +0200)]
Cmake export tests: Typo

3 years agode/UserGuide: adapt some changes from en
Juergen Spitzmueller [Sun, 23 Aug 2020 08:38:15 +0000 (10:38 +0200)]
de/UserGuide: adapt some changes from en

3 years agorange-based loops
Juergen Spitzmueller [Sun, 23 Aug 2020 08:07:49 +0000 (10:07 +0200)]
range-based loops

3 years agoSort secondary babel languages alphabetically
Juergen Spitzmueller [Sun, 23 Aug 2020 08:04:07 +0000 (10:04 +0200)]
Sort secondary babel languages alphabetically

3 years agoAmend 3dccce14: Tools(listFontWithLang.pl): Ignore white space while checking font...
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.

3 years agoUG: Import and review changes from Phil Netro.
Pavel Sanda [Sat, 22 Aug 2020 19:08:42 +0000 (21:08 +0200)]
UG: Import and review changes from Phil Netro.

Chapter 1.

3 years agoCmake docbook tests: Check for correct use of namespaces
Kornel Benko [Sat, 22 Aug 2020 15:40:34 +0000 (17:40 +0200)]
Cmake docbook tests: Check for correct use of namespaces

3 years agoTools(listFontWithLang.pl): Ignore white space while checking font name
Kornel Benko [Sat, 22 Aug 2020 14:20:22 +0000 (16:20 +0200)]
Tools(listFontWithLang.pl): Ignore white space while checking font name

This allows for instance to find 'Deja Vu' also if searching for 'dejavu'

3 years agoCmake export tests: Ignore some test of files used as a child document only
Kornel Benko [Sat, 22 Aug 2020 09:40:46 +0000 (11:40 +0200)]
Cmake export tests: Ignore some test of files used as a child document only

3 years agoctests: Uninvert an export fixed by new TL
Scott Kostyshak [Fri, 21 Aug 2020 18:15:35 +0000 (14:15 -0400)]
ctests: Uninvert an export fixed by new TL

The export fails with a TL19, and passes with an updated TL20
system. Kornel confirms.

A quick manual check of the output looks good.

3 years agoDo not attempt to close language twice
Juergen Spitzmueller [Fri, 21 Aug 2020 09:07:22 +0000 (11:07 +0200)]
Do not attempt to close language twice

3 years agoswitch args
Pavel Sanda [Fri, 21 Aug 2020 07:25:10 +0000 (09:25 +0200)]
switch args

3 years agoWhitespace
Scott Kostyshak [Fri, 21 Aug 2020 01:51:06 +0000 (21:51 -0400)]
Whitespace

3 years ago French manual Customization.lyx : import from 2.3
jpc [Thu, 20 Aug 2020 15:14:06 +0000 (17:14 +0200)]
        French manual Customization.lyx : import from 2.3

3 years agoUpdate sk.po
Kornel Benko [Thu, 20 Aug 2020 14:48:59 +0000 (16:48 +0200)]
Update sk.po

3 years agoAdd ellipses
Juergen Spitzmueller [Thu, 20 Aug 2020 14:39:34 +0000 (16:39 +0200)]
Add ellipses

3 years agode.po
Juergen Spitzmueller [Thu, 20 Aug 2020 14:18:31 +0000 (16:18 +0200)]
de.po

3 years agoGuiAbout: some more polishment
Juergen Spitzmueller [Thu, 20 Aug 2020 14:08:10 +0000 (16:08 +0200)]
GuiAbout: some more polishment

3 years agoGuiAbout: use unformatted version info via Copy button
Juergen Spitzmueller [Thu, 20 Aug 2020 13:50:31 +0000 (15:50 +0200)]
GuiAbout: use unformatted version info via Copy button

3 years agoExample script for looking up the citation pdfs.
Pavel Sanda [Thu, 20 Aug 2020 07:11:07 +0000 (09:11 +0200)]
Example script for looking up the citation pdfs.

3 years agoAllow LyX to find pdfs and urls of citation references and follow them from context...
Pavel Sanda [Thu, 20 Aug 2020 06:33:40 +0000 (08:33 +0200)]
Allow LyX to find pdfs and urls of citation references and follow them from context menu.

Currently tested:
- url & doi fields for bibtex.
- all documented eprinttypes of biblatex
- absolute paths of first entry of 'file' field for jabref and kbibtex
- external script searching for author + year pdf

Additional polishing will follow.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg212505.html

3 years agoCmake export tests: Omit next group of possible conflicts while runnig test in parallel
Kornel Benko [Wed, 19 Aug 2020 20:28:50 +0000 (22:28 +0200)]
Cmake export tests: Omit next group of possible conflicts while runnig test in parallel

Disable conversion cache because all lyx instances use the same cache without
any locking between read and write to the cache.

Thanks to Scott catching this case.

3 years agoCmake export tests: mixed_ltr-art_arabi-standard-font does not work with luatex ...
Kornel Benko [Wed, 19 Aug 2020 10:14:01 +0000 (12:14 +0200)]
Cmake export tests: mixed_ltr-art_arabi-standard-font does not work with luatex + tex font

3 years agoCmake export tests: Handle some tests which do not end
Kornel Benko [Wed, 19 Aug 2020 09:58:20 +0000 (11:58 +0200)]
Cmake export tests: Handle some tests which do not end

3 years agoUpdate Russian localization
Yuriy Skalko [Tue, 18 Aug 2020 14:10:23 +0000 (17:10 +0300)]
Update Russian localization

3 years agoFix UI string
Yuriy Skalko [Sat, 15 Aug 2020 17:20:40 +0000 (20:20 +0300)]
Fix UI string

3 years agoCustomization: Improve documentation of ResetsFont
Juergen Spitzmueller [Tue, 18 Aug 2020 07:02:14 +0000 (09:02 +0200)]
Customization: Improve documentation of ResetsFont

Fixes #8454

3 years agoCmake export tests: Add some tests not working with lualatex/xetex
Kornel Benko [Mon, 17 Aug 2020 14:22:01 +0000 (16:22 +0200)]
Cmake export tests: Add some tests not working with lualatex/xetex

3 years agoSet up appropriate nonTeX fonts in test file
Juergen Spitzmueller [Mon, 17 Aug 2020 12:10:59 +0000 (14:10 +0200)]
Set up appropriate nonTeX fonts in test file

3 years agoFix default mark (#8454)
Juergen Spitzmueller [Mon, 17 Aug 2020 11:45:44 +0000 (13:45 +0200)]
Fix default mark (#8454)

3 years agoCustomization: update to current format (for better detection of following changes)
Juergen Spitzmueller [Mon, 17 Aug 2020 11:45:00 +0000 (13:45 +0200)]
Customization: update to current format (for better detection of following changes)

3 years agoSimplification
Juergen Spitzmueller [Mon, 17 Aug 2020 11:29:55 +0000 (13:29 +0200)]
Simplification

3 years agoFix font and encoding switch problem with directionality change at inset
Juergen Spitzmueller [Mon, 17 Aug 2020 11:25:02 +0000 (13:25 +0200)]
Fix font and encoding switch problem with directionality change at inset

Also fixes #10110

3 years agoAmend 92f6e4806e9
Juergen Spitzmueller [Mon, 17 Aug 2020 11:11:46 +0000 (13:11 +0200)]
Amend 92f6e4806e9

This was too general