XLATEX(1) Xlatex Version 3.3c XLATEX(1) august 24, 1994 SYNTAX xlatex [Toolkit args] [control args] [document] DESCRIPTION Xlatex has been designed to simplify the use of text processing tools relatives to TeX or LaTeX. It's a main board with command buttons to initiate the work, changeable fields representing the working environment and a scrollable input/output window receiving diagnostic messages. Xlatex is NOT a new previewer nor a wysiwyg package: it's just a fast and practice commands sequencer. ARGUMENTS document absolute or relative path to the LaTeX document. The .tex suffix may or may not be specified. By default document.tex is assumed. CONTROL ARGUMENT -gfont font Generic font for the various fonts used in the design of xlatex. See font resources below. DEFAULT XLATEX WORKING ENVIRONMENT Most of these defaults may be overriden by resources specification. directory current working directory document document.tex text processor latex previewer xdvi driver dvips drawing tool xfig printer command lpr printer station defined in the PRINTER environment variable text editor defined in the EDITOR environment variable THE XLATEX WINDOW The xlatex window is divided in three parts: - command buttons - fields defining the working environment - scrollable input/output window command buttons PROCESS submit the document to the text processor - 1 - Formatted: January 15, 2025 XLATEX(1) Xlatex Version 3.3c XLATEX(1) august 24, 1994 DRAW call a drawing tool VIEW call the previewer POSTSCRIPT generate a PostScript document PRINT popup a form which allow you to specify the printing command and its optional arguments, the printer, the pages range and the number of copies. By clicking in the OK button, the dvips command is executed in pipe with the printer command. STATUS show the printer queue. EDIT invoke the text editor with the current document. If the editeurAvecXterm resource has a true value, the editor is invoked inside an xterm session. QUIT quit the application. fields defining the working environment These fields can be modified at any time. directory current working directory document current document (the .tex doesn't appear) previewer current previewer. Cliking inside popups a menu showing a list of dvi previewers (see visionneurs resource) and next a list of PostScript previewers (see visionneursPS resource). text processor current text processor drawing tool current drawing tool. editor current text editor. scrolled input/output window This window receives all the messages produced by the execution of commands submited like latex and so on. You can type messages which are send to the current executing command. Note that the ^C and ^D sequences send the SIGINT and SIGTERM respectively to the last submited text processor. - 2 - Formatted: January 15, 2025 XLATEX(1) Xlatex Version 3.3c XLATEX(1) august 24, 1994 NOTES Commands linked with buttons are executed by execv (3) or execl (3). Therefore, these commands can't be shell scripts. ACCELERATORS Available everywhere in the xlatex window, accelerators have the same effect as command buttons. Here are the relationships between accelerators and the command buttons: Meta-t PROCESS (TeX) Meta-f FIG Meta-p PRINT Meta-d DVIPS Meta-v VIEW Meta-s STATUS Meta-e EDIT Meta-q QUIT RESSOURCES Resources may figure in your X-defaults resources file, Xlatex is the application name. repertoireInitial initial directory. If not specified, it's the current working directory. It may be usefull to specify this resource if you always invoke xlatex from a menu. faconneur text processor (latex by default) visionneurs list of device-independent previewers (separated by a space or comma). A default previewer can be set by preceding its name by a wildcard character (*). visionneursPS list of PostScript previewers (separated by a space or comma). A default previewer can be set by preceding its name by a wildcard character (*). editeur text editor (issued by default from the EDITOR environment variable) pilote PostScript driver command (dvips) by default) impression Postscript printer command piped with dvips (lpr by default) - 3 - Formatted: January 15, 2025 XLATEX(1) Xlatex Version 3.3c XLATEX(1) august 24, 1994 dessin drawing command (default xfig) editeurAvecXterm If True (the default), the text editor session will be invoked under an xterm session (gnu-emacs doesn't require this). RESSOURCES EXAMPLES Xlatex.visionneurs:*xdvi, texx Xlatex.visionneursPS:ghostview, gs bitmap standard resources can be applied to command buttons : Xlatex*faconner.bitmap: xlatex.faconner Xlatex*visionner.bitmap: xlatex.visionner Xlatex*dessiner.bitmap: xlatex.dessiner Xlatex*imprimer.bitmap: xlatex.imprimer Xlatex*editer.bitmap: xlatex.editer Xlatex*statut.bitmap: xlatex.statut Xlatex*quitter.bitmap: xlatex.quitter WIDGETS TREE p.sp 0 Xlatex xlatex Form form Command editer Command dessiner Command faconner Command visionner Command postscript Command imprimer Command statut Command quitter Label repertoireLab Text repertoire Label dessinLab Text dessin Label documentLab Text document Label visionneursLab MenuButton visionneurs SimpleMenu menuVisionneurs SmeBSB xdvi SmeBSB texx SmeLine separateur SmeBSB ghostview SmeBSB gs Label faconneurLab - 4 - Formatted: January 15, 2025 XLATEX(1) Xlatex Version 3.3c XLATEX(1) august 24, 1994 Text faconneur Label editeurLab Text editeur Label piloteLab Text pilote Text interaction TransientShell popup Form form Label impressionLab Text impression Label imprimanteLab Text imprimante Toggle toutesTog Label toutesLab Toggle deTog Label deLab Text de Label aLab Text a Command ok Command annuler Label copiesLab Text copies FILES /usr/lib/X11/app-defaults/Xlatex ~/.Xdefaults BUGS When Xlatex exits, it sends SIGTERM signal to the process group of which it's the leader. However if some of these process create a new process group or session, this signal will be ineffective. AUTHOR Mario Dragone IUP Vannes (France) Send bugs and comments to: dragone@iu-vannes.fr - 5 - Formatted: January 15, 2025