On 11/16/2006 10:38 PM, Vanuxem Grégory wrote:
Hello,

A small typo in the Axiom book:

--- /home/greg/TDevel/cvs/axiom/src/doc/book.pamphlet
+++ src/doc/book.pamphlet
@@ -48550,7 +48548,7 @@
 \returnType{Type: TwoDimensionalArray Integer}
To change the array destructively, use
-\spadfunFrom{map}{TwoDimensionalArray} instead of
+\spadfunFrom{map!}{TwoDimensionalArray} instead of
 \spadfunFrom{map}{TwoDimensionalArray}.  If you need to make a copy of
 any array, use \spadfunFrom{copy}{TwoDimensionalArray}.


Beware I don't know what \spadfunFrom does.

I don't know either, but src/hyper/pages/util.ht says the stuff below...

Obviously, there are a lot of commands that look pretty much like LaTeX. But I guess, hypertex code is not really processed by THE TeX so what language is that actually? And any chance that there is a bit more documentation than that given in util.ht?

Ralf

... from util.ht

% Function names:
%
% The X versions below are used because AXIOM function names that end
% in ``!'' cause problems for makeindex for had-copy.
%
% Example: \spadfunFromX{reverse}{List} prints as   reverse!
%
% In the "From" versions, the first arg is function name, second is constructor
% where exported.
%
% Use the "op" flavors of "-", "+", "*" etc, otherwise the "fun" flavors

\newcommand{\userfun} [1]{{\bf #1}} % example, non-library function names

\newcommand{\fakeAxiomFun}[1]{{\bf #1}} % not really a library function
\newcommand{\pspadfun} [1]{\fakeAxiomFun{#1}}

\newcommand{\axiomFun} [1]{\lispdownlink{#1}{(|oPage| '|#1|)}}
\newcommand{\spadfun} [1]{\axiomFun{#1}}
\newcommand{\axiomFunX}[1]{\axiomFun{#1!}}
\newcommand{\spadfunX}[1]{\axiomFun{#1!}}



_______________________________________________
Axiom-developer mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to