Joachim's web pages [Home] [AlphaTcl]

tetexComm

THE INFORMATION ON THIS PAGE IS LARGELY OUTDATED.

TETEXCOMM HAS BEEN IN THE STANDARD ALPHA DISTRIBUTION FOR THE LAST THREE YEARS, AND IT HAS EVOLVED A LOT COMPARED TO THE DESCRIPTIONS GIVEN ON THIS PAGE.


 # DESCRIPTION: Alternative pipe-based interface to tetex
 # 
 # Typeset is bound to Cmd-shift-R.  Does not interfere with standard
 # Alpha functionality --- oldfashioned typeset is still Cmd-T.
 # 
 # This is an fully interactive interface to tetex, based on pipes rather
 # than simply exec: when you tex the current document you get the usual TeX
 # output rolling down line by line in an interactive TeX Console inside
 # Alpha: if there is an error you can type an answer (h, e, q, x, or the
 # name of a not-found input file, etc., which will be processed).  In
 # particular if 'e' is chosen, the error line is opened immediately in your
 # TeX source document.  (Furthermore, in this case (and in the case of
 # 'x'), in an attempt to be smart, the script preserves the previous .aux
 # file, so that in next run you don't get all those missing-refs errors you
 # usually get after an interrupted tex run.)
 # 
 # When the tex run has finished, there is support for browser-like handling
 # of errors and warnings, running bibtex or makeindex, or sending the 
 # resulting dvi or pdf to the viewer of choice.  There is a fixed keybinding
 # for each of these actions, and in addition, the most likely next action is 
 # dynamically bound to .  This next action can also be automatised
 # by setting the prefs variable 'autoView' to 'autoNextAction'.
 # 
 # Error/warning handling: the functions popup menu of the TeX Console
 # contains a list of all errors, warnings, and wrongfull hboxes, for easy
 # navigation within the log, and with the cursor positioned at any of
 # these, there is direct access to the corresponding position in the 
 # appropriate tex source file.  Alternatively, Ctrl-w gives a browser-like 
 # list of warnings (with functionality like a standard Alpha browser window).
 # 
 # Viewing: you'll want a viewer that automatically refreshes when the file 
 # changes on disk.  Currently the following viewers sport that feature:
 # 
 #    TeXShop  
 #    iTeXMac  
 #    PDFViewer  
 #    TeXniscope  
 #        
 #    xdvi --- part of Gerben Wierda's tetex distribution, but requires X11.
 #    MacDviX  
 #    OzTeX  
 # 
 # Choose which viewer you want to use in the Helper Applications Dialogue,
 # or in the TeXC Mode Prefs.

namespace eval TeX::altComm {}
 
 # You can also choose 'usingPDFViewer' as dvi viewer.  This results in 
 # calling dvips and gs, before sending the resulting pdf to the chosen
 # pdf viewer.  This solution is preferred to altpdflatex because the
 # time consuming steps of dvips and gs are only performed when the pdf
 # output is actually needed, i.e. not as long as we are correcting tex
 # errors and retypesetting.

 # TeX formats and programmes: The first line of the tex source file is
 # scanned for an instruction like %&cmdname which will then be the command
 # to call the tex engine.  If cmdname is not executable it will be
 # interpreted as a -format=cmdname instruction to tex.  See the section on
 # settings and bindings for more information.


Last updated: 2006-12-22