xTeX Shell

The present program is a simple TeX interface for the X Window System based on "wish", respectively Tcl/Tk.
  1. Getting xTeX Shell

    The current version xtexsh-1.4-2 can be downloaded from

    There are tar.gz, noarch.rpm versions available. All rpms are signed with my DSS key.

    Note however, that the program itself is a script, i.e, a plain text file which is interpreted by wish. Hence it is independent of the platform you are using (as long as it is some flavor of Unix).

  2. Installation

    xTeX Shell requires that you have Tcl7.6/Tk4.2 installed on your computer. In particular, it needs wish (if which wish finds something, you are in business). You can either install the rpm version or follow the instructions below.
    • Untar the file (tar -xzf xtexsh.tar.gz). This results in a directory xtexsh containing five files:
      README......... text version of this document
      LICENSE........ the GNU GPL
      index.html..... the present file
      xtexsh.png..... icon for xtexsh
      xtexsh.1.gz....... manual page for xtexsh
      xtexsh.desktop.. desktop file for use with KDE or Gnome
      xtexsh......... the main tk script
      Check that xtexsh is executable (otherwise use chmod +x xtexsh) and make sure the path to wish in the first line of the script is correct (use which wish to find the proper path).
    • Now it can be invoked from the command line using
      xtexsh [file.tex]
    • You might want to move xtexsh to a directory in your search PATH (e.g., mv xtexsh /usr/local/bin/) and the manual page to its proper location (mv xtexsh.1.gz /usr/local/man/man1/).
    For more information choose help from the menu within xtexsh.
  3. License

    Copyright (C) 1997 Gerald Teschl

    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    Please see the included file LICENSE for a copy of the GNU General Public License. If this file is missing, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

  4. Credits

    Thanks to Jan-Åke Larsson, who contributed the automatic retexing option.
Have fun,
Gerald Teschl