diff options
Diffstat (limited to 'macros/luatex/latex/yamlvars/YAMLvars.sty')
-rw-r--r-- | macros/luatex/latex/yamlvars/YAMLvars.sty | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/macros/luatex/latex/yamlvars/YAMLvars.sty b/macros/luatex/latex/yamlvars/YAMLvars.sty index fdc39fa3b0..f7154389d7 100644 --- a/macros/luatex/latex/yamlvars/YAMLvars.sty +++ b/macros/luatex/latex/yamlvars/YAMLvars.sty @@ -1,6 +1,5 @@ % Kale Ewasiuk (kalekje@gmail.com) -% 2021-09-24 -% +% 2021-11-07 % Copyright (C) 2021 Kale Ewasiuk % % Permission is hereby granted, free of charge, to any person obtaining a copy @@ -56,4 +55,8 @@ \newenvironment{parseYAMLvars}{\luadirect{startrecording()}}{\luadirect{stoprecording()} \luadirect{YAMLvars.parseYAMLvarsStr(recordedbuf)} -}
\ No newline at end of file +} + +\newcommand{\resetYAMLvarsspec}{\luadirect{YAMLvars.varspec = {}}} + +\newcommand{\AllowUndeclaredYV}{\luadirect{YAMLvars.allowUndeclared = true}} |