auctex
[Top][All Lists]
Advanced

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

[AUCTeX] yacas-notebook major mode


From: John P. Burkett
Subject: [AUCTeX] yacas-notebook major mode
Date: Wed, 27 Dec 2006 19:11:25 -0500
User-agent: Thunderbird 1.5.0.8 (X11/20061111)

Dear AUCTeX developers and users:

Yacas-notebook, according to the documentation written by Jay Belanger,
is "an extension of the LaTeX mode provided by AUCTeX."  Thus I hope
this list is an appropriate place to inquire about a problem with
Yacas-notebook.  If not, suggestions for alternative lines of inquiry
are welcome.

Under Gentoo Linux, I am using Emacs 21.4.1 and AUCTeX 11.83.  In Emacs
I have written a .tex file with the following preamble:
%-*-Yacas-Notebook-*-
\documentclass{article}
\usepackage{yacas-notebook}

The file is composed mainly of LaTeX code but contains special cells
within which appear Yacas code.  LaTeX typesets the document correctly
and Yacas derives the expected output.  No problem occurs until I try to
assemble the Yacas code and write it to a separate file.  I have tried
to do this with the "squaresum" example provided on pp. 4-5 of
Belanager's "Yacas-Notebook" manual (2001).  Putting the cursor in the
base or root cell of the Yacas code and typing C-u C-c @ should assemble
the Yacas input code and write it to a file called squaresum.  (This
works perfectly with EMaxima.) Instead, I get the following error message:
Debugger entered--Lisp error: (wrong-type-argument sequencep 1)
  concat("#mz33996nv-" 1 ".mu")
  ynb-make-temp-name()
  (setq cell-buffer (ynb-make-temp-name))
  (let ((home-buffer ...) files parts file part ref-count cell-key
cell-buffer tmp-alist tmp-buffer) (if (not ...) (error "Not in a cell"))
(if (not ...) (error "Cell contains no references")) (save-excursion
(goto-char ...) (forward-line -1) (if ... ...) (setq ynb-error-point
...) (if ynb-abbreviations-allowed ...) (setq file ...) (if ... ...) (if
ynb-abbreviations-allowed ...) (setq part ...) (if ... ...)) (setq
cell-key (concat file ":")) (if (not ...) (setq cell-key ...)) (message
"Assembling `%s' ..." cell-key) (setq cell-buffer (ynb-make-temp-name))
(setq ynb-buffer-alist (list ...)) (unwind-protect (save-excursion ...
... ... ... ... ...) (setq tmp-alist ynb-buffer-alist) (while ... ...
...)) (message "`%s' assembled in file `%s%s'" cell-key ynb-temp-dir
cell-buffer) (concat ynb-temp-dir cell-buffer))
  ynb-assemble-cell()
  (if arg (ynb-assemble-cell) (ynb-assemble-package))
  ynb-assemble((4))
  call-interactively(ynb-assemble)

I would be most grateful for suggestions about how to correct this problem.

-John




reply via email to

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