Directory support/extractbb
extractbb-lua
===============
A reimplementation of extractbb
, written in Lua.
Variants
There are two variants of extractbb-lua
:
wrapper
: A wrapper script around the originalxdvipdmfx
-basedextractbb
that is used to fix a security vulernability inxdvipdfmx
.
scratch
: A standalone implementation ofextractbb
, written in Lua from scratch, with no dependencies onxdvipdfmx
.
Currently, the script extractbb
defaults to the wrapper
variant, but you can manually select any specific variant by setting the TEXLIVE_EXTRACTBB
environment variable to either wrapper
or scratch
.
!WARNING
Thescratch
variant is still in development and may be buggy or
insecure.
Secret Developer Options
If you set TEXLIVE_EXTRACTBB
to the full path of an executable, it will run that directly. And if you set TEXLIVE_EXTRACTBB_UNSAFE=unsafe
, then it will ignore some of the security checks.
Support
If you have any problems with this tool, please report it (in order of preference):
- Via email to the public
tex-live@tug.org
mailing list.
- By contacting the author directly at
tex@maxchernoff.ca
.
Building
Please see the file documentation/BUILDING.md
on GitHub.
Licence
extractbb-lua
is licensed under the Mozilla Public License, version 2.0 or greater. The documentation is additionally licensed under CC-BY-SA, version 4.0 or greater.
The test files have various licences, please see the file tests/LICENCE.md
for more information. (Since these files are not distributed with the package, neither is this licence file.)
v1.0.6 (2024-11-21)
Download the contents of this package in one zip archive (19.3k).
extractbb – A reimplementation of extractbb, written in Lua
extractbb is a program that exports the dimensions of an image or PDF file to a plain text format that is easily parsed by TeX. This tool is rarely run directly by users, but is frequently used by packages running on XeTeX or upTeX. This package specifically contains a Lua-based reimplementation extractbb that behaves identically to the original C-based version distributed with dvipdfmx.
Package | extractbb |
Bug tracker | https://github.com/gucci-on-fleek/extractbb/issues |
Repository | https://github.com/gucci-on-fleek/extractbb/ |
Version | 1.0.6 2024-11-21 |
Licenses | CC BY-SA 4.0 Free license not otherwise listed |
Copyright | 2024 Max Chernoff |
Maintainer | Max Chernoff |
Contained in | TeX Live as extractbb |
Topics | Data preparation PDF features |