| 1 |
% |
| 2 |
\NeedsTeXFormat{LaTeX2e}[2009/06/27] |
| 3 |
\ProvidesPackage{barracuda}[2022/06/23 v0.0.12 a barcode typesetting package]% |
| 4 |
\newbox\barracudabox |
| 5 |
\newcommand\barracuda[3][_brcdempty_=true]{\directlua{ |
| 6 |
local barracuda = require "barracuda" |
| 7 |
local enc_name = [[#2]] |
| 8 |
local data = [[#3]] |
| 9 |
local opt = {#1}; |
| 10 |
if opt._brcdempty_ == true then |
| 11 |
barracuda:hbox(enc_name, data, "barracudabox") |
| 12 |
else |
| 13 |
barracuda:hbox(enc_name, data, "barracudabox", opt) |
| 14 |
end |
| 15 |
}% |
| 16 |
\box\barracudabox |
| 17 |
} |
| 18 |
\endinput |