Cmake export tests: More tests to be reverted.

Again, thanks to Günter Milde.
ATM, the latex comments in user preamble are removed before export test.
This commit is contained in:
Kornel Benko 2015-11-16 18:47:34 +01:00
parent 811114664f
commit b835c454ec
2 changed files with 13 additions and 2 deletions

View File

@ -242,6 +242,12 @@ sub checkForPreamble($)
"search" => '^\\\\(photo|ecvpicture)(.*\{)(.*)\}',
"fileidx" => 3,
"result" => ["\\", "1", "2", "3", "}"]);
#
# Remove comments from preamble
my $comments = newMatch("search" => '^([^%]*)([%]+)([^%]*)$',
"filetype" => "replace_only",
"result" => ["1", "2"]);
#setMatching([$rElem, $comments]);
setMatching([$rElem]);
return(1);
}

View File

@ -125,7 +125,12 @@ export/doc/EmbeddedObjects_pdf4_systemF
# Fails with ASCII (and hence also with XeTeX).
export/doc/UserGuide_pdf4_texF
#
# Non-ASCII characters in a comment in the user-preamble.
# Warning with inputenc == ASCII or XeTeX
# TODO: We need to determine the correct reason for failure (most probably
# incompatible packages, maybe also loading of lmodern.sty in the user
# preamble) or state that we don't know it.
export/doc/de/(Additional|UserGuide)_pdf4_texF
export/doc/de/(Customization_pdf5|EmbeddedObjects_pdf4)_systemF
#
# Seems to be a case of the polyglossia + language-nesting problem
export/doc/es/Customization_pdf[45]_systemF
export/doc/es/Additional_pdf4_texF