Ralf Hemmecke wrote:
>
> In util.ht I see things like
>
> \newcommand{\axiomOpFrom}[2]{\lispdownlink{#1}{(|oPageFrom| '|#1| '|#2|)}}
> \newcommand{\spadopFrom} [2]{\axiomOpFrom{#1}{#2}}
> \newcommand{\axiomOpFromX}[2] {\axiomOpFrom{#1!}{#2}}
> \newcommand{\spadopFromX}[2] {\axiomOpFrom{#1!}{#2}}
...
> I intend to remove the commands that start with \axiom in favour of the
> \spad... commands. Maybe I don't do it in the first round, but
> eventually, I would like to remove this redundancy.
>
> Of course this will mainly require a replacement in the ++ docstrings
> and a few places in the .htex files.
>
Yes, it would be good to remove redundancy. The main offender
seem to be '\axiom' macro which grep finds in 1730 algebra
lines and 1458 lines of .htex files. Comparatively, '\spad'
occurs in 5170 algebra lines and 822 lines of .htex files.
AFAICS the best way to handle this is one-shot mass substitution
using for example 'sed' -- it seems that required patterns are
quite simple.
--
Waldek Hebisch
[email protected]
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.