Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants