help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

expand-file-name


From: luis . finotti
Subject: expand-file-name
Date: Thu, 6 Mar 2014 11:43:17 -0800 (PST)
User-agent: G2/1.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]