Undocumented internal macros in TeXmacs

This post is devoted to a collection of undocumented TeXmacs internal macros, hopefully this will help the documentation of TeXmacs. I hope that this document would be something similar to Community Wiki in stackexchange. However, I don’t know whether this forum supports this, so maybe it might be better to migrate to another place later.

  1. (render-footnote* sym nr body). src. Generate a footnote like

sym. body

where sym is the preceding symbol and body is the text of the footnote. It will generate a label whose name is concatenating “footnote-” and the value of nr, referring to the location of the footnote. We have, on the other hand, offer a label whose name is concatenating “footnr-” and the value of nr, to which the sym in the footnote refers. This label is used to back-refer the footnote (that is to say, where we need this footnote).

  1. (render-footnote nr body) src. Invoing render-footnote* with sym=nr, nr=nr and body=body.

(I don’t know the meaning of the followings)

  1. locus
  2. id
  3. hard-id
  4. set-binding