I am observing the following issue. Take the following example:
\documentclass{article}
\usepackage{subfiles}
\usepackage[ruled]{algorithm2e}
\begin{document}
\begin{algorithm}
\nl Try to compile a \LaTeX{} document into HTML \;
\nl Have a mysterious issue \;
\While{cause is unclear}
{
\nl Play around with the \TeX \;
\nl Fiddle with the compiler \;
}
\nl Submit an issue to the LaTeXML project \;
\caption{How to get where I am today}
\end{algorithm}
\end{document}
Running pdflatex yields the following:
Meanwhile, running latexmlc yields a broken algorithm. Line 3 is on the same line as the while statement:
However commenting out \usepackage{subfiles} causes latexmlc to yield the correct output:
Thanks for the wonderful package!
I am observing the following issue. Take the following example:
Running
pdflatex
yields the following:Meanwhile, running
latexmlc
yields a broken algorithm. Line 3 is on the same line as the while statement:However commenting out
\usepackage{subfiles}
causeslatexmlc
to yield the correct output:Thanks in advance!