Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4460

Greek Characters in GnuPlot EPS output files

From Martin Brown <'''newspam'''@nonad.co.uk>
Newsgroups comp.graphics.apps.gnuplot
Subject Greek Characters in GnuPlot EPS output files
Date 2022-04-07 14:22 +0100
Organization Aioe.org NNTP Server
Message-ID <t2moj1$lek$1@gioia.aioe.org> (permalink)

Show all headers | View raw


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...

-- 
Regards,
Martin Brown

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-07 14:22 +0100
  Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-11 09:46 +0200
    Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-11 17:21 +0100
      Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-12 07:59 +0200
        Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-12 18:01 +0100
          Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-13 07:48 +0200
            Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-13 16:57 +0100
              Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-14 13:57 +0200
                Re: Greek Characters in GnuPlot EPS output files Martin Brown <'''newspam'''@nonad.co.uk> - 2022-04-16 11:47 +0100
                Re: Greek Characters in GnuPlot EPS output files Jörg Buchholz <bookwood4new@freenet.de> - 2022-04-19 06:55 +0200

csiph-web