TEXEDIT for variuos editors

Y&Y, Inc. support@YandY.com
Fri, 10 Mar 2000 07:33:30 -0500


At 11:33 AM 3/10/2000 +0000, Sebastian Rahtz wrote:

>any more offers for this? anyone want to contribute some Unix ones?
>
>Y&Y, whats your version?
>
>sebastian

Not sure what this is about, but here is the info on TEXEDIT settings
and forward/inverse search that we put out (I don't know if its relevant,
but our "environment variables" are in dviwindo.ini rather than legacy
DOS env vars (although, if nothing is specified, in the .ini file then it will
look for DOS env vars also).

Regards, Berthold

==================================================================
     Linking from DVIWindo back to the editor     (file: editlink.txt)
==================================================================

Editors that provide DDE support (such as PFE, WinEDT, UltraEdit and Epsilon)
can be controlled using an `inverse search' mechanism from the DVIWindo
preview back to the TeX source file.  Once set up, you can double click on
text in the preview and have the editor show the corresponding source file
with the cursor positioned appropriately.

(1) For LaTeX 2e, add \usepackage[active]{srcltx}.
     For plain TeX, add \input srctex.sty instead.

(2) Add a suitable definition for the environment variable `EditorDDE'
     (see list below).  You can do this from DVIWindo using
     `Preferences > Environment' (or by editing dviwindo.ini).

(3) Make sure that the environment variable TEXEDIT is set up correctly
     (see list below) --- this is needed to launch the editor in the
     situation where it is *not* already running.

The `EditorDDE' line contains a set of semicolon separated items.  The first
two are the DDE `Application' and `Topic.' These are followed by one or more
command strings for the DDE server (All but the last are executed
synchronously. The last (or only) command string is executed asynchronously).

In these strings, %s is replaced with the source file name and %d is replaced
with the line number (Similarly, %l and %a are replaced by the log file name
and the auxiliary file name).  Since `;' is a string separator in this
context, you need to use `%;' to get a semicolon.

Installation of Y&Y TeX System 2.1 sets up EditorDDE and TEXEDIT for PFE.

Examples:

(1) PFE32 (Alan Philips)        http://www.lancs.ac.uk/people/cpaap/pfe/

EditorDDE=PFE32;Editor;[FileOpen(%s)];[EditGotoLine(%d,0)];[ComeToForeground()]
TEXEDIT=c:\yandy\pfe\pfe32.exe /g %d %s

(2) WinEDT (Aleksander Simonic) http://home.istar.ca/~winedt/

EditorDDE=WinEdt;DDEServer;[Open('%s')%;SelLine(%d,8);SetFocus('')]
TEXEDIT="c:\Program Files\WinEdt\WinEdt.exe" [Open('%s');SelLine(%d,8)]

(3) UltraEdit (IDM)             http://www.idmcomp.com/

EditorDDE=UltraEdit;System;[open("%s"/%d)]
TEXEDIT="c:\Program Files\ultraedt\uedit32.exe" %s/%d

(4) Epsilon (Lugaru)            http://www.lugaru.com/

EditorDDE=Epsilon;Open;+%d %s
TEXEDIT="c:\Program Files\eps90\bin\e32.exe" +%d %s


NOTES:
======

....

=================================================================
Y&Y, Inc. USA  (978) 371-3286  mailto:support@YandY.com http://www.YandY.com
=================================================================

--
Berthold K.P. Horn mailto:bkph@ai.mit.edu http://www.ai.mit.edu/people/bkph 
(LT)