From bc9d1838f256b82ceb62fae29218b0d9f29633ee Mon Sep 17 00:00:00 2001 From: Ced Date: Mon, 29 Dec 2025 14:04:04 +0000 Subject: [PATCH] Use extractbb instead of ebb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ebb was the old tool and looks like it is on its way out, a very least from Debian and for pdfTeX. From manpage: ------------- Here are more details about the bb and xbb formats: The original ebb (from dvipdfm) ignored density information in bitmap images, and generated bounding boxes with 100px = 72bp = 1in. Unfortu‐ nately, screenshots (especially) tend to look bad with this approach. So, extractbb (from dvipdfmx) uses density information if present. Otherwise, it generates bounding box with 100px = 100bp. This is what pdfTeX does. --- book/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/makefile b/book/makefile index ba02c8e..cd07e2c 100644 --- a/book/makefile +++ b/book/makefile @@ -97,7 +97,7 @@ ruby_pkg := ../website/Gemfile ../website/Gemfile.lock figures/export_figures.sh $@.pdf %.xbb: %.jpg - ebb -x $< + extractbb -x $< # }}} # Pdf {{{