0

I am trying to create a Code 128 barcode in a LaTeX document, and want to create it based on one of the fields I am using in the textmerg package,

\code{\MailId}

but am receiving

The input token "\MailId" is not included in Code 128 table, will ignored.

And, true to its word, I get an empty barcode. I can't figure out if I need to “escape” it somehow? Just a line or two before, I use this same field to grab an image by that name, so I know (believe?) it isn’t null.

0

No matter how much you search, you always find the answer just after posting a question:

\expandafter\code\expandafter{\MailId}

ISBN barcodes using labels and textmerg

  • 1
    If this is the same user as the one asking the question, you may want to merge your accounts. – Schrödinger's cat Oct 8 at 3:54

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.