Martin Brown
2022-04-07 13:22:41 UTC
I'm very much a beginner with Gnuplot and although I can get it to do
most things now. But I have struggled totally with getting Greek
characters alpha, beta, gamma, delta and pi to render.
I need to produce Postscript graph output for publication and it has to
work with MNRAS manuscript templates. I can examine the EPS output from
enhanced mode and see the following plausible encoding in the text but
it still renders as ASCII characters when the LaTex processes it.
setrgbcolor
3106 1050 M
[ /Symbol reencodeCP1252 def
[(Symbol) 140.0 0.0 true true 0 (a)]
[(Helvetica) 140.0 0.0 true true 0 (=0.5, )]
[(Symbol) 140.0 0.0 true true 0 (g)]
[(Helvetica) 140.0 0.0 true true 0 (=0.2)]
]
When I try to preview it in an EPS viewer I get a sort of pale rectangle
where the missing characters ought to be with slight shading to right
and bottom. I suspect my system is missing some font or other...
I have looked at the FAQ #6.3 through 6.6 but it might as well be
written in Greek for all the good it did me. I don't have easy access to
UTF-8 indeed when I tried cutting and pasting the UTF-8 example into my
copy of Gnuplot the /alpha symbol transmuted into lower case a :(
I don't mind escaping in random hex constants if that is what it takes
or manually editing the resulting EPS file but to do that I need to know
what to put in to make a Greek character appear in the diagrams as
rendered by the journal's scripts. I'm using MiKTeX 2.9 on Win 7.
I am using current Gnuplot 5.4 so don't have easy access to enhpost
as described here:
https://groups.google.com/g/comp.text.tex/c/KbIx5uGILFU/m/vSwe4Tng7qMJ
I have tried {\Symbol a} etc and it seems to be working at least as far
as the EPS file but something then goes haywire when LaTex imports it.
I have also tried escaping in \delta for Latex to deal with but again I
must be doing something wrong because it appears in a literal sense
rather than escaping in the symbol delta.
I'm going around in circles and just can't seem to make any progress
now. It is driving me crazy! HELP!
Thanks for any enlightenment...
most things now. But I have struggled totally with getting Greek
characters alpha, beta, gamma, delta and pi to render.
I need to produce Postscript graph output for publication and it has to
work with MNRAS manuscript templates. I can examine the EPS output from
enhanced mode and see the following plausible encoding in the text but
it still renders as ASCII characters when the LaTex processes it.
setrgbcolor
3106 1050 M
[ /Symbol reencodeCP1252 def
[(Symbol) 140.0 0.0 true true 0 (a)]
[(Helvetica) 140.0 0.0 true true 0 (=0.5, )]
[(Symbol) 140.0 0.0 true true 0 (g)]
[(Helvetica) 140.0 0.0 true true 0 (=0.2)]
]
When I try to preview it in an EPS viewer I get a sort of pale rectangle
where the missing characters ought to be with slight shading to right
and bottom. I suspect my system is missing some font or other...
I have looked at the FAQ #6.3 through 6.6 but it might as well be
written in Greek for all the good it did me. I don't have easy access to
UTF-8 indeed when I tried cutting and pasting the UTF-8 example into my
copy of Gnuplot the /alpha symbol transmuted into lower case a :(
I don't mind escaping in random hex constants if that is what it takes
or manually editing the resulting EPS file but to do that I need to know
what to put in to make a Greek character appear in the diagrams as
rendered by the journal's scripts. I'm using MiKTeX 2.9 on Win 7.
I am using current Gnuplot 5.4 so don't have easy access to enhpost
as described here:
https://groups.google.com/g/comp.text.tex/c/KbIx5uGILFU/m/vSwe4Tng7qMJ
I have tried {\Symbol a} etc and it seems to be working at least as far
as the EPS file but something then goes haywire when LaTex imports it.
I have also tried escaping in \delta for Latex to deal with but again I
must be doing something wrong because it appears in a literal sense
rather than escaping in the symbol delta.
I'm going around in circles and just can't seem to make any progress
now. It is driving me crazy! HELP!
Thanks for any enlightenment...
--
Regards,
Martin Brown
Regards,
Martin Brown