octave-maintainers
[Top][All Lists]
Advanced

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

Re: print.m: support of terminal epslatex?


From: Shai Ayal
Subject: Re: print.m: support of terminal epslatex?
Date: Sat, 2 Jun 2007 06:17:42 +0300

On 5/31/07, John W. Eaton <address@hidden> wrote:
On 27-May-2007, Sebastian Schubert wrote:

| what do think of supporting the epslatex terminal.  It creates a .eps
| and a .tex file which you can include directly into a LaTeX document.
| The numbers and labels are then taken from the used font in LaTeX.  I
| attached a simple hack (against the 2.9.12 version), which I will
| enhanced, if you think it is worth it.  Usage:
|
| print('test.tex')
|
| or with '-dtex'.  It needs gnuplot 4 or 4.2. The latter includes an
| option to created a completly selfcontained tex file (a feature I would
| like to add).

Should the option maybe be -depslatex instead?

How much work is required to make this function properly if the
plotting backend is something other than gnuplot?  Though perhaps this
question applies to other output formats that we currently support as
well, so maybe it is not important to single out the epslatex
terminal.

octplot and yapso (and probably other OpenGL based backends) use the
gl2ps library for converting OpenGL to "hardcopy". gl2ps has an option
for latex output option where it produces an eps file and a latex
file, where all the text goes in the latex file so that you can use
latex formatting for your text. If this is what is meant by epslatex
than it can be done in other backends.

Shai


reply via email to

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