Operations on text |
If expr is a string, the length of the string is returned. For instance, <length|Hello> evaluates to 5.
Return the substring of expr starting at position start and ending at position end (not included). For instance, <range|hottentottententententoonstelling|9|15> evaluates to tenten.
This primitive may be used to concatenate several strings expr-1 until expr-n. For instance, <merge|Hello|World> produces HelloWorld.
Renders a number in a specified way. Supported values for render-as are
Returns the current date in a specified format
(which defaults to a standard language-specific format when empty)
and a specified language (which
defaults to English). The format is similar to the one used by the
Returns the translation of a string what of the language from into the language into, using the built-in TeXmacs dictionaries. The languages should be specified in lowercase letters. For instance, <translate|File|english|french> yields “Fichier”.
The list of currently available languages can be checked in the
$TEXMACS_PATH/languages/natural/dic
When attempting to use a non-existing dictionary, the program
may quit. For most purposes, it is more convenient to use the