mailing-list for TeXmacs Users

Text archives Help


Creating tables, math and drawings from scheme session


Chronological Thread 
  • From: Михаил Бахтерев <address@hidden>
  • To: address@hidden
  • Subject: Creating tables, math and drawings from scheme session
  • Date: Thu, 5 Nov 2020 23:38:19 +0500

Greetings!

First of all i would like to thank TeXMacs developers heartily
for the great software.

My question is following.

I would like to generate interactively (in notepad manner) some
math, tables and drawings during some not such a big data
analysis. I've managed to generate expression trees and
drawings, for instance, like this

(define (frac x)
(insert `(with "mode" "math" (frac "a" ,x))))

But i cannot put this structure into the document correctly. As
far, as i understand, insert procedure inserts an object at the
cursor position. But the cursor position is right at the next
Scheme] prompt. So the formulae or the drawing are putted, where
next expression should be entered, not at the document itself,
or at the usual position for the result of expression
evaluation.

Scheme] 1
1 ; i mean here

Could this behaviour be changed somehow? Is there any way to
place generated construction at the result position (which would
be ideal) or at the document somewhere?

- Michael Bakhterev, respectfully



Archive powered by MHonArc 2.6.19.

Top of page