all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* expand-file-name
@ 2014-03-06 19:43 luis.finotti
  2014-03-06 22:25 ` expand-file-name Michael Heerdegen
       [not found] ` <mailman.16652.1394144739.10748.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: luis.finotti @ 2014-03-06 19:43 UTC (permalink / raw)
  To: help-gnu-emacs

Dear all,

In Emacs/AucTeX I had configured search/reverse-search in Okular (running Linux, of course) with:

(setq TeX-view-program-list '(("Okular" "okular --unique %o#src:%n%(dir)./%b")))(setq TeX-view-program-selection '((output-pdf "Okular")))

where %(dir) is defined (in custom-set-variables) as

 ("%(dir)" (lambda nil (expand-file-name default-directory)))

This used to work just fine, but now when I try to preview a file (or jump to position), the %(dir) appears unaltered, such as:

 okular --unique final_sol.pdf#src:403%(dir)./final_sol.tex

(%(dir) used to be replaced by the working directory...)

Any ideas on how to fix (or debug) this?  (I'm far from an expert...)

I'm using Emacs 24.3.1 and AucTeX 11.87, both from Debian Sid/Unstable.

Thanks,

Luis


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-10 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-06 19:43 expand-file-name luis.finotti
2014-03-06 22:25 ` expand-file-name Michael Heerdegen
     [not found] ` <mailman.16652.1394144739.10748.help-gnu-emacs@gnu.org>
2014-03-10 17:57   ` expand-file-name luis.finotti

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.