xtem(l)

NAME
xtem - TeX menu for the X Window System

SYNTAX
xtem [ -l language ] [ texfilename[.suffix] ]

DESCRIPTION
xtem is an X11 program that makes it easy to use TeX (incl. editing, previewing, printer selection, printing, spell checking etc.) with a minimum of unix knowledge and no knowledge of the specific installation.

Syntax help to the LaTeX commands (including complete examples) are presented during editing.

xtem runs on workstations (and X-terminals) running the X Window System and Tcl/Tk.

The user may easily select and save his preferences (such as editor, previewer etc.).

DOCUMENTATION
Besides this manual page there exists an introductional description (a postscript file which may be copied from the SOURCE given below). For the implementator a README is included in the xtem package. The most important documentation is the online documentation, which is given in the form of context sensitive helps.

OPTIONS

-l language
    Where language is the language which is used in xtem (buttons, help texts etc.). At the moment the following languages are available: English and German, i.e. language may get one of the values: english, german or deutsch (=german). The default value depends on the local implementation.

FONTS
Font settings are first taken from file .../xtem/locals_language/install.vst (or from the file specified by the environment variable XTEMINSTALL).

After this .Xdefaults (or any other file specified by the environment variable XTEMXDEFAULTS) is scanned for xtem font specifications. By this some or all fonts specified in /install.vst can be overwritten.

In the following we give examples for font specifications in .Xdefaults (for details see the "xtem Installation and Maintenance Guide" and the unix program xfontsel for a lookup for fonts installed at your platform):

xtem*font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1
xtem*Text.font: -*-lucidatypewriter-medium-r-normal-sans-17-*-100-100-m-*-iso8859-1
xtem*font.error.font: -adobe-courier-bold-r-normal--*-120-*-*-*-*-*-*
xtem*Listbox.font: -adobe-courier-medium-r-normal--*-120-*-*-*-*-iso8859-1
xtem.printpresel*Listbox.font: -adobe-courier-medium-r-normal--*-120-*-*-*-*-iso8859-1
xtem.printpresel*Radiobutton.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1
xtem.printpresel*selected.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1
xtem*font.errortag.font: -*-lucidatypewriter-medium-r-normal-sans-14-*-100-100-m-*-iso8859-1
xtem.erroredit*Text.font: -*-lucidatypewriter-medium-r-normal-sans-17-*-100-100-m-*-iso8859-1
xtem.syntaxhelp.normal.font: -*-new century schoolbook-medium-r-normal-*-120-*-*-*-*-iso8859-1
xtem.syntaxhelp.tag.font: -*-new century schoolbook-medium-r-normal-*-120-*-*-*-*-iso8859-1
xtem.syntaxhelp.bold.font: -*-new century schoolbook-bold-r-normal-*-120-*-*-*-*-iso8859-1
xtem.syntaxhelp.boldlrge.font: -*-new century schoolbook-bold-r-normal-*-140-*-*-*-*-iso8859-1
xtem.syntaxhelp.teletype.font: -*-lucidatypewriter-medium-r-normal-sans-17-*-100-100-m-*-iso8859-1
xtem.syntaxhelp.telelrge.font: -*-lucidatypewriter-medium-r-normal-sans-20-*-100-100-m-*-iso8859-1
xtem.syntaxhelp.telesmll.font: -*-lucidatypewriter-medium-r-normal-sans-14-*-100-100-m-*-iso8859-1
xtem.syntaxhelp.italic.font: -*-new century schoolbook-medium-i-normal-*-120-*-*-*-*-iso8859-1 or - if you have excellent eyes and a small screen:

xtem*font: -adobe-helvetica-bold-r-normal--*-80-*-*-*-*-iso8859-1
xtem*Text.font: -*-lucidatypewriter-medium-r-normal-sans-11-*-100-100-m-*-iso8859-1
xtem*font.error.font: -adobe-courier-bold-r-normal--*-80-*-*-*-*-*-*
xtem*Listbox.font: -adobe-courier-medium-r-normal--*-80-*-*-*-*-iso8859-1
xtem.printpresel*Listbox.font: -adobe-courier-medium-r-normal--*-80-*-*-*-*-iso8859-1
xtem.printpresel*Radiobutton.font: -adobe-helvetica-bold-r-normal--*-80-*-*-*-*-iso8859-1
xtem.printpresel*selected.font: -adobe-helvetica-bold-r-normal--*-80-*-*-*-*-iso8859-1
xtem*font.errortag.font: -*-lucidatypewriter-medium-r-normal-sans-11-*-100-100-m-*-iso8859-1
xtem.erroredit*Text.font: -*-lucidatypewriter-medium-r-normal-sans-11-*-100-100-m-*-iso8859-1
xtem.syntaxhelp.normal.font: -*-new century schoolbook-medium-r-normal-*-100-*-*-*-*-iso8859-1
xtem.syntaxhelp.tag.font: -*-new century schoolbook-medium-r-normal-*-100-*-*-*-*-iso8859-1
xtem.syntaxhelp.bold.font: -*-new century schoolbook-bold-r-normal-*-100-*-*-*-*-iso8859-1
xtem.syntaxhelp.boldlrge.font: -*-new century schoolbook-bold-r-normal-*-120-*-*-*-*-iso8859-1
xtem.syntaxhelp.teletype.font: -*-lucidatypewriter-medium-r-normal-sans-14-*-100-100-m-*-iso8859-1
xtem.syntaxhelp.telelrge.font: -*-lucidatypewriter-medium-r-normal-sans-17-*-100-100-m-*-iso8859-1
xtem.syntaxhelp.telesmll.font: -*-lucidatypewriter-medium-r-normal-sans-11-*-100-100-m-*-iso8859-1
xtem.syntaxhelp.italic.font: -*-new century schoolbook-medium-i-normal-*-100-*-*-*-*-iso8859-1 In a similar way you can set colors:

xtem*background: black
xtem*foreground: white
xtem*activeBackground: green
xtem*activeForeground: sienna
xtem*disabledForeground: yellow
xtem*highlightColor: red
xtem*highlightBackground: DarkGreen
xtem*insertBackground: MidnightBlue
xtem*selectBackground: azure
xtem*selectColor: cyan
xtem*selectForeground: blue
xtem*troughColor: magenta
xtem.erroredit.error.background: green
xtem.erroredit.error.foreground: yellow Yet we doubt that you like these odd settings --- they are for demonstration of the effects only. And these setting are not used for a second call of xtem (in parallel to an existing xtem menu); for such parallel existing menus you have (at the moment) to add additional sets using xtem1, xtem2, ... instead of xtem.

ENVIRONMENTS

HOME
    this environment variable, specifying the home directory, must be specified for xtem.

XTEMVSTDIR
    by this environment variable a directory can be specified which is scanned for setting files to override the local installation common setting files.

XTEMINSTALL
    by this environment variable a file may be specified which overrides the local installation specific file install.vst

XTEMXDEFAULTS
    by this environment variable an alternative file to .Xdefaults can be specified which is scanned for the xtem font settings.

XTEMPATH
    by this environment variable a directory may be specified which overrides the local installation path for the xtem installation. The default value is set in the shell script xtem.

XTEMDEFLANG
    by this environment variable you can specifiy a defalut language which overrides the local installation default language.

FILES

$HOME/.xtem_language.vst
    the user's common preferences.

./texfilename_language.vst
    the user's preferences related to a specific .tex or .ltx file.

./.lastxtem
    if present, from this file the default texfilename name is extracted.

.../xtem/*/*/*
    xtem programs, setting files, help files etc.

SOURCES
xtem may be copied by anonymous ftp from the CTAN servers in directory pub/tex/support/xtem_texmenu

AUTHORS
Guenther Lamprecht, Wolfhard Lotz, Roland Weibezahn
e-mail: Roland.Weibezahn@web.de