Commit Graph

21 Commits

Author SHA1 Message Date
Georg Baum
012d843a19 add missing autotests to tarball 2016-06-17 21:17:38 +02:00
Günter Milde
b170b6e40f fix #10199 Non-encodable characters with XeTeX and utf8-plain
XeTeX with TeX fonts is only safe with ASCII input encoding (see #9740)
and we therefore force "ascii" when exporting with XeTeX and 8-bit TeX-fonts.

However, "utf8-plain" is a "power-user" option, which allows to switch off LyX's 
encoding of the LaTeX file: 
keep this also for "XeTeX with TeX fonts".

The user is responsible to ensure all characters can be processed and are 
correctly shown in the output. The provided test sample shows the problems
with this encoding without special measures (like loading fontspec in the
user-preamble or a document class).
2016-06-11 13:57:24 +02:00
Kornel Benko
246d4bdf66 Cmake export tests: Added testcases for erroneous xhtml exports 2016-05-31 09:13:35 +02:00
Günter Milde
26ed48a542 Invert and document test for "longest labeling label" problem.
Fails for known reason.
2016-01-24 21:06:45 +01:00
Kornel Benko
5bee883a38 Testcase for underscore in longest label in lists. 2016-01-23 23:41:29 +01:00
Kornel Benko
b68bd9219a Cmake export tests: Activate a branch in autotests/export/TableErrorIfSlovakTextInserte.lyx to produce error if compiled to pdf/dvi. 2015-12-28 11:02:26 +01:00
Kornel Benko
d0d45d4043 Cmake export tests: Add structue test for exported lyx files
We test here, if any \end_{somethig} matches \begin_{something}.
Exeptions are \end_index and \end_branch ATM, they should
match \index and \branch respectively.

Also added new testfile.
2015-12-27 14:33:11 +01:00
Günter Milde
74baa048b6 Further simplify TableErrorif... autotest sample (fails also with Czech).
Also add some more info.
2015-12-23 15:42:48 +01:00
Kornel Benko
7ac770880d Cmake export tests: Simplify the testcase TableErr rIfSlovakTextInserted.lyx' 2015-12-21 11:42:32 +01:00
Kornel Benko
2c856f0612 Extracted and renamed files from testcases_master_child.zip
Preparing to add them to the tests.
2015-12-21 11:39:48 +01:00
Kornel Benko
fd2995d36a Cmake export tests: Adapt the new TableErrorIfSlovakTextInserted.lyx to tests 2015-12-20 12:13:37 +01:00
Kornel Benko
1b8067a94b Language problem: inserted Slovak text makes this doc uncompilable. 2015-12-20 10:53:50 +01:00
Kornel Benko
ac801c2424 Some spellchecker corrections 2015-12-19 16:49:52 +01:00
Kornel Benko
1a3b5a4ea7 Moved development/mathmacros dir to autotests dir 2015-12-18 07:56:20 +01:00
Georg Baum
691675ee0a Make languagenesting1.lyx less TeX dependent
The previous version did only fail because I did not have latin support for
polyglossia in my TeX installation, the LyX export was fine.
2015-12-06 20:48:48 +01:00
Georg Baum
6a165ecba2 This languagenesting1.lyx fails with 2.1
Add some stuff to languagenesting1.lyx that makes it fail with LyX 2.1 (and
2.2 as well)
2015-12-06 18:53:01 +01:00
Kornel Benko
9d0c32255c Add a comment to autotests/export/ja/wrong_auto_encoding.lyx 2015-12-02 22:13:41 +01:00
Kornel Benko
6d7054cb46 Autotest: This file shows error if exported to dvi.
To omit the error, there are 2 possibilities
1.) Change \inputencoding to utf8-platex
or
2.) write some text in default language prior to the following
subchapter 1.2.2
Probably a candidate for language nesting
2015-11-29 22:05:33 +01:00
Georg Baum
63bb24d385 Convert to 2.2 format and use TeX fonts
This works around a limitation of the test machinery, which never switches
TeX fonts on for format that need that, it only switches TeX fonts off for
formats needing it.
2015-11-29 13:16:46 +01:00
Georg Baum
2f3f82e75b Add test for language nesting regression
The new test shows a language nesting regression: With LyX 2.1 it exports fine
in all formats, with 2.2 it fails for dvi, pdf2 and pdf3.
2015-11-29 11:52:34 +01:00
Georg Baum
fe5f88ddf9 Add the first dedicated export test
Thanks to Kornel we do now have the infrastructure for running dedicated
export tests. This is the first one, showing a language nesting bug which is
already in 2.1. It is inverted for now, but this will hopefully change soon.
2015-11-28 17:00:59 +01:00