summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-05-02 21:05:33 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-05-02 21:05:33 +0200
commitd95b4e16d9985c89c75b798c72acb795fd4813f0 (patch)
treea9c3c4f2d308806701ee379134c4740084301854
parent2596b53e7577696440c84c1209a9f548cd6037ca (diff)
downloadluatexbase-d95b4e16d9985c89c75b798c72acb795fd4813f0.tar.gz
emit warning when defining anonymous whatsits
-rw-r--r--luatexbase-attr.dtx2
1 files changed, 2 insertions, 0 deletions
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