LyX does not currently support exporting documents to LuaTeX in
certain languages. Until LyX adds features for exporting documents in
these languages with LuaTeX, it does not make sense to have these
export tests.

Comments?

Scott
From 375dc4407b42b0732f1cd8478d000afec47c2d0f Mon Sep 17 00:00:00 2001
From: Scott Kostyshak <[email protected]>
Date: Thu, 1 Aug 2013 19:40:54 -0400
Subject: [PATCH 2/2] CMake export tests: remove LuaTeX for some langs

LyX does not currently support exporting documents to LuaTeX in
certain languages. Until LyX adds features for exporting documents in
these languages with LuaTeX, it does not make sense to have these
export tests.
---
 development/autotests/CMakeLists.txt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/development/autotests/CMakeLists.txt 
b/development/autotests/CMakeLists.txt
index 2e67dc2..6e4bb52 100644
--- a/development/autotests/CMakeLists.txt
+++ b/development/autotests/CMakeLists.txt
@@ -105,7 +105,11 @@ macro(getoutputformats filepath varname)
   foreach(_l ${lines})
     if(_l MATCHES "^\\\\default_output_format +\([^ ]+\)")
       if(CMAKE_MATCH_1 STREQUAL "default")
-        set(found "xhtml" "pdf" "pdf2" "pdf5")
+        if("${filepath}" MATCHES "/\(fa|he|hu|id|ru|zh_CN\)/")
+          set(found "xhtml" "pdf" "pdf2")
+        else()
+          set(found "xhtml" "pdf" "pdf2" "pdf5")
+        endif()
       elseif(CMAKE_MATCH_1 STREQUAL "xhtml")
         set(found "xhtml")
       else()
-- 
1.8.1.2

Reply via email to