Skip to content

Windows wheel docstrings show raw citation keys: no perl or bibtex in the Windows build #313

Backlog

Description

@hjmjohnson

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
  1. 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.
  2. Accept the difference: Windows docstrings keep the citation key, which still names the reference.
  3. 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

  1. dzenanz commented on Nov 24, 2026

    @dzenanz
    Member

    I have a local branch which targets multiple issues, here: BRAINSia#5

  2. dzenanz commented on Nov 24, 2026

    @dzenanz
    Member

    My solution is to install MikTeX locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions