From: Daniel V. <dan...@ya...> - 2024-10-17 09:21:13
|
Hi Eric, Thank you for your help. I changed the comment-out as you indicated. Now I am able to run the package.I am using qm-examples-1.wxm and I compare it with the original qm-examples-1.wxmx for reference. I get the following output: k: ket([a]); => ket([a]) b: bra([b]); => bra([b])b . k; => braket(bra([b]),ket([a])) Not at all like the original: k: ket([a]); => |[a]> b: bra([b]); => <[b]| b . k; => kron_delta(a,b) What am I missing? Is it possible this depends on the commented-out packages? Daniel Volinski En miércoles, 16 de octubre de 2024, 16:54:35 GMT+3, ehm <eri...@gm...> escribió: Hi Daniel, On Wed, 2024-10-16 at 06:44 +0000, Daniel Volinski via Maxima-discuss wrote: > But now the problem remains: > > load("qm-index-html.lisp"); > While evaluating the form starting at line 5, column 0 > of #P"D:/USERS/wxMaxima/qm-maxima/docs/qm-index-html.lisp":; > ; compilation unit aborted > ; caught 1 fatal ERROR condition > loadfile: failed to load D:/USERS/wxMaxima/qm-maxima/docs/qm-index- > html.lisp This might be related to recent changes in Maxima regarding loading of multiple index files. We developed a package template for third-party packages (https://github.com/QMeqGR/PKG-maxima). Some changes were made to core Maxima to be able to deal with multiple index doc files. These changes are in the current development branch, but not in the last release 5.47. (The 5.48 release is currently being assembled but I don't know when that will be completed.) Until then you could clone the Maxima repo from SourceForge and build Maxima to get the functionality, or just use the PDF and text-based docs available through the "?" and "??" functions. The easiest thing to do is just comment out the loading of the index files like you have below, but the way it is done is not quite correct. > I also commented out the loading of documentation in "qm.mac", like > this: > /* load the documentation */ > ;; load("qm-index.lisp")$ > ;; load("qm-index-html.lisp")$ To comment out code in a .mac file use the C-style /* ... */ delimiters. The Lispy ";;" comments won't work in a .mac file because ";" means 'end of input' to the Maxima parser. Let me know how it goes. -Eric _______________________________________________ Maxima-discuss mailing list Max...@li... https://lists.sourceforge.net/lists/listinfo/maxima-discuss |