|
From: | Daniel J Sebald |
Subject: | Re: print.m: support of terminal epslatex? |
Date: | Mon, 28 May 2007 16:37:33 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 |
Sebastian Schubert wrote:
Hi, 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). Thanks Sebastian
I like the idea. This is one of my most used output formats. (Same thing for Xfig, i.e., combined PS/LaTeX.) Although, there are a variety of gnuplot TeX related formats, e.g., TeX, LaTeX, etc. So maybe the dev_list name should be "pstex" or "pslatex"? You could still leave the ".tex" extension check, as the combined ps/latex is the nicest and most useful variation of all the TeX related outputs.
## check if we have to use convert dev_list = {"aifm" "corel" "fig" "png" "pbm" "dxf" "mf" "hpgl", ... - "ps" "ps2" "psc" "psc2" "eps" "eps2" "epsc" "epsc2" "emf"}; + "ps" "ps2" "psc" "psc2" "eps" "eps2" "epsc" "epsc2" \ + "emf" "tex"};
Why not ... like the line before it rather than \? Dan
[Prev in Thread] | Current Thread | [Next in Thread] |