Skip to content

The texdoc --nointeract breaks package documentation lookup with MiKTeX #4359

@hair-splitter

Description

@hair-splitter

Environment

  • TeXstudio: 4.9.2
  • Qt: 6.10.1
  • OS: Windows11
  • TeX distribution: MiKTeX

In TeXstudio the Help → Packages Help... menu calls:

texdoc --nointeract --view <package>

When using MiKTeX this fails to locate the correct documentation.
The reason is that MiKTeX’s texdoc is actually mthelp, and with the --nointeract option it does not properly search for the documentation.

Example:

texdoc --nointeract --view graphicx

This does not open the expected documentation, while

texdoc --view graphicx

works correctly.

The --nointeract option works with the texdoc implementation from TeX Live, but it appears incompatible with the MiKTeX version.

Suggestion:
Do not pass --nointeract unconditionally when invoking texdoc, or detect MiKTeX and omit this option.

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