octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hardcopy support for gl-render and the fltk_backend


From: Michael D Godfrey
Subject: Re: hardcopy support for gl-render and the fltk_backend
Date: Sun, 18 Oct 2009 13:48:13 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4

On 10/18/2009 01:30 PM, Shai Ayal wrote:
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
  
If it is easy to handle PS (or PDF) code for text strings you could consider
just running pdflatex on the string (with suitable header and trailer) and
use the resulting PDF.

Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]