Quantcast
Channel: LuaLaTeX for dummies: basic directlua use - TeX - LaTeX Stack Exchange
Browsing all 2 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by Heiko Oberdiek for LuaLaTeX for dummies: basic directlua use

The function is called fact(#1) without the key word function. Also the result needs to be feed back to TeX, e.g. via...

View Article


LuaLaTeX for dummies: basic directlua use

I'm trying to understand the basics of lua programming within LaTeX.I have this simple function in a file called luatest.lua:function fact (n) if n == 0 then return 1 else return n * fact(n-1)...

View Article

Browsing all 2 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>