I've been using Latexian for a while. Its LivePreview feature is very convenient, which is why I'm keeping using it.
Recently, I've heard about LuaTeX / LuaLaTeX. I tried a couple of examples but I couldn't make it work with Latexian.
Specifically, compiling the following code via terminal "lualatex test.tex" works ok.
\documentclass{article}
\begin{document}
The standard approximation $\pi = \directlua{tex.sprint(math.pi)}$
\end{document}
As expected, this doesn't compile in Latexian since it uses "pdflatex".
I tried to delete "pdflatex" file in /usr/texbin and create a symbolic link named "pdflatex" pointing to "lualatex" to trick Latexian, but it didn't work. I get the following error:
This is LuaTeX, Version beta-0.76.0-2013061817 (rev 4627)
\write18 enabled.
---! pdflatex.fmt was written by pdftex
(Fatal format file error; I'm stymied)
Even in terminal, trying to compile with "pdflatex" (now pointing to "lualatex") doesn't work. Same error as above.
Any ideas?
pdflatex.fmt? – Martin Schröder Feb 13 '14 at 11:56