mthelp 1 &PACKAGE_NAME; &miktexrev; User Commands
mthelp &MiKTeX; help utility
&mthelp; option name

## Description

&mthelp; is a utility to look up &MiKTeX; related documentation.

&mthelp; creates an &HTML; page which contains a short description of the package together with links to all documentation files. An &HTML; viewer is started to view the page.

You can use the `--view` to bypass the intermediate &HTML; file.

name should be the name of a package in the &TeX; distribution.

## Options

`--list-only`

  List documentation files, but do not start a viewer.

`--print-only`

  Print the command that would be executed to view the documentation, but do not start the command.

`--view`

  Open the main documenation file in a viewer.

## Environment

`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:

    &prompt;MIKTEX_VIEW_pdf="gv %f"

## Files

The intermediate &HTML; file (`package.html`) is stored in the directory `miktex/mthelp` relative to the data &TEXMF; data root (usually &userdatadir;).

## See also

&MiKTeX; Project Page

## Environment