comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » EPS fragment output for latex font interpretation?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
EPS fragment output for latex font interpretation? [message #54942] Wed, 25 July 2007 02:42 Go to next message
Gernot Hassenpflug is currently offline  Gernot Hassenpflug
Messages: 18
Registered: April 2001
Junior Member
Hello all,

I have used IDL to output EPS figures with whatever fonts IDL has
built-in. Now I would like to use IDL to output EPS fragments (in
vector format) with markers for the text information, and .tex files
containing the text corresponding to the markers, with both files to
be later interpreted by LaTeX with an \input statement. With matlab,
which I do not currently have a licence to, this was possible using
the user-contributed laprint program.

With such a splitting of the tasks, it is easy to adjust text size and
font to what is required in the LaTeX document.

Is there any way to do such a task in IDL (I have 6.2 and 6.3 licences
at my workplace).

Alternatively, if there is a way to use Computer Modern fonts with
IDL, I could try to use those in the EPS file directly (then output in
binary format is fine too).

Many thanks
Gernot
--
BOFH excuse #433:

error: one bad user found in front of screen
Re: EPS fragment output for latex font interpretation? [message #54991 is a reply to message #54942] Fri, 27 July 2007 13:42 Go to previous message
George N. White III is currently offline  George N. White III
Messages: 56
Registered: September 2000
Member
On Wed, 25 Jul 2007, Paolo_Grigis wrote:

>
>
> [...]
>>
>> Ah, yes, understood. In that case of course the fonts are now fixed,
>> no longer modifiable by the document, as I understand it. But I think
>> you are incorrect in one aspect: IDL produced an EPS file when you
>> gave it the /encapsulated modifier for the device.
>
> Yes, sure, IDL does that, but it was the *dvips* output
> that I converted into eps in the last step.

Is there are reason to avoid "dvips -E" to get eps directly? Some
files may get incorrect bounding boxes, but that can easily be
rectified using ghostscript's bbox device and a wee smidgeon of
perl or IDL code to update the value dvips added to the file.


--
George N. White III <aa056@chebucto.ns.ca>
Re: EPS fragment output for latex font interpretation? [message #55016 is a reply to message #54942] Thu, 26 July 2007 08:09 Go to previous message
Gernot Hassenpflug is currently offline  Gernot Hassenpflug
Messages: 18
Registered: April 2001
Junior Member
Paolo_Grigis <pgrigis@astro.phys.ethz.ch> writes:

> [...]
>>
>> Ah, yes, understood. In that case of course the fonts are now fixed,
>> no longer modifiable by the document, as I understand it. But I think
>> you are incorrect in one aspect: IDL produced an EPS file when you
>> gave it the /encapsulated modifier for the device.
>
> Yes, sure, IDL does that, but it was the *dvips* output
> that I converted into eps in the last step.

Ha, asleep at the wheel! :-)

I ma also happy to note that although the axis marks are in the system
font, they too can be accessed using the (non-unique in this case)
string, "0", "1" or whatever. I cannot seem to find the way to set the
axis marks to a user-defined set of labels, but that is indeed
possible I remember. So I can get complete customization of the graph
labels.

Thanks once again,
Gernot
--
Gernot Hassenpflug
Re: EPS fragment output for latex font interpretation? [message #55034 is a reply to message #54942] Wed, 25 July 2007 09:23 Go to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
[...]
>
> Ah, yes, understood. In that case of course the fonts are now fixed,
> no longer modifiable by the document, as I understand it. But I think
> you are incorrect in one aspect: IDL produced an EPS file when you
> gave it the /encapsulated modifier for the device.

Yes, sure, IDL does that, but it was the *dvips* output
that I converted into eps in the last step.

Ciao,
Paolo
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: OSX IDL 6.3 and IDLWAVE
Next Topic: Re: Routine for Converting DN to Radiance to Temperature

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:48:22 PDT 2025

Total time taken to generate the page: 0.00388 seconds