Skip to content

Errors using SateTeX with AUCTeX #77

Open
@TMueller83

Description

@TMueller83

I'm using sage-shell-mode-20230710.913 from MELPA together with auctex-13.2.1 on Emacs 29.1. As described in the documentation of sage-shell-mode I have put the following line in my configuration file:

(setq sage-shell-sagetex:auctex-command-name "LaTeX")

When compiling a tex-file using sage-shell-sagetex:compile-current-file I get the following error messages:

error in process filter: TeX-command-expand: Wrong type argument: listp, TeX-master-file
error in process filter: Wrong type argument: listp, TeX-master-file

When I do not set sage-shell-sagetex:auctex-command-name and instead use

;; (setq sage-shell-sagetex:auctex-command-name "LaTeX")
(setq sage-shell-sagetex:latex-command
      "pdflatex -shell-escape -interaction=nonstopmode")

then the compilation of a TeX-file with sagemath commands works fine, so I assume the problem is with the AUCTeX integration of sage-shell-mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions