[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] TeX-command view
From: |
henry atting |
Subject: |
Re: [Bug-AUCTeX] TeX-command view |
Date: |
Mon, 31 Aug 2009 20:32:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
On Mo, Aug 31 2009, Ralf Angeli wrote:
> Please keep the mailing list copied!
>
> * henry atting (2009-08-31) writes:
>
>> On Mo, Aug 31 2009, Ralf Angeli wrote:
>>
>>> * henry atting (2009-08-31) writes:
>>>
>>>> In AucTeX from CVS:
>>>>
>>>> M-x TeX-command RET Command: (default View) RET
>>>> results in
>>>> View command: evince some.pdf 1
>>>>
>>>> Then evince tries to open some.pdf *and* 1 and of course fails to load
>>>> the latter.
>>>
>>> M-x customize-variable <RET> TeX-output-view-style <RET>
>>
>> I did that already, it looks like this:
>>
>> '(TeX-output-view-style (quote (("^dvi$" ("^landscape$"
>> "^pstricks$\\|^pst-\\|^psfrag$") "%(o?)dvips -t landscape %d -o && gv
>> %f") ("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$" "%(o?)dvips %d -o && gv
>> %f") ("^dvi$" ("^\\(?:a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4\\)$"
>> "^landscape$") "%(o?)xdvi %dS -paper a4r -s 0 %d") ("^dvi$"
>> "^\\(?:a4\\(?:dutch\\|paper\\|wide\\)\\|sem-a4\\)$" "%(o?)xdvi %dS
>> -paper a4 %d") ("^dvi$" ("^\\(?:a5\\(?:comb\\|paper\\)\\)$"
>> "^landscape$") "%(o?)xdvi %dS -paper a5r -s 0 %d") ("^dvi$"
>> "^\\(?:a5\\(?:comb\\|paper\\)\\)$" "%(o?)xdvi %dS -paper a5 %d")
>> ("^dvi$" "^b5paper$" "%(o?)xdvi %dS -paper b5 %d") ("^dvi$"
>> "^letterpaper$" "%(o?)xdvi %dS -paper us %d") ("^dvi$" "^legalpaper$"
>> "%(o?)xdvi %dS -paper legal %d") ("^dvi$" "^executivepaper$" "%(o?)xdvi
>> %dS -paper 7.25x10.5in %d") ("^dvi$" "." "%(o?)xdvi %dS %d") ("^pdf$"
>> "." "evince %o %(outpage)") ("^html?$" "." "netscape %o"))))
>>
>> It works perfect with AucTeX stable, with AucTeX from CVS it behaves
>> as described.
>
> %(outpage) now returns 1 so that you can use command line options like
> -p in case of evince.
Ah, neat. Thanks!
henry
--
http://literaturlatenight.de