diff options
author | Hans Hagen <pragma@wxs.nl> | 2020-11-23 19:48:34 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2020-11-23 19:48:34 +0100 |
commit | 18499e46a49b8ccf4346686d1cf626ada33935b8 (patch) | |
tree | bd0ae7b601b323e20954c10c07598637d9403e00 /tex/context/base/mkiv/libs-imp-zint.mkxl | |
parent | 4b089e589d39346a66a27d04f9857fe16e4b7b41 (diff) | |
download | context-18499e46a49b8ccf4346686d1cf626ada33935b8.tar.gz |
2020-11-23 18:39:00
Diffstat (limited to 'tex/context/base/mkiv/libs-imp-zint.mkxl')
-rw-r--r-- | tex/context/base/mkiv/libs-imp-zint.mkxl | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/tex/context/base/mkiv/libs-imp-zint.mkxl b/tex/context/base/mkiv/libs-imp-zint.mkxl deleted file mode 100644 index fbea52888..000000000 --- a/tex/context/base/mkiv/libs-imp-zint.mkxl +++ /dev/null @@ -1,64 +0,0 @@ -%D \module -%D [ file=m-zint, -%D version=2010.12.07, -%D title=\CONTEXT\ Extra Modules, -%D subtitle=Zint Barcode Generator, -%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. - -%D Using \type {zint} seems to be the easiest way to generate -%D (PDF417) barcodes so therefore we now have this module. There -%D are proper (also windows) binaries at: -%D -%D \starttyping -%D http://www.zint.org.uk -%D \stoptyping -%D -%D There is a bit more code than needed as we want to be able to -%D feed names. - -\registerctxluafile{libs-imp-zint}{autosuffix} - -\unprotect - -\definefont[usedzintfont][dejavusansmono at 10bp] - -\unexpanded\def\barcode[#1]% [alternative=,text=] - {\bgroup - \usedzintfont - \getdummyparameters - [\c!alternative=,\c!text=,#1]% - \scale - [#1]% - {\clf_zint - code {\dummyparameter\c!alternative} - text {\dummyparameter\c!text} - \relax} - \egroup} - -\protect - -\continueifinputfile{libs-imp-zint.mkxl} - -\starttext - -% \dorecurse{1000}{ - \startTEXpage - \barcode[alternative=PDF417,text={Hans Hagen}]% - \blank - \barcode[alternative=PDF417,text={Ton Otten}]% - \blank - \barcode[alternative=ISBN,text=9789490688011]% - \blank - \barcode[alternative=isbn,text=9789490688011,width=3cm]% - \stopTEXpage -% } - -\stoptext - - |