summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex/yamlvars
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/doc/lualatex/yamlvars
parent719a1810d1b4092817411e6ba7b07ccc6e53a2cd (diff)
yamlvars (16dec21)
git-svn-id: svn://tug.org/texlive/trunk@61327 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/yamlvars')
-rw-r--r--Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.pdfbin46334 -> 46890 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.tex8
2 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.pdf b/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.pdf
index 18fa3a43e3d..eeeab7ea6c0 100644
--- a/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.pdf
+++ b/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.tex b/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.tex
index 38cc59dc488..5e32058dabe 100644
--- a/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.tex
+++ b/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.tex
@@ -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
@@ -145,6 +145,12 @@ Rhead:
\end{verbatim}
+To change how a variable is declared (initialize), you can modify or add functions in
+\texttt{YAMLvars.dec} table, where the index is the same as the \texttt{prc} name.
+This function accepts two variables, the var name, and the default value set by dft.
+For lengths and toggles (from etoolbox), these functions are used to initialize lengths
+with newlength and newtoggle.
+
\section{Parsing variables}
A YAML file to be parsed will contain the variables as the top level keys, similar to declaring.