Ralf, I built FriCAS from
git clone https://github.com/hemmecke/fricas.git --branch tex-latex --single-branch fricas-tex-latex in my local copy of mathaction. The tex output from FriCAS now looks like this for example: (1) -> )set output tex on (1) -> )set output algebra off (1) -> sin(x) \begin{fricasmath}{1} \sin{\SYMBOL{x}}% \end{fricasmath} -- The new FriCAS-specific environment actually looks rather frightening compared to what the old version used to produce! What is the purpose of \SYMBOL ? Is that also FriCAS-specific or something from LaTeX I don't know? Anyway, after adding 'fricasmath.sty' to the mathaction latextemplate and also adding the 'TEXINPUTS=/usr/local/lib/fricas/emacs//:' environment variable so that latex could find it, I now get the following error output from latex: ... (/usr/local/lib/fricas/emacs/fricasmath.sty (/usr/share/texmf-texlive/tex/latex/breqn/breqn.sty (/usr/share/texmf-texlive/tex/latex/breqn/flexisym.sty (/usr/share/texmf-texlive/tex/latex/breqn/cmbase.sym) Illegal parameter number in definition of \@begindocumenthook. <to be read again> 1 l.255 \relax\relax\relax\relax} Illegal parameter number in definition of \@begindocumenthook. <to be read again> 1 l.255 \relax\relax\relax\relax} Illegal parameter number in definition of \@begindocumenthook. <to be read again> 1 l.255 \relax\relax\relax\relax} Illegal parameter number in definition of \@begindocumenthook. <to be read again> \expandafter l.255 \relax\relax\relax\relax} Illegal parameter number in definition of \@begindocumenthook. <to be read again> 2 l.255 \relax\relax\relax\relax} Illegal parameter number in definition of \@begindocumenthook. <to be read again> 2 l.255 \relax\relax\relax\relax} )) (/usr/local/lib/fricas/emacs/tensor.sty)) ... Do you have any idea what might be causing this? It sort of looks like an error in loading breqn to me. The version of breqn that is installed on mathacton might be a little old (since mathaction itself is getting kind of old :). Is there a minimum version requirement? How can I tell which version I am actually using? Regards, Bill Page On 16 October 2014 10:44, Ralf Hemmecke <[email protected]> wrote: >>> I only care about the line breaking in the book. There it's not perfect, >>> but good enough. >> >> Just "good enough" sounds rather discouraging. > > Really? The problem is that it works (for the book in about 95% of the > cases). How much percentage that is for an ordinary session, I have no > idea. However, to get the rest *right* requires much more TeX knowledge > than I possess. breqn.sty isn't a simple piece of software. Also > linebraking by the texbreak.c program is not perfect. So "good enough" > means that I am quite satisfied with what breqn.sty gives, but breaking > equations is a task with a not so clear solution. > -- 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.
