auctex
[Top][All Lists]
Advanced

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

Re: Wrong type argument: symbolp, when inserting equation reftex-label


From: Arash Esbati
Subject: Re: Wrong type argument: symbolp, when inserting equation reftex-label
Date: Mon, 13 Nov 2023 20:13:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Jose Maria Martin Olalla <olalla@us.es> writes:

> I am using emacs GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+
> Version 3.24.37, cairo version 1.16.0) on Debian 12 with AucTeX to
> edit LaTeX2e documents.

Which version of AUCTeX are you using, and how did you install it?

> If the variable master-file is not set, ie when the file is the
> master-file, then upon inserting an equation C-c C-e the reftex mode
> correctly inserts the appropriate label \label{eq:NUM}.
>
> However, if the master-file variable is set the following message
> appears
>
> LaTeX-label: Wrong type argument: symbolp, #[128 " \"" [apply
> reftex-label reftex-label nil] 4 nil (advice-eval-interactive-spec
> (cadr (interactive-form 'reftex-label)))]

Can you come up with a recipe to reproduce this issue starting with
emacs -Q?  So something like:

  • emacs -Q
  • eval in scratch:
    (progn
      (package-initialize t)
      (package-activate 'auctex))
  • Open a .tex file with TeX-master in local variables
  • M-x reftex-mode RET
  • M-x toggle-debug-on-error
  • C-c C-e equation RET

And the see what happens.

Best, Arash



reply via email to

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