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
I think this is due to a common problem: verbatim content often doesn't behave in the arguments to commands. If that's the case (I will have to investigate a bit further), there may be no solution, only workarounds.
A standard way to get verbatim content into command arguments is to use a savebox. For example,
I've done some further investigation, and don't have any additional suggestions. I would be interested to see a minimal example document that exhibits the problem, since I'm not getting it with the book document class. Maybe you are using a special document class?
I've added a section in the FAQ in the documentation that addresses this sort of situation. Since I don't believe there is anything else I can do, at least without more information, I'm closing the issue for now.
If I wrote code as:
and compile with:
An error of :
I used \tracingall in \mintinline implementation and found that something like:
is expanded.
So I think the \uppercase in \chapter expansion may have changed the "cpp" to uppercase.
I tried to update the \mintinline implementation, adding \lowercase{} to the \def\mint@lang{#2} code, but without success.
The text was updated successfully, but these errors were encountered: