From 99ea316454ac4c045bcdfa2f34faae4631fed2f8 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 5 Aug 2020 16:19:39 +0200 Subject: wrong variable i build_envdiv() --- ekdosis.dtx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ekdosis.dtx b/ekdosis.dtx index c7c2a67..3f50def 100644 --- a/ekdosis.dtx +++ b/ekdosis.dtx @@ -6683,10 +6683,10 @@ local function build_envdiv(str) .. "ekdosis has generated some random id.}}") return "div-"..math.random(1000,9999) - elseif not checkxmlid(id) + elseif not checkxmlid(div) then tex.print("\\unexpanded{\\PackageWarning{ekdosis}{\"" - ..id.. + ..div.. "\" is not a valid xml:id. " .. "Please pick another id.}}") -- cgit v1.2.3