ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: [AUCTeX] PDF viewer: Evince
       [not found]     ` <878vrg4py9.fsf@thinkpad.tsdh.de>
@ 2011-07-30  1:46       ` Alasdair McAndrew
  0 siblings, 0 replies; only message in thread
From: Alasdair McAndrew @ 2011-07-30  1:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2600 bytes --]

I'm using auctex within Emacs, and my .emacs includes:

'(TeX-command-list (quote (

... lots of other TeX-related commands...

("Evince" "evince %s.pdf" TeX-run-background nil (context-mode)))))

-Alasdair




On Sat, Jul 30, 2011 at 9:39 AM, Tassilo Horn <tassilo@member.fsf.org>wrote:

> Christoph Bier <christoph.bier@web.de> 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
>
>
> _______________________________________________
> auctex mailing list
> auctex@gnu.org
> https://lists.gnu.org/mailman/listinfo/auctex
>



-- 
Blog: http://amca01.wordpress.com
Web:  http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew

[-- Attachment #1.2: Type: text/html, Size: 3989 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-30  1:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <j0umrd$kju$1@dough.gmane.org>
     [not found] ` <87oc0d3t1o.fsf@micropit.couberia.bzh>
     [not found]   ` <j0uqud$i5u$1@dough.gmane.org>
     [not found]     ` <878vrg4py9.fsf@thinkpad.tsdh.de>
2011-07-30  1:46       ` [AUCTeX] PDF viewer: Evince Alasdair McAndrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).