login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for #95 TeX output misses parenthesis in FACTORED revision 1 of 2

1 2
Editor:
Time: 2007/11/17 23:04:51 GMT-8
Note: property change

changed:
-
Note the missing parenthesis in TeX output:

\begin{axiom}
)set output algebra on
factor(-x^2-1)
\end{axiom}

From unknown Thu Feb 10 08:17:21 -0600 2005
From: 
Date: Thu, 10 Feb 2005 08:17:21 -0600
Subject: 
Message-ID: <20050210081721-0600@page.axiom-developer.org>

the missing square is a MathAction bug, it seems...

From BillPage Thu Feb 10 08:35:55 -0600 2005
From: Bill Page
Date: Thu, 10 Feb 2005 08:35:55 -0600
Subject: 
Message-ID: <20050210083555-0600@page.axiom-developer.org>

The result of the commands::

  )set output algebra on
  factor(-x^2-1)

is:<pre>
              2
  (1)     - (x  + 1)

  \$\$
  -{{x \sp 2}+1}
  \leqno(1)
  \$\$

        Type: Factored Polynomial Integer
</pre>

So, yes you are correct that MathAction is not presenting the 'algebra'
output correctly. The TeX output however is missing parenthesis. It
should be

\begin{equation}
-(x^2+1)
\end{equation}

From unknown Tue Mar 8 05:49:26 -0600 2005
From: 
Date: Tue, 08 Mar 2005 05:49:26 -0600
Subject: property change
Message-ID: <20050308054926-0600@page.axiom-developer.org>



Submitted by : (unknown) at: 2007-11-17T23:04:51-08:00 (16 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

Note the missing parenthesis in TeX? output:

axiom
)set output algebra on
factor(-x^2-1)
2 (1) - (x + 1)

\label{eq1}-{\left({x^2}+ 1 \right)}(1)
Type: Factored(Polynomial(Integer))

...
Thu, 10 Feb 2005 08:17:21 -0600 reply
the missing square is a MathAction? bug, it seems...

The result of the commands:
  )set output algebra on
  factor(-x^2-1)

is:

              2
  (1)     - (x  + 1)

$$ -{{x \sp 2}+1} \leqno(1) $$

Type: Factored Polynomial Integer

So, yes you are correct that MathAction? is not presenting the algebra output correctly. The TeX? output however is missing parenthesis. It should be


\label{eq2}
-(x^2+1)
(2)

property change
Tue, 08 Mar 2005 05:49:26 -0600 reply