On 10/17/2014 11:23 PM, Bill Page wrote:
> http://axiom-wiki.newsynthesis.org/SandBoxTestTexOutput

> You can see that there is a significant difference between the way 
> breqn and the texbreak program fold long LaTeX output. In fact breqn 
> seems to fail to fold output (1). I am not sure yet why that is 
> happening.  It could be related to the fact that I am still using an 
> older release of breqn.

No. It's not a problem with an old breqn.

This problem with breaking fractions is also the main problem
for the book. But if you think about it... how would you design an
algorithm that breaks

  \frac{a}{b} + \frac{c}{d}

correctly if one or several of the a, b, c, d expressions are long
expressions. What looks better? breaking at the + or breaking inside frac?

Admittedly, just one \frac{a}{b} on the top-level is a special case and
I would be happy if breqn.sty could handle this. I think I even wrote a
mail to all three of the maintainers and didn't get a reply. :-(

That texbreak can handle this looks nice, but I'm still not in favour of
texbreak. If only I could reliably say that "\frac is toplevel and the
expression is too long", it would perhaps be passible to program a
workaround for this case. But it needs a bit of TeX-knowledge to get the
length of the line between the numerator and denominator correct. Easier
would be to transform it into

   (a)/(b)

> The other difference is in the numbering of output lines. The old
> axiom-wiki manages to find and render the equation numbers as 
> html-encoded links while my modified version is not able to do this 
> yet since the fricasmath environment codes these numbers differently,
> so what you see is the numbers in png images as the fricasmath
> environment renders them.

Actually, the link that is produced on the wiki is somewhat useless,
since it simply points to itself.

But anyway, you'd proably just have to extract the number from

\begin{fricasmath}{n}

instead of

\eqno(n)

And maybe you'd have to redefine what fricasmath does with the n. It
probably shouldn't produce the number into the .png file.

Ralf

-- 
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.

Reply via email to