summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty10
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty b/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty
index 49636ac10c1..0f250b4563f 100644
--- a/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty
+++ b/Master/texmf-dist/tex/luatex/lua-visual-debug/lua-visual-debug.sty
@@ -1,7 +1,7 @@
% see lua file for copyright information (MIT License)
-\def\lvdebugpkgdate{2012/04/06}
-\def\lvdebugpkgversion{0.4}
+\def\lvdebugpkgdate{2016/05/30}
+\def\lvdebugpkgversion{0.5}
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
\input ifluatex.sty\relax
@@ -11,7 +11,7 @@
\RequirePackage{ifluatex}
\fi
-\def\dothings{%
+\def\luavisualdebug@dothings{%
\directlua{ lvd = require("lua-visual-debug")}%
\AtBeginShipout {\directlua{lvd.show_page_elements(tex.box["AtBeginShipoutBox"])}}%
}
@@ -19,7 +19,7 @@
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
\ifluatex
\input atbegshi.sty\relax
- \dothings
+ \luavisualdebug@dothings
\AtBeginShipoutInit
\else
\message{Warning: lua-visual-debug only works with LuaTeX (plain and LaTeX format)}
@@ -27,7 +27,7 @@
\else
\ifluatex
\RequirePackage{atbegshi}
- \dothings
+ \luavisualdebug@dothings
\else
\PackageWarning{lua-visual-debug}{You are using this package without LuaTeX. This is not supported, so you don't get any visual debugging.}
\fi