|
Computational markup |
|
The following commands can be used for performing dynamic
computations:
-
M-e |
-
sequential or of two conditions.
-
M-e ^
-
exclusive or of two conditions.
-
M-e &
-
sequential and of two conditions.
-
M-e !
-
negation of a condition.
-
M-e +
-
add two numbers or lengths.
-
M-e -
-
subtract two numbers or lengths.
-
M-e *
-
multiply two numbers.
-
M-e /
-
divide two numbers.
-
M-e ;
-
concatenate two strings.
-
M-e #
-
display a number in Arabic, roman, Roman, alpha or Alpha (used for
instance in enumerations).
-
M-e >
-
translate a word from a source language into a destination language
(see the dictionaries in $TEXMACS_PATH/data/dic).
-
M-e =
-
test equality.
-
M-e E-e
-
test inequality.
-
M-e ?
-
insert an if statement with an optional else part.
© 1998–2002 Joris van der Hoeven
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".