Here's an example where I have a beautiful Unicode string in a graph title that gets mangled when I export to PS:
The export to PDF works nicely, but that is only available on a Mac.
The PS file (which can be turned into a pdf with ps2pdf on Linux), has "??" instead of the $\hat \beta$.
Similarly, the user-written -graphexportpdf- has the same problem.
Any suggestions on how this can be fixed?
Code:
sysuse auto, clear
reg price mpg
margins, dydx(*)
marginsplot, title(`=ustrunescape("\u03B2\u0303")')
graph export betahat.ps, logo(off) orientation(landscape) mag(175) replace
graph export betahat.pdf, mag(175) replace
The PS file (which can be turned into a pdf with ps2pdf on Linux), has "??" instead of the $\hat \beta$.
Similarly, the user-written -graphexportpdf- has the same problem.
Any suggestions on how this can be fixed?

Comment