auctex-devel
[Top][All Lists]
Advanced

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

"Wrong type argument: number-or-marker-p, nil" error when compiling/view


From: Artemio González López
Subject: "Wrong type argument: number-or-marker-p, nil" error when compiling/viewing docs with AucTeX 13
Date: Mon, 1 Feb 2021 22:24:32 +0100

I am having a lot of trouble using AucTeX with Emacs (build 1, arm-apple-darwin20.1.0, NS appkit-2022.10 Version 11.0.1 (Build 20B29)) after the upgrade from version 12.3 to 13. More specifically, when I try to compile (C-c C-c) or view (C-c C-v) a document I get the error

Wrong type argument: number-or-marker-p, nil

The debugger information is as follows:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  TeX-active-master-with-quotes("pdf" t)
  (lambda nil (TeX-active-master-with-quotes (TeX-output-extension) t))()
  apply((lambda nil (TeX-active-master-with-quotes (TeX-output-extension) t)) nil)
  TeX-command-expand("%V")
  TeX-command("View" TeX-master-file nil)
  TeX-command-master(nil)
  funcall-interactively(TeX-command-master nil)
  call-interactively(TeX-command-master nil nil)
  command-execute(TeX-command-master)

In case the problem might have to do with something in my .emacs, here are the AucTeX-related custom-set variables:

'(LaTeX-electric-left-right-brace t)
 '(LaTeX-equation-label "")
 '(LaTeX-figure-label "fig.")
 '(LaTeX-section-label
   (quote
    (("part" . "part.")
     ("chapter" . "chap.")
     ("section" . "sec.")
     ("subsection" . "ssec.")
     ("subsubsection" . "sssec."))))
 '(TeX-bar-LaTeX-buttons
   (quote
    (new-file open-file dired kill-buffer save-buffer undo cut copy paste latex next-error view bibtex spell latex-symbols-experimental nil)))
 '(TeX-bar-TeX-buttons
   (quote
    (new-file open-file dired kill-buffer save-buffer undo cut copy paste tex next-error view bibtex spell nil)))
 '(TeX-electric-math (quote ("$" . "$")))
 '(TeX-save-query nil)
 '(TeX-source-correlate-mode t)
 '(TeX-view-program-selection
   (quote
    ((output-dvi "Skim")
     (output-pdf "displayline")
     (output-html "open"))))

I would appreciate any suggestion as to how avoid this problem, which in practice makes AucTeX 13 unusable for me.

Thanks in advance,


Artemio Gonzalez Lopez
artemiog@mac.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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