table of contents
other versions
- wheezy 2012.20120628-4
| TEXDOCTK(1) | General Commands Manual | TEXDOCTK(1) |
NAME¶
texdoctk - GUI for easier access of TeX package and program documentationsSYNOPSIS¶
texdoctk -[aq]DESCRIPTION¶
texdoctk is a GUI for easier access to a large part of the vast amount of package and program documentations and tutorials for TeX and its different derivatives (mainly LaTeX). It is optimized and included in the teTeX and fpTeX distributions and also available with TeXLive. The documentation is grouped into 17 categories; the 18th button of the main panel is inactive by default and intended for use with local additions (see section CONFIGURATION below). In the settings window you see a checkbox in the html->ps and text->ps converter menus for switching on/off output redirect. This is due to the fact that some converters do not write their output into a file but to stdout by default, so a redirect is needed, e.g. a2ps myfile.txt >myfile.psOPTIONS¶
- -v
- verbose: enable some viewer messages which are otherwise sent to stderr, as well as some warning popup windows. This can also be set in a configuration file.
- -a
- autoview: autostart viewer if a listbox contains only one item (this will frequently happen in search results). This can also be set in a configuration file.
CONFIGURATION¶
The configuration is controlled by the system default configuration file ($TEXMFMAIN)/texdoctk/texdocrc.defaults, most of whose entries can though be overridden by the users' own optional ~/.texdocrc files and/or command line options.The Settings menu and configuration files¶
The Settings menu is used to change the user-definable settings of texdoctk for the duration of the program call or as new defaults. The latter case is the purpose of the Save button, which generates or rewrites the user's own ~/.texdocrc file. The system defaults cannot be edited with the Settings menu.- Paths
- The TEXMF-type paths on the system are reported, and the user can specify the name of the subdirectory of $HOMETEXMF, where the personal documentation is stored.
- General viewer behaviour
-
Suppress error messages toggle verbose mode (see option -v); default is off.Autostart viewer for one-item listboxes if a listbox contains only one item (see option -a)Use text viewer for unknown file format i.e. treat the file as plain text. texdoctk should recognize the usual file formats and also relate names like README to plain text, but some docs may have freely invented names. Default is on; if switched off, trying to view such files will raise an error. The switch does not influence printing: unrecognized formats cannot be printed.Change viewer colours using either RGB triplets in the format #rrggbb or the standardized names.
- DVI/PostScript/PDF/HTML/Plain text
- For text files, texdoctk provides an own viewer. If
this viewer is disabled, but no alternative viewer is specified,
texdoctk tries to read the content of the environment variable
$PAGER.
If you want to print the documentations, you will need converters to turn non-PS files into PostScript. Here are some suggestions:dvi->ps: dvips (is part of teTeX) (http://www.radicaleye.com/dvips.html)pdf->ps: pdf2ps (http://www.cs.wisc.edu/~ghost) or Acrobat Reader (http://www.adobe.com)html->ps: html2ps (http://user.it.uu.se/~jan/html2ps.html)plain text->ps: a2ps (http://www-inf.enst.fr/~demaille/a2ps/)The html->ps and text->ps converter menus for switching on/off output redirect. This is due to the fact that some converters do not write their output into a file but to stdout by default, so a redirect is needed, e.g. a2ps myfile.txt >myfile.ps
The databases¶
texdoctk comes with a default database file ($TEXMFMAIN)/texdoctk/texdoctk.dat with a special format. It is divided into 17 sections corresponding to the 17 buttons that are active by default. Each section begins with a line- 0
- no specific place, scattered between the code
- 1
- at end, behind \endinput; some .sty files have well-organized documentation behind the end of the actual code, where TeX doesn't see it upon compilation
- 2
- at beginning, terminated by %%%%%%; in some other cases, some usage information is at the beginning of the .sty as a comment terminated by a line full of %
- 3
- as 2, but with a blank line as termination