This post is devoted to a collection of undocumented TeXmacs internal macros, hopefully this will help the documentation of TeXmacs. The idea is to keep it around here as a wiki post (i.e. editable by everybody) and maybe at a later stage integrate these informations in the blog or directly improve the documentations.
-
(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, 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).
-
(render-footnote nr body)src. Invokingrender-footnote*withsym=nr,nr=nrandbody=body.
(It would be interesting to document the following tags, in particular the whole locus support)
locus-
id,urlused as argument of locus macro, have no effect alone. -
hard-idgenerate a hash from given text, this hash could change when document is reopened. -
(set-binding key value)this macro will try to put a pair of key-value into references collection of current document. -
linkhave no effect alone script-
doc-authors(notdoc-author) this macro is used as “style macro”, which customize rendering of multiple authors, likerender-*macros.
