[PATCH] doc and typo fixes

3 views
Skip to first unread message

Qian Yun

unread,
Jun 2, 2026, 5:31:27 AM (3 days ago) Jun 2
to fricas-devel
This is another batch of doc and typo fixes.

If you have question on any of them, feel free to ask.

- Qian
doc-and-typo-fixes.patch

Waldek Hebisch

unread,
Jun 2, 2026, 6:11:06 AM (3 days ago) Jun 2
to fricas...@googlegroups.com
Change to AInterval:

+\spad{x<=y} and $\spad{[y,x]}, if \spad{y<x}.

introduces spurious dollar sign.

when changing description of ')abbreviation', in "Also See:" we
probably want

-% \titledspadref{{\tt )load}}{ugSysCmdload}.
+\titledspadref{{\tt )library}}{ugSysCmdlibrary}.

that is replace commensted out reference to 'load' by 'library'.

--
Waldek Hebisch

Ralf Hemmecke

unread,
Jun 2, 2026, 7:06:49 AM (3 days ago) Jun 2
to fricas...@googlegroups.com
On 6/2/26 11:31, Qian Yun wrote:
> If you have question on any of them, feel free to ask.

Is there a reason why you want to suppress the output?

@@ -4532,7 +4532,7 @@ roots of \smath{p(x)} as \spad{i} ranges from
\spad{1} to \spad{5}. \xtc{
Assign the roots as the values of the variables \spad{a1,...,a5}.
}{
-\spadcommand{(a1,a2,a3,a4,a5) :=
(roots.1,roots.2,roots.3,roots.4,roots.5) \free{roots} \bound{ais}}
+\spadcommand{(a1,a2,a3,a4,a5) :=
(roots.1,roots.2,roots.3,roots.4,roots.5); \free{roots} \bound{ais}}
}

By this you change the output corresponding to the original printed
version of the book. I haven't yet checked, but I also guess that then
the numbering of the labels for the following outputs change, i.e. (14)
then becomes (13). I am not sure currently whether there is proper
reference to such number (i.e. in a latex-way) or whether they are
hardcoded in some way, so I would be a bit careful here.

If this is all checked, I agree with removing the output.

Ralf

Qian Yun

unread,
Jun 2, 2026, 7:42:55 AM (3 days ago) Jun 2
to fricas...@googlegroups.com
On 6/2/26 7:06 PM, 'Ralf Hemmecke' via FriCAS - computer algebra system
wrote:
> On 6/2/26 11:31, Qian Yun wrote:
>> If you have question on any of them, feel free to ask.
>
> Is there a reason why you want to suppress the output?
>
> @@ -4532,7 +4532,7 @@ roots of \smath{p(x)} as \spad{i} ranges from
> \spad{1} to \spad{5}. \xtc{
>  Assign the roots as the values of the variables \spad{a1,...,a5}.
>  }{
> -\spadcommand{(a1,a2,a3,a4,a5) :=
> (roots.1,roots.2,roots.3,roots.4,roots.5) \free{roots} \bound{ais}}
> +\spadcommand{(a1,a2,a3,a4,a5) :=
> (roots.1,roots.2,roots.3,roots.4,roots.5); \free{roots} \bound{ais}}
>  }

It is page 328. First, the 5 roots is listed is previous command.
Second, this is assignment of 5 variables, only the last one
is printed, which is unnecessary.

> By this you change the output corresponding to the original printed
> version of the book. I haven't yet checked, but I also guess that then
> the numbering of the labels for the following outputs change, i.e. (14)
> then becomes (13). I am not sure currently whether there is proper
> reference to such number (i.e. in a latex-way) or whether they are
> hardcoded in some way, so I would be a bit careful here.
>
> If this is all checked, I agree with removing the output.
>
> Ralf
>

The numbering is not affected by ";" at end, just checked
in the book with this patch.

- Qian

Grégory Vanuxem

unread,
Jun 2, 2026, 8:05:49 AM (3 days ago) Jun 2
to fricas...@googlegroups.com
About some comments removal, maybe this is kept for historical reasons, but
that could also be removed I think:

└─$ grep -r -C 2 GGREATER src/interp/
src/interp/macros.lisp-(DEFUN |lt_sexp| (U V)
src/interp/macros.lisp- "Multiple-type ordering relation."
src/interp/macros.lisp:;;; Result negated compared to LEXGREATERP and GGREATERP
src/interp/macros.lisp-;;; Order of types: nil number symbol string
vector cons"
src/interp/macros.lisp- (COND ((EQ U V) NIL)
--
src/interp/g-util.boot- mergeSort(pred,key,list,LENGTH list)
src/interp/g-util.boot-
src/interp/g-util.boot:-- non-destructive merge sort using NOT
GGREATERP as predicate
src/interp/g-util.boot-MSORT list == listSort(function GLESSEQP,
COPY_-LIST list)
src/interp/g-util.boot-
src/interp/g-util.boot:-- destructive merge sort using NOT GGREATERP
as predicate
src/interp/g-util.boot-NMSORT list == listSort(function GLESSEQP, list)
src/interp/g-util.boot-

Greg
> --
> You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/91a4533a-cbc2-4243-abd9-974e46671c05%40gmail.com.
Reply all
Reply to author
Forward
0 new messages