Re: [Numerator-discuss] Using numerator as a batch
Status: Alpha
Brought to you by:
asomogyi
From: <end...@co...> - 2004-02-07 21:50:49
|
Hello Nicolas I have not tested gnumerator on linux for some time, but I think that with the current version of mono, and the wine libs, it should work. There is, belive it or not, relativly little that is done with the GUI, all GUI functions are isolated in the GraphicDevice class. I purposly designed it this way so that it would be simple to make a gtk# version of the component. I currently do not have time to work on a gtk# port, I'm currently working on getting the interpreter for mathml content markup working. For your needs, GtkMathView might be a better solution, have a look at it at: http://helm.cs.unibo.it/mml-widget/ It allready works well on linux, and there is a php wrapper around it that generates gif or other image formats. I do not know how much of System.Winforms is working in mono, as the mathml.rendering control uses System.Winforms to save image files. If you really are interested, you can take a look the MathMLControl.cs file, this is the actual control file. Essentially, the process is that a document is loaded, then a formating tree is creatged from this document, and the formatting tree draws to a GraphicsDevice object. In the windows version, this object happens to be a device context of an off screen buffer, and this this buffer is dumped to the screen at each re-draw. It would be possible to make a GraphicsDevice object around some other drawing surface, such as a gdk pixbuff, and then you can save this pixbuff to a file. thanks for your interest. > > Hello ! > > I am currently setting up a toolchain which aims at converting > DocBook/SVG/MathML to HTML/PDF. I am working on Linux, and > dicovered numerator as a candidate that could suit a part of my needs. > > I wondered (i haven't got a deep look into it so far) if it could > be tuned, for example to use its core functions and have it work > on Linux (with Mono), and have these functionnalities : > - primarily : create SVG from the MathML tree > - non mandatory : rasterize to a bitmap > > Please note that it is not really a feature request, but i would like to > know whether it would be feasible (by me) without a lot of modifications. > Turning it into a batch converter from a MathML file, to SVG (or bitmap) > would be perect. On of my concern is that I do not know if the current > code is heavily linked to the UI (because Mono soed not fully implement > it), because i'd like it to be a command-line tool. > > Anyway, bravo for your work, the screenshots speak for themselves. > Nicolas Pillot (nic...@po...) > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Numerator-discuss mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numerator-discuss |