bugGNU TeXmacs - Bugs: bug #62488, Typographical issues with the...


You are not allowed to post comments on this tracker with your current authentication level.

bug #62488: Typographical issues with the Maxima-plugin returning integral expressions in mathematical output

Submitter:  Tilda A. Steiner <tilda>
Submitted:  Wed 18 May 2022 05:02:38 PM UTC
Category:  Plugins Priority:  5 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release: 

Wed 18 May 2022 05:02:38 PM UTC, original submission:  

There has been a discussion on (http://forum.texmacs.cn/t/typographical-issues-with-the-maxima-plugin-returning-integral-expressions-in-mathematical-output/937/11) on the flawed mathematical output of integral expressions returned by the Maxima-plugin.

Firstly, the spacing before the d and the variable x that the Maxima-plugin generates by default is much too large (See attachment 1 -- image_01.png) As defined in lines 111 and 116 of texmacs-maxima.lisp the LaTeX instructions \; translate into 0.27em horizontal space. Modifying these lines to

(append l `("\\int {" ,@s1 "}{\\,\\mathd\\hspace{0.05em}" ,@var "}\\big.") r))

    (append l `("\\int_{" ,@low "}^{" ,@hi "}{" ,@s1 "\\,\\mathd\\hspace{0.05em}" ,@var "}\\big.") r)

produces visually more pleasing results, as can be seen in attachment 2 -- image_02.png.

However this does not really solve the problem, as secondly, the plugin inserts multiplication signs after sin(x) and after the d. (See attachment 3 -- image_03.png)  The one before d is okay, but the one after is not only unnecessary but it also prevents reusing this output.  If you try to copy and paste the lhs of the equation in image_03.png into a Maximima input line you get the results as shown in attachment 4 -- image_04. 

Tilda A. Steiner <tilda>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #53223:  image_01.png added by tilda (6KiB - image/png)
file #53224:  image_02.png added by tilda (2KiB - image/png)
file #53225:  image_03.png added by tilda (8KiB - image/png)
file #53226:  image_04.png added by tilda (2KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by tilda (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-18 tilda Attached File- Added image_01.png, #53223
        Attached File- Added image_02.png, #53224
        Attached File- Added image_03.png, #53225
        Attached File- Added image_04.png, #53226

    Back to the top

    Powered by Savane 3.13.
    Corresponding source code