Scott Kostyshak
2c1753a526
CMake: comment out c++20 for now
...
We currently get errors with internal boost and also from LyX code.
2020-10-23 17:13:25 -04:00
Kornel Benko
6869c3adff
Amend 39996524
: Satisfy older cmake versions
2020-10-23 13:25:49 +02:00
Kornel Benko
d954a6b09c
Cmake build: Next try to use of '--std=c++17' for gnu compiler"
...
Setting CMAKE_CXX_STANDARD explicitly, so that cmake can use
correct cxx-flags
2020-10-22 13:46:29 +02:00
Kornel Benko
d3c16d0496
Revert "cmake build: Allow use of '--std=c++17' for gnu compiler"
...
This reverts commit a906676c89
.
2020-10-22 12:04:41 +02:00
Kornel Benko
a906676c89
cmake build: Allow use of '--std=c++17' for gnu compiler
2020-10-21 18:27:23 +02:00
Scott Kostyshak
fe1cbc06c3
CMake deb: support "python2 | python3" dependency
...
The latest debian-based distributions have moved away from
the "python" package dependency to "python2" and "python3".
2020-10-20 13:04:41 -04:00
Scott Kostyshak
334552ade5
CMake deb: update python2 requirement
...
Synchronize with README: >= 2.7.
2020-10-19 15:08:31 -04:00
Kornel Benko
26f3dfe45d
Amend 3a452a24
: DocBook: disable an inverted test for a LyX bug.
...
The disabled test has to appear before the regex for enabled tests
2020-10-18 10:10:46 +02:00
Thibaut Cuvelier
3a452a240b
DocBook: disable an inverted test for a LyX bug.
2020-10-18 08:23:36 +02:00
Thibaut Cuvelier
f3c22f3b95
DocBook: dummy documents from the docs are not complete.
2020-10-18 08:23:36 +02:00
Kornel Benko
b940a81520
Amend 31ad4d6e
: DocBook: move tests to inverted instead of ignored.
...
Allow inverted tests without explicit language setting in testname
2020-10-17 12:58:30 +02:00
Thibaut Cuvelier
31ad4d6e21
DocBook: move tests to inverted instead of ignored.
...
LyX should still avoid crashing on those, and if they start to pass, then something is wrong (most likely, a very large part of the files is being ignored).
2020-10-17 05:55:16 +02:00
Thibaut Cuvelier
3100ab0c7d
DocBook: mark test as not working.
2020-10-16 18:59:23 +02:00
Yuriy Skalko
e3bf51a4c3
Revert "Enable to build with MinGW-W64"
...
This reverts commit ae5a8de6ea
.
2020-10-16 08:17:12 +03:00
Yuriy Skalko
ae5a8de6ea
Enable to build with MinGW-W64
2020-10-16 08:04:05 +03:00
Thibaut Cuvelier
700557783d
DocBook: MissingEndLayoutBetweenTables can't pass.
2020-10-16 04:30:41 +02:00
Pavel Sanda
406396685e
Remove obsolete script
2020-10-13 23:47:25 +02:00
Thibaut Cuvelier
0790754ec2
Fix filterXml4Sax.pl to work under Windows
2020-10-13 21:38:38 +02:00
Pavel Sanda
0ea9df7467
Add inset for \nopagebreak.
...
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg213388.html
2020-10-13 19:13:59 +02:00
Kornel Benko
b6c5603ab0
Cmake tests: Amend 667c0647
: Use jing to test only docbook5 exports
2020-10-13 15:42:29 +02:00
Thibaut Cuvelier
4de89acbf4
Amend 667c0647a5
...
Consistent indentation, use of the latest schema everywhere, typo.
2020-10-10 22:18:16 +02:00
Kornel Benko
667c0647a5
Cmake docbook tests: Add jing.jar to test created docbook files
...
Usefull only if tested with data from repository.
This means: The file 'jing.jar' is not part of the distribution.
2020-10-10 12:43:17 +02:00
Kornel Benko
932321a083
Cmake build: Install missed script listerrors
2020-10-03 14:06:24 +02:00
Scott Kostyshak
bf0f662e93
ctests: ignore Japanese dvi3 systemF tests
...
These started to fail due to a "luatex" package update in the TL20
cycle. From an ML thread [1]:
The LuaTeX-ja package, which is loaded by bxjs* class, is not
designed to be used with dvilua(la)tex.
[1] https://www.mail-archive.com/search?l=mid&q=20200917155146.ec1bd9f9b5d5f5936513e5dd%40yahoo.co.jp
2020-09-25 15:16:46 -04:00
Scott Kostyshak
6be7e7ce72
Typo
2020-09-25 15:16:46 -04:00
Kornel Benko
21fe8a8e5b
Cmake tests: Remove docbook, xhtml, lyx2lyx tests from unreliableTests
...
The relevant export-output is done by lyx and not dependent
on some external driver (like latex)
(Graphics conversions don't count here IMHO)
2020-09-20 14:25:04 +02:00
Kornel Benko
758775ac92
Cmake export xhtml tests: load dtd if checking ouput with xmllint
2020-09-20 11:47:04 +02:00
Thibaut Cuvelier
ca1ca4326b
DocBook: implement theorems.
...
This is a minimal implementation, as DocBook lacks a serious way of encoding all of this. Maybe a <formalpara> could do the trick, but I'd need to find a way to shoehorn a title through the styles (i.e. a first complete tag):
Theorem: Bla bla
<formalpara>
<title>Theorem</title>
<para>Bla bla</para>
</formalpara>
This would also only be a solution for single-paragraph things, as formalpara only allows one paragraph. Or a sidebar, but it's semantically very remote.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
7ec0307b13
DocBook: bug fixing in AASTeX layout.
...
That's mostly generating DocBook tags at an inappropriate place with some metadata, rather than outputting whatever you have at your disposal. Far from satisfying, but good enough for a generic tool (see details in the new TODO). Doesn't trigger assertions. Is valid XML.
2020-09-19 20:43:39 +02:00
Scott Kostyshak
5542ccd3f9
ctests: invert 'wontfix' failing lyx2lyx tests
...
We decided looking into it wasn't worth the time. Note that the
tests are only about formats 2.0.x and 1.6.x. For discussion, see:
https://www.mail-archive.com/search?l=mid&q=20200915233446.atwbyulny5gsbtyi%40tallinn
2020-09-15 19:38:25 -04:00
Scott Kostyshak
b4f3963ab2
Uninvert two Hebrew pdf5 systemF tests
...
These exports now pass, and the output looks reasonable to me
(although I do not know Hebrew). I believe they work now because of
Jürgen's fixes at a7ad0747
and d7b64b8e
.
2020-09-11 14:10:12 -04:00
Kornel Benko
aadfb58374
Cmake build: Try to omit using directory names as source-files in po
...
Previously there are po-entries like
#: lib/examples/Articles:0 src/TocBackend.cpp:296
#:src/frontends/qt/GuiExternal.cpp:87
msgid "External Material"
msgstr ""
now:
#: src/TocBackend.cpp:296 src/frontends/qt/GuiExternal.cpp:87
#: lib/examples/Articles:0
msgid "External Material"
msgstr ""
(The string at 'lib/examples/Articles:0' proceeds also from the directory name 'lib/examples/External_Material')
This makes it easier to use some po-editors like 'linguist'
2020-09-07 21:12:22 +02:00
Kornel Benko
838853f99e
Cmake build: Amend a9afdbb7
and 46fca4dc
...
Partly revert installing fonds in system dir, not needed after
a9afdbb7
(Personalize fonts)
2020-09-03 18:27:12 +02:00
Kornel Benko
a45f539bb5
Tools(listFontWithLang.pl): Handle also fonts provided by lyx
...
These fonts are normally not handled by fontconfig
2020-09-03 11:49:58 +02:00
Kornel Benko
46fca4dc1d
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.
2020-08-30 20:30:21 +02:00
Stephan Witt
102e9297d7
Add lilypond wrapper scripts to cmake install
2020-08-30 15:39:05 +02:00
Kornel Benko
f74739075e
Amend aef29bb
:
2020-08-30 09:58:29 +02:00
Scott Kostyshak
73aef078ac
ctests: mark ru XY dvi3_systemF tests wrong output
2020-08-30 00:34:06 -04:00
Scott Kostyshak
aef29bbe6f
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
2020-08-30 00:33:51 -04:00
Scott Kostyshak
57253974bc
ctests: invert ru Math LuaTeX tests
...
There are issues due to varioref. Consistent with 6e50327a
.
2020-08-29 14:57:50 -04:00
Scott Kostyshak
2a665dcc05
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.
2020-08-29 11:12:05 -04:00
Kornel Benko
74e37a4791
Tools(listFontWithLang.pl): Amend 99508630
, polish also the style
2020-08-29 15:26:58 +02:00
Kornel Benko
084781d530
Revert "Ignore missing glyphs for fr/Customization.lyx"
...
This reverts commit 7ec0870cce
.
After setting the Dejavu font in c4cba1d3
, this is no longer needed
2020-08-29 15:20:49 +02:00
Kornel Benko
0eb2589818
Cmake build: Use the fonts dir which is also expected by GuiFontLoader.cpp
2020-08-27 19:05:52 +02:00
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
Kornel Benko
41e03d9b2b
Cmake build: Install lyx.svg under images for all platforms
2020-08-26 14:33:42 +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
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
Kornel Benko
dbe9867ed1
Cmake export tests: Typo
2020-08-23 11:38:57 +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
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
Kornel Benko
e3cfcce8c5
Cmake export tests: mixed_ltr-art_arabi-standard-font does not work with luatex + tex font
2020-08-19 12:14:01 +02:00
Kornel Benko
babb0d2d3a
Cmake export tests: Handle some tests which do not end
2020-08-19 11:58:20 +02:00
Kornel Benko
6e50327a68
Cmake export tests: Add some tests not working with lualatex/xetex
2020-08-17 16:22:01 +02:00
Kornel Benko
0d50206610
Cmake tests: Correct an entry (file name has changed)
2020-08-15 15:57:02 +02:00
Kornel Benko
e33017a78d
Cmake tests: Adapt to new testcase
2020-08-15 14:47:37 +02:00
Kornel Benko
89feea25f1
Cmake docbook tests: Check the exported with one more tool
2020-08-05 12:54:36 +02:00
Stephan Witt
06fa1ef332
Amend last change 7d66e37eb2
to rename the MYTHESLIB cmake lookup
2020-08-04 12:00:14 +02:00
Stephan Witt
7d66e37eb2
Adjust the name of the cmake module lookup script for MYTHESLIB to match the casing of the variable name
2020-08-04 11:49:03 +02:00
Stephan Witt
5e6dccfb13
Add support for lilypond with LyX on Mac
2020-08-03 17:44:22 +02:00
Kornel Benko
2952c78ea5
Cmake export tests: Adapt test filtering
...
1.) Ignore exports for docbook specific files
2.) Because of dvips problem invert test for some Foils-lyx-files
2020-08-02 19:40:55 +02:00
Kornel Benko
a913b5aa24
Cmake docbook tests: typos
2020-08-01 21:08:35 +02:00
Kornel Benko
decc775834
Cmake docbook export: Try to handle quotation marks in parameter values properly
2020-08-01 09:40:23 +02:00
Kornel Benko
b62c6e8961
Cmake export tests: Make the destination directory for test results unique
...
Exporting files with identical names (but in different directories)
could lead to conflicts in parallel executed tests.
2020-08-01 09:35:20 +02:00
Kornel Benko
a1713d9d35
Tools(listFontWithLang.pl): Correct types of lohit fonts
2020-07-31 16:27:48 +02:00
Kornel Benko
0666e80ed9
Amend 4ec788ce
: Remove temporary files after tests
2020-07-31 15:28:25 +02:00
Kornel Benko
4ec788ce3f
Cmake export tests: Export to docbook5
...
The sax-parser is choking on tags like 'section*' or 'Braille (default)'.
Also setting parameters like 'height=12pt' are not valid.
The added filter tries to 'correct' the input for the sax parser.
E.g. 'Braille (default)' ==> 'Braille__default_', 'section*' ==> 'section_'
and 'height =12pt' ==> 'height="12pt"'
2020-07-31 15:24:48 +02:00
Juergen Spitzmueller
a848e22cf2
Add missing FORMAT entries
2020-07-29 10:55:06 +02:00
Stephan Witt
e2103c2307
#10571 configure defaults for full-screen switch per LFUN to be like the MacOS window manager switch to full-screen
2020-07-28 22:16:13 +02:00
Kornel Benko
1dbc50a30d
Cmake tests: Add check of the exported docbook file with xmllint
2020-07-20 16:55:28 +02:00
Kornel Benko
15947a7db4
Cmake tests: Add docbook5 exports to the tests
2020-07-20 10:42:34 +02:00
Pavel Sanda
c1a5b2c597
* development/FORMAT
2020-07-20 10:05:44 +02:00
Richard Kimberly Heck
c6b17b7094
FORMAT for format 594
2020-07-20 03:02:55 +02:00
Eugene Chornyi
269f847580
Wininstaller2, code readability
2020-07-17 21:18:17 +02:00
Thibaut Cuvelier
e302757476
Add support for CALS tables in DocBook.
2020-07-16 00:40:16 +02:00
Eugene Chornyi
90dccf89e3
Wininstaller, remove the option to run LyX from the finish page
2020-07-12 18:54:56 +02:00
Kornel Benko
26fa3b3d9d
Cmake build: Move interpretation of configure.ac to own function
...
Created function determineversionandbuildtype() in development/cmake/modules/LyXMacros.cmake
2020-07-12 16:27:45 +02:00
Eugene Chornyi
df2234f18d
Wininstaller2, use plugin to start LyX as user after installation as admin
2020-07-11 22:10:48 +02:00
Eugene Chornyi
16d8141e5e
Wininstaller2, fix wrong logic
2020-07-11 20:34:01 +02:00
Kornel Benko
b030dc5b8b
Tools(listFontWithLang.pl): Allow the include of the separator glyph in the list of chars
...
For instance:
listFontWithLang.pl -c 'a-z\,A-Z'
is not the same now as
listFontWithLang.pl -c 'a-z,A-Z'
2020-07-11 12:46:26 +02:00
Kornel Benko
40e071c7cb
Cmake build: Improve checks for stdlib-debug
2020-07-11 12:43:17 +02:00
Eugene Chornyi
70776ba667
Amend 32e501a2
2020-07-08 07:58:49 +02:00
Eugene Chornyi
32e501a282
Wininstaller, fix bug where previous installations, with emergency version greater than 1, could not be seen in registry on overinstall
2020-07-07 21:13:34 +02:00
Thibaut Cuvelier
8a6e500570
Remove old example, as its mechanisms are now deprecated.
2020-07-02 15:27:20 +02:00
Kornel Benko
3a606cae22
Tools(listFontWithLang.pl): Add option to write to a file
...
The content is meant to be input to other commands to display
the fonts.
2020-06-29 12:30:56 +02:00
Kornel Benko
7cb50d7008
Tools(listFontWithLang.pl): Added type for small capitals.
2020-06-25 11:19:38 +02:00
Kornel Benko
95eccf0c53
Tools(listFontWithLang.pl): more changes
...
Normalized some style names (e.g. cond -> condensed)
Handle some forgotten fonts (for sure there are more)
Routine getval() tries to get the same language entry for fullname, family and style if possible.
Added some more exceptions (for instance not all fonts with 'symbol' in name contain symbols)
Split family- and style words at case-change (lower to upper case) to identify shortcuts for styles.
2020-06-21 11:43:35 +02:00
Eugene Chornyi
dda35d2afd
Wininstaller, use correct default icon for LyX documents
2020-06-18 14:35:13 +02:00
Enrico Forestieri
70ccf9f243
Use the same icon as in the cmake build
2020-06-17 19:52:27 +02:00
Enrico Forestieri
36e6154515
Add new icon
...
This icon has been produced using lyx_doc.svg and contains 3
different sizes (32x32, 64x64, 256x256) instead of only one.
2020-06-17 19:32:02 +02:00
Kornel Benko
e2309c6ea5
Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'b'
2020-06-17 18:06:54 +02:00
Kornel Benko
8d84a4d7ab
Tools(listFontWithLang.pl): Correct some font features for fontnames starting with 'a'
2020-06-17 14:44:27 +02:00
Kornel Benko
0d84f0b9fd
Tools(listFontWithLang.pl): Change the building of fontname.
...
A try to combine the style info and family into the font-name in such a way,
that the features are not doubled.
2020-06-17 00:24:21 +02:00
Thibaut Cuvelier
a6b07608d8
Rename XHTMLStream to XMLStream, move it to another file, and prepare for DocBook adoption.
...
xml.cpp/h also merges functionalities from sgml.cpp/h.
2020-06-15 13:01:56 +02:00