## Examples of Axiom output that causes problems for the LineBreaker program:The Robert Sutor LineBreaker program is embedded in the LaTeX handling programs for this web site. It has also been used experimentally in the OldTeXmacs - Axiom interface program called tm_axiom. There have been problems reported concerning incorrect formatting that may be due to problems with the LineBreaker programs. Examples of such problems are collected below. ## Experiment 0The first example below was reported by Andrey G. Grozin as failing when displayed in TeXmacs when using the Sutor line-break algorithm. But typeset and folded correctly by TeXmacs (using old interface via TeX) without the line-break algorithm. However it does appear correctly below and it is also correct in the most recent versions of TeXmacs (1.0.4.5 on cygwin and 1.0.4.4 on native windows) when using the newest version of tm_axiom and the version of Axiom at AxiomBinaries. fricas (x+y+z)^10
Type: Polynomial(Integer)## Experiment 1This expression is not folded at all by the current version of TeXmacs but it displayed correctly both here and in TeXmacs when using the line-break algorithm. fricas (1/x+y+z)^10
Type: Fraction(Polynomial(Integer))## Experiment 2This is the first example in the Jenks and Sutor AXIOM book. It is formatted properly below but in TeXmacs the output is wrong - small instead of large brackets and one of the terms of the numerator not display at all. Without the line-break algorithm OldTeXmacs displays it correctly but as one long non- folded line. fricas integrate (1/(x^3 * (a+b*x)^(1/3)),
Type: Union(Expression(Integer),## Experiment 3This simple variant of the above expression, (-1/3) instead of (1/3), is formatted properly both here and in TeXmacs fricas integrate (1/(x^3 * (a+b*x)^(-1/3)),
Type: Union(Expression(Integer),Notice that the first term in the paranthesis appears a little odd at first site because the first term itself is "locally folded" at the with a vertically centered leading minus sign. |