Phil --

        Because you're using Vim and Skim and using latex->ps->pdf (rather than 
pdflatex), you should take a look at these:

http://phaseportrait.blogspot.com/search/label/MacVim

http://phaseportrait.blogspot.com/search/label/Skim/

In particular, check out:

"Skim automatic refreshes and simpdftex"
http://phaseportrait.blogspot.com/2007/07/skim-automatic-refreshes-and-simpdftex.html

The modified "simpdftexnodel" will do the tex->dvi->ps->pdf cycle you 
like while also making sure that it doesn't ever delete the PDF (causing 
trouble with Skim refreshing).

        Finally (off-topic), wrap all of your latex commands with vimlatex, 
described here:

http://phaseportrait.blogspot.com/2008/03/fixing-vim-latex-compiler-error.html

The latex errors will be sanitized so that Vim's compiler error support 
won't get confused by them. This applies to whether you're using 
Vim-LaTeX or not. The problem is with Vim, not with Vim-LaTeX.

        I hope that helps. I use Vim+Skim and build to DVI before converting to 
PDF (so I can use PSTricks). I don't have any problems with Skim/Vim.

        --Ted (Anna's ECE friend, over in Caldwell)

Phil Schniter wrote:
> thanks for your reply.  the problem appears inconsistently, but
> here is how i can get it to occur.  in a terminal window, i type
>  "open -a skim test.ps"
> i then type
>  "dvips -o test.ps test"
> skim prompts me, i reply "auto", and compiles to .pdf once.
> then, after repeating
>  "dvips -o test.ps test"
> several times, sometimes skim compiles the file to .pdf once,
> but other times twice.
> 
> (typically i invoke latex and dvips from within vim, but the above
> problem occurs even when i invoke dvips from the command line.)
> 
> i've read through the wiki but don't see anything applicable
> to my problem.
> 
> thanks,
> phil
> 
>> How are you running latex? Is latex running twice? If it is, there is  
>> no way to work around that other than reloading Skim yourself rather  
>> than having Skim track the changes. You could include that in a script  
>> that runs latex and then revert Skim. Please read the Wiki first.
>>
>> Christiaan
>>
>> On 4 Mar 2008, at 4:32 PM, Phil Schniter wrote:
>>
>>> hi,
>>>
>>> i'm a new Skim user (mac 10.5.2, skim 1.0.3) and am observing what
>>> seems to be a strange behavior.  when i recompile a latex document
>>> to .pdf, Skim reload the pdf file *twice*.  similarly, when i  
>>> recompile
>>> a latex document to .ps, skim converts the .ps to .pdf, reloads the
>>> .pdf, then reconverts the .ps to .pdf again, and reloads the .pdf  
>>> again!
>>> this is very inefficient and i'd like to find a way around it.
>>> (i'm not using PDFSync at the moment.)
>>>
>>> thanks,
>>> phil
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Skim-app-users mailing list
> Skim-app-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/skim-app-users
> 

-- 
Ted Pavlic <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to