Skip to content

Commit

Permalink
add testfiles for lostchars to avoid similar issues like #20 or #8
Browse files Browse the repository at this point in the history
  • Loading branch information
TeXhackse committed Nov 17, 2024
1 parent 5c4c75f commit ddb2b12
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ uploadconfig = {
}

function runtest_tasks ( name , run )
if options["target"] == "save" then
if run == checkruns and options["target"] == "save" and name ~= "lostchars" then
return "./validate_zugferd.sh " .. name
else
return ""
Expand Down
9 changes: 9 additions & 0 deletions testfiles/lostchars.lvt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
\DocumentMetadata{
lang=en,
pdfstandard=a-3b,
pdfversion=1.7
}
\PassOptionsToPackage{zugferd=false}{zugferd}
\def\ZUGFeRDTestBeforeXML{\START}
\def\ZUGFeRDTestAfterXML{\clearpage\END}
\input{zugferd-test.ltx}
5 changes: 5 additions & 0 deletions testfiles/lostchars.tlg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
\__zugferd_xml_writer_iow=\write...
[1
]

0 comments on commit ddb2b12

Please sign in to comment.