MTHELP(1)

πŸ“¦ version 25.12, in nixos 26.05, nixpkgs unstable

πŸ’– 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 πŸ’œ

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