summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/ideavault/ideavault.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/latex/ideavault/ideavault.sty')
-rw-r--r--macros/luatex/latex/ideavault/ideavault.sty6
1 files changed, 5 insertions, 1 deletions
diff --git a/macros/luatex/latex/ideavault/ideavault.sty b/macros/luatex/latex/ideavault/ideavault.sty
index 07d6000645..8b73929eaf 100644
--- a/macros/luatex/latex/ideavault/ideavault.sty
+++ b/macros/luatex/latex/ideavault/ideavault.sty
@@ -17,7 +17,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ideavault}[1.0.1]
+\ProvidesPackage{ideavault}[1.0.4]
\RequirePackage[open,openlevel=2,atend]{bookmark}
\RequirePackage{xargs}
\RequirePackage{luacode}
@@ -57,6 +57,10 @@
% #3: tag
\newcommandx{\printAllWithTag}[3][1=default, 2=lcf]{\luadirect{ideaVault:printAllWithTag(\luastringN{#1}, \luastringN{#3}, \luastringN{#2})}}
+% Commands for managing debug output
+\newcommandx{\debugEnable}{\luadirect{logDebugEnabled = true}}
+\newcommandx{\debugDisable}{\luadirect{logDebugEnabled = false}}
+
% Internal commands for managing bookmark depth
\newcounter{bookmarkDepth}
\newcommand{\bookDown}{\stepcounter{bookmarkDepth}}