Stefano Conti <[email protected]> writes: > I should gratefully appreciate your help with an issue which doesn't > seem to be reported elsewhere in the archives as I'm experiencing it, > and I only found partial or unreproducible advice about via Google. > > I'm running the latest TeXLive (2025), Emacs (3.24.51), auxtex
Sorry, but what is Emacs (3.24.51), is this a Zenwalk numbering? > (14.1.0) and xpdf (4.05) on my Zenwalk (current, all packages up to > date) Linux machine, and am struggling with getting Emacs to display > with xpdf a foo.pdf file generated through LaTeX compilation (C-c C-c) > of its source foo.tex. When iterating C-c C-c and choosing 'View' > upon successful foo.pdf creation, I'm presented in the Emacs > mini-buffer with the default view command: > > xpdf -remote foo -raise foo.pdf > > which leads to no outcome; typing the above syntax on bash leads to > xpdf options being displayed. > > After raising the issue on the xpdf users forum (URL: > https://forum.xpdfreader.com/viewtopic.php?p=47497#p47497), one of the > xpdf developers explained that the above syntax is incorrect -- > possibly obsolete? -- and should be replaced with the following: > > xpdf -remote foo raise 'openFile(foo.pdf)' > > which effectively works as intended. AUCTeX has this entry in `TeX-view-program-list-builtin': ("xpdf" ("xpdf -remote %s -raise %o" (mode-io-correlate " %(outpage)")) "xpdf") which seems to be the old notation. Can you please eval this form in your Emacs instance and try to view your .tex file again with C-c C-c View RET or C-c C-v: (setq TeX-view-program-list '(("xpdf" ("xpdf -remote %s 'openFile(%o)' raise" (mode-io-correlate " %(outpage)")) "xpdf"))) If that works, we should change the default entry. Best, Arash
