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

Re: st: -graph export-, eps and euro sign

From   Antoine Terracol <>
Subject   Re: st: -graph export-, eps and euro sign
Date   Mon, 01 Dec 2008 22:26:59 +0100

Thanks Sergiy,

using LaTeX, the following document, compiled and converted to .ps :


shows a nice Euro symbol in GSview, but the actual code in the .ps file is is bunch of lines (around 70 of them) like


so I'm not sure is it is directly usable through a simple copy and paste...

I've read somewhere that the Euro symbol appeared in PS-Adobe-3.0 ; but Stata (and dvips) produce PS-Adobe-2.0 code, so the problem might be difficult to solve.

I'll stop bothering the list with non-Stata problems and just use the word "Euro"...

Thanks again,


Sergiy Radyakin wrote:
Does GhostScript show the Euro symbol when it is output from other
programs? Try TeX, and see if it works. If it does not, then it is not
Stata related. If it does, check the file to see what TeX writes
there, then do the same with your file.

Regards, Sergiy Radyakin

On Thu, Nov 27, 2008 at 12:15 PM, Antoine Terracol
<> wrote:
Thomas Speidel wrote:
In your code graph title I see

. ..., title(price in ?)

I am not sure if the question mark I see in your cose is intentional or
a consequence of different character/keyboard encoding.
keyboard encoding, sorry for this.

The symbol for the Euro (in the ANSI encoding) is 0128.  So it should be:

.twoway scatter price mpg, title("price in `=char(0128)'")

I can replicate your same results after the eps is created: that is I
cannot see the Euro sign in the title in GSview.  I suspect wildly that
has more to do with the fonts and their encoding than Stata.
Interestingly, if I place the copyright symbol in the title:

twoway scatter price mpg, title("price in `=char(0169)'")

The associated eps does display the Copyright symbol.  One thing to
mention is that the Euro symbol was added later as part of the ANSI so
that may have something to do with it.  I am sure someone has encoutered
your same problem and can provide a solution.

Thank you very much for your explanation.

If I look at the .eps file after creating the graph with -title("price
in `=char(0128)'")-, I can see that it has again been translated to
(price in \200).

Interestingly, using the Copyright symbol, `=char(0169)' has been
translated to \251 in the .eps file.

I think I'll just use the word "Euros" rather than the Euro symbol

Thanks again,

Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.

*   For searches and help try:

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index