Path: csiph.com!news.mixmin.net!aioe.org!hmGPJc8k7dlfJMaTpz9fSw.user.46.165.242.75.POSTED!not-for-mail From: Martin Brown <'''newspam'''@nonad.co.uk> Newsgroups: comp.graphics.apps.gnuplot Subject: Greek Characters in GnuPlot EPS output files Date: Thu, 7 Apr 2022 14:22:41 +0100 Organization: Aioe.org NNTP Server Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="21972"; posting-host="hmGPJc8k7dlfJMaTpz9fSw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 X-Notice: Filtered by postfilter v. 0.9.2 Content-Language: en-GB Xref: csiph.com comp.graphics.apps.gnuplot:4460 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