Internal primitives

The primitives in this section are merely for internal use by TeXmacs only. They are documented for the sake of completeness, but you should only use them if you really know what you are doing.

<unknown>
(unknown content or unintialized data)

This primitive is mainly used for default uninialized value of environment variables; the main advantage of this tag is to be distinct from the empty string.

<error|message>
(error messages)

This primitive should never appear in documents. It is provided as aid in tracking down invalid constructs. It is produced at evaluation time by any kind of primitive which is given improper operands.

<collection|binding-1||binding-n>

<associate|key|value>
(collections of bindings)

The collection tag is used to represent hashtables with bindings binding-1 until binding-n. Each binding is of the form <associate|key|value>, with a key and an associated value.

<attr|key-1|val-1||key-n|val-n>
(XML-like attributes)

This tag is included for future compatability with XML. It is used for encoding XML-style attributes by TeXmacs trees. For instance, the fragment

<blah color="blue" emotion="verbose">
  Some XML stuff
</blah>

would typically be represented as

<blah|<attr|color|blue|emotion|verbose>|Some XML stuff>

<tag|content|annotation>

<meaning|content|annotation>
(associate a meaning to some content)

Associate a special meaning to some content. Currently, no real use has been made of these tags.

<backup|save|stack>
(save values on stack)

Used to represent temporarily saved values on a stack.

<dbox>
(marker for decorations)

This primitive is only intended for internal use by the datoms, dlines and dpages primitives.

<rewrite-inactive|t|var>
(internal primitive for rendering inactive markup)

This internal primitive is used for rewriting an inactive tree into a new tree whose rendering corresponds to the rendering of the inactive tree.

<new-dpage>

<new-dpage*>
(new double page)

Yet to be implemented primitives for starting a new double page.

<identity|markup>
(identity macro)

The identity macro is built-in into TeXmacs. It should not really be considered as a primitive, but it is not part of any style file either.

In addition to these primitives for internal use only, there are also quite a few obsolete primitives, which are no longer being used by TeXmacs, but whose names should be avoided when creating your own macros. The full list of obsolete primitives is: format, line-sep, with-limits, split, old-matrix, old-table, old-mosaic, old-mosaic-item, set, reset, expand, expand*, hide-expand, apply, begin, end, func, env, authorize.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".