[Top][All Lists]

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

Re: [Texmacs-dev] Question about menus in session.

From: Corcelle
Subject: Re: [Texmacs-dev] Question about menus in session.
Date: Mon, 19 Jan 2009 17:51:07 +0100
User-agent: Thunderbird (X11/20090105)

When writing a *menu.scm file for a plugin, what command (like" \n" in bash) should I write to insert a "return to the next line" in the input field.

For example, in the tablor-menus.scm file, with the lines :
    ("Tableau standard"
(tablor-insert "\\\\begin{TV} ~ TV([-infinity, +infinity], [ ], \"f\",\"x\", x^2, 1, n, \\\\tv) ~ \\\\end{TV}"))

the entry "Tableau standard" gives :
\\\\begin{TV} ~ TV([-infinity, +infinity], [ ], \"f\",\"x\", x^2, 1, n, \\\\tv) ~ \\\\end{TV}
in the input field.
But I would prefer
    TV([-infinity, +infinity], [  ], \"f\",\"x\", x^2, 1, n, \\\\tv)
for readability reasons and to be able to add commentaries at the end of lines.

I answer myself.

     (make 'new-line)

is doing the job.


reply via email to

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