On 4 May 2008, at 4:03 PM, Roussanka Loukanova wrote:

> On Sun, 4 May 2008, Christiaan Hofman wrote:
>
>>>> simpdftex does not work nicely with Skim's updating mechanism,
>>>> because
>>>> it replaces the file rather than updating it. You can patch the
>>>> simpdftex script or use your own script. See e.g. 
>>>> <http://phaseportrait.blogspot.com/2007/07/skim-automatic-refreshes-and-simpdftex.html
>>>>> .
>>>
>>> I've tried it (by following the instructions), but running
>>> $simpdftexnodel.sh file.tex
>>> (in Terminal, or from Emacs) gets into a loop.
>>>
>>> Roussanka
>>>>
>>>> Christiaan
>>
>> WFM.
>
> BTW, what this abbreviation stands for?
>

Works For Me.

>> Anyway, the standard simpdftex cannot be used with Skim's auto-
>> reload. You can also write a simple script that does basically the
>> same as simpdftex, which is nothing but a script running latex +  
>> dvipdf.
>
> I've tried such:
>
> basefname=`basename "$1" .tex`
> latex "$1"
> dvipdf "${basefname}.dvi"
> /bin/rm "${basefname}.dvi"


> 1. By removing the dvi, which seems the better option:
>
> - Emacs -> Skim (C-c C-v) doesn't work. Skim seems to look for the  
> dvi.
>

That's probably because C-c C-v asks Skim to open the dvi. You should  
change the C-c C-v viewer command to call Skim with the PDF file  
rather than the DVI file. Or perhaps it works by just making sure  
you're in PDF mode, which you can do by adding (setq-default TeX-PDF- 
mode t) to your .emacs. This is more about emacs than skim.

> 2. If I keep the dvi
>
> - Emacs -> Skim (C-c C-v) works by loading the dvi in a new window.
>

same as above.

Christiaan

> Roussanka
>
>> Christiaan


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to