I wrote parser that replaces $ and $$ for each line. But, as I understood, I must not do it, if $ does not have a standard catcode. So, how can I get the catcode of $ using luacode for each line because, for example, as I understood it, for verbitem $ have different catcode, so it does not have to be replaced. Thanks everybody for the help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.