]> git.lyx.org Git - lyx.git/commitdiff
Cmake export tests: More tests to be reverted.
authorKornel Benko <kornel@lyx.org>
Mon, 16 Nov 2015 17:47:34 +0000 (18:47 +0100)
committerKornel Benko <kornel@lyx.org>
Mon, 16 Nov 2015 17:47:34 +0000 (18:47 +0100)
Again, thanks to Günter Milde.
ATM, the latex comments in user preamble are removed before export test.

development/autotests/lyxStatus.pm
development/autotests/revertedTests

index ef18c897bb2854ada818ed5eedcd5075d71f1f5b..cfdeceb0f6a49bb46d7b03d0e7b7ce7d96865c9e 100644 (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);
   }
index 77fcb60e1deedf7127200ea6b75c847863b1f4c2..5256992eef6718870e004f86b589aa1cd6688fd2 100644 (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