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
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
Kornel Benko
9cec35697a
Tools(listFontWithLang.pl): Enable list of font features
...
Font-type can contain more than one feature (e.g. Initials + Serif)
therefore it is now a combination of featrures.
2020-06-15 10:27:17 +02:00
Eugene
7118581a72
test
2020-06-11 21:52:56 +02:00
Kornel Benko
824be29341
Tools(listFontWithLang.pl): Add new category for double stroke fonts
2020-06-11 19:10:56 +02:00
Kornel Benko
76db479c07
Cmake build: Change the destination of fonts
...
Select the lyx-fonts-directory such that font-config can find the dat
2020-06-11 19:06:21 +02:00
Kornel Benko
392aaa11ac
Cmake build: Add trailing '.'
...
Cpack in the cmake 3.18-version creates invalid control file
containg empty line. 'dpkg' chokes on this control file.
2020-06-10 17:11:36 +02:00
Juergen Spitzmueller
c680d0360a
WinInstaller: assure configure.py is run in the user dir, by Eugene
2020-06-10 12:38:48 +02:00
Kornel Benko
48d75d30b7
Cmake export tests: Adapt to new template
...
These tests are not working with lualatex and tex fonts
(American_Psychological_Association_%28APA_v\.7%29_(dvi3|pdf5)_texF)
2020-06-09 21:40:17 +02:00
Juergen Spitzmueller
0f6045848a
WinInstaller2: assure configure.py is run in the user dir, by Eugene
2020-06-09 13:13:26 +02:00
Juergen Spitzmueller
b17bdcb81c
Amend b32c9ae8af
, by Eugene
2020-06-09 12:08:03 +02:00
Juergen Spitzmueller
b32c9ae8af
WinInstaller2: Check if LyX is already running during installation
...
Patch by Eugene
2020-06-09 10:16:39 +02:00
Richard Kimberly Heck
b3a90037b1
Clean up build script
2020-06-08 11:04:15 -04:00
Richard Kimberly Heck
f9ee1e16af
Changes to lyx-build script
2020-06-07 12:39:42 -04:00
Kornel Benko
cfa4d422b4
Amend(2) ed665a03
: Do not try to distribute removed cmake script
2020-06-07 16:38:33 +02:00
Kornel Benko
ed665a0333
Amend 2d48072e
: Get rid of Qt resources
...
Remove the cmake handling too
2020-06-07 12:07:58 +02:00
Juergen Spitzmueller
33e74e5117
Having two folders just differing in case is not such a good idea.
...
See #11882
2020-06-06 13:56:46 +02:00
Juergen Spitzmueller
68e227c9fa
New Win Installer, by Eugene
2020-06-06 12:58:39 +02:00
Kornel Benko
b71fb0d0f6
Cmake installs: Clean up some installs
2020-06-05 13:00:00 +02:00
Kornel Benko
c7dbc201df
Amend 9c863039
: Cmake build: Adapt handling of c++ standards to new Visual C++ 2019
...
Apparently the use of "/std:c++20" is too new for our sources.
2020-06-04 18:01:49 +02:00
Kornel Benko
8b81adbbec
Cmake build: Add some missing language-specific files for installation
...
Preparing for possible addition af language file like zh_CN or pt_BR
in the examples directory
2020-06-03 21:44:42 +02:00
Kornel Benko
e86e1da154
Tools(listFontWithLang.pl): New option, typo, categorisation
...
1.) With option --nc we can select fonts not including these glyphs
2.) Typo NSpripts -> NScripts
3.) corrected categorisation of some fonts not including latin chars
2020-06-03 20:22:19 +02:00
Kornel Benko
eec1bf80e0
Tools(listFontWithLang.pl): A try to categorize culmus an lyx fonts
2020-06-03 12:39:10 +02:00
Stephan Witt
faeb8d745e
Add template for MacOS private frameworks to distribution
2020-06-01 21:48:18 +02:00
Kornel Benko
26788fdd9f
Tools(listFontWithLang.pl): Remove padmaa from sans-list, it is serif font
...
Also display intervalls of character sets (unicode points)
2020-05-30 14:29:39 +02:00
Kornel Benko
92d248f712
Modify 2 tests to reflect actual GUI
...
bug-10636: The position of 'View->Code Preview Pane' in dialog changed
bug-export-latex: Add comment
2020-05-30 11:14:26 +02:00
Kornel Benko
9e3086fbfc
FindAdv: Remaining tests working now again
...
All of these changes were due to
1.) Changed latex output (white space)
2.) changed reaction of dialog shortcut to return from
find-adv settings to search tab
3.) debug-mode of libstdc++
4.) LASSERT in InsetMathGrid.cpp
2020-05-29 20:56:38 +02:00
Kornel Benko
158919e203
FindAdv: next 3 tests working
2020-05-29 20:18:45 +02:00
Kornel Benko
9da4390a9b
FindAdv: Correct next test (keytest/findadv-16)
...
Provided that the LASSERT in src/mathed/InsetMathGrid.cpp:1824
is removed.
2020-05-29 20:04:57 +02:00
Kornel Benko
8028dce129
FindAdv: Correct some testcases
2020-05-29 14:22:34 +02:00
Kornel Benko
fc39c3b48b
Cmake build: Prohibit use of external boost if using libstdc++ in debug mode
...
We are using the compiler falgs _GLIBCXX_DEBUG and _GLIBCXX_DEBUG_PEDANTIC
See https://opensource.apple.com/source/gcc/gcc-1640/libstdc++-v3/docs/html/debug.html
2020-05-27 11:35:48 +02:00
Kornel Benko
e3ffbc53cb
Tools(listFontWithLang.pl): Prohibit inserting multiple entries of same command line option
2020-05-21 16:09:21 +02:00
Stephan Witt
544e5859d3
Add command line option for code sign identity to help message
2020-05-21 13:30:22 +02:00
Kornel Benko
580057bef7
Tools(listFontWithLang.pl): Polishing
2020-05-21 11:50:42 +02:00
Kornel Benko
f7ad823cb8
Tools(listFontWithLang.pl): Amend 58dfb1d8
, Select fonts containig specified glyphs
...
Allow to specify also intervalls of charaters
e.g. -c a-z,u+70-u+200
2020-05-20 12:38:30 +02:00
Kornel Benko
58dfb1d825
Tools(listFontWithLang.pl): Amend ac039733
, Select fonts containig specified glyphs
...
Allow also values like
-c Azß
or
-c u+65zu+xdf
(Comma as a separator not needed, if the input is unambiguous)
2020-05-19 09:02:56 +02:00
Stephan Witt
dfb33eb569
#11742 use Inkscape 0.92.x converter from Resources of application bundle if detected - corrected shell syntax
2020-05-19 08:54:57 +02:00
Stephan Witt
813cd1765c
#11742 use Inkscape 0.92.x converter from Resources of application bundle if detected
2020-05-19 08:49:20 +02:00
Kornel Benko
ac03973309
Tools(listFontWithLang.pl): Select fonts containig specified glyphs
...
Comma separated glyphs can be specifies as characters or as unicode-values
example:
-c A,z,ß
or
-c u+65,z,u+xdf
2020-05-18 18:21:25 +02:00
Stephan Witt
aec981bf41
#11742 correct pre 1.0 inkscape wrapper script path
2020-05-17 15:24:15 +02:00
Stephan Witt
4552d1c75f
#11742 adapt inkscape start utility to Inkscape 1.0
2020-05-17 15:20:25 +02:00
Kornel Benko
5f3541454c
Tools(listFontWithLang.pl): update fonts-categorization
2020-05-17 15:12:05 +02:00
Kornel Benko
36deaaac26
Tools(listFontWithLang.pl): Group related parameters in the command syntax
...
Display sequence of command parameters according to their appearance in the definition table
2020-05-16 21:40:26 +02:00
Kornel Benko
d4b64d81fe
Tools: try to categorize fonts in listFontWithLang.pl
...
New 'categories' besides Serif and Sans:
Script, Fraktur, Fancy, Initials, Symbol
2020-05-14 17:35:51 +02:00
Kornel Benko
1bda6da7f9
Tools: recognize most sans serif fonts in listFontWithLang.pl
...
Starts to be crazy. Many fonts have to be (visually!) inspected, because there is
no hint about this feature.
Also, for many fonts it is a senseless information.
We need a third value (besides serif and sans-serif)
2020-05-12 19:53:28 +02:00
Kornel Benko
3eb56006b5
Tools: recognize math font in listFontWithLang.pl
2020-05-09 13:19:12 +02:00
Kornel Benko
8918d5287b
Tools: optimize recognition of some font features in listFontWithLang.pl
...
Added (de)selecting fonts through its capability (latn, math, arab, etc)
Recognize also trebuchet in font name as sans-serif font
Recognize also fixed in font name as monospaced font
2020-05-08 14:17:19 +02:00
Kornel Benko
14316c7890
Win32-build, bug #11635 , "2 lyx in same time?"
...
Patch from Eugene
"Win installer part again, this time just append to existing lyxrc.dist instead of deleting it."
2020-05-06 11:50:41 +02:00
Richard Kimberly Heck
238f510702
Move DTL binaries to resource folder;.
...
Patch from Eugene.
2020-05-06 03:04:33 -04:00
Kornel Benko
9c863039b6
Cmake build: Adapt handling of c++ standards to new Visual C++ 2019
...
More or less suggested by Thibaut Cuvelier's switch to Visual C++ 2019
2020-05-05 13:49:50 +02:00
Kornel Benko
63ce605b83
Try to set executable bit on listFontWithLang.pl
2020-05-03 12:54:14 +02:00
Kornel Benko
b55f735afe
Moving lib/scripts/{GetOptions.pm,listFontWithLang.pl} to development/tools
2020-05-02 13:40:26 +02:00
Stephan Witt
4e9ecec3f6
additional check for default pipe locations used by active LyX instance
2020-04-19 13:12:35 +02:00
Kornel Benko
4e14bf7028
Amend(5) 689f26d2
: Revert changes in development/cygwin/lyxrc.dist.in
...
Thanks Enrico.
2020-04-19 11:39:10 +02:00
Kornel Benko
3f89dd0b48
Cmake build: Distinguish between PROGRAM_SUFFIX and LYX_VERSION
...
For instance: program suffix may be "", but lyx version is still "2.4"
2020-04-19 09:45:32 +02:00
Kornel Benko
333e023e82
Amend(4) 689f26d2
: Add default path to server pipe (cmake build)
...
Rename the placeholde $$User to $$UserDir
Make it more readable. Suggestion from Stephan Witt.
2020-04-18 22:26:56 +02:00
Kornel Benko
88d8376189
Amend(2) 689f26d2
: Add default path to server pipe (cmake build)
...
Changing pipe-path to fit on Windows
Corrected by Eugene
2020-04-18 12:07:04 +02:00
Kornel Benko
0135682fca
Amend(1) 689f26d2
: Add default path to server pipe (cmake build)
...
Added handling for cygwin and win32
MacOSX is unchanged, Stephan could you look at it?
2020-04-18 09:06:56 +02:00
Kornel Benko
689f26d247
Add default path to server pipe (cmake build + unix)
...
Actually the change is affecting only builds if
1.) Using cmake build
2.) on unix
To use it on
cygwin: one has to patch development/cygwin/lyxrc.dist.in
MacOSX: -//- development/MacOSX/lyxrc.dist.in
We need also a Windows-version
Also the compilation with automake lacks the handling of development/unix/lyxrc.dist.in
2020-04-17 18:38:51 +02:00
Kornel Benko
dd154a5837
Cmake build: Fix use of LYX_ABS_INSTALLED_DATADIR
...
(Wrong display at configuration time. Also wrong value in created config.h)
2020-04-14 19:59:41 +02:00
Kornel Benko
af029d695f
Cmake build: All directory variables should contain trailing '/'
2020-04-14 13:01:17 +02:00
Juergen Spitzmueller
c62ef12dd3
Win compile doc update from Eugene
2020-04-09 13:05:21 +02:00
Juergen Spitzmueller
9cccbb3615
Address #9368
...
pdfview creates a temp pdf file to determine the standard pdf viewer,
code simplification, reducing dll dependencies
Patch by Eugene.
2020-04-09 10:08:44 +02:00
Richard Kimberly Heck
36a1f365f0
Download dictionaries and thesauri from SVN.
...
Patch from Eugene.
2020-04-05 14:48:34 -04:00
Richard Kimberly Heck
35727f9d77
Previous DTL update is not usable. Roll it back.
...
Patch from Eugene.
2020-04-04 19:25:26 -04:00
Richard Kimberly Heck
c784119949
Batch file for removing unneeded imagemagick binaries.
...
Also update installation description.
2020-04-04 19:24:31 -04:00
Richard Kimberly Heck
35864200b1
Changelog from Eugene.
2020-04-04 19:22:08 -04:00
Richard Kimberly Heck
a48bd032ec
Description for windows installer and dependencies
...
Patch from Eugene.
2020-04-04 19:21:00 -04:00
Richard Kimberly Heck
bd660c459f
Changed main registry entry (LyX\Version now).
...
Added "latestVersion" value.
Patch from Eugene.
2020-04-04 19:18:23 -04:00
Richard Kimberly Heck
933cf12140
Implement 64 bit installer.
...
Remove registry hacking for imagemagick (using portable now).
2020-04-04 19:16:29 -04:00
Stephan Witt
38ba0ea240
use path to developer tools for SetFile utility as fallback
2020-03-29 18:57:05 +02:00
Scott Kostyshak
9715d3504c
cat.py: fix Python deprecation warning
...
This commit fixes the following warning:
DeprecationWarning: 'U' mode is deprecated
Removing 'U' has no effect with Python 3 [1]:
There is an additional mode character permitted, 'U', which no
longer has any effect, and is considered deprecated. It previously
enabled universal newlines in text mode, which became the default
behaviour in Python 3.0.
[1] https://docs.python.org/3/library/functions.html?highlight=open#open
2020-03-20 10:22:47 -04:00
Juergen Spitzmueller
86693b5c3c
Fix FORMAT documentation
2020-03-13 15:51:41 +01:00
Juergen Spitzmueller
f4af191403
Introduce maintain unincluded children "mostly"
...
This is a mode for includeonly handling that is effective and still outputs
at least mostly correct counters and references. This is intended for non-
final editing work.
File format change.
2020-03-13 15:46:35 +01:00
Scott Kostyshak
f1694db496
CMake build: find enchant 2.x binary and lib
...
For example, see the Fedora file lists for the package
enchant2-devel [1] as well as the Debian Sid file lists for the
packages libenchant-2-dev [2] and enchant-2 [3]. The packages for
Ubuntu 20.04 are similar. Our autotools build has had support for
finding enchant 2.x since 71977769
.
Searching for enchant-2 first is consistent with what we do for
autotools (see 1ae537c5
).
This commit is related to #10986 .
[1] https://www.lyx.org/trac/ticket/10986#comment:28
[2] https://packages.debian.org/sid/amd64/libenchant-2-dev/filelist
[3] https://packages.debian.org/sid/amd64/enchant-2/filelist
2020-03-13 10:07:05 -04:00
Günter Milde
c1357cbd01
ctest autotest for #11773 language nesting with lyx2lyx.
...
* invert failing lyx2lyx tests for ko/Welcome
* add dedicated test sample
* set language for English text part in ko/Welcome.
Also
* fix a lyx2lyx language test sample
* fix clause in unreliableTests
2020-03-05 00:24:08 +01:00
Kornel Benko
7f0efc5165
Cmake build: Add evince_sync-files to be installed under the scripts dir
2020-03-01 16:48:14 +01:00
Stephan Witt
f2f861f017
Use real path names for buffer lookup by name of temporary external files.
...
In case of path names for external files containing symbolic links the real path
and the logical path name may be different for the same file or directory.
LyX is using QDir::tempPath() to create the path name of the temporary directory.
The Qt implementation is free to return the logical or the real path name here and
it happens to be different for various platforms and versions.
The most stable and clean solution is to use the real path name consistently.
2020-02-22 12:11:42 +01:00
Stephan Witt
ca7defab45
Make the directories in LyX application bundle read only.
...
Python produces files with cached on-the-fly compiled code on disk inside the bundle.
This should be avoided in case of a signed application bundle.
2020-02-21 18:04:28 +01:00
Stephan Witt
a47412b9de
Cleanup code signing of the LyX application bundle
2020-02-21 09:45:09 +01:00
Stephan Witt
6b9b07e6dc
Cleanup internal structure of embedded Qt frameworks
2020-02-21 09:44:07 +01:00
Stephan Witt
5ccb7da134
Improved standard conformance of private frameworks naming scheme
2020-02-21 09:43:10 +01:00
Stephan Witt
d2257bb0ff
Add packaging option to code sign the LyX application
2020-02-20 10:47:23 +01:00
Stephan Witt
dc5221852c
Create private frameworks on Mac with standard conforming internal structure
2020-02-20 10:46:22 +01:00
Kornel Benko
f5551bec15
Amend 43dfd12f
2020-02-15 12:21:32 +01:00
Kornel Benko
3f2c315530
Cmake tests: Correct test BATCH_outline-beamer
2020-02-15 10:26:33 +01:00
Kornel Benko
43dfd12fd7
Cmake build: Files already removed, but in 'git status' still present.
...
This is a try to really remove them.
2020-02-15 10:11:28 +01:00
Stephan Witt
ab877352e7
Use the application id of lyx to address the running LyX instance
2020-02-14 12:06:08 +01:00
Stephan Witt
983da7d6de
Put the LyX window frontmost automatically on Mac on successful reverse search
2020-02-13 16:39:14 +01:00
Stephan Witt
2817439ddd
Allow externally provided list of components to skip for Qt framework builds on macOS
2020-02-06 22:19:15 +01:00
Stephan Witt
6e54c86a86
More flexible definition of Qt libraries to include as frameworks for macOS
2020-02-06 22:17:35 +01:00
Stephan Witt
a3e14fe6cd
Care for Qt library source directory rename for 5.12.x
2020-02-06 22:16:13 +01:00
Stephan Witt
6b48c45c54
Enhanced version string extraction for 3rd party libraries.
2020-02-06 22:15:08 +01:00
Juergen Spitzmueller
a6f9c6ae43
move lyx-fedora script to attic/
2020-01-27 18:43:40 +01:00
Kornel Benko
9fdc00fe2a
Cmake build: Remove cmake warnings about mismatched values of FindPackageHandleStandardArgs()
2020-01-27 10:44:14 +01:00
Richard Kimberly Heck
957eba0674
Remove dvipost from Windows installation.
2020-01-27 00:01:59 -05:00
Kornel Benko
fe4ba565f6
Partially revert 43b81bec
, export.cmake was not intended to change
2020-01-17 23:52:23 +01:00
Kornel Benko
43b81becc6
Cmake config: Rename some variables to match the ones used by automake
...
LYX_RELEASE_VERSION renamed to LYX_RELEASE_VERSION
and got the new value of
LYX_RELEASE_PATCH
from configure.ac too
2020-01-17 14:25:57 +01:00
Juergen Spitzmueller
33133733ae
Record change author and time for tracked columns/rows
...
This now uses a real change object
2020-01-14 09:28:36 +01:00
Juergen Spitzmueller
bbc6ea4a5f
Implement change tracking of column/row addition/deletion
...
Fixes #8469
File format change
2020-01-11 16:17:04 +01:00
Juergen Spitzmueller
5081565fa4
typo
2020-01-10 10:38:21 +01:00
Juergen Spitzmueller
c77999a5f3
Add buffer param to opt-out fragile content movement
...
Fixes #11714
File format change
2020-01-10 10:21:09 +01:00
Günter Milde
9486ef6ade
ctests: ignore irrelevant export formats for some dedicated tests.
2020-01-01 16:09:36 +01:00
Günter Milde
8f9dfd2edf
ctests: supported-languages Fix inputenc Error: Invalid UTF-8 byte "A0".
...
This happens with "inputenc: auto-legacy" if a language with default
encoding "utf8" (e.g. Turkmen or Mongolian) is used in a Quote
(or another environment).
2019-12-30 17:48:20 +01:00
Juergen Spitzmueller
dc4823e759
Add native changebars
...
Fixes #10750
2019-12-24 18:12:22 +01:00
Kornel Benko
86ba7409a4
Corrected comment (missed at a48eefad
)
2019-12-16 12:12:19 +01:00
Kornel Benko
a48eefadc7
Cmake export tests: Suspend some Foils compilations with system fonts
2019-12-16 11:59:02 +01:00
Kornel Benko
7b44280da4
Cmake tests: Make foreach() command robust
...
Cmake's foreach command includes forms
foreach(<loop_var> IN LISTS <lists>)
foreach(<loop_var> IN ITEMS <items>)
foreach(<loop_var> RANGE ...)
We get the lines to be parsed by
file(STRINGS "${filepath}" lines)
If in the parsed lyx-file there is a line
containing only the single word 'IN', or 'RANGE', then
the command
foreach(_l ${lines})
can create a syntax error (at least with cmake1.16)
In fact, in file pl_Additional.lyx:12913 happens to have
such a beast.
2019-12-15 13:59:33 +01:00
Kornel Benko
6c291b262a
ctest: Change the check-sequence for a test
...
Really ignore test of export/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex_pdf4_texF
before allowing all other pdf4_texF tests
2019-12-13 14:58:24 +01:00
Kornel Benko
9d0548e877
Cmake build: Try to find hunspell.hxx for linunx _and_ for OSX
2019-12-04 20:23:27 +01:00
Kornel Benko
201acf0279
Cmake build: Correct configuration if set LYX_BUNDLE=ON
...
Patch by Patrick (pdvisschere@edpnet.be )
Citing:
With some changes I could get it to work (patch included). One will also
have to define the locations of the Qt5-plugins and Qt5-libs folders
(`QT5_PLUGINS_DIR` and `QT5_LIBRARY_DIRS`).
Maybe not all plugins/imageformats are used/needed by lyx, but they are
all copied now, except for `_debug` versions which are excluded.
Starting with Qt-5.12 it seems not possible anymore (or at least not
easy) to link to the `_debug` versions of the qt5-frameworks (with
cmake). And installing them into the bundle also does not work. So right
now this is not a big loss.
2019-11-30 11:19:10 +01:00
Kornel Benko
350a9daf56
Cmake build: Add LINK_LIBRARIES to check for HUNSPELL CXX ABI. Needed by XCode
...
The trick with faking the link command does not work with XCode
see: https://cmake.org/pipermail/cmake/2010-May/037132.html
Spotted by Patrick (pdvisschere@edpnet.be )
2019-11-29 13:49:02 +01:00
Kornel Benko
9de4b9ab34
Cmake build: Remove unneeded hunspell path from configure test
...
Spotted by Patrick (pdvisschere@edpnet.be )
2019-11-28 14:31:26 +01:00
Kornel Benko
58ed976dd3
Cmake build: Install executables as programms
...
Patch from Patrick (pdvisschere@edpnet.be )
2019-11-27 15:05:44 +01:00
Günter Milde
70bdbd3a57
ctest update.
...
Debian stable ships now TL18, we don't need to care for older TL versions.
Make CJK-ko documentation more robust (failed with non-TeX fonts and XeTeX,
if LatinModern is not installed system-wide).
The test sample for LyX bug 3059 triggers an error only with
"fontencoding auto-legacy" and can be safely ignored with non-TeX fonts.
2019-11-18 22:24:55 +01:00
Kornel Benko
2f44d9b4fa
ctests: update supported-languages tests.
...
polyglossia changes in TL19 makes some tests
pass with lualatex again
2019-11-08 10:57:42 +01:00
Uwe Stöhr
273d257f2a
Win installer: fix registry issue
...
- when installing LyX 2.x.z over a previous 2.x.y installation a registry key was not deleted
- also fix some hardcoded occurrences of "lyx"
2019-10-20 23:26:08 +02:00
Uwe Stöhr
d995ea684f
build5-2017.bat: add new script to compile using MSVC 2017
2019-10-20 23:11:17 +02:00
Jean-Marc Lasgouttes
726ac31895
Reset directory after os.chdir
...
Related to bug #10454
2019-09-04 16:51:52 +02:00
Günter Milde
c138210672
ctests: update supported-languages tests.
...
Simplify user preamble.
Use common test document for Xe- and LuaTeX with polyglossia
and special one for languages only supported by XeTeX.
Update tagging patterns and comments.
2019-09-04 14:00:39 +02:00
Scott Kostyshak
80a675cd52
ctests: invert a test failing due to babel bug
...
This test fails with an updated TL, although it passes on some older
systems.
2019-09-02 20:55:38 -04:00
Günter Milde
d2370de461
ctests: update unreliableTests
2019-08-30 16:24:49 +02:00
Scott Kostyshak
983fa4d9d8
ctests: uninvert AA tests thanks to recent fixes
...
Thanks to 54fd0a70
, all AA tests can be uninverted except for two
texF tests.
2019-08-30 07:53:30 -04:00
Juergen Spitzmueller
087b4e39bb
Hooked in one year too early
2019-08-30 08:27:34 +02:00
Juergen Spitzmueller
54fd0a70f4
Fix encoding in aa class, which is preset via class options
...
Hook into nearby file format change.
2019-08-30 08:09:57 +02:00
Kornel Benko
3f543d2545
Fix test BATCH_outline-beamer
2019-08-29 10:54:02 +02:00
Günter Milde
3082d71ac5
Small ctest update.
2019-08-29 09:55:01 +02:00
Günter Milde
600376b96c
ctest update: new and resolved failures after TL update, resoved lyxbug.
2019-08-25 12:27:25 +02:00
Günter Milde
487d5e24b1
ctests: make a comment more specific.
2019-08-21 08:59:35 +02:00
Günter Milde
f6e65dc508
ctest update: we now work around a problem with Czech or Slovak text in some tables.
2019-08-20 22:37:41 +02:00
Kornel Benko
54a5e3f37f
Cmake tests: Really ignore wrong_output_3059-rtl-tables-xetex_pdf4_texF test
2019-08-18 18:07:42 +02:00
Juergen Spitzmueller
4b0069860c
InsetGraphics: use totalheight for height output
...
Graphics "height" is only the height above the baseline and thus not
what most people will expect. Also, using height can result in a
division by zero with rotation.
Use totalheight now since this means "height of the figure" (independent
of the baseline).
The custom options field can be used if height is really desired.
We handle this in conversion/reversion, respectively, so document
output will not change.
Hence, file format change.
Fixes : #9676
2019-08-14 16:55:43 +02:00
Juergen Spitzmueller
8abe7b25e8
Add support for the enotez package
...
This is a modern implementation of endnotes building on LaTeX3 tools which
gets away with deficiencies of the endnotes package, has some extra features,
is localized, supports hyperref and is better customizable.
As this is a fairly new package requiring l3, we keep the old endnotes
module and provide this as an alternative.
2019-08-13 07:30:20 +02:00
Juergen Spitzmueller
229052b29a
Extend endnotes support
...
Support native solution for Endnotes list rather than having to use
\\theendnotes via ERT
File format change
2019-08-12 13:00:54 +02:00
Juergen Spitzmueller
0b7305024a
Use generic paper size names rather than LaTeXisms such as "letterpaper"
...
This allows to support classes that don't use the Xpaper wording.
Add support for KOMA font (keyval) syntax on top of that.
Also support class-specific font and paper sizes in tex2lyx.
File and layout format change.
2019-08-07 16:44:11 +02:00
Juergen Spitzmueller
1386a3d8fd
Allow for multiple use of same key in qualified citation lists
...
File format change
Fixes : #11618 , #11632
2019-08-07 13:00:29 +02:00
Juergen Spitzmueller
9f61c8d4af
Add more fontsizes to KOMA classes.
...
Theoretically, KOMA supports any font size. We add a sensible range.
2019-08-06 19:29:18 +02:00
Juergen Spitzmueller
b01075469d
Add more page sizes to KOMA and memoir
2019-08-06 18:18:37 +02:00
Pavel Sanda
a6634f5bb3
git VCS: add support for short hashes in inset info ("Abbreviated revision").
...
Fixes bug #11620 .
Patch from Joel Kulesza.
2019-07-28 22:01:17 +02:00
Jean-Marc Lasgouttes
c293be56bd
Rename frontend qt4 to qt
...
In particular, the directory frontends/qt4 is renamed to frontends/qt.
Many configurations file have to be updated. All mentions of qt4 in
the source have been audited, and changed to qt if necessary.
The only part that has not been updated is the CMake build system.
2019-07-20 23:39:40 +02:00
Juergen Spitzmueller
850c5a3d55
Support for CrimsonPro
2019-07-18 10:50:46 +02:00
Juergen Spitzmueller
55f5c00ba7
Add missing FORMAT entry
2019-07-17 21:16:18 +02:00
Juergen Spitzmueller
3c716cc300
Add support for the Fira family of fonts
...
This is a beautiful and feature rich sans and monospaced font family
designed by Erik Spiekermann and reminiscent to his famous (and
commercial) FF Meta.
2019-07-15 13:32:31 +02:00
Juergen Spitzmueller
b22cbaf2b0
Add missing FORMAT entry
2019-07-15 08:25:06 +02:00
Juergen Spitzmueller
dcf06fdb22
Split osf options to families
...
Nowadays we support sf and tt fonts with osf options, so this needs to
be selectable separately.
File format change.
2019-07-14 11:41:36 +02:00
Kornel Benko
0362ec022b
Cmake build: Correct display cmake options
...
The change allows to display options whose string-length
is less than 10 characters.
The previous setting truncated the string to 4 chars,
which is too few for a string like e.g. "NATIVE".
2019-07-14 11:12:55 +02:00
Günter Milde
c09a693d24
Update release notes, correct comment.
2019-07-12 20:30:22 +02:00
Kornel Benko
eec7c4b654
Simplify regexes for combinations XeTeX + TeX fonts
2019-07-12 13:16:53 +02:00
Günter Milde
130c744069
Drop support for XeTeX + TeX fonts + inputenc utf8.
...
LyX follows LaTeX in dropping support for this combination
(it only worked by tricking "inputenc.sty").
There is no known case where this combination is required or helpfull.
For power users with special needs, XeTeX + TeX fonts is still
available after setting the input encoding to "ascii" or "utf8-plain".
See also #10600 .
2019-07-12 12:56:20 +02:00
Juergen Spitzmueller
c3c2815092
Implement support for font options
...
This revives a patch by Uwe and extends it. Additional options to font
packages/fontspec can now be entered in Document Settings.
This is principally also true for TeX fonts, if the new TeXFont tag
MoreOptions is set. For the time being, I have only done this for
MinionPro, as a model and prove of concept.
Note that adding more TeXFonts requires a file format change,
respectively, and changes to tex2lyx (in the same way as I've done for
MinionPro).
This addresses #8226
2019-07-11 20:28:34 +02:00
Juergen Spitzmueller
cb5bd87e9c
Add support for \babelfont
...
This is a higher-level (non-TeX) font interface of babel that draws on,
but is supposed to be used rather than, fontspec with babel and XeTeX/
LuaTeX.
File format change.
Addresses: #11614
2019-07-11 13:21:32 +02:00
Kornel Benko
cbcf57ec13
Amend f4254e69
: Use correct sequence in set-command
2019-06-24 12:56:51 +02:00
Kornel Benko
f4254e6999
Cmake windows build: Fix a cache variable
...
Thanks to Jürgen Womser-Schütz
2019-06-24 10:36:37 +02:00
Juergen Spitzmueller
94654b3586
Linguistics: add support for Discourse Representation Structures
...
File format change
2019-06-23 12:59:56 +02:00
Stephan Witt
b0a73c0dfd
care for optional brackets around version string
2019-06-17 18:07:05 +02:00
Kornel Benko
b881cf8fd7
Add missing test-tool-files to the list of provided data
...
With this, an interested user which compiles in cmake environment,
is able to run some export tests.
2019-06-12 09:08:26 +02:00
Juergen Spitzmueller
e2f81b3a84
Rework linguistic gloss support
...
This now uses the new and enhanced \digloss ad \trigloss macros of
convington 2.0 rather than the deficient self-baked ones.
File format change.
2019-06-04 11:01:19 +02:00
Günter Milde
bab2316092
ctests Arabic: mark non-Arabic text parts as English, fix inversion pattern.
2019-06-03 16:58:10 +02:00
Günter Milde
b2cee3dcc5
Support more languages (file format change).
...
Format incremented to 576:
Support for the document languages azerbaijani, bengali,
churchslavonic, and oldrussian.
2019-06-03 16:58:10 +02:00
Günter Milde
8e06c2ffa9
Fix some problems with lyx2lyx_tools.revert_languages().
...
Amends 7bb30286
.
Tested cases are now handled fine.
(There are still many cases where the language support emulation
is too complex for lyx2lyx and manual fixes are required after
lyx2lyx conversion.)
2019-06-03 16:58:10 +02:00
Günter Milde
fc99ef2ab3
ctest test documents for lyx2lyx.
...
Currently failing due to an error in revert_language().
2019-06-02 00:04:34 +02:00
Kornel Benko
48a5b16885
Add a testcase for buffer-write-as
2019-05-27 10:21:15 +02:00
Günter Milde
ad8a71a7b9
ctest tagging update.
2019-05-25 15:32:24 +02:00
Pavel Sanda
7f125f62d2
Introduce doc preference for line numbering.
...
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg208781.html
2019-05-23 15:13:27 +02:00
Günter Milde
05877e0e60
ctests: sort dedicated test samples
2019-05-17 20:54:29 +02:00
Günter Milde
65ec404eb3
Format incremented to 574: Ruby inset, fixes for Japanese.
...
New auxiliary functions for lyx2lyx:
del_module(), append_local_layout(), del_local_layout()
2019-05-16 13:48:07 +02:00
Günter Milde
b505bcbab5
ctest update.
2019-05-14 15:31:41 +02:00
Günter Milde
a6c2ae4be8
Update documentation for Japanese with other languages.
2019-05-09 21:56:16 +02:00
Günter Milde
40240ef6a0
Improve error message and ctests for input encoding cp858.
...
Encoding cp858 supported by only some iconv variants.
Most users will want to change their "encoding" setting instead
of installing/recompiling "iconv" to support this legacy encoding.
ctests are likely will fail with either "vanilla" or "enhanced"
iconv and test a situation that is unlikely to change generally,
so we ignore this test now by default.
2019-05-09 09:28:37 +02:00