ctest update

* Do not change font choices when testing with non-TeX fonts.
* Add "nonstandard" tag for documents with requirements outside TeXLive.
* Ignore missing character in legacy Basque document.
This commit is contained in:
Günter Milde 2019-02-26 19:13:15 +01:00
parent 954531f247
commit 6ee140f413
3 changed files with 57 additions and 10 deletions

View File

@ -6,6 +6,10 @@ export/doc/(|de/|es/|fr/)UserGuide_(dvi3|pdf4|pdf5)_systemF
# (works with non-tex-fonts).
export/examples/minted-filelisting_pdf4_texF
# Legacy Basque document: accented character "ȧ" missing in LatinModern
# (setting of custom TeX- and non-TeX font not possible at the same time).
export/doc/attic/eu_Customization.*systemF
# started failing after a TL 2016 update
# for discussion on whether a bug should be reported or LyX output should be changed, see:
# https://www.mail-archive.com/search?l=mid&q=20170225203955.nas2qopy4l4ukyqq%40steph

View File

@ -39,6 +39,51 @@ export/templates/IUCr-article_pdf4_systemF
# see http://wiki.lyx.org/Examples/AcmSiggraph
export/templates/obsolete/ACM-siggraph/ACM-siggraph_(dvi|pdf).*
# R (http://www.r-project.org)
export/examples/sweave.*
# R package knitr (http://yihui.name/knitr)
export/examples/knitr.*
# LilyPond-book version 2.13 or newer.
export/examples/lilypond.*
# svmono.cls
export/examples/springer/svmono.*
# svmult.cls
export/examples/springer/svmult.*
# AEA.cls (see https://wiki.lyx.org/Examples/AEA)
export/templates/AEA.*
# ws-ijmpc.cls, w-ijmpd.cls (see https://wiki.lyx.org/Examples/IJMP)
export/templates/IJMPC.*
export/templates/IJMPD.*
# iopart.cls, iopams.sty, setstack.sty (see https://wiki.lyx.org/Layouts/Iopart)
export/templates/IOP-article.*
# jasatex.cls (see https://wiki.lyx.org/Layouts/JASATeX)
export/templates/JASA.*
# ectaart.cls (see https://wiki.lyx.org/Examples/Econometrica)
export/templates/ectaart.*
# maa-monthly.sty (not in TeXLive)
# http://www.maa.org/sites/default/files/pdf/pubs/maa-monthly.sty
export/templates/maa-monthly.*
# svjour3.cls, svglov2.clo (see https://wiki.lyx.org/Examples/Springer)
export/templates/springer/svjour3.*
Sublabel: needauth
##################
# Tests that require authorisation to call external programs.
export/examples/gnuplot.*
export/examples/minted-filelisting.*
export/examples/minted-listings.*
Sublabel: erratic
#################
# Tests depending on local configuration, or the phase of the moon.
@ -51,7 +96,6 @@ export/doc/es/(Customization|Intro)_pdf4_texF
export/doc/uk/Intro_pdf4_texF
Sublabel: varying_versions
##########################
# Test depending on e.g. OS or version of a non-TeX-Live dependency.

View File

@ -7,7 +7,6 @@
# 2a.) searches for relative references to files and
# replaces them with absolute ones
# 2b.) Changes default fonts to use non-tex-fonts
# 2c.) Changes the non-tex fonts setting if it is "default".
#
# Syntax: perl useSystemFonts.pl sourceFile destFile format
# Each param represents a path to a file
@ -86,14 +85,14 @@ if ($source =~ /\/([a-z][a-z](_[A-Z][A-Z])?)[\/_]/) {
my $inputEncoding = undef;
if ($fontT eq "systemF") {
if ($lang =~ /^(ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ko|nb|nl|pl|pt|ro|ru|se|sk|sl|sr|sv|uk)$/) {
}
else {
# default system fonts
$font{roman} = "FreeSerif";
$font{sans} = "FreeSans";
$font{typewriter} = "FreeMono";
}
# if ($lang =~ /^(ar|ca|cs|da|de|el|es|eu|fa|fr|gl|he|hu|id|it|ko|nb|nl|pl|pt|ro|ru|se|sk|sl|sr|sv|uk)$/) {
# }
# else {
# # default system fonts
# $font{roman} = "FreeSerif";
# $font{sans} = "FreeSans";
# $font{typewriter} = "FreeMono";
# }
}
elsif ($encodingT ne "default") {
# set input encoding to the requested value