Closed desk7 closed 1 month ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Note that texdoc
in MiKTeX is actually a shim to @edocevoli's mthelp
, so this is a duplicate of https://github.com/MiKTeX/miktex/issues/637.
I don't use Windows for development, but was able to replicate this on a local machine with a portable install. @edocevoli was also able to replicate it a long time ago in this comment. Note that they have missed it in the past (as in your linked issue) because their use of Chrome transparently replaces the slashes to correct the broken file path.
The real texdoc has fixed this issue in this portion of it's utilities by converting the path to all lowercase and replacing all forward slashes with back slashes before attempting to view the file.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been marked as stale due to inactivity.
This issue has been automatically closed due to inactivity.
When I try to open a package documentation from powershell typing
texdoc packagename
, the URL of the html file which should be opened is wrong because of a slash/
instead of a backslash\
. AFAIK, it happens for every package. For example,tries to open
c:\Users\USER01\scoop\apps\miktex\current\texmfs/data\miktex\mthelp\geometry.html
. Please note the wrong slash betweentexmfs
anddata
. Please also note that the issue is visible in Firefox but it is not visible with google chrome only because chrome automatically fixes the URL. As verification, this is the related log intexdoc.log
:I think that the issue is linked to this one #551 where, if you carefully read the file URL
c:\Program Files\MiKTeX 2.9\doc/latex/koma-script\scrartcl.html
you will find the same problem, i.e. the slash.FYI, I made a minimum installation of TeXLive on another pc and the command
texdoc scrletter
works well. As a side note, why does texdoc in TeXLive tend to open pdf doc directly while texdoc in MikTeX always opens html files?Submitting a MiKTeX problem report
initexmf
report: