Fix in source 'make clean'.


git-svn-id: https://fricas.svn.sourceforge.net/svnroot/fricas/trunk@1765 b0c55286-4f34-0410-a049-a1e7e93b0762
properly escape in TeXFormat

See message "unescaped underscore" on fricas-devel (15-Apr-2014).
https://groups.google.com/d/msg/fricas-devel/lCgu8gvVOIM/T2-HyrnpsXcJ

Underscores should be escaped by a backslash like this: \_.
These are the problems that are resolved by this patch.

(5) -> )set output algebra off
(5) -> )set output tex on
(5) -> escape()

$$
_
\leqno(5)
$$

(6) -> 1.2345678901234567890123

$$
1.2345678901_23456789
\leqno(6)
$$

(1) -> "a_b_"\"

   (1)  "a_b"\"
$$
\mbox{\tt "a_b"\"}
\leqno(1)
$$

After the patch.

(1) -> )set output algebra off
(1) -> )set output tex on
(1) -> escape()

$$
\_
\leqno(1)
$$

(2) -> 1.2345678901234567890123

$$
1.2345678901\_23456789
\leqno(2)
$$

(3) -> "a_b_"\"

$$
\verb#"a_b"\"#
\leqno(3)
$$

git-svn-id: https://fricas.svn.sourceforge.net/svnroot/fricas/trunk@1766 b0c55286-4f34-0410-a049-a1e7e93b0762
add ioHooks for syscmd and error function

git-svn-id: https://fricas.svn.sourceforge.net/svnroot/fricas/trunk@1767 b0c55286-4f34-0410-a049-a1e7e93b0762
\axiom* \spad*

for f in $(find . -type f|grep -v '\.git'|grep -v '\.sh$'|grep -v '\.awk'); do
    sed -i \
        -e 's/\\axiomType{/\\spadtype{/g' \
        -e 's/\\axiomOp{/\\spadop{/g' \
        -e 's/\\axiomOpFrom{/\\spadopFrom{/g' \
        -e 's/\\axiomFun{/\\spadfun{/g' \
        -e 's/\\axiomFunFrom{/\\spadfunFrom{/g' \
        -e 's/\\axiomFunX{/\\spadfunX{/g' \
        -e 's/\\axiomFunFromX{/\\spadfunFromX{/g' \
        -e 's/\\axiomSyntax{/\\spadSyntax{/g' \
        -e 's/\\axiomSig{/\\spadsig{/g' \
        -e 's/\\axiom{/\\spad{/g' \
        -e 's/\\axiomGloss{/\\spadgloss{/g' \
        -e 's/\\axiomGlossSee{/\\spadglossSee{/g' \
        -e 's/\\axiomcommand{/\\spadcommand{/g' \
        -e 's/\\axiomgraph{/\\spadgraph{/g' \
        -e 's/\\\\axiomType\\{/\\\\spadtype\\{/g' \
        -e 's/\\\\axiomcommand\\{/\\\\spadcommand\\{/g' \
        -e 's/\\\\axiomOp\\{/\\\\spadop\\{/g' \
        -e 's/\\\\axiomOpFrom\\{/\\\\spadopFrom\\{/g' \
        -e 's/\\\\axiomSig\\{/\\\\spadsig\\{/g' \
        $f
done

A few manual replacement that were not caught by the script above in
the following files.
  src/algebra/cra.spad
  src/algebra/triset.spad
  src/doc/ht/HTXFormatPage8.ht
  src/doc/htex/ug12.htex
  src/doc/htex/ug13.htex
  src/doc/htex/ug21.htex

git-svn-id: https://fricas.svn.sourceforge.net/svnroot/fricas/trunk@1768 b0c55286-4f34-0410-a049-a1e7e93b0762
remove obsolete \axiom* commands from util.ht

git-svn-id: https://fricas.svn.sourceforge.net/svnroot/fricas/trunk@1769 b0c55286-4f34-0410-a049-a1e7e93b0762
Fix recent breakage


git-svn-id: https://fricas.svn.sourceforge.net/svnroot/fricas/trunk@1770 b0c55286-4f34-0410-a049-a1e7e93b0762
properly protect against failure

git-svn-id: https://fricas.svn.sourceforge.net/svnroot/fricas/trunk@1771 b0c55286-4f34-0410-a049-a1e7e93b0762