[OS X TeX] BBEdit integration scripts / interactive mode

Richard Seguin riseguin at earthlink.net
Mon Sep 29 04:31:05 CEST 2008


Maarten,

I just discovered that for some reason I was running your old Run  
pdflatex script and your old Shellscripts. So I installed the new ones  
dated in August of this year and tried those after having turned auto- 
refresh off in Skim. When I invoke Run pdflatex it compiles non-stop  
as expected and the Skim window moves to the foreground. But at this  
point nothing is updated in the Skim display, even after a long while.  
Then when I click on BBEdit to bring it to the foreground, Skim  
suddenly refreshes the display.

I did discover though that if you insert \errorstopmode in the source  
it then runs in that mode. It does have the problem of not giving you  
any obvious feedback when the compile encounters an error.

So, I'm back to running your old scripts with auto-reload turned on in  
Skim and

\errorstopmode
\synctex=1

as the first two lines of my source. This works very nicely for my  
purposes, and I'm getting an obvious visual cue when the compile  
encounters an error: Skim does not flash the "Reloading document"  
message on the screen.

Richrad Séguin

On Sep 28, 2008, at 2:46 AM, Maarten Sneep wrote:

> On 28 sep 2008, at 05:33, Richard Seguin wrote:
>
>>> Note that the full compile will run the file and go the the  
>>> indicated source of the error if an error is detected.
>
> I scan the log file for errors, and activate BBEdit with that line  
> selected.
>
>> When I run in nonstop mode, Skim reloads the PDF file without  
>> complaint even when there is an error, and if I think there may  
>> have been an error, I have to bring the terminal forward and then  
>> scroll up to find an error message.
>>
>> I might add that the latest version of Skim, which appeared a day  
>> or two ago, seems to be reloading the PDF files more quickly than  
>> the previous version.
>
> The current version of the script should only activate Skim and  
> force it to reload after a successful TeX run. I may need to revise  
> that code, but that is the intention. Reloading is done explicitly,  
> I do not rely on teh Skim auto-detection, as recommended for  
> multiple TeX runs.
>
> Maarten
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>




More information about the macostex-archives mailing list