summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-12-16 21:19:34 +0000
committerKarl Berry <karl@freefriends.org>2021-12-16 21:19:34 +0000
commitd358de4496e1833473023a9fe431880e5fa05336 (patch)
treef2938b6e56d8cd6e835540f5a8b6d4239ffc2acd /Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty
parent719a1810d1b4092817411e6ba7b07ccc6e53a2cd (diff)
yamlvars (16dec21)
git-svn-id: svn://tug.org/texlive/trunk@61327 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty')
-rw-r--r--Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty10
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty b/Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty
index f7154389d7f..23928006519 100644
--- a/Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty
+++ b/Master/texmf-dist/tex/lualatex/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'}{}}