Compilation error with LuaLaTeX
I try to compile this code without success.
\documentclass[a4paper,12pt]{article}
\usepackage[upright]{fourier}
\usepackage[no-math]{fontspec}
\usepackage{luacode,luatextra,luaotfload}
\begin{luacode*}
tex.print("\\begin{tabular}{c|c}")
tex.print("x & y \\\\\\hline")
for i=-1,5,1.0 do
tex.print(..i "&" ..-i^2 + 5*i - 8 "\\\\\\hline")
end
tex.print("\\end{tabular}")
\end{luacode*}
\end{document}
No comments:
Post a Comment