Juergen Spitzmueller
b42c5dd7d6
Add frontispiece layout to KOMA classes
2021-01-28 10:24:28 +01:00
Scott Kostyshak
9d3dcdc1f7
ctests: add found regression and fix
2021-01-28 00:27:45 -05:00
Scott Kostyshak
a660ed24dc
ctests-costs-benefits: define false positive
...
A false positive could either be "not a bug" or a bug that is not
worth the time or complexity to fix. For the purpose of evaluating
the tests, the distinction is not important.
2021-01-28 00:27:45 -05:00
Scott Kostyshak
157f2d02c8
ctests: ignore lyx2lyx fails due to no convergence
...
These exports knowingly do not pass the convergence tests because
of ERT export.
2021-01-27 20:32:44 -05:00
Scott Kostyshak
a3f591d61e
ctests: log cost of recent false positive
2021-01-26 13:29:23 -05:00
Scott Kostyshak
d3065ceeb3
Start a log file to track benefit/costs of ctests
...
The ctests are not convenient tests. In this file we can attempt to
log the benefits and costs to using them so we can periodically
evaluate which tests we should keep and which we should get rid of.
2021-01-26 13:21:08 -05:00
Juergen Spitzmueller
0b0757916e
Format incremented to 605: Extended variable table cell support
...
- Multicolumn now supports multiple paragraphs in non-fixed-width context.
- Multicolumn now supports valign in non-fixed-width context.
- varwidth columns now properly align horizontally and vertically.
2021-01-22 19:16:43 +01:00
Kornel Benko
53084dbfd8
CMake: in Hunspell ABI check only link if external
...
(Thanks Scott for the patch and comment)
For the HAVE_HUNSPELL_CXXABI check, only test a (real) link command
if an external libhunspell is used or if macOS is used (see
350a9daf
). If the bundled libhunspell is used, it has not been built
yet at the point of the initial cmake command.
This commit fixes an issue when the bundled Hunspell is desired.
Before, the test command would still attempt to link to the system
hunspell library. Even if the system library is available, there
could be problems if there is a mismatch of the CXX ABI. And
finally, even if the system library is available and there is no
mismatch, compiling the test file with Clang and -stdlib=libc++
seems to cause a failure when linking with the system Hunspell
library.
2021-01-20 09:39:03 +01:00
Juergen Spitzmueller
7b762ee950
Branch: Implement separate static colors in dark mode
...
Set colors now apply to the active mode only. Matching reversed colors
are produced for the other mode if no color is assigned yet.
File format change.
2021-01-19 17:04:04 +01:00
Juergen Spitzmueller
9a6f7ece97
Add option to revert graphics colors in dark mode ( #12076 )
...
This amends [5d47a7ee57506/lyxgit]
2021-01-18 10:46:16 +01:00
Juergen Spitzmueller
057753dc75
Allow semantic colors in branches and use semantic background color by default
...
Addresses most crucial part of #12075
File format change
2021-01-18 09:56:53 +01:00
Kornel Benko
8ec16f4020
Cmake tests: findadv-01 - findadv-21 working
...
Tests 07 and 09 corrected because of not working
shortcuts in cua env using sk/menus.bind.
2021-01-17 14:30:34 +01:00
Kornel Benko
fd5dbd61e7
Make some findadv-tests working again, more to follow
...
Some shortcuts in cua do not work anymore
so replacing them with virtual shortcus for tests only
seems a good way.
2021-01-15 17:13:07 +01:00
Pavel Sanda
260f9d634a
Update of signatures homekeeping.
2021-01-15 14:50:18 +01:00
Richard Kimberly Heck
de6092cb6a
Forgot FORMAT
2021-01-14 04:31:57 -05:00
Eugene Chornyi
475b71094f
Wininstaller: remove (old) installer, installer2 becomes (new) installer
2021-01-12 17:33:44 +01:00
Scott Kostyshak
fdc4f047d6
ctests: invert old lyx2lyx tests for ar Beamer
...
This is consistent with the lyx2lyx tests for Beamer in other
languages.
2021-01-09 13:01:26 -05:00
Scott Kostyshak
5fb3171eeb
ctests: invert ru Shortcuts failures from varioref
...
Consistent with ru Math and Additional.
2021-01-07 20:12:05 -05:00
Scott Kostyshak
decbb308e8
ctests: invert ar Beamer template
...
DocBook export is not expected to work with Beamer templates.
2021-01-06 22:54:53 -05:00
Scott Kostyshak
c13d16704c
ctests: uninvert two docbook exports
...
These exports now succeed. Perhaps the broken references that were
causing them to fail were fixed.
2021-01-05 18:52:50 -05:00
Eugene Chornyi
aaca6b24f1
Fix bug 9961
...
remove the error message for not finding a pdf viewer (apparently empty string is returned by FindExecutable if the executable is a Windows Store app). If there is really no pdf viewer, let the Windows itself decide what to do (produce error or not and which one).
2021-01-03 20:11:49 +01:00
Kornel Benko
c07278a45c
Cmake build: Syntax of AC_INIT() in configure.ac changed, adapted macro
2020-12-29 20:27:19 +01:00
Richard Kimberly Heck
469168e592
Update documentation
2020-12-29 12:03:05 -05:00
Kornel Benko
86a10281da
Cmake build: Expand for possible c++20 compilation
2020-12-28 13:13:27 +01:00
Eugene Chornyi
a2e4ce1803
Wininstaller2: improved check if over installing
2020-12-12 10:04:17 +01:00
Eugene Chornyi
17c1442429
Wininstaller2: minor bugfix
2020-12-12 09:37:28 +01:00
Eugene Chornyi
bd8a9d3ce3
Wininstaller2: silently uninstall old LyX if not the same minor version
2020-12-11 22:15:02 +01:00
Kornel Benko
041b67d990
Cmake batch tests: Export changed (Added empty line)
2020-12-09 10:54:56 +01:00
Richard Kimberly Heck
52a0ffc02f
Change name and email in some other files
2020-12-05 17:39:46 -05:00
Eugene Chornyi
36c64ab02d
Wininstaller2: copy user preferences from previous minor release
2020-12-05 11:38:58 +01:00
Juergen Spitzmueller
e9cbd69f6e
Implement Hungarian quotation marks style ( #12040 )
...
File format change
2020-12-02 17:00:40 +01:00
Kornel Benko
a171c651a6
Revert "Amend 3093789e
for cmake build"
...
This reverts commit b3d43404f4
.
2020-11-30 10:19:22 +01:00
Eugene Chornyi
baf792f1b0
Wininstaller2: small cosmetic bugfix
2020-11-30 07:02:46 +01:00
Thibaut Cuvelier
877806f208
DocBook: implement SciPoster.
2020-11-29 22:54:03 +01:00
Scott Kostyshak
16e5e1a614
ctests: invert Econometrica + LuaTeX + TeX fonts
...
These exports are failing on an updated TeX Live 2020. It is not
high priority to look into the underlying cause of these two
failures since TeX fonts are not commonly used with LuaTeX and the
ectaart class is not in TeX Live.
2020-11-29 14:20:40 -05:00
Kornel Benko
b3d43404f4
Amend 3093789e
for cmake build
2020-11-29 10:04:54 +01:00
Kornel Benko
aea775cbc6
Cmake docbook5 tests: Use absolute path-hints for 'bibfiles' entries in lyx-file
2020-11-29 08:48:16 +01:00
Eugene Chornyi
cecdc69c3a
Wininstaller2: refresh PATH before running configure
...
The script should find imagemagick
2020-11-28 15:28:25 +01:00
Eugene Chornyi
2adb5ebbef
Wininstaller2: amend 9521834e
2020-11-28 10:37:29 +01:00
Thibaut Cuvelier
fd40dfd429
Typo.
2020-11-28 05:31:23 +01:00
Thibaut Cuvelier
a6cc62f6ee
DocBook: ignore fonts in ERT.
...
Also, mark a Slides test as passing, because it is valid DocBook (but not really useful).
2020-11-28 05:15:34 +01:00
Thibaut Cuvelier
12d512d4e4
DocBook: implement iopart.
2020-11-28 05:08:58 +01:00
Thibaut Cuvelier
76bc063bcd
DocBook: implement IEEEtran.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
b2ec2ff1a9
DocBook: slightly change the Copernicus template to be valid DocBook.
...
This is just adding an author instead of leaving the field blank.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
633a617841
DocBook: implement Copernicus.
...
Includes a fix when wrappers are used with empty paragraphs. The logic is probably wrong if two legit wrapped paragraphs have one empty paragraph in the middle. This is only for slightly convoluted cases... Wrapping decisions should rather be taken for a series of paragraphs at once, but it would be more complex to implement and would only solve very peculiar cases like these ones.
2020-11-28 04:56:19 +01:00
Thibaut Cuvelier
14cfcf00cb
DocBook: implement AEA and APA.
2020-11-28 00:51:35 +01:00
Yuriy Skalko
f3ec89cfa1
Always use std::regex
...
Since now minimum supported GCC is 4.9.
2020-11-27 12:39:59 +02:00
Thibaut Cuvelier
bd9dce3749
DocBook: bug fixes for JASA.
...
Includes more consistent behaviour for bibliographies in appendix (do the same as LyX shows the user, i.e. bibliography in appendix).
2020-11-27 05:53:46 +01:00
Thibaut Cuvelier
eea884aba2
DocBook: AASTeX is still too complicated to be fully supported.
2020-11-27 05:20:51 +01:00
Thibaut Cuvelier
3f07ae9083
DocBook: for empty figures, output a message.
...
This ensures that this part of the DocBook file is valid.
2020-11-27 05:19:27 +01:00
Thibaut Cuvelier
185a62e695
DocBook: in aa, fix acknowledgements.
2020-11-27 04:52:39 +01:00
Thibaut Cuvelier
0e4d8a8159
DocBook: implement IJMP C/D.
2020-11-27 04:16:48 +01:00
Thibaut Cuvelier
77fa9a6c42
DocBook: implement iucr.
2020-11-27 02:49:54 +01:00
Thibaut Cuvelier
5f488ed746
DocBook: deploy fix for acknowledgements.
2020-11-27 02:12:29 +01:00
Thibaut Cuvelier
587f1f5571
DocBook: implement Mathematical Monthly.
2020-11-27 01:54:00 +01:00
Kornel Benko
7e5b1d09f3
Cmake tests: Save the number of ignored tests in file for later review
2020-11-27 00:51:36 +01:00
Scott Kostyshak
5cf409328d
ctests: invert Greek LuaTeX texF tests
...
These tests fail on TeX Live 2020 after a babel-greek update.
2020-11-26 11:51:39 -05:00
Thibaut Cuvelier
eeb732cd5f
DocBook: implement JASA.
2020-11-26 06:55:49 +01:00
Thibaut Cuvelier
ed6fbdd249
DocBook: implement Kluwer.
...
Includes an assertion fix that only occurred with this example.
2020-11-26 06:41:13 +01:00
Thibaut Cuvelier
dae0640436
DocBook: implement REVTeX.
...
Improvements to abstract detection: it can now contain lists or anything with a higher depth.
Implement video floats.
2020-11-26 06:22:27 +01:00
Eugene Chornyi
9521834e3a
Wininstaller2: auto select downloading dictionary of the same language as the UI of users Windows
...
include Russian and Portuguese languages by default
2020-11-25 22:00:34 +01:00
Scott Kostyshak
39b3a9b855
ctests: ignore the new lt pdf4 texF test
...
This document is not meant to be used to test XeTeX with TeX fonts.
2020-11-22 23:50:41 -05:00
Günter Milde
1a87fcf94e
ctests: some compilation errors fixed with last TeXLive update.
...
Change tag to "unreliable.varying_versions".
2020-11-22 22:16:57 +01:00
Thibaut Cuvelier
1176fab1d4
DocBook: make InsetText respect tag types.
2020-11-20 18:41:03 +01:00
Eugene Chornyi
77f4d162a0
CMake fix but where Perl not found on Windows
2020-11-18 19:17:44 +01:00
Scott Kostyshak
ebbedd9e91
ctests: uninvert an export that passes now
...
The export inputenc-luatex-utf8_pdf5_texF has been succeeding for a
while and was likely fixed by a TeX Live update. Compiling manually
and looking at the output looks good.
2020-11-16 18:25:54 -05:00
Thibaut Cuvelier
c6fe1fbe5f
DocBook: implement svglobal.
2020-11-16 20:15:34 +01:00
Yuriy Skalko
87dd31c0db
Remove old duplicated files, newer are in autotests/mathmacros
2020-11-16 19:37:05 +02:00
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
Thibaut Cuvelier
d8e097686a
DocBook: implement Hollywood layout.
2020-11-01 02:53:03 +01:00
Eugene Chornyi
f0fdf5ebb3
Wininstaller2: Imagemagick should be able to find ghostscript binaries
2020-10-31 11:15:45 +01:00
Scott Kostyshak
10a2361244
ctests: invert JASA tests, consistent with Seminar
...
These tests are failing for the same reason as the Seminar tests.
See 1aa4987b
.
2020-10-30 19:56:07 -04:00
Scott Kostyshak
1aa4987b2f
Address failures of Seminar examples on new TL20
...
Compilation of our Seminar example file fails on updated TL20. The
maintainer of "Seminar" is not planning to fix the core issue and
states the following (in a private email with permission to quote):
it is a problem with the new hook management of the current latex.ltx
seminar is a quite old package and there is no reason to use it with a
new LaTeX format. It won't be fixed, so the usual way is to use the
package latexrealease to get the old hook management.
This commit adds a note to the example files explaining the
workaround of exporting to a .tex file and prepending the following
line:
\RequirePackage[2020-02-02]{latexrelease}
We now invert the relevant tests.
2020-10-29 23:29:26 -04:00
Thibaut Cuvelier
df0ea858ed
DocBook: use the same normalisation for biblio IDs and their references.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
2e8bffa3c5
DocBook: update test suite.
...
Still an unexplained failure: for basic, in the test suite, the .bib file is not found; with the GUI, it is found.
2020-10-30 01:59:34 +01:00
Scott Kostyshak
c9fd498a7f
ctests: Invert some tests for new ru Additional
...
These inversions are consistent with ru Math manual tests.
2020-10-29 16:08:32 -04:00
Kornel Benko
2ec243d47b
Cmake build: Fine tuning
...
1.) If building with external iconv, remove remnants of libiconv data
created if previousy used internal iconv
2.) Remove the variable HELP from cache to enable subsequent builds.
(Different variable-handling on new cmake (version >= 3.18))
3.) New macro to extract cmake-known-cxx-sts features
4.) Check for CXX11-features only for a subset of possibilities
known by the used cmake
2020-10-28 23:12:03 +01:00
Scott Kostyshak
33228178a8
ctests: invert unicode failures from menukeys pack
...
The issue is already reported and it seems a fix could be released
soon (in which case we will uninvert the tests):
https://github.com/tweh/menukeys/issues/59
2020-10-28 16:37:51 -04:00
Scott Kostyshak
35d3ccf75b
ctests: ignore zh_CN dvi3_systemF tests
...
These exports had wrong output before, and now (on updated TL20)
they fail with the following error message:
DVI output is not supported in LuaTeX-ja
2020-10-27 23:08:25 -04:00
Richard Kimberly Heck
08a1f5e14e
No need to specify qt5
2020-10-26 15:29:21 -04:00
Richard Kimberly Heck
a939527945
Update build script again
2020-10-25 11:54:37 -04:00
Kornel Benko
2dbf351542
Distribution: Added some missing files
2020-10-25 16:38:00 +01:00
Richard Kimberly Heck
904d960d6a
typo
2020-10-24 23:24:28 -04:00
Richard Kimberly Heck
c4620152ce
Update lyx-build script
2020-10-24 23:23:56 -04:00
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