Menu

#88 emaxima: literate cell outputs spurious characters

None
accepted
nobody
emaxima (2)
5
2019-04-08
2019-04-07
Fede
No

I installed maxima 5.42.2 from
https://sourceforge.net/projects/maxima/files/Maxima-Windows/5.42.2-Windows/maxima-clisp-sbcl-5.42.2-win64.exe/download
on Windows 10 with TeXLive 2018.

When I create a literate latex document with emaxima, if a referred cell is several lines long, the maxima cell output includes spurious characters. Please see the attached emaxima-lit.tex / .dvi files.

The problem is related to tabs. Referring to the attached patch. When emaxima inserts a command string in the maxima buffer it does include tabs. The region of the buffer is then processed by comint and as a side effect it replaces tabs with spaces. This results in that a previously registered position becomes incorrect.

Tha attached patch solves this problem.
Regards,
Fede

1 Attachments

Discussion

  • Gunter Königsmann

    Looks nice to me! Thanks a lot!

     
  • Gunter Königsmann

    • status: open --> accepted
    • Group: -->
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.