When using \includegraphics with image files (JPEG, PNG, etc.), I am getting an extremely broken ouput; figures overlap text, alignment is completely destroyed, and references are unknown. However, compiling the same document with standard LaTeX/XeLaTeX produces a correct PDF.
I think the main reason is that TeXpresso's virtual filesystem cannot serve .bb (bounding box) files for images because they don't exist on disk. Standard LaTeX compilation doesn't produces .bb files and the xdvipdfmx driver extracts image dimensions transparently at PDF conversion time. Since TeXpresso bypasses xdvipdfmx with its own renderer, the TeX engine falls back to searching for .bb files, fails silently, and proceeds with unknown/zero image dimensions.
To reproduce
- Create a LaTeX document using \includegraphics with any JPEG/PNG images
- Verify it compiles correctly with xelatex
- Run build/texpresso document.tex
- Observe broken figure layout
Expected behavior
TeXpresso should extract image dimensions and serve synthetic .bb data through its virtual filesystem, matching the behavior you get from standard LaTeX compilation without any extra steps.
Current workaround
Manually run ebb (from dvipdfmx) on every image file to generate .bb files before launching TeXpresso. This is extremely ineffective and requires creating custom automation scripts as part of whatever editor you're using to automatically generate these .bb files in the right place.
Broken TeXpresso view:
Well formed PDF Output:

When using \includegraphics with image files (JPEG, PNG, etc.), I am getting an extremely broken ouput; figures overlap text, alignment is completely destroyed, and references are unknown. However, compiling the same document with standard LaTeX/XeLaTeX produces a correct PDF.
I think the main reason is that TeXpresso's virtual filesystem cannot serve .bb (bounding box) files for images because they don't exist on disk. Standard LaTeX compilation doesn't produces .bb files and the xdvipdfmx driver extracts image dimensions transparently at PDF conversion time. Since TeXpresso bypasses xdvipdfmx with its own renderer, the TeX engine falls back to searching for .bb files, fails silently, and proceeds with unknown/zero image dimensions.
To reproduce
Expected behavior
TeXpresso should extract image dimensions and serve synthetic .bb data through its virtual filesystem, matching the behavior you get from standard LaTeX compilation without any extra steps.
Current workaround
Manually run ebb (from dvipdfmx) on every image file to generate .bb files before launching TeXpresso. This is extremely ineffective and requires creating custom automation scripts as part of whatever editor you're using to automatically generate these .bb files in the right place.
Broken TeXpresso view:
Well formed PDF Output: