CTAN Comprehensive TeX Archive Network

Directory support/extractbb

README.md

extractbb-lua ===============

A reimplementation of extractbb, written in Lua.

Variants

There are two variants of extractbb-lua:

  • wrapper: A wrapper script around the original xdvipdmfx-based extractbb that is used to fix a security vulernability in xdvipdfmx.
  • scratch: A standalone implementation of extractbb, written in Lua from scratch, with no dependencies on xdvipdfmx.

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
The scratch 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):

  1. By opening a new issue on GitHub.
  1. Via email to the public tex-live@tug.org mailing list.
  1. 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 . This tool is rarely run directly by users, but is frequently used by packages running on or up. This package specifically contains a Lua-based reimplementation extractbb that behaves identically to the original C-based version distributed with dvipdfmx.

Packageextractbb
Bug trackerhttps://github.com/gucci-on-fleek/extractbb/issues
Repositoryhttps://github.com/gucci-on-fleek/extractbb/
Version1.0.6 2024-11-21
LicensesCC BY-SA 4.0
Free license not otherwise listed
Copyright2024 Max Chernoff
MaintainerMax Chernoff
Contained inTeX Live as extractbb
TopicsData preparation
PDF features
...
Guest Book Sitemap Contact Contact Author