Subject: mailing-list for TeXmacs Users
List archive
From : Михаил Бахтерев <address@hidden>- To: address@hidden
- Subject: Re: Creating tables, math and drawings from scheme session
- Date: Sat, 7 Nov 2020 10:48:00 +0500
Thanks! It looks like what i need.
On Thu, Nov 05, 2020 at 11:42:51PM +0100, TeXmacs wrote:
> Hi Michael,
>
> TeXmacs internally represents all documents as trees.
> The current buffer can be retrieved using
>
> (buffer-tree)
>
> You can next use the routines 'tree-ref' and 'tree-set' to
> extract subtrees and modify them. For instance, assume that
> you created a document with an empty first line and
> that you created a Scheme session just below.
> Then the buffer tree will be of the form
>
> (document
> ""
> ...your Scheme session...)
>
> You may then do
>
> (tree-set (tree-ref (buffer-tree) 0) `(strong "Hi there!"))
>
> to change the first line into a welcome greeting.
>
> I hope that this helps to get you started.
> For more info, see "The Jolly Writer", chapter 14.
>
> Best wishes, --Joris
>
- Creating tables, math and drawings from scheme session, Михаил Бахтерев, 11/05/2020
- Re: Creating tables, math and drawings from scheme session, Giovanni Piredda, 11/05/2020
- Re: Creating tables, math and drawings from scheme session, Giovanni Piredda, 11/05/2020
- Re: Creating tables, math and drawings from scheme session, TeXmacs, 11/05/2020
- Re: Creating tables, math and drawings from scheme session, Giovanni Piredda, 11/05/2020
- Re: Creating tables, math and drawings from scheme session, TeXmacs, 11/05/2020
- Re: Creating tables, math and drawings from scheme session, Михаил Бахтерев, 11/07/2020
- Re: Creating tables, math and drawings from scheme session, Михаил Бахтерев, 11/08/2020
- Re: Creating tables, math and drawings from scheme session, Giovanni Piredda, 11/07/2020
- Re: Creating tables, math and drawings from scheme session, Михаил Бахтерев, 11/07/2020
- Re: Creating tables, math and drawings from scheme session, Giovanni Piredda, 11/05/2020
Archive powered by MHonArc 2.6.19.