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
I would not expect the command definition of \benv and \eenvto be parsed, as that would be nontrivial, to produce output consistent with the \begin{env}…\end{env}. Instead, I would expect output consistent with behaviour from \tenv.
So the issue is that, when a macro for `\benv` is defined in
the document, it gets parsed as a plain string. When no
macro is defined, things work as expected. I'll have to
look into this. I suspect the problem is that `\benv`
expands into something that can't be parsed either as an
inline or as a block element (since it's just part of a
block). The real issue is that pandoc tries to resolve
the macros piecemeal, instead of resolving them and changing
the input stream.
See #982. In fact, I think this can probably be closed
as a dup of #982.
Calling
pandoc rt.md -o rt.html
produces:Expected output:
I would not expect the command definition of
\benv
and\eenv
to be parsed, as that would be nontrivial, to produce output consistent with the\begin{env}…\end{env}
. Instead, I would expect output consistent with behaviour from\tenv
.pandoc compiled from ea1724e.
The text was updated successfully, but these errors were encountered: