MTHELP(1)
π MTHELP(1) π
okay so real talk: this is mthelp from the User Commands manual, and it's the MiKTeX help utility. think of it as your little doc-fetching bestie for the TeX distribution. π«Ά
β¨ NAME β¨
mthelp β the MiKTeX help utility, aka your personal "where are the docs" concierge π
π¦ SYNOPSIS π¦
mthelp [option...] {name...}
πΈ DESCRIPTION πΈ
So mthelp is this utility whose whole job is to look up MiKTeX related documentation. That's it. That's the gig. π
Here's the vibe of what happens: mthelp creates an HTML page which contains a short description of the package together with links to all documentation files. Then it starts an HTML viewer to actually show you that page. cute, right? β¨
And if you're the kind of person who's like "bestie I don't need the middleman," you can use the --view option to bypass the intermediate HTML file entirely. no cap, straight to the good stuff. π
Now, name should be the name of a package in the TeX distribution. that's the important bit β it's a package name, not a random filename, iykyk. π
π OPTIONS π
--list-onlyβ lists the documentation files, but does not start a viewer. like window shopping only, no buying. π--print-onlyβ prints the command that would be executed to view the documentation, but does not start the command. so you get to see the receipt without actually spending anything. π§Ύ--quietβ suppresses all output, except errors. silent mode. very demure, very mindful. π€«--versionβ shows version information and exits. the classic "who am I" move. π--viewβ opens the main documentation file in a viewer. the direct route, the main character energy route. π₯
π ENVIRONMENT π
MIKTEX_TRACEβ a comma-separated list of trace stream names (see Chapter 9, Trace Streams). if this variable is set, then MiKTeX programs will write trace messages into the configured log sink. lowkey the gossip channel of the MiKTeX world. πMIKTEX_VIEW_dviβ DVI viewer. πMIKTEX_VIEW_pdfβ PDF viewer. πMIKTEX_VIEW_psβ PostScript viewer. π¨οΈMIKTEX_VIEW_htmlβ HTML viewer. πMIKTEX_VIEW_txtβ Text viewer. π
The environment variables should be set with a %f as a placeholder for the name of the file. For example:
> MIKTEX_VIEW_pdf="gv %f"
β οΈ do not forget the %f bestie, that's literally the whole file-name slot. without it your viewer has no idea what to open. π
π FILES π
The intermediate HTML file (package.html) is stored in the directory miktex/mthelp relative to the data TEXMF data root (usually ~/.miktex/texmfs/data).
so like, that's where the little temporary HTML page lives before your viewer eats it. ποΈ
β SEE ALSO β
MiKTeX Project Page[1]
π ENVIRONMENT π
(yes, it's listed again in the original β and I'm keeping every single bit of it, periodt π)
MIKTEX_TRACEβ a comma-separated list of trace stream names (see Chapter 9, Trace Streams). if this variable is set, then MiKTeX programs will write trace messages into the configured log sink. same queen, second entrance. π
π NOTES π
- MiKTeX Project Page
https://miktex.org/
and that's the whole page, bestie β every flag, every env var, every path kept intact, just with the vibes turned all the way up. β¨
MiKTeX 25.12 β December 29, 2025 π¦ that's the version and date stamped on this beauty, so go forth and look up documentation like the icon you are. π
π¦ where this page comes from
- nixos 26.05: miktex 25.12
- nixpkgs unstable: miktex 25.12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms