Output...

Richard B. Kreckel kreckel at thep.physik.uni-mainz.de
Fri Apr 6 22:50:42 CEST 2001


Hi all,

Now that the whole output stuff has been revamped in CVS and the way seems
paved for OpenMath, LaTeX, TeXmacs and other sorts of output, somebody
might be  interested in what Przemek Borys <pborys at dione.ids.pl> just
posted to comp.os.linux.announce (see below).  Beware that it *definitely*
needs to support some proper linebreaks to be useful, though!

Regards
     -richy.
-- 
Richard Kreckel
<Richard.Kreckel at Uni-Mainz.DE>
<http://wwwthep.physik.uni-mainz.de/~kreckel/>


EHLO!

Eqascii is an ascii equation renderer. That means, it renders 
equations, given in a form similar to latex to ascii representation.
I hope that this program can be (or rather will be in the future) 
useful i.e. in porting scientific documents to web without converting 
complex equations to images, or simply if one needs to represent some 
equation on a newsgroup :).

To make it more clear how does it work, here's an example:

[pborys at p-soft eqascii]$ ./eqascii 
'\prod_{i=1}^{\infty}\sqrt{e^{b+c}-\frac{\left[a+\frac{a+b^{3}}{4a-3c}\r
ight]}{a_1-\sqrt{2}}}+ \left|\begin{array} \frac{8}{2} & 1 & 3 \\ 2 & 3 
& \left|\begin{array} 1 & 2 \\ 3 & 4 \end{array}\right| \\ 3
& \sqrt{5} & 12 \end{array}\right|'
         ________________________    |                       |
        |         [         3 ]      | 8                     |
        |         [    a + b  ]      | -    1         3      |
        |         [a + -------]      | 2                     |
___ oo  | b + c   [    4a - 3c]      |                       |
| |     |e      - --------------- +  |           | 1   2 |   |
| | i=1 |                   _        | 2    3    |       |   |
        |            a  - \|2        |           | 3   4 |   |
       \|             1              |                       |
                                     | 3     _       12      |
                                     |     \|5               |
[pborys at p-soft eqascii]$

The program can be downloaded from
http://dione.ids.pl/~pborys/software/linux/eqascii-0.3.0.tar.gz
(or simply
http://dione.ids.pl/~pborys/software/linux/
in case the filename would change)

The program is very small for now (30K of code, compressed to 8K), but 
it's usability is IMO good enough to announce ;)

- -- 
____\___\___
(_(\|,|_|,|_  Gassho! [http://dione.ids.pl/~pborys][pinfo&mr  home]
    |   | |.  [PTM,teksty o zen,programowaniu,moje sf,xfaq_pl,inne]




More information about the GiNaC-devel mailing list