diff options
Diffstat (limited to 'macros/luatex/latex/yamlvars/YAMLvars.sty')
-rw-r--r-- | macros/luatex/latex/yamlvars/YAMLvars.sty | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/macros/luatex/latex/yamlvars/YAMLvars.sty b/macros/luatex/latex/yamlvars/YAMLvars.sty index f7154389d7..2392800651 100644 --- a/macros/luatex/latex/yamlvars/YAMLvars.sty +++ b/macros/luatex/latex/yamlvars/YAMLvars.sty @@ -1,5 +1,5 @@ % Kale Ewasiuk (kalekje@gmail.com) -% 2021-11-07 +% 2021-12-15 % Copyright (C) 2021 Kale Ewasiuk % % Permission is hereby granted, free of charge, to any person obtaining a copy @@ -24,9 +24,13 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{YAMLvars}[2021] +\ProvidesPackage{YAMLvars}[2021-12-15] \RequirePackage{luacode} +\RequirePackage{xspace} +\RequirePackage{etoolbox} +\RequirePackage[pl,extras]{penlight} + \luadirect{YAMLvars = require('YAMLvars')} @@ -39,6 +43,8 @@ } \DeclareOption{allowundeclared}{ \luadirect{YAMLvars.allowUndeclared = true} +}\DeclareOption{debug}{ + \luadirect{YAMLvars.debug = true} } \DeclareOption*{\PackageWarning{YAMLvars}{Unknown option: '\CurrentOption'}{}} |