diff options
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty b/Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty index 23928006519..73c40ba6931 100644 --- a/Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty +++ b/Master/texmf-dist/tex/lualatex/yamlvars/YAMLvars.sty @@ -1,6 +1,6 @@ % Kale Ewasiuk (kalekje@gmail.com) -% 2021-12-15 -% Copyright (C) 2021 Kale Ewasiuk +% 2022-01-18 +% Copyright (C) 2021-2022 Kale Ewasiuk % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the "Software"), to deal @@ -23,15 +23,17 @@ % OR OTHER DEALINGS IN THE SOFTWARE. + \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{YAMLvars}[2021-12-15] +\ProvidesPackage{YAMLvars}[2022-01-18] + +\IfFileExists{markdown-tinyyaml.lua}{}{\PackageError{YAMLvars}{This package requires installation of the 'markdown' package, please install it and try again}{}} \RequirePackage{luacode} \RequirePackage{xspace} \RequirePackage{etoolbox} \RequirePackage[pl,extras]{penlight} - \luadirect{YAMLvars = require('YAMLvars')} \DeclareOption{useyv}{ @@ -43,7 +45,11 @@ } \DeclareOption{allowundeclared}{ \luadirect{YAMLvars.allowUndeclared = true} -}\DeclareOption{debug}{ +} +\DeclareOption{overwritedefs}{ + \luadirect{YAMLvars.overwritedefs = true} +} +\DeclareOption{debug}{ \luadirect{YAMLvars.debug = true} } |