diff options
Diffstat (limited to 'Master/texmf-dist/doc/lualatex')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.pdf | bin | 46334 -> 46890 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.tex | 8 |
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 Binary files differindex 18fa3a43e3d..eeeab7ea6c0 100644 --- a/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.pdf +++ b/Master/texmf-dist/doc/lualatex/yamlvars/YAMLvars.pdf 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. |