Questions tagged [luacode]

A package to simplify inclusion of lua code in a LaTeX document

3 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
152 views

Mixing expl3 and luacode

What do you think about mixing expl3 and luacode? Is this an "accepted approach" or rather a "bad practise" or something in between? Consider, for example, my previous question Nested splitting of a ...
2
votes
0answers
188 views

Filtering results of iterator from table in csv file

I am a Lua novice, and I would like to know if there is any way for an iterator to filter out or skip certain items in a table from a csv file. In particular, I would like for an iterator to be able ...
0
votes
0answers
131 views

Issue with xparse and lualatex

I have the following code \documentclass{article} \usepackage{luacode,xparse,amsmath} \begin{luacode*} local matrix = require "matrix" local complex = require "complex" function add(m,n) m=...