[TxMt] compiling *plain* tex documents with postscript figures

Brad Miller bonelake at gmail.com
Tue Jan 15 13:34:01 UTC 2008


On Jan 15, 2008, at 5:54 AM, agl wrote:

>
>
> agl wrote:
>>
>>
>> Brad Miller-6 wrote:
>>>
>>>
>>> My suggestion is that you you write yourself a little script  call  
>>> it
>>> mytex that calls plain tex and then dvips / ps2pdf  If mytex is on
>>> your PATH then you can use mytex as the typesetting engine in the %!
>>> TEX directive.
>>>
>>> Brad
>>>
>>>
>>
>> Brad,
>>
>> Thanks a lot for your help! Although I am a total newbie with  
>> TextMate,
>> after some experiment I came up with the following script called  
>> "alttex",
>> which works like a charm (I'm posting it in case it may be of help to
>> someone else):
>>
>> FILE="${TM_LATEX_MASTER:-$TM_FILEPATH}"
>> etex "$FILE" && dvips -t a4 "${FILE%.tex}.dvi" && ps2pdf "$ 
>> {FILE.tex}.ps"
                                                                    ^  
missing a % here

I think that should fix it.

Brad
>>
>>
>> Thanks a lot again,
>>
>> Artemio
>>
>>
>
> Unfortunately, my previous message was wrong. What happens is that
> TextMate's "Typeset & View PDF" correctly runs the first command of my
> script (etex "$FILE") and generates the dvi file, but does NOT go on  
> running
> the next commands. So if there is already an old pdf file it shows it
> (that's what confused me), but otherwise fails. What did am I  
> missing here?
>
> Cheers,
>
> Artemio
>
> -- 
> View this message in context: http://www.nabble.com/compiling-*plain*-tex-documents-with-postscript-figures-tp14175996p14838197.html
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list