XimeraProject / ximeraLatex

Author tools for creating Ximera activities
LaTeX Project Public License v1.3c
40 stars 35 forks source link

\answer should trigger an error #54

Open bartsnapp opened 7 years ago

bartsnapp commented 7 years ago

\answer should trigger an error when outside an answer environment.

This can be done by checking a counter, defined to be 1 outside of the environment.

When entering, reduce to 0. When leaving up to 1.

bartsnapp commented 6 years ago

This should be done at xw6