emacs-orgmode
[Top][All Lists]
Advanced

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

[PATCH] ob-calc: Format vector and matrix results as Org table


From: Visuwesh
Subject: [PATCH] ob-calc: Format vector and matrix results as Org table
Date: Sat, 14 Dec 2024 00:23:50 +0530
User-agent: Gnus/5.13 (Gnus v5.13)

Attached patch formats vector and matrix results from a Calc source
block as Org table.  To test, try

    #+NAME: test
    | 1 | 2 |

    #+BEGIN_SRC calc :var t=test
      2 * t
    #+END_SRC

It should return

    #+RESULTS:
    | 2 | 4 |

now.  The patch passes the old tests, and I added three new tests to
check the correctness of this conversion.

Attachment: 0001-ob-calc-Format-vector-and-matrix-results-as-Org-tabl.patch
Description: Text Data


reply via email to

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