

But for that I need to write something in scheme. Please let me know if you need more details on any of the points. Which links to the module (I think that here the TeXmacs Scheme developer guide could help you as well).

#INSERT A TABLE IN TEXMACS HOW TO#
For this I write the Scheme file as a TeXmacs module (please see the TeXmacs Scheme developer guide at to see how to write the texmacs-module form which you need at the beginning of your Scheme file), then I use a package file in a plugin, which contains the line They worked in the test I did now, although the cursor does not stay inside the table after insertion.įinally you need to let TeXmacs know that the Scheme file exists. ("Insert table from cvs file" (insert '(tabular (tformat (table (row (cell "") (cell "") (cell "")) (row (cell "") (cell "") (cell "")))))) (tm-menu (insert-table-menu) this adds a menu item in the "Insert->Table" menu-you can get more info on the Scheme names of the menus looking at TeXmacs source code

Then place the construct in either a kbd-map or a tm-menu form, or both, which then you place in a Scheme file. Where you have to "quote it", that is prepend a quote sign, which is interpreted by Scheme as "do not try and interpret the following, but quote it". It will be a Scheme list, that is something within round parentheses. The basics: take a TeXmacs snippet that you want to insert in your document and Copy as -> TeXMacs Scheme.
