[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] PDF viewer: Evince
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] PDF viewer: Evince |
Date: |
Sat, 30 Jul 2011 01:39:10 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Christoph Bier <address@hidden> writes:
Hi Christoph,
>> --8<---------------cut here---------------start------------->8---
>> (eval-after-load 'tex
>> '(add-to-list 'TeX-view-program-selection '(output-pdf "xpdf")))
>> --8<---------------cut here---------------end--------------->8---
>>
>> So, I suppose you just need to replace "xpdf" by "Evince".
>
> Thanks! But no, I already have this line---with Evince---in my
> .emacs. I think I need to adjust TeX View Program List similar to
> "okular %o#src:%n%b" for Okular.
Depends on your AUCTeX version. At least the current CVS has Evince
support built in (including forward/backward search).
,----[ C-h v TeX-view-program-list-builtin RET ]
| TeX-view-program-list-builtin is a variable defined in `tex.el'.
| Its value is shown below.
|
| Documentation:
| Alist of built-in viewer specifications.
| This variable should not be changed by the user who can use
| `TeX-view-program-list' to add new viewers or overwrite the
| definition of built-in ones. The latter variable also contains a
| description of the data format.
|
| Value: (("xdvi"
| ("%(o?)xdvi"
| (mode-io-correlate " -sourceposition \"%n %b\" -editor \"%cS\"")
| ((paper-a4 paper-portrait)
| " -paper a4")
| ((paper-a4 paper-landscape)
| " -paper a4r")
| ((paper-a5 paper-portrait)
| " -paper a5")
| ((paper-a5 paper-landscape)
| " -paper a5r")
| (paper-b5 " -paper b5")
| (paper-letter " -paper us")
| (paper-legal " -paper legal")
| (paper-executive " -paper 7.25x10.5in")
| " %d"))
| ("dvips and gv" "%(o?)dvips %d -o && gv %f")
| ("gv" "gv %o")
| ("xpdf"
| ("xpdf -remote %s -raise %o"
| (mode-io-correlate " %(outpage)")))
| ("Evince"
| ("evince"
| (mode-io-correlate " -p %(outpage)")
| " %o"))
| ("Okular"
| ("okular --unique %o"
| (mode-io-correlate "#src:%n%b")))
| ("xdg-open" "xdg-open %o"))
`----
Bye,
Tassilo