diff options
author | Karl Berry <karl@freefriends.org> | 2014-01-04 00:18:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-01-04 00:18:26 +0000 |
commit | b726d3267b3e2c379d7e1e8e4302ab8339f0bccd (patch) | |
tree | d91ecd35f96891b43e4758c04e87fe255970fbfd /Master/texmf-dist/doc/latex/lisp-on-tex/tug2013/bench/luatex/asts.tex | |
parent | f5e68d092b878b0f0d86b10cbd8830cf08a153b8 (diff) |
lisp-on-tex (3jan14)
git-svn-id: svn://tug.org/texlive/trunk@32561 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/lisp-on-tex/tug2013/bench/luatex/asts.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/lisp-on-tex/tug2013/bench/luatex/asts.tex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/lisp-on-tex/tug2013/bench/luatex/asts.tex b/Master/texmf-dist/doc/latex/lisp-on-tex/tug2013/bench/luatex/asts.tex new file mode 100644 index 00000000000..2126d07b106 --- /dev/null +++ b/Master/texmf-dist/doc/latex/lisp-on-tex/tug2013/bench/luatex/asts.tex @@ -0,0 +1,15 @@ +\documentclass{article} +\usepackage[pdftex,a3paper,margin=1pt,landscape]{geometry} +\newcommand\astsLua[1]{% + \directlua{ + ret = "" + for i=1,#1 do + ret = ret .. "*" + end + tex.print("\noexpand\\def\noexpand\\asts{"..ret.."}") + } +} + +\begin{document} + \astsLua{10000} +\end{document}
\ No newline at end of file |