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
    \\\\begin{TV}
    TV([-infinity, +infinity], [  ], \"f\",\"x\", x^2, 1, n, \\\\tv)
    \\\\end{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.

Emmanuël



_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to