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?

> 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.

2. If I keep the dvi

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

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