You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\documentclass{article}
\usepackage{agda}
\begin{document}
\begin{code}[hide]
module Ex where
\end{code}[hide]
\begin{code}
data T : Set where
t : T
\end{code}
\end{document}
produces an error
! LaTeX Error: There's no line here to end.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.47 \end{code}
However, running latexmk -cd -pdfxe latex/Ex.tex does not.
I think the culprit is that agda2vec.py introduces many empty lines (compare latex/Ex.tex to latex/Bad.tex).
The text was updated successfully, but these errors were encountered:
It seems removing + \n from the file.write line in the write_file function may fix this... but there must be some reason I added that initially. I'm running the script on the whole formal spec pdf (without the + \n) to see if it works okay. If it does I'll make a PR with that change asap.
Running
on a file
Ex.lagda
that containsproduces an error
However, running
latexmk -cd -pdfxe latex/Ex.tex
does not.I think the culprit is that
agda2vec.py
introduces many empty lines (comparelatex/Ex.tex
tolatex/Bad.tex
).The text was updated successfully, but these errors were encountered: