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
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.