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
Günter Milde
cb3e79f9a0
Use utf8 as inputenc for documentation, examples, and templates.
2019-05-08 21:29:01 +02:00
Günter Milde
c34624e28b
ctests: ignore mathmacro and tabletemplate tests with XeTeX and TeX-fonts.
...
Adding these tests rule to ignore this combination
(which is known to fail if inputenc = auto-legacy).
2019-05-08 12:15:14 +02:00
Günter Milde
df1f0d82a2
ctests: dedicated tests for languages supported by polyglossia/babel
2019-05-08 12:07:20 +02:00
Günter Milde
46119b3564
Make Japanese documentation more robust.
...
The locally defined Ruby (furigana) inset now
works also with non-TeX fonts.
2019-05-07 16:16:35 +02:00
Scott Kostyshak
43e9f589fc
ctests: reinvert the test "fa-OT1_pdf2"
...
This test got uninverted at e8e3dafd
because of the renaming.
2019-05-07 00:11:58 -04:00
Günter Milde
cb39220930
Update tests and documentation for supported languages.
2019-05-03 14:04:11 +02:00
Günter Milde
74b1b9d86f
ctest update
...
Separate xetex-inputenc test sample in working and non-working parts.
Sort HTML-only tests.
Update tagging and ignore-rules.
Change inputencoding to utf8 in dedicated tests (get pdf4_texF working).
2019-04-29 21:13:33 +02:00
Günter Milde
9fdae0d84c
Use utf8 inputencoding for Russian documentation.
...
Solves errors with luatex and enables compilation with xetex.
Add dedicated test document for the errors with auto-legacy and xe/luatex.
2019-04-28 22:45:51 +02:00
Günter Milde
e8e3dafd8f
ctests: Sort dedicated test documents for language support.
2019-04-28 19:34:37 +02:00
Günter Milde
7a87599a3e
Load inputenc after babel with Thai.
...
"thai.ldf" breaks "inputenc" by changing catcodes.
Loading "inputenc" after "babel" allows a workaround.
2019-04-27 17:09:29 +02:00
Günter Milde
56304a6505
ctest update
...
Document findings around the failure of platex with ps2pdf.
Fix some tagging regexps for nonstandard features.
2019-04-25 23:19:07 +02:00
Günter Milde
c6f64bc734
ctest update
...
invert tests failing in TL19,
fix sorting in "supported-languages.lyx".
2019-04-25 14:02:58 +02:00
Günter Milde
e4881633ec
Set inputenc for Spanish documentation to utf8
...
Works around a bug in Spanish-Babel that led to wrong output with LuaTeX and TeX fonts.
2019-04-20 21:39:49 +02:00
Günter Milde
15b7ea4828
ctest and documentation update
...
Thai works fine with LuaTeX, TeX-fonts and auto-legacy input encoding.
Remove obsolete preamble code,
we now load "fontenc" with Japanese documents by default.
2019-04-20 21:39:49 +02:00
Günter Milde
357a8bedbf
ctest fixes.
2019-04-17 13:37:26 +02:00
Günter Milde
29265ce702
language support update (tests and workaround for Thai).
2019-04-16 22:05:58 +02:00
Günter Milde
27ba6f282d
Rename legacy input encoding settings.
...
Format incremented to 573
2019-04-16 20:17:32 +02:00
Günter Milde
90a26eabe7
ctests: fix some test failures reported by Kornel.
2019-04-13 17:55:38 +02:00
Günter Milde
3362e94592
ctests: update tagging rules
...
Don't generally ignore Japanese documents with non-TeX fonts,
as some of them compile.
2019-04-12 18:08:17 +02:00
Günter Milde
9dd7ffff7b
ctest update: Japanese documents (should) work with non-TeX fonts.
...
* do not ignore Japanese (platex) with system fonts.
* CJK can be used with XeTeX and TeX-fonts if the input encoding is utf8.
do not ignore.
* TODO: set non-TeX fonts and uninvert where possible.
2019-04-12 18:08:17 +02:00
Günter Milde
da23637d7f
Do not switch the input encoding inside documents using platex.
...
Fixes wrong and missing characters in text parts in other languages
(platex does not support "inputenc").
Fixes compilation errors due to desynchronized encoding switches.
2019-04-12 18:08:17 +02:00
Günter Milde
9e21ed546d
ctests: update ignoredTests patterns and comments.
2019-04-12 18:08:17 +02:00
Kornel Benko
b9968d688b
Ctests: Invert some Spanish tests using non-ascii in references
...
These tests fail at the combination luatex + tex fonts.
2019-04-12 13:37:00 +02:00
Günter Milde
230cc9bc5b
ctest: update tagging scripts.
2019-04-10 21:02:10 +02:00
Günter Milde
450b02262e
ctest: update/fix tag rules.
2019-04-10 15:57:23 +02:00
Günter Milde
b32cf2a4c0
unicodesymbols: support Thai characters.
...
Also update the ctests.
2019-04-09 23:07:05 +02:00
Kornel Benko
58a2f250b6
Cmake export tests: Do not compile Minted files converted to lyx22 format
2019-04-08 16:39:50 +02:00
Kornel Benko
e55ed79da9
Extend handling of Noto fonts
...
Added the possibility to use options Regular, Medium, Thin, Light, Extralight
2019-04-07 11:05:42 +02:00
Scott Kostyshak
23fecedbb0
ctests: adapt regex for "Obsolete/Latex8_.*"
2019-04-07 02:01:34 -04:00
Günter Milde
639c01d0d4
ctests: examples/uk/Welcome.lyx still fails with XeTeX on TeXLive19.
...
Tenacious bug in babel-ukrainian:
The date-string uses literal unicode characters (not present in TeX-fonts)
that somehow bypass inputenc's utf8 decoding.
2019-04-06 18:14:54 +02:00
Günter Milde
6def81f30f
Fix #10600 : XeTeX with 8-bit TeX fonts requires input encodings "utf8" or "ascii".
...
* New: support also utf8 (working around false positive test in "inputenc.sty").
* Do not force the change of input encoding to "ascii".
Deny compilation with XeTeX if a document uses TeX fonts and a non-supported input encoding.
2019-04-03 15:32:44 +02:00
Günter Milde
895fa9b3c6
ctest fixes.
...
Hebrew with "nikud" requires HE8 font encoding.
All tests requiring Hebrew 8-bit fonts are "nonstandard".
2019-04-03 08:36:46 +02:00
Juergen Spitzmueller
8085fc21f8
booktabs: support for \cmidrule trimming
...
This has probably still some rough edges, so please test thoroughly.
Fixes : #3072
2019-04-03 07:59:52 +02:00
Günter Milde
2e854cd36c
ctest update.
...
* some Japanese (platex) documents fail with inputenc "utf8-platex"
(missing characters in non-Japanese text parts), because the
Unicodechar definitions from "inputenc" are not used.
* some Japanes (platex) documents show wrong output with "auto",
because platex ignores the encoding switch for text parts
in other languages.
* Japanese Beamer documents must set default output to "pdf",
because dvipdfm(x) produces wrong output with document class "Beamer".
* update tagging/inverting rules.
* use HE8 font encoding for Hebrew in language test.
2019-04-02 16:46:26 +02:00
Günter Milde
c604c14160
Ignore CJK-tests with Xe/LuaTeX and tex fonts.
...
The CJK package does not support this combination...
2019-04-02 16:46:26 +02:00
Günter Milde
d4ade2bc1c
unicodesymbols: add Hebrew nikud symbols and presentation forms.
...
The "nikud" (vowel) signs, shindot, and shindot are combining Unicode
characters. However, LaTeX-Hebrew expects them as postfix characters, not
accent macros (cf. www.cs.tau.ac.il/~stoledo/Bib/Pubs/vowels.pdf).
2019-04-01 19:12:36 +02:00
Kornel Benko
1d90561675
Cmake export tests: Set \origin also for unavailable
...
This is important for lyx-files not under the lyxsystemdir.
Since the exports are done from a copied lyx-file, some referenced data
may be available only relative to the source of the original.
2019-03-31 18:17:04 +02:00
Kornel Benko
50779dda7a
Cmake export tests: Use absolute paths for subfiles inside the source dir
...
The testfile is inside the build dir, so no relative path to the source dir
should be alloved.
2019-03-31 11:34:14 +02:00
Kornel Benko
0b29581905
Fix some non-accessible URLS
...
Also don't check attic, devel or obsolete files
Not found good replacements for
http://texcatalogue.ctan.org/bytopic.html
http://www.tiresias.org/research/reports/braille_cell.htm
2019-03-31 00:15:52 +01:00
Kornel Benko
743c28e6f5
Cmate tests: Use absolute values for systemlyxdir
...
This omits use of relative path for the \origin variable
inside the test-build-dir.
2019-03-30 12:06:36 +01:00
Juergen Spitzmueller
f75b081551
Add support for mixed-encoded biblatex files
...
Biblatex 3.12 allows to specifiy individual encodings per bib file
via \addbibresource[bibencoding=<encoding>].
This is now supported via GuiBibtex.
2019-03-29 15:45:55 +01:00
Günter Milde
7644c32a71
ctest update.
...
Still cleaning up after the massive renaming and -sorting
of examples and templates.
2019-03-29 11:55:20 +01:00
Günter Milde
ffc682424e
Update ctest tagging and documentation/sample organisation.
2019-03-28 13:30:22 +01:00
Kornel Benko
48084a3d9c
Fix test BATCH_outline-beamer
...
Adapt the expected data
2019-03-28 11:52:03 +01:00
Günter Milde
f0b326a9f4
Comprehensive language test document and some more fixes.
...
Work around or document language clashes and limitations.
2019-03-27 17:49:08 +01:00
Günter Milde
b1b8071168
ctest update.
...
#9681 is fixed in master.
Hebrew with 8-bit fonts fails with vanilla TeXLive.
Add link to ticket in dedicated test document.
2019-03-27 16:20:17 +01:00
Günter Milde
48b92cf63c
Test for #11532 "inputencoding desynchronisation".
2019-03-27 15:57:38 +01:00
Günter Milde
7b2d84f117
Amend 4bd4bfb34c
to make LyX compilable again with QT4.
2019-03-27 14:40:59 +01:00
Kornel Benko
9e684f3a16
Cmake export tests: enable the hebrew documents again.
...
The missing david fonts error vanished after reinstalling
the culmus-latex-0.7-r1 package.
2019-03-26 17:04:01 +01:00
Juergen Spitzmueller
ecb2427f41
Add tablestyle buffer param
...
Fixes : #9901
2019-03-26 16:24:27 +01:00
Kornel Benko
600127ff86
Cmake export tests: make even more tests pass
2019-03-26 15:47:30 +01:00
Kornel Benko
f6f9de1cd8
Amend 683b3a05
: Introducing table templates
...
Added test cases
2019-03-26 15:29:01 +01:00
Kornel Benko
0752a263a0
Cmake export tests: some testnames corrected
...
Also don't use tex gyre fonts, use dejavu instead
2019-03-26 15:11:10 +01:00
Kornel Benko
c5fa5232bb
Cmake build: Removed some cmake warnings
2019-03-26 10:03:18 +01:00
Richard Kimberly Heck
95c665e607
This has not been updated in my build yet.
2019-03-25 22:59:40 -04:00
Uwe Stöhr
fc98efa7f3
Win installer: fix bug on init
...
- also remove unused code
2019-03-26 02:37:19 +01:00
Kornel Benko
78059a49af
Cmake export tests:
...
Added missing file to make Europass_CV-files compilable
lyxStatus.pm: Added handling for inserted files with used extension
2019-03-25 20:50:58 +01:00
Kornel Benko
226e0bb2b7
Some more tests which are not failin anymore
...
About 100 less, still remaining about 200
2019-03-25 19:32:59 +01:00
Kornel Benko
db1247e51b
Cmake export tests: Indenting + ignore '%' in file names
2019-03-25 18:46:15 +01:00
Kornel Benko
baa93548c8
Cmate export tests: Thinko, using entry as array also in cases where it is not
2019-03-25 14:48:17 +01:00
Günter Milde
082629d973
Fix included file paths and ctest tag rules after renaming examples
2019-03-24 23:12:02 +01:00
Kornel Benko
b7a3068df0
Cmake export tests: Fix some tests using Curricula_Vitae
...
Still the German versions are not compilable due to missing file 'REPLACEphoto.jpg'
2019-03-24 22:20:09 +01:00
Kornel Benko
6b12a48a51
Cmake export tests: Omit underlines in temporary file names
...
Also try to copy all versions of an included reference.
The example is the search for CV-image in Modern_CV.lyx.
The two file (CV-image.eps and CV-image.png) have to be copied while
keeping the same base name.
2019-03-24 22:12:07 +01:00
Kornel Benko
75d42f72d9
Corrected tests for chess exports
2019-03-23 10:05:18 +01:00
Günter Milde
1c5698af02
Adapt ctest tagging rules to the changed file names of templates and examples.
2019-03-22 23:57:29 +01:00
Juergen Spitzmueller
aff2ee6058
Add soul module
2019-03-22 18:29:50 +01:00
Uwe Stöhr
3aaa6078fd
installer: fix a display issue
...
a path in the uninstaller was not visible because of missing line breaks
2019-03-22 01:18:04 +01:00
Uwe Stöhr
aca0abc7b0
installer: remove unsupported TeX distributions
...
MiKTeX 2.8 and TeXLive 2014 are since a while not supported
2019-03-22 01:06:56 +01:00
Günter Milde
ecd0b57f6f
Amend d3ec77c633
: adapt ctest tag files.
...
Update the regular expressions for inversion and tagging of tests
to use the new paths for examples and templates.
2019-03-21 17:41:14 +01:00
Kornel Benko
4da338e550
CMake build: Rename HAVE_LONG_LONG to HAVE_LONG_LONG_INT
2019-03-21 16:12:02 +01:00
Kornel Benko
afccaae48a
Amend 601244ba92
: Use HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG
...
Cmake changes
2019-03-21 15:17:24 +01:00
Uwe Stöhr
84863eb1b0
installer/setup/configure.nsh: revert an unwanted commit part
2019-03-21 02:45:21 +01:00
Uwe Stöhr
0ddc4d4dd1
installer: fix icon issue
...
LyX did not show up in the Windows Control panel with its icon
2019-03-21 02:41:57 +01:00
Uwe Stöhr
ef64a3b741
installer: update some links
...
also update header info
2019-03-21 02:40:44 +01:00
Scott Kostyshak
b6ab5cd962
ctests: inverted -> "wrong output" for 2 uk tests
...
These exports no longer give an error (with TL18, TL19-pre), but
have wrong output.
2019-03-19 23:08:35 -04:00
Scott Kostyshak
a4bf8a733d
ctest control files: s/splash.lyx/Welcome.lyx/g
...
This follows d3ec77c6
.
2019-03-19 23:01:11 -04:00
Günter Milde
1933102593
ctest update and small documentation fixes.
2019-03-19 22:17:52 +01:00
Kornel Benko
a410b0d698
Cmake build: Amend(2) d3ec77c6
: Reorganize templates and example folders
...
Install files from these new directories
2019-03-19 14:36:14 +01:00
Kornel Benko
caaa317a95
Amend d3ec77c6
: Reorganize templates and example folders
...
Fixed cmake tests
2019-03-19 10:56:06 +01:00
Günter Milde
553bebc355
Fix #11520 Wrong inpute encoding when master and child use different setting.
2019-03-18 18:17:39 +01:00
Günter Milde
54b719bf5d
ctests: update tagging scripts.
2019-03-17 11:32:14 +01:00
Günter Milde
d53a13a475
ctest for bug #11519
2019-03-16 17:55:44 +01:00
Günter Milde
2b61033324
ctests: add tests for #10600 (forced inputenc "ascii" with XeTeX and TeX-fonts).
2019-03-16 13:39:56 +01:00
Kornel Benko
de9b1ae5fa
Amend 92628a29:Try to use valid locales for testing
2019-03-13 19:49:11 +01:00
Günter Milde
4a481975b6
Use CJKutf8 package if input encoding is "utf8" and a used language requires CJK.
...
CJKutf8 now used also if a secondary language requires CJK.
2019-03-13 11:31:25 +01:00
Günter Milde
ddf947b8fd
ctests: dedicated test for problem with textgreek and textcyrillic.
2019-03-12 22:44:13 +01:00
Juergen Spitzmueller
ebd7a1a22a
Support for the Malayalam language
...
Patch by Joice Joseph
2019-03-10 10:21:59 +01:00
Günter Milde
95cbaa387c
ctests: Update tagging rules and comments.
2019-03-08 19:29:39 +01:00
Scott Kostyshak
18c56516bc
ctests: invert luainputenc-utf8_pdf5_texF
...
From Günter:
> OK, so in TL18 the Ukrainean "auto-date" (7 березня 2019 р.) fails with
> PDF (XeTeX) and DVI (LuaTeX) but not PDF (LuaTeX).
> Strange. Feel free to invert.
2019-03-07 17:23:47 -05:00
Scott Kostyshak
b596b71723
ctests: invert an unreliable test
...
We try to make it so that the test passes on the most up-to-date TL.
2019-03-06 20:46:12 -05:00
Scott Kostyshak
6b4adc6d7a
ctests: ignore a texF test
...
The document has "use_non_tex_fonts true" set.
2019-03-06 20:14:47 -05:00
Scott Kostyshak
26a2c27cc3
ctests: uninvert languagenesting2_pdf5_systemF
...
This export succeeds.
2019-03-06 20:03:59 -05:00
Scott Kostyshak
c11ab897a7
ctests: correct an inverted pattern
...
Amends 65fbd585
.
2019-03-05 14:02:55 -05:00
Günter Milde
316b49c158
Re-invert failing tests with Hebrew, LuaTeX and 8-bit fonts.
2019-03-05 10:00:46 +01:00
Günter Milde
f674f563da
ctest update: compilation errors due to #6463 are fixed.
2019-03-05 10:00:46 +01:00
Scott Kostyshak
65fbd58516
ctests: invert ja ps2pdf Additional, UserGuide
...
These exports did not have correct output before, and now (with an
updated TL18), ps2pdf gives an error.
2019-03-05 02:45:42 -05:00
Scott Kostyshak
7b8f87e172
ctests: uninvert LuaTeX texF es/EmbeddedObjects
...
With updated TL 2018, there is no longer an error (however, the
output is still incorrect).
2019-03-04 22:31:06 -05:00
Günter Milde
ff8cec5ea5
ctests: Problem with auto-date for Ukrainian with Xe/LuaTeX and TeX fonts.
...
New bug in TeXLive 18.
Missing characters with XeTeX and wrong characters with LuaTeX.
Also:
* Remove spurious (Latin) characters from uk/Intro.lyx
* "wrong-output" tag for Cyrillic documents with XeTeX and TeX fonts.
2019-03-04 16:22:00 +01:00
Günter Milde
fd106637be
ctest and documentation update
...
The special test "arabic_simple.lyx" is no longer required,
"examples/ar/splash.lyx" works with 8-bit fonts now.
Update tagging patterns and comments.
2019-03-04 00:04:04 +01:00
Günter Milde
6ee140f413
ctest update
...
* Do not change font choices when testing with non-TeX fonts.
* Add "nonstandard" tag for documents with requirements outside TeXLive.
* Ignore missing character in legacy Basque document.
2019-02-26 19:13:15 +01:00
Kornel Benko
016c7d6260
Amend 4028eefe
: Make callstack printing useful and optional
...
Added the option to cmake too
2019-02-26 09:50:58 +01:00
Günter Milde
4de4263f93
ctest update.
...
* set required non-TeX fonts in the documents
* update comments for inverted tests
* update some tags
2019-02-25 01:19:14 +01:00