this is for holding javascript data
Deyan Ginev edited section_LaTeX_Programming_Only_if__.tex
almost 9 years ago
Commit id: 126496bd1742c400ec46753f7f91e3e636205ffe
deletions | additions
diff --git a/section_LaTeX_Programming_Only_if__.tex b/section_LaTeX_Programming_Only_if__.tex
index 567bff8..d74d02b 100644
--- a/section_LaTeX_Programming_Only_if__.tex
+++ b/section_LaTeX_Programming_Only_if__.tex
...
\newtoks\allrows
% The darkest black magic happens here.
% It is needed to make \addrow update the \allrows variable
% while
also also:
% 1) keeping it global and
% 2) fetching the actual values from the TeX counters.
% Doing this "the right way" is neither intuitive nor easy.
\newcommand\addrow[3]{%
\begingroup\edef\container{\endgroup