1
2
3
4
5
6
7
8
9
10
11
12
13
14\writestatus{barcodes}{the zint module is a better choice}
15
16\usemodule[zint]
17
18\unprotect
19
20\pushoverloadmode
21
22\let\normalbarcode\barcode
23
24\permanent\protected\def\barcode[#1]
25 {\normalbarcode[\c!text=\dummyparameter{code},\c!alternative=\dummyparameter{type},#1]}
26
27\popoverloadmode
28
29\protect
30
31\continueifinputfile{mbarcodes.mkxl}
32
33\starttext
34 \startTEXpage[offset=1dk]
35 \startcombination[2*2]
36 {\barcode[type=isbn,text=9789490688011,width=3cm]} {}
37 {\barcode[type=isbn,text=9780500518724,width=3cm]} {}
38 {\barcode[type=datamatrix,text=whatever,width=3cm,option=square]} {}
39 {\barcode[type=maxicode,text=whatever,width=3cm]} {}
40 \stopcombination
41 \stopTEXpage
42\stoptext
43
44 |