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
My understanding is that the siunitx typesetting commands need to be protected by an \mbox in order not to run into issues with ulem and this is what happens as long as they appear outside of math mode. Inside math mode, this does not seem to be done and does not usually cause any trouble (though I don't understand why). However, I have found that it can still be problematic in some situations. Here's an MWE:
Trying to compile the diff, I get the error message
! Argument of \qtylist has an extra }.
<inserted text>
\par
l.51 }
\DIFaddend Bye World!
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
If I omit any of the options passed to \qtylist, the error goes away, so it seems to be some kind of special case. Encasing the \qtylist in a brace group also works.
I hope this is the right place to report this, as I don't really understand what's going on. Maybe the siunitx commands should be protected also in math mode?
The text was updated successfully, but these errors were encountered:
My understanding is that the
siunitx
typesetting commands need to be protected by an\mbox
in order not to run into issues withulem
and this is what happens as long as they appear outside of math mode. Inside math mode, this does not seem to be done and does not usually cause any trouble (though I don't understand why). However, I have found that it can still be problematic in some situations. Here's an MWE:document_old.tex
document_new.tex
After running
latexdiff document_old.tex document_new.tex > document_diff.tex
, I get the followingdocument_diff.tex
.Trying to compile the diff, I get the error message
If I omit any of the options passed to
\qtylist
, the error goes away, so it seems to be some kind of special case. Encasing the\qtylist
in a brace group also works.I hope this is the right place to report this, as I don't really understand what's going on. Maybe the
siunitx
commands should be protected also in math mode?The text was updated successfully, but these errors were encountered: