Statalist


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

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


From   "Sergiy Radyakin" <[email protected]>
To   [email protected]
Subject   Re: st: -graph export-, eps and euro sign
Date   Mon, 1 Dec 2008 15:42:36 -0500

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
<[email protected]> 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,
> Antoine
>
>
> --
> 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:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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