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 <[hidden email]> 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/ |
Thanks Sergiy,
using LaTeX, the following document, compiled and converted to .ps : \documentclass{article} \usepackage{eurosym} \begin{document} \euro{} \end{document} 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 D9D66F633B846A97B686A97E45A3D0AA052A014267B7904EB3C0D3BD0B83D891 016CA6CA4B712ADEB258FAAB9A130EE605E61F77FC1B738ABC7C51CD46EF8171 9098D5FEE67660E69A7AB91B58F29A4D79E57022F783EB0FBBB6D4F4EC35014F D2DECBA99459A4C59DF0C6EBA150284454E707DC2100C15B76B4C19B84363758 469A6C558785B226332152109871A9883487DD7710949204DDCF837E6A8708B8 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, Antoine 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 > <[hidden email]> 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/ > * * 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/ |
Free forum by Nabble | Edit this page |