Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Maruku 0.7.3 crashes on itex example #145

Open
sattlerc opened this issue Jul 23, 2022 · 2 comments
Open

Maruku 0.7.3 crashes on itex example #145

sattlerc opened this issue Jul 23, 2022 · 2 comments

Comments

@sattlerc
Copy link

Running maruku -i itex on the input

\begin{c}\label{DoubleNegationMonad}
\end{d}
\begin{proof}
Immediate from \ref{Monads}

raises an exception:

maruku/ext/math/parsing.rb:114:in `block in <top (required)>': undefined method `captures' for nil:NilClass (NoMethodError)
@distler
Copy link
Collaborator

distler commented Jul 23, 2022

But

\begin{c}
\label{DoubleNegationMonad}
\end{d}
\begin{proof}
Immediate from \ref{Monads}

works just fine, as does

\begin{c}\label{DoubleNegationMona}
\end{d}
\begin{proof}
Immediate from \ref{Monads}

Curious.

Trivial to "fix", but I don't quite understand what's triggering the problem in the first place.

distler added a commit to distler/maruku that referenced this issue Jul 23, 2022
@distler
Copy link
Collaborator

distler commented Jul 23, 2022

"Fixed" in 97c0489.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants