extractbb regression on TexLive 2024

Bruno Voisin bvoisin at icloud.com
Tue Nov 12 00:44:31 CET 2024


Zhe Tang wrote:

> A few people and I from Lyx noticed that extractbb on TexLive 2024 (Windows 11) can no longer handle folder names with spacing. Please see the attached screenshot. [...] This issue does NOT occur in TexLive 2022.

and the screenshot contains (using macOS's Live Text for transcript):

> PS C:\texlive\2024\bin\windows> ../../../2022/bin/win32/extractbb -0 "Subfolder with space/20240229-173553-HExp-Annotated.jpg"
> extractbb:warning: JPEG: Inconsistent resolution may have specified in Exif and JFIF: 72x72 - 300x300
> %%Title: Subfolder with space/20240229-173553-HExp-Annotated.jpg
> %%Creator: extractbb 20211117
> %%BoundingBox: 0 0 398 127
> %%HiResBoundingBox: 0.000000 0.000000 398.400000 126.720000
> %%CreationDate: Sun Nov 10 10:06:18 2024
> 
> PS C:\texlive\2024\bin\windows> extractbb -0 "Subfolder with space/20240229-173553-HExp-Annotated.jpg"
> extractbb:warning: Can't find file (Subfolder), or it is forbidden to read ...skipping
> extractbb:warning: Can't find file (with), or it is forbidden to read ...skipping
> extractbb:warning: Can't find file (space/20240229-173553-HExp-Annotated.jpg), or it is forbidden to read ...skipping

extractbb has changed in TeX Live 2024: before that, it was an alias for the xdvipdfmx executable; since TL 2024, it is an alias for the Lua script extractbb.lua, which acts as a wrapper calling ebb, itself an alias for xdvipdfmx. The script can be inspected at

https://tug.org/svn/texlive/trunk/Master/texmf-dist/scripts/texlive/extractbb.lua?view=markup

I imagine the way that the argument of the script is passed on to xdvipdfmx (in lines 225-234?) may be the cause of what you're observing. Unfortunately I don't really know Lua, thus I can't help.

The problem must be specific to Windows, as I'm seeing nothing of the sort on the Mac:

% extractbb -O "Desktop/Test with space/ImageCropBug-extractbb_2022vs2024.png"
%%Title: Desktop/Test with space/ImageCropBug-extractbb_2022vs2024.png
%%Creator: extractbb 20240407
%%BoundingBox: 0 0 709 364
%%HiResBoundingBox: 0.000000 0.000000 709.261469 364.231567
%%CreationDate: Mon Nov 11 23:54:33 2024

> Since I'm new to this mailing list, please let me know the next steps forward.

Just one suggestion: include console output as text rather than screenshot, this is more likely to attract people's attention.

Other than that, the script authors' hang out on this list (see last July's archive), so I think this is the right place to report problems.

Bruno Voisin






More information about the tex-live mailing list.