print_latex() bug

Christian Bauer cbauer at thep.physik.uni-mainz.de
Fri Oct 25 16:45:58 CEST 2002


Hi!

On Wed, Oct 23, 2002 at 10:53:47AM +0200, Alessandro Zaccagnini wrote:
> the expression `p' is assigned the value  1/2-1/2*I, but then it is
> transformed into the following latex form: \frac{1}{2}\frac{-1}{2} i

Fixed. Negative fractions are now output as -\frac{n}{d} instead of
\frac{-n}{d} (the rest of the code seemed to expect this behavior; this
is why the plus sign was missing).

Bye,
Christian

-- 
  / Coding on PowerPC and proud of it
\/ http://www.uni-mainz.de/~bauec002/



More information about the GiNaC-list mailing list