diff options
Diffstat (limited to 'tex/context/modules/mkxl/m-barcodes.mkxl')
-rw-r--r-- | tex/context/modules/mkxl/m-barcodes.mkxl | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tex/context/modules/mkxl/m-barcodes.mkxl b/tex/context/modules/mkxl/m-barcodes.mkxl new file mode 100644 index 000000000..43540e457 --- /dev/null +++ b/tex/context/modules/mkxl/m-barcodes.mkxl @@ -0,0 +1,40 @@ +%D \module +%D [ file=m-barcodes, +%D version=2010.03.14, +%D title=\CONTEXT\ Extra Modules, +%D subtitle=Barcodes, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +\writestatus{barcodes}{the 'zint' module is a better choice} + +\usemodule[zint] + +\unprotect + +\pushoverloadmode + +\let\normalbarcode\barcode + +\permanent\protected\def\barcode[#1]% + {\normalbarcode[\c!text=\dummyparameter{code},\c!alternative=\dummyparameter{type},#1]} + +\popoverloadmode + +\protect + +\continueifinputfile{m-barcodes.mkxl} + +\starttext + \startTEXpage + \barcode[type=isbn,text=978-9490688011] + \blank + \barcode[type=isbn,text=9780500518724] + \stopTEXpage +\stoptext + |