auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] yacas-notebook major mode


From: David Kastrup
Subject: Re: [AUCTeX] yacas-notebook major mode
Date: Thu, 28 Dec 2006 18:27:29 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

"John P. Burkett" <address@hidden> writes:

> 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.

Uh, Jay Belanger?

> 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()
^^^^^^^^^^^^^^^^^^^^^^^^

The problem appears to be with ynb-make-temp-name and has nothing to
do with AUCTeX.

>   (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.

Ask the author of yacas-notebook.el (if that's the file name).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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