Re: [R] Math labels in .eps files

2012-06-05 Thread Fredrik Karlsson
Dear Professor Ripley,

Thank you for your prompt answer. Indeed, cairo_ps solved the problem for me.

Thank you!

Fredrik 

5 jun 2012 kl. 11:51 skrev Prof Brian Ripley :

> On 04/06/2012 17:25, Fredrik Karlsson wrote:
>> Dear list,
>> 
>> I have non-ascii labels that I want to include somethow in a .eps file for
>> inclusion into a LateX document. Is this possible?
>> 
>> What I see is that the (attached)  png file looks ok but the .eps renders
>> all non-ascii labels at the bottom as [..].
>> 
>> 
>> I've searched around enough to learn that including math labels in a .eps
>> is a problem. Hower, is there a solution too somewhere?
> 
> I don't think it is a problem: see ?plotmath.  But the problem here is that 
> you seem to want glyphs not in the plotmath set.
> 
> You have neither told us your platform nor the R code you used (as requested 
> in the posting guide), so we cannot reproduce this.  But see ?postscript and 
> its section 'Encodings'.  You need to specify a PostScript encoding which 
> contains your glyphs ... if there is one. Note too
> 
> See Also:
> 
> ‘cairo_ps’ for another device that can produce PostScript.
> 
> -- 
> Brian D. Ripley,  rip...@stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford, Tel:  +44 1865 272861 (self)
> 1 South Parks Road, +44 1865 272866 (PA)
> Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Math labels in .eps files

2012-06-05 Thread Prof Brian Ripley

On 04/06/2012 17:25, Fredrik Karlsson wrote:

Dear list,

I have non-ascii labels that I want to include somethow in a .eps file for
inclusion into a LateX document. Is this possible?

What I see is that the (attached)  png file looks ok but the .eps renders
all non-ascii labels at the bottom as [..].


I've searched around enough to learn that including math labels in a .eps
is a problem. Hower, is there a solution too somewhere?


I don't think it is a problem: see ?plotmath.  But the problem here is 
that you seem to want glyphs not in the plotmath set.


You have neither told us your platform nor the R code you used (as 
requested in the posting guide), so we cannot reproduce this.  But see 
?postscript and its section 'Encodings'.  You need to specify a 
PostScript encoding which contains your glyphs ... if there is one. 
Note too


See Also:

 ‘cairo_ps’ for another device that can produce PostScript.

--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.