8

Is there an MS DOS command line equivalent to Linux's "man" for finding help on Latex files?

e.g., if I were running Latex on Linux I could do:

man texify

to discover a file like this, from which I could learn, say, that --clean as a parameter will clean up auxiliary files after compilation. Instead, I find myself bothering the good people of Stack Exchange with questions like this. I've tried

help texify

and

texify /?

to no avail.

Basically, I'd just like to be self-sufficient, working with the man-files rather than running to the forums with every question of mine.

lowndrul
  • 5,323

2 Answers2

13

texdoc X will generally work, where X is a package (texdoc xcolor) or a documentclass (texdoc revtex4-1) or a command (texdoc texify) will generally work. Also some others: eg texdoc miktex for the miktex manual, texdoc source2e for the complete documented latex2e sources or texdoc letterfaq for the complete TeX FAQ.

Lev Bishop
  • 45,462
  • 2
    If the same command line switches work as on the Linux/MacOS side of things, you can also do texdoc -s <name> to find all the documentation that contains in its filename. This sometimes works better if your first attempt brings up something unexpected. – Alan Munn Feb 23 '11 at 03:52
  • It seems texdoc in TeX Live is more powerful than MiKTeX. – Leo Liu Feb 23 '11 at 04:38
  • 2
    I should add: using your response as a starting point, I was able to find here that mthelp is to MikTeX (my distribution) as texdoc is TexLive. – lowndrul Feb 23 '11 at 08:19
  • FYI, I posted a follow-up question here regarding how to use this utility (or something similar) for finding documentation on particular latex macros (e.g., \section) – lowndrul Feb 23 '11 at 19:33
2

if you have installed a tcl/tk version, then you can run texdoctk