From d95b4e16d9985c89c75b798c72acb795fd4813f0 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 2 May 2013 21:05:33 +0200 Subject: emit warning when defining anonymous whatsits --- luatexbase-attr.dtx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx index f1a0f7a..5a4960c 100644 --- a/luatexbase-attr.dtx +++ b/luatexbase-attr.dtx @@ -492,6 +492,8 @@ local new_user_whatsit_id = function (name, package) end else -- anonymous anonymous_whatsits = anonymous_whatsits + 1 + warning("defining anonymous user whatsit no. %d", anonymous_whatsits) + warning("dear package authors, please name your whatsits!") package = unassociated name = anonymous_prefix .. tostring(anonymous_whatsits) end -- cgit v1.2.3