Package: maxima-emacs
Version: 5.44.0-2
Severity: normal
Hello.
To get imaxima to work in debian testing I had to make the following
changes in imaxima.el:
1) cl-lib -> cl
L83 (require 'cl-lib) -> (require 'cl)
L177 (cl-remove-if-not ... -> (remove-if-not ...
2) Update the piece of TeX `mylatex.ltx' L472
(defconst imaxima-mylatex
"\\makeatletter
\\let\\MYLATEXdocument\\document
\\let\\MYLATEXopenout\\openout
\\ifx\\@execute@begin@hook\\@undefined
\\else
\\let\\MYLATEX@execute@begin@hook\\@execute@begin@hook
\\def\\@execute@begin@hook#1{}%
\\fi
\\def\\document{\\endgroup
{\\setbox\\z@\\hbox{%
$$% math (not bold, some setups don't have \\boldmath)
\\normalfont% normal
{\\ifx\\large\\@undefined\\else\\large\\fi % large and footnote
\\ifx\\footnotesize\\@undefined\\else\\footnotesize\\fi}%
{\\bfseries\\itshape}% bold and bold italic
{\\itshape}% italic
\\ttfamily% monospace
\\sffamily% sans serif
}}%
\\let\\document\\MYLATEXdocument
\\let\\openout\\MYLATEXopenout
\\let\\@execute@begin@hook\\MYLATEX@execute@begin@hook
\\makeatother
\\everyjob\\expandafter{\\the\\everyjob
\\begingroup
\\listfiles
\\expandafter\\MYLATEXcustomised\\@dofilelist
\\endgroup}%
\\@addtofilelist{.}%
\\catcode`\\\\=13\\relax%
\\catcode`\\#=12\\relax%
\\catcode`\\ =9\\relax%
\\dump}
\\def\\openout#1 {%
\\g@addto@macro\\MYLATEXopens{\\immediate\\openout#1 }}
\\let\\MYLATEXopens\\@empty
\\def\\MYLATEXbegin{\\begin{document}}
\\def\\MYLATEXcomment{mylatex}
\\def\\MYLATEXcustomised#1#2#3\\typeout#4{%
\\typeout{CUSTOMISED FORMAT. Preloaded files:^^J%
\\@spaces\\@spaces.}#3}
{\\catcode`\\^^M=\\active%
\\catcode`\\/=0 %
/catcode`\\\\=13 %
/gdef\\{/catcode`/\\=0 /catcode`/^^M=13 /catcode`/%=9 ^^M}%
/long/gdef^^M#1^^M{%
/def/MYLATEXline{#1}%
/ifx/MYLATEXline/MYLATEXcomment%
/let/MYLATEXbegin/relax%
/let/MYLATEXline/relax%
/fi%
/ifx/MYLATEXline/MYLATEXbegin%
/catcode`/^^M=5/relax%
/let^^M/par%
/catcode`/#=6/relax%
/catcode`/%=14/relax%
/catcode`/ =10/relax%
/expandafter/MYLATEXopens/expandafter/MYLATEXbegin%
/else%
/expandafter^^M%
/fi}}%
\\expandafter\\input\\endinput%"
"TeX code for dumping a format file.")
Regards,
Jesús.