Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omikhleia/barcodes.sile
Barcodes package for the SILE typesetting system
https://github.com/omikhleia/barcodes.sile
barcodes isbn isbn-13 print sile typesetting
Last synced: about 1 month ago
JSON representation
Barcodes package for the SILE typesetting system
- Host: GitHub
- URL: https://github.com/omikhleia/barcodes.sile
- Owner: Omikhleia
- License: mit
- Created: 2022-08-18T02:38:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T21:33:56.000Z (3 months ago)
- Last Synced: 2024-08-29T23:45:45.729Z (3 months ago)
- Topics: barcodes, isbn, isbn-13, print, sile, typesetting
- Language: Lua
- Homepage:
- Size: 65.4 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# barcodes.sile
[![license](https://img.shields.io/github/license/Omikhleia/barcodes.sile?label=License)](LICENSE)
[![Luacheck](https://img.shields.io/github/actions/workflow/status/Omikhleia/barcodes.sile/luacheck.yml?branch=main&label=Luacheck&logo=Lua)](https://github.com/Omikhleia/barcodes.sile/actions?workflow=Luacheck)
[![Luarocks](https://img.shields.io/luarocks/v/Omikhleia/barcodes.sile?label=Luarocks&logo=Lua)](https://luarocks.org/modules/Omikhleia/barcodes.sile)This package set for the [SILE](https://github.com/sile-typesetter/sile) typesetting
system aims at providing barcode support.It currently provides the `barcodes.ean13` package, which allows printing out an EAN-13
barcode, suitable for an ISBN (or ISSN, etc.)![EAN-13 barcodes](ean13.png "ISBN examples")
The “human readable interpretation” in this example uses the “Hack” font.
Any other monospace font may be used, and a better result is obtained with an OCR-B font.
A good recommendation is [Matthew Skala's “OCR B” version](https://tsukurimashou.osdn.jp/ocr.php.en),
which is considered public domain and is included in this package for mere convenience, see [details](packages/barcodes/ean13/fonts/README.md).On a slightly related topic, you might also be interested in the [qrcode.sile](https://github.com/Omikhleia/qrcode.sile) package set.
## Installation
These packages require SILE v0.14 or upper.
Installation relies on the **luarocks** package manager.
To install the latest version, you may use the provided “rockspec”:
```
luarocks install barcodes.sile
```(Refer to the SILE manual for more detailed 3rd-party package installation information.)
## Usage
Examples are provided in the [examples](./examples) folder.
The in-code package documentation may also be useful.
A readable version of the documentation is included in the User Manual for
the [resilient.sile](https://github.com/Omikhleia/resilient.sile) collection
of classes and packages.## License
All SILE-related code and samples in this repository are released under the MIT license,
(c) 2022-2024 Omikhleia.