commit b835c454ece6f1f8984664bf07974f4341bfd30c
Author: Kornel Benko <[email protected]>
Date:   Mon Nov 16 18:47:34 2015 +0100

    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.

diff --git a/development/autotests/lyxStatus.pm 
b/development/autotests/lyxStatus.pm
index ef18c89..cfdeceb 100644
--- a/development/autotests/lyxStatus.pm
+++ b/development/autotests/lyxStatus.pm
@@ -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);
   }
diff --git a/development/autotests/revertedTests 
b/development/autotests/revertedTests
index 77fcb60..5256992 100644
--- a/development/autotests/revertedTests
+++ b/development/autotests/revertedTests
@@ -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

Reply via email to