You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows wheel docstrings show raw citation keys: no perl or bibtex in the Windows build #313
Windows wheels show raw Doxygen citation keys in docstrings because the Windows pixi environment has neither perl nor bibtex. Raised for discussion: should Windows match Linux and macOS here?
On the same ITK commit (957816d), the CannyEdgeDetectionImageFilter docstring reads:
Platform
Docstring text
macOS arm64, Linux
Based on John Canny's paper [2] there are four major steps
Windows x64
Based on John Canny's paper canny1986 there are four major steps
The Windows build log repeats this for every module whose headers use \cite:
error: Problems running bibtex. Verify that the command 'perl --version' works from the command line. Exit code: 2
bibtex command failed: No such file or directory
The build and the documentation tests still pass, so this affects docstring quality only.
Why it happens
Doxygen resolves \cite by running bibtex through a Perl script. pixi.toml on the #312 branch provides:
Feature
perl
texlive-core (bibtex)
manylinux-common-build, linux-build
yes
yes
macosx-build
system perl
yes
windows-build
no
no
conda-forge has perl for win-64 (perl-5.44.0) but no texlive-core for win-64 (pixi search -p win-64 texlive-core: no packages found).
Options
Add conda-forge perl to the Windows feature and install a bibtex on the Windows hosts and runners, for example MiKTeX. This adds a non-pixi dependency to the Windows build.
Accept the difference: Windows docstrings keep the citation key, which still names the reference.
Make the result the same everywhere by not running bibtex in the wrapping docs. Citations would then show as keys on every platform.
Found while preparing the platform report for #312.
Activity
dzenanz commentedon Nov 24, 2026
I have a local branch which targets multiple issues, here: BRAINSia#5
dzenanz commentedon Nov 24, 2026
My solution is to install MikTeX locally.