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
The \DndMonsterAttack macro breaks if macros such as \emph are used in the attack modifier.
I encountered this issue with an attack modifier that is dependent on a spell being active, in this case shillelagh. I tried to insert the following text:
This breaks if you try to set shillelagh in cursive text using \emph{shillelagh} or \textit{shillelagh} in the mod parameter. If you try {\itshape shillelagh}, the latex code is set verbatim into the attack modifier (which surprised me quite a lot). Wrapping the text in braces does not help. As you can see, it does work fine in the or-dmg-when parameter.
Error messages:
.../dndmonster-mwe.tex:12: Argument of \reserved@a has an extra }.
<inserted text>
\par
l.12 ]
Runaway argument?
{\unexpanded {shillelagh}}\ifx \reserved@a \@empty \let \check@icl \@empty \ETC.
.../dndmonster-mwe.tex:12: Paragraph ended before \reserved@a was complete.
<to be read again>
\par
l.12 ]
.../dndmonster-mwe.tex:12: Undefined control sequence.
\reserved@a ->\@nil
l.12 ]
.../dndmonster-mwe.tex:12: Undefined control sequence.
\reserved@a ->\@nil
l.12 ]
.../dndmonster-mwe.tex:12: Undefined control sequence.
\reserved@a ->\@nil
l.12 ]
.../dndmonster-mwe.tex:12: Undefined control sequence.
\reserved@a ->\@nil
l.12 ]
.../dndmonster-mwe.tex:12: Undefined control sequence.
\reserved@a ->\@nil
l.12 ]
.../dndmonster-mwe.tex:12: Undefined control sequence.
\reserved@a ->\@nil
l.12 ]
.../dndmonster-mwe.tex:12: Undefined control sequence.
\reserved@a ->\@nil
l.12 ]
.../dndmonster-mwe.tex:12: Undefined control sequence.
\reserved@a ->\@nil
l.12 ]
This is my first time opening an issue, so apologies if I did anything wrong.
The text was updated successfully, but these errors were encountered:
The
\DndMonsterAttack
macro breaks if macros such as\emph
are used in the attack modifier.I encountered this issue with an attack modifier that is dependent on a spell being active, in this case shillelagh. I tried to insert the following text:
using the following code:
This breaks if you try to set shillelagh in cursive text using
\emph{shillelagh}
or\textit{shillelagh}
in themod
parameter. If you try{\itshape shillelagh}
, the latex code is set verbatim into the attack modifier (which surprised me quite a lot). Wrapping the text in braces does not help. As you can see, it does work fine in theor-dmg-when
parameter.Error messages:
This is my first time opening an issue, so apologies if I did anything wrong.
The text was updated successfully, but these errors were encountered: