I am looking for a macro package for QR codes applicable in plain TeX. The QR code should be calculated from string at TeX macro level like in qrcode.sty, but this package is usable only for LaTeX.

I have found only solutions based on PostScript language or Lua language. But the same is doable using only TeX macro language as we seen in qrcode.sty.

Knows somebody about such macro package?

  • 4
    Welcome to TeX.SX! Have you seen this answer here? tex.stackexchange.com/a/108735 – LaRiFaRi Sep 14 '15 at 11:11
  • Thank you. Both solutions work. wipets solution has more understandable source code and there are various options. But both solutions have an important disadvantage: they are not present at CTAN. – har Sep 16 '15 at 7:08
  • There also appears to be this macroset. – FUZxxl Nov 5 '17 at 22:08

I did macros for QR code for plain TeX qrcode.tex. More precisely, I used the qrcode.sty by Andres Hendrickson and I removed all LaTeX specific things.

First of all, I asked the author if he remove LaTeX specific things himself because to make his macro independent of used format. But I received no response. Unfortunately, his macro is a mix of TeX primitives (\vrule, \def) or plain macros (\newcount) with LaTeX constructions (\rule, \newcommand, \newcounter). It was not trivial to remove the LaTeX dependencies, but it is done. The documentation is included in the mentioned file qrcode.tex.

  • That link appears to be gone. Could you upload the package to CTAN or elsewhere? – FUZxxl Nov 5 '17 at 22:07
  • @FUZxxl Thank you for reporting. It is uploaded to CTAN already. See the package olsak-misc. And it is a part of TeXlive collection too. – wipet Nov 6 '17 at 19:31

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.