On Sun, Oct 18, 2009 at 10:02 AM, Michael Goffioul
<address@hidden> wrote:
> On Sun, Oct 18, 2009 at 5:38 AM, Shai Ayal <address@hidden> wrote:
>> No to discourage anyone but gnuplot supports all the elements needed
>> for nice math typesettings (e.g. super & subscript), "all" that is
>> needed is a translation from TeX to gnuplot. There is nothing
>> equivalent in postscript and/or gl2ps which just know how to "render"
>> strings of a fixed font and size, so the problem might be bigger ...
>
> You might want to have a look at the gl2ps code shipped with JHandles.
> This is a modified version that can do some additional formatting
> (like subscript or superscripts) and produce corresponding PS code.
Can this be done w/o additional work in the renderer -- i.e. only by
using the new PS macros in the modified gl2ps, or do you need to
implement some sort of a simple TeX interpreter as you do in
SimpleTextEngine.java?
Shai