Richard Stanton <[email protected]> writes:
Hi Richard,
> (defun skim-make-url () (concat
> (TeX-current-line)
> " \""
> (expand-file-name (funcall file (TeX-output-extension)
> t)
> (file-name-directory
> (TeX-master-file)))
> "\" \""
> (buffer-file-name)
> "\""))
>
> I get an error message about (void-variable file). I've been happily
> using the same AUCTeX set-up for many years now, so I assume something
> has changed in AUCTeX.
You are right, see (info "(auctex) Changes"). I think the following
definition should work in auctex 13:
--8<---------------cut here---------------start------------->8---
(defun skim-make-url ()
(concat
(TeX-current-line)
" \""
(expand-file-name (TeX-active-master (TeX-output-extension) t)
(file-name-directory (TeX-master-file)))
"\" \"" (TeX-active-master t) "\""))
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex