BTW, which emacs do you use, i.e. with which emacs the script 
simpdftexnodel.sh works for you?

Roussanka

On Sun, 4 May 2008, Christiaan Hofman wrote:

> These are all more questions for an emacs list.
>
> Christiaan
>
> On 4 May 2008, at 7:12 PM, Roussanka Loukanova wrote:
>
>> On Sun, 4 May 2008, Christiaan Hofman wrote:
>>
>>>>>> 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.
>>
>> This puzzles me: why it doesn't on my computer.
>>
>>>>> 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.
>>
>> I had and have the PDF mode set as the default, with this statement
>> in my
>> .emacs, and do not change it while typesetting from emacs. This
>> puzzles me
>> even more, because clearly, when typesetting with the name I gave to
>> the
>> above script in AUCTex, C-c C-v looks for the dvi. May be I have
>> something
>> wrong in the AUCTeX, if you can say something about it:
>>
>>             INS
>> INS DEL Name: ldvipdf
>>             Command: ldvipdf.sh  "%t"
>>             How: Value Menu TeX-run-TeX
>>             Create a process for NAME using COMMAND to format FILE
>> with
>> TeX.
>>             Prompt: Toggle  off (nil)
>>             Modes: Value Menu Set:
>>             [ ] Plain TeX
>>             [X] LaTeX
>>             [X] DocTeX
>>             [ ] ConTeXt
>>             [ ] Texinfo
>>             [ ] AmSTeX
>>             Menu elements:
>>             INS
>>
>> 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