orgtbl-radio-table-templates
orgtbl-radio-table-templates is a variable defined in `
org-table.el
'.
Its value is
((latex-mode "% BEGIN RECEIVE ORGTBL %n\n% END RECEIVE ORGTBL %n\n\\begin{comment}\n#+ORGTBL: SEND %n orgtbl-to-latex :splice nil :skip 0\n| | |\n\\end{comment}\n")
(texinfo-mode "@c BEGIN RECEIVE ORGTBL %n\n@c END RECEIVE ORGTBL %n\n@ignore\n#+ORGTBL: SEND %n orgtbl-to-html :splice nil :skip 0\n| | |\n@end ignore\n")
(html-mode "\n\n\n")
(org-mode "#+ BEGIN RECEIVE ORGTBL %n\n#+ END RECEIVE ORGTBL %n\n\n#+ORGTBL: SEND %n orgtbl-to-orgtbl :splice nil :skip 0\n| | |\n"))
Documentation:
Templates for radio tables in different major modes.
Each template must define lines that will be treated as a comment and that
must contain the "BEGIN RECEIVE ORGTBL %n" and "END RECEIVE ORGTBL"
lines where "%n" will be replaced with the name of the table during
insertion of the template. The transformed table will later be inserted
between these lines.
The template should also contain a minimal table in a multiline comment.
If multiline comments are not possible in the buffer language,
you can pack it into a string that will not be used when the code
is compiled or executed. Above the table will you need a line with
the fixed string "#+ORGTBL: SEND", followed by instruction on how to
convert the table into a data structure useful in the
language of the buffer. Check the manual for the section on
"Translator functions", and more generally check out
http://orgmode.org/manual/Tables-in-arbitrary-syntax.html#Tables-in-arbitrary-syntax
All occurrences of %n in a template will be replaced with the name of the
table, obtained by prompting the user.
You can customize this variable.