]> git.lyx.org Git - lyx.git/commitdiff
ctests: add dviluatex as a format that needs fonts
authorScott Kostyshak <skostysh@lyx.org>
Wed, 27 Nov 2013 12:57:10 +0000 (07:57 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Wed, 27 Nov 2013 12:57:31 +0000 (07:57 -0500)
Documents in certain languages will only work with dviluatex
if fonts that support those languages are used.

This commit continues e690cfc4.

development/autotests/CMakeLists.txt
development/autotests/export.cmake

index f27b1f9c4a635df77538e7188b4628df3a1246cc..43e1a634df2b7f50861a6a028a56ccd60f9fde5d 100644 (file)
@@ -107,7 +107,7 @@ macro(getoutputformats filepath varname)
   file(STRINGS "${filepath}" lines)
   set(out_formats "xhtml" "dvi" "dvi3" "pdf" "pdf2" "pdf3" "pdf4" "pdf5")
   if(NOT PERL_FOUND)
-    list(REMOVE_ITEM out_formats "pdf4" "pdf5")
+    list(REMOVE_ITEM out_formats "dvi3" "pdf4" "pdf5")
   endif()
   set(${varname} ${out_formats})
   foreach(_l ${lines})
index 80ceed93ca81ae780a31c41783d318ce38c33f7b..90d1a66630c4f826c1aa74d2e18983458d5c7df0 100755 (executable)
@@ -27,7 +27,7 @@
 #
 
 set(Perl_Script "${TOP_SRC_DIR}/development/autotests/useSystemFonts.pl")
-if(format MATCHES "pdf4|pdf5")
+if(format MATCHES "dvi3|pdf4|pdf5")
   message(STATUS "LYX_TESTS_USERDIR = ${LYX_TESTS_USERDIR}")
   message(STATUS "Converting with perl ${Perl_Script}")
   set(LYX_SOURCE "${WORKDIR}/${file}_${format}.lyx")