-------- Original Message --------
Subject: Re: print_latex() bug
Date: Fri, 25 Oct 2002 16:45:58 +0200
From: Christian Bauer <cbauer(a)zino.physik.uni-mainz.de>
Reply-To: ginac-list(a)zino.physik.uni-mainz.de
To: ginac-list(a)zino.physik.uni-mainz.de
References: <3DB6639B.E8526EA4(a)prmat.math.unipr.it>
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/
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara@cs.unipr.it