From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Greek symbol rendering problem in gnuplot Date: Sun, 28 Apr 2019 21:48:37 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ea58c90587a2523c" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKwLc-0004T6-Qu for emacs-orgmode@gnu.org; Sun, 28 Apr 2019 22:48:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKwLb-0000t0-Lv for emacs-orgmode@gnu.org; Sun, 28 Apr 2019 22:48:52 -0400 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]:37843) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKwLb-0000s7-Bq for emacs-orgmode@gnu.org; Sun, 28 Apr 2019 22:48:51 -0400 Received: by mail-lf1-x129.google.com with SMTP id h126so6751293lfh.4 for ; Sun, 28 Apr 2019 19:48:50 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode Mailinglist --000000000000ea58c90587a2523c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maybe take a look at this issue, which describes a tortured trek to find a way to get Gnuplot to properly render =CE=A0 (pi) in an output graphic. Apparently, the gnuplot package is= from 2014 and doesn't handle Greek symbols. Why it will use latest-greatest gnuplot 5.2.6 and won't render Greek symbols is mysterious. Also, when executing an org-mode babel gnuplot block, it reports in the minibuffer that it is using Gnuplot 3.7. However, C-c C-c in the block does start up a Gnuplot REPL in Emacs, and output does happen -- just with garbled Greek letters. Odder is when I put the code in a separate file with the mode running, I can get it to render pi correctly with gnuplot-run-file -- but not gnuplot-run-buffer. The latter is garbled, the former good. BTW, a Gnuplot session started at the command line works with Greek symbols just fine. So I uninstalled gnuplot and installed newer gnuplot-mode (last updated 2017). Testing just a stand-alone file with the code with gnuplot-run-buffer produces good results; however, no REPL in Emacs is started and the gnuplot codeblock in an org file fails. C-c C-c produces executing Gnuplot code block... org-babel-execute:gnuplot: Cannot open load file: No such file or directory, gnuplot obviously Gnuplot in org-mode babel is meant to run with the gnuplot package and not the newer gnuplot-mode package. But now I'm stuck without a way to render Greek letters in a Gnuplot graphic. Something about the gnuplot package doesn't do Greek symbols and something about gnuplot-mode doesn't do org-mode babel gnuplot. Please advise. LB --000000000000ea58c90587a2523c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Maybe take a look at=C2= =A0this=C2=A0issue, which describes a tortured t= rek to find a way to get Gnuplot to properly render =CE=A0 (pi) in an outpu= t graphic. Apparently, the gnuplot package is from 2014 and doesn't han= dle Greek symbols. Why it will use latest-greatest gnuplot 5.2.6 and won= 9;t render Greek symbols is mysterious. Also, when executing an org-mode ba= bel gnuplot block, it reports in the minibuffer that it is using Gnuplot 3.= 7. However, C-c C-c in the block does start up a Gnuplot REPL in Emacs, and= output does happen -- just with garbled Greek letters. Odder is when I put= the code in a separate file with the mode running, I can get it to render = pi correctly with gnuplot-run-file -- but not gnuplot-run-buffer. The latte= r is garbled, the former good. BTW, a Gnuplot session started at the comman= d line works with Greek symbols just fine.

=
So I uninstalled gnuplot and installed newer gnuplot-mode (last update= d 2017). Testing just a stand-alone file with the code with gnuplot-run-buf= fer produces good results; however, no REPL in Emacs is started and the gnu= plot codeblock in an org file fails. C-c C-c produces

<= div>
executing Gnuplot code block...
org-babel-execute:gnuplo= t: Cannot open load file: No such file or directory, gnuplot

obviously Gnuplot in org-mode babel is meant to run with t= he gnuplot package and not the newer gnuplot-mode package. But now I'm = stuck without a way to render Greek letters in a Gnuplot graphic. Something= about the gnuplot package doesn't do Greek symbols and something about= gnuplot-mode doesn't do org-mode babel gnuplot. Please advise.

LB
--000000000000ea58c90587a2523c--