Commit Graph

42127 Commits

Author SHA1 Message Date
Scott Kostyshak
f86ec91afb 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."
2020-08-26 23:20:00 -04:00
Scott Kostyshak
a21bc08cc0 ctests: comment out a comment 2020-08-26 23:20:00 -04:00
Scott Kostyshak
c44cfec348 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.
2020-08-26 14:19:45 -04:00
Stephan Witt
8593d00912 autotools build: Install lyx.svg under images for all platforms 2020-08-26 14:36:47 +02:00
Kornel Benko
41e03d9b2b Cmake build: Install lyx.svg under images for all platforms 2020-08-26 14:33:42 +02:00
Yuriy Skalko
761648b1f7 Update Russian localization 2020-08-26 11:48:57 +02:00
Juergen Spitzmueller
e52514ffd3 Install lyx.svg 2020-08-26 10:01:53 +02:00
Juergen Spitzmueller
d436a51024 About: Fix cutting of icon (#11946) 2020-08-26 10:01:53 +02:00
Kornel Benko
af146f07e6 Cmake export tests: Ignore some pdflatex tests for Hebrew documents
These tests are not expected to succeed anytime soon.
2020-08-25 14:34:48 +02:00
Jean-Marc Lasgouttes
cc349fd031 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.
2020-08-25 13:20:37 +02:00
Stephan Witt
3c1b4a5d7e #6401 avoid use of lyxCode() 2020-08-25 10:54:49 +02:00
Jean-Marc Lasgouttes
294e4884ee Center correctly top labels like Abstract.
They used to take the paragraph indentation into account.

Fixes bug #11939.
2020-08-25 10:30:34 +02:00
Scott Kostyshak
4a9bbe61df ctests: restore use of -shell-escape to fix Minted
This commit amends 4bb00e99 and fixes the Minted tests.
2020-08-24 16:30:36 -04:00
Jean-Marc Lasgouttes
ee3a711316 Forgotten break in switch found by coverity scan. 2020-08-24 17:21:04 +02:00
Jean-Marc Lasgouttes
2a6f1d2b58 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().
2020-08-24 17:14:08 +02:00
Juergen Spitzmueller
298fa2eee5 lyxpaperview.py: credit Pavel 2020-08-24 15:59:26 +02:00
Juergen Spitzmueller
7097c4e6b1 laypaperview.py: Fix program description 2020-08-24 15:41:52 +02:00
Juergen Spitzmueller
3e31fad5f6 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.
2020-08-24 15:38:55 +02:00
Pavel Sanda
44ede7ef4b Do not hardcode launching of lyxpaperview script. 2020-08-24 15:11:53 +02:00
Pavel Sanda
71332820d1 UG: Remove opening comment from Phil. 2020-08-24 15:11:53 +02:00
Pavel Sanda
9bd4da2769 First draft of open citation feature 2020-08-24 15:11:53 +02:00
Kornel Benko
7ec0870cce Ignore missing glyphs for fr/Customization.lyx 2020-08-24 13:51:09 +02:00
Kornel Benko
9950863058 Tools(listFontWithLang.pl): Polishing the display of font names.
Also always display the foundry
2020-08-24 13:48:41 +02:00
Juergen Spitzmueller
935c9aad5a Add python lyxpaperview script 2020-08-24 13:32:50 +02:00
Kornel Benko
65a0f3389c Update sk.po 2020-08-24 11:40:18 +02:00
Juergen Spitzmueller
47ac46ec7f de.po 2020-08-24 09:19:05 +02:00
Juergen Spitzmueller
83dd1c2827 de.po 2020-08-24 07:31:36 +02:00
Juergen Spitzmueller
aa7736b1cb Remerge strings 2020-08-24 07:29:19 +02:00
Yuriy Skalko
d4e9a268e0 Update Russian localization 2020-08-24 07:24:26 +02:00
Yuriy Skalko
c160e21c48 Split some UI strings for translations 2020-08-24 07:23:40 +02:00
Pavel Sanda
894ad70eba Enable Open Citation menu item iff citation contain locator information or external search script is available.
Per Juergen's request.
2020-08-23 22:19:34 +02:00
Pavel Sanda
9c9a2c1b92 distribute lyxpaperview 2020-08-23 20:47:39 +02:00
Pavel Sanda
86d949e82e UG: Import and review changes from Phil Netro.
Chapter 3.
Few additional changes from me.
2020-08-23 14:48:02 +02:00
Juergen Spitzmueller
0fa93fe55a Amend 76cdca6422
Use auto pointer in all loops over UsedLanguages_
2020-08-23 13:49:56 +02:00
Pavel Sanda
57076cfff4 UG: Import and review changes from Phil Netro.
Chapter 2.
Few additional changes from me.
2020-08-23 13:01:08 +02:00
Richard Kimberly Heck
17f9d6b192 Fix warnings 2020-08-23 05:48:15 -04:00
Kornel Benko
dbe9867ed1 Cmake export tests: Typo 2020-08-23 11:38:57 +02:00
Juergen Spitzmueller
d6854b01ca de/UserGuide: adapt some changes from en 2020-08-23 10:38:15 +02:00
Juergen Spitzmueller
76cdca6422 range-based loops 2020-08-23 10:07:49 +02:00
Juergen Spitzmueller
c3cac2048b Sort secondary babel languages alphabetically 2020-08-23 10:04:56 +02:00
Kornel Benko
be4f5c8084 Amend 3dccce14: Tools(listFontWithLang.pl): Ignore white space while checking font name
Do not manipulate search strings which already contain regex elements.
2020-08-23 08:21:53 +02:00
Pavel Sanda
7112c8b67e UG: Import and review changes from Phil Netro.
Chapter 1.
2020-08-22 21:11:38 +02:00
Kornel Benko
3e18adc110 Cmake docbook tests: Check for correct use of namespaces 2020-08-22 17:40:34 +02:00
Kornel Benko
3dccce1411 Tools(listFontWithLang.pl): Ignore white space while checking font name
This allows for instance to find 'Deja Vu' also if searching for 'dejavu'
2020-08-22 16:20:22 +02:00
Kornel Benko
bc3e3e330f Cmake export tests: Ignore some test of files used as a child document only 2020-08-22 11:41:56 +02:00
Scott Kostyshak
08725c5832 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.
2020-08-21 14:20:56 -04:00
Juergen Spitzmueller
448e5efab4 Do not attempt to close language twice 2020-08-21 11:07:22 +02:00
Pavel Sanda
8362360639 switch args 2020-08-21 09:25:10 +02:00
Scott Kostyshak
4c0073cd03 Whitespace 2020-08-20 21:51:29 -04:00
jpc
6b508e959c French manual Customization.lyx : import from 2.3 2020-08-20 17:17:36 +02:00