davidcarlisle / latexcgi

LaTeX server via perl cgi script, developed for learnlatex.org
https://davidcarlisle.github.io/latexcgi/
MIT License
32 stars 3 forks source link

Missing $ inserted #13

Closed ildar closed 1 year ago

ildar commented 1 year ago

Running simply the curl script

$ sh ../tldnet formulae.tex

The TexLive.net seems not tolerate newlines after \[ and before \]. My local TexLive 2021 processes the same file just fine. Any idea why? File:

\documentclass{article}
\begin{document}
test

\[
\alpha
\]
\end{document}
ildar commented 1 year ago

BTW it is LyX puts newline after \[

davidcarlisle commented 1 year ago

that's a bit weird, but I can reproduce, so I'll try and find time over the holidays to see what it's doing