mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
ctests: add dviluatex as a format that needs fonts
Documents in certain languages will only work with dviluatex
if fonts that support those languages are used.
This commit continues e690cfc4
.
This commit is contained in:
parent
63deac73b3
commit
0a4bb51a26
@ -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})
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user