Re: Alpha & Latex question about macros

New Message Reply Date view Thread view Subject view Author view

From: Aaron Montgomery (agm@PURDUENC.EDU)
Date: 20 Jul 98, 13:19 EST


From: Aaron Montgomery <agm@PURDUENC.EDU>
Subject: Re: Alpha & Latex question about macros

>OzTeX isn't very scriptable so there is no direct way to tell it to dvips a
>file.

I have found that Alpha/CMacTeX work nicely together since every operation
(like dvips) is a separate application you can use Alpha to coordinate them
via Apple Events. One current limitation in my setup is that Distiller does
not appear to be highly scriptable (but perhaps I am wrong and just haven't
thought about it long enough). I know that there are highly scriptable FTP
programs which you might be able to run from Alpha (such as Fetch) so you
may even be able to get the uploading from within Alpha.

Aaron

 Below is a script I've written for the menu item "dvips file.dvi" in
>the Typeset menu, which uses KeyQuencer to tell OzTeX to dvips the file.
>
>I may solve a part of your problem, provided you've got KeyQuencer...
>
>set dvipsAppSignatures(OzTeX) OTEX
>
>set dvipsAppScripts(OzTeX) {{dviPsOzTeX $filename}}
>
>proc dviPsOzTeX {filename} {
>    set script "WaitApp 'OTEX'\rMenu 6 1\rWaitWindow dialog\rKey cmd \"d\"\r"
>    foreach p [split $filename :] {
>        append script "Type \"$p\"\rKey return\r"
>    }
>    append script "WaitWindow dialog\rKey return\rWaitWindow dialog\rKey
>return\r"
>    if {[file exists "[file rootname $filename].ps"]} {append script
>"Button 1\r"}
>    append script "SwitchApp 'ALFA'"
>    dosc -c 'KQen' -s $script
>}
>
>___________________________________________
>Johan Linde, mailto:jl@theophys.kth.se
>http://www.theophys.kth.se/~jl/
>
>Alphas HTML-l”ge, Alpha's HTML mode
>http://www.theophys.kth.se/~jl/Alpha.html



<finger:agm@purduenc.edu>
<mailto:agm@purduenc.edu>
<http://faculty.purduenc.edu/agm/>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:50 EST