Commit Graph

4262 Commits

Author SHA1 Message Date
Kornel Benko
06b09452d7 Typo in message 2020-11-16 12:40:35 +01:00
Kornel Benko
53e064ce2e Cmake export tests: Use the temporary directory for checked results
This amends also dbb72a37 (fix race condition for parallel testing)
Thanks Scott to pointing this out.
2020-11-16 12:22:33 +01:00
Thibaut Cuvelier
d64b3f5397 DocBook: implement Elsevier. 2020-11-16 06:09:03 +01:00
Thibaut Cuvelier
059b268e0d DocBook: do a little something for variable-width minipages. 2020-11-16 00:08:11 +01:00
Thibaut Cuvelier
afba0672d0 DocBook: do a little something for Sweave & co. 2020-11-15 23:54:23 +01:00
Scott Kostyshak
dbb72a370a ctests: fix race condition for parallel testing
The unicode tests would often fail when tested in parallel because
we were not exporting to unique file names. From what I understand,
a variant similar to the following race condition occurred:

1. Thread A exports to file blah.pdf.
2. Thread B exports to file blah.pdf.
3. Thread A confirms file blah.pdf exists.
4. Thread A deletes exported file blah.pdf to clean up.
5. Thread B fails to find file blah.pdf and reports a failure.
2020-11-15 17:40:02 -05:00
Thibaut Cuvelier
b75b0d2a83 DocBook: some features are not yet in the DocBook schema. 2020-11-15 21:46:11 +01:00
Thibaut Cuvelier
e94c7871cc DocBook: implement fancy color box. 2020-11-15 19:29:57 +01:00
Thibaut Cuvelier
0ed820fa0b DocBook: fix for nomenclature xml:id and glossary paragraphs.
Previously, the xml:id's were not consistent among <glossterm> in the text and <glossentry> in the glossary.
2020-11-15 18:43:58 +01:00
Sam Crawley
f3c1fa0b04 Added test for nested insets bug (#9395) 2020-11-15 10:36:10 +01:00
Sam Crawley
434ac146bd Added tests for compare function
Runs the compare via the command line, and then compares the output to the
expected result. Required adding a script to do the comparison, so that
the timestamps on changes in the lyx file are ignored.
2020-11-15 10:36:01 +01:00
Scott Kostyshak
7210f5d3c2 Fix a comment
Without the comment prefix, these lines would be treated as regular
expressions.
2020-11-14 23:35:59 -05:00
Scott Kostyshak
7f3904498d ctests: invert JSS tests which fail with new cls
The new JSS cls has been failing on an updated TeX Live 2020 for a
while, both with the template they provide and with LyX's template.
I expect this will be fixed eventually but for now it's best to
invert it as a "texissue".
2020-11-14 23:23:07 -05:00
Thibaut Cuvelier
f18c00418a DocBook: implement modern CV. 2020-11-15 04:03:04 +01:00
Thibaut Cuvelier
045c8d6537 DocBook: remove output for some paragraphs in CVs. 2020-11-15 04:03:04 +01:00
Thibaut Cuvelier
6f696151cf DocBook: implement European CV. 2020-11-14 05:46:36 +01:00
Scott Kostyshak
93bb04f907 ctests: invert Hebrew tutorial LuaTeX tests
With an updated TeX Live 2020 an assertion is given. The assertion
was reported on the LuaTeX ML [1], and will be converted into the
following error as of LuaTeX svn commit r7385:

  ! the word doesn't start with a character

The error could likely be worked around with a change to the
document but since the document compiles without error with XeTeX I
did not change anything since I do not understand the issue.

[1]
https://www.mail-archive.com/search?l=mid&q=20201030030430.4y4i6bdpwx633qs7%40vbox-VirtualBox
2020-11-13 23:30:23 -05:00
Scott Kostyshak
b20d01681c Noweb_Listerrors.lyx: do not force ps2pdf
Export to all formats seems to work well after removing the "ps2pdf"
option to the hyperref package.

Accordingly we uninvert the tests for the other formats. All ctests
pass on an updated TeX Live 2020.
2020-11-13 21:30:22 -05:00
Kornel Benko
5680a4d3be Cmake build: Check for perl before use
(Define PERL_EXCUTABLE to be used while calling perl scripts)
2020-11-14 00:34:20 +01:00
Thibaut Cuvelier
03a8208dc5 DocBook: implement chess. 2020-11-14 00:28:45 +01:00
Scott Kostyshak
3963ef0891 ctests: Invert two LyX HTML tests that were broken
These exports have not worked (i.e., failed our xmllint checks) for
a while. We have a bug open to track them at #10355.
2020-11-12 12:07:29 -05:00
Kornel Benko
2308647740 Amend 1354dcdef0 (Typo)
Regexes in *Tests files require to contain the first and
also the last character ot the testname
2020-11-12 10:38:11 +01:00
Thibaut Cuvelier
1354dcdef0 Amend c11b8a15cb
Typo...
2020-11-12 04:42:58 +01:00
Thibaut Cuvelier
c11b8a15cb DocBook: bicaptions cannot be implemented only with templates. 2020-11-12 04:39:54 +01:00
Thibaut Cuvelier
185f34b20e DocBook: implement aa. 2020-11-12 04:17:49 +01:00
Thibaut Cuvelier
14887dda1c DocBook: implement achemso. 2020-11-12 03:18:03 +01:00
Thibaut Cuvelier
2f8443afbe DocBook: mark more tests to be ignored. 2020-11-12 02:33:19 +01:00
Yuriy Skalko
61a80ab6d3 Merge CodingRulesAndAdvice.lyx into Development.lyx 2020-11-11 20:28:01 +02:00
Thibaut Cuvelier
857edf3ae7 DocBook: mark more tests to be ignored. 2020-11-05 05:35:53 +01:00
Thibaut Cuvelier
91d442d505 DocBook: polyglossia test now works. 2020-11-05 03:10:37 +01:00
Thibaut Cuvelier
302bed3f68 DocBook: many fixes for the user guide. 2020-11-05 02:42:03 +01:00
Thibaut Cuvelier
e424db6caf DocBook: exclude the Math docs from the tests. 2020-11-05 02:25:30 +01:00
Thibaut Cuvelier
8d33eb0351 DocBook: EmbeddedObjects is too complex to have a truly valid output. 2020-11-05 02:06:31 +01:00
Thibaut Cuvelier
f82b26e1b7 DocBook: a previous patch has unexpectedly nice consequences!
Tests that used to fail now pass (the title structure is now better handled).
2020-11-05 01:45:40 +01:00
Thibaut Cuvelier
efd6e78fcb DocBook: mark nested sidebars as allowed.
This is mostly for shapepar support, in a rare situation. Fixing this would create a lot of special cases in output_docbook.cpp, i.e. fixing the issue (which will barely happen in real life) would make maintenance much harder.
2020-11-05 00:27:29 +01:00
Thibaut Cuvelier
0ba926a3ce DocBook: implement AMS articles. 2020-11-04 22:51:18 +01:00
Thibaut Cuvelier
e36b661efe DocBook: missing inverted tests. 2020-11-04 22:51:18 +01:00
Thibaut Cuvelier
a42c5e3880 DocBook: implement AMS book. 2020-11-04 22:29:02 +01:00
Thibaut Cuvelier
0a9150b375 DocBook: ignore other KOMA-Script letters. 2020-11-04 17:31:22 +01:00
Thibaut Cuvelier
d8d64bd406 Merge tests in invertedTests, proposed by Kornel
This should improve performance when building LyX.
2020-11-02 15:39:53 +01:00
Kornel Benko
9b2790d472 Cmake tests: Do not remove temporary data while debugging
The debug mode is set with the environment LYX_DEBUG_LATEX
 $ export LYX_DEBUG_LATEX=1

The downside: From time to time the need to remove the superfluous dirs
 $ cd build-dir
 $ find autotests/out-home -name AbC_\* | xargs rm -rf
2020-11-02 13:12:56 +01:00
Thibaut Cuvelier
ebfdac4fa3 DocBook: implement svmult.
More generally, ensures that paragraphs in abstracts do not have something else configured.

A major problem in making the layout more useful is that article titles are not supposed to be in TOC.
2020-11-02 04:30:39 +01:00
Thibaut Cuvelier
3808787c80 DocBook: more tests to be ignored. 2020-11-02 03:11:28 +01:00
Thibaut Cuvelier
d9d5bb9324 DocBook: implement DIN-Brief. 2020-11-02 03:03:24 +01:00
Thibaut Cuvelier
d1a732f696 DocBook: ignore obsolete document layouts, at least for now. 2020-11-02 02:22:48 +01:00
Thibaut Cuvelier
4f4ac2b5e4 DocBook: write correctly the lists of tests that are expected to fail, with the language instead of .*. 2020-11-02 01:51:40 +01:00
Scott Kostyshak
3d21e70e83 ctests: uninvert some unicode ctests
Thanks to an update of the "menukey" package, these exports now
succeed. For more information, see 33228178.
2020-11-01 13:26:03 -05:00
Thibaut Cuvelier
4ea841fe24 DocBook: implement other letter classes (frletter, standard letter, KOMA-Script).
I gave up on G-Brief, it's too far from the other classes.
2020-11-01 04:41:16 +01:00
Thibaut Cuvelier
78e1297e82 DocBook: implement French letter. 2020-11-01 03:51:15 +01:00
Thibaut Cuvelier
225cf7e3d4 DocBook: mark more presentations as expected failures. 2020-11-01 02:53:03 +01:00