From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25993 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: gnuplot mode Date: Thu, 16 Feb 2006 12:43:19 +0100 Message-ID: <6faad9f00602160343r37eb1027q4cf87d0fe5564644@mail.gmail.com> References: <43F37000.2090901@nibua-r.org> <43F3784A.6090103@elvenkind.com> <43F37C8A.6070308@nibua-r.org> <43F38992.2080301@wxs.nl> <43F38EB9.9080205@nibua-r.org> <43F398C8.4070504@wxs.nl> <43F3A06B.1090508@nibua-r.org> <43F3AAA1.7070601@wxs.nl> <43F3AE05.4080805@nibua-r.org> <43F441A2.1090905@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140090226 2467 80.91.229.2 (16 Feb 2006 11:43:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2006 11:43:46 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 16 12:43:40 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9hXn-0003cg-D8 for gctc-ntg-context-518@m.gmane.org; Thu, 16 Feb 2006 12:43:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 76266127C9; Thu, 16 Feb 2006 12:43:28 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31187-04; Thu, 16 Feb 2006 12:43:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1D208127C0; Thu, 16 Feb 2006 12:43:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE0F0127C0 for ; Thu, 16 Feb 2006 12:43:21 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31422-02 for ; Thu, 16 Feb 2006 12:43:20 +0100 (CET) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.196]) by ronja.ntg.nl (Postfix) with SMTP id 5ECF1127BF for ; Thu, 16 Feb 2006 12:43:20 +0100 (CET) Original-Received: by nproxy.gmail.com with SMTP id n28so86689nfc for ; Thu, 16 Feb 2006 03:43:19 -0800 (PST) Original-Received: by 10.48.3.15 with SMTP id 15mr152730nfc; Thu, 16 Feb 2006 03:43:19 -0800 (PST) Original-Received: by 10.48.202.12 with HTTP; Thu, 16 Feb 2006 03:43:19 -0800 (PST) Original-To: mailing list for ConTeXt users In-Reply-To: <43F441A2.1090905@nibua-r.org> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25993 Archived-At: On 2/15/06, Renaud AUBIN wrote: > > I'm trying to use the gnuplot mode (texlive+ ConTeXt 2006.02.03) and the > command texexec --pdf --mode=demo m-gnuplot results in a m-gnuplot.pdf where > only the png is correctly displayed... All the m-gnuplot-gnuplot-*.pdf are > unknown... > > I assume I have missed something... But what ? Not necessary. Gnuplot module might be a bit stubborn. I had many problems, but they might have different reasons since many sifferent pieces of software are sticked together: - mp wanted to use cmr10, but that font was missing on standalone ConTeXt distr. - texmfstart missing under windows - gnuplot terminal compiled without pdf terminal - missing TEXSYSTEM=miktex on windows box (or (p)gnuplot not present in path) - on my personal I failed to compile gnuplot properly in order to produce PNGs - serious problems with mptopdf under windows (CRITICAL!!!) > Moreover, I use lucida fonts in my document. How to use lucida with this > method ? It depends on terminal. With PostScript terminal you can't do math. With Metapost you can do math, but don't ask me how to change fonts to lucida (try read "help terminal mp" if it helps you). Anyway I'm affraid that you won't get lucida for math that way. (I'll try to improve the metapost terminal a bit, but I have no idea what to do with fonts.) Perhaps you could use LaTeX (or any other LaTeX-related terminal like PSTricks for that), but this is not supported by the module yet. However, read my other mail(s) that I'll send today about "set terminal context". (I don't find any of the existing terminals good enough, so I would like to make a superior one.) > I have a working example with > \setupGNUPLOT[method=mp,option="hlhr8r"] but the math gives > CM... Moreover, how to deals $\vec{x}$ or \Milli \Meter for example ? Forget about ConTeXt commands with "method=mp". This makes plain metapost files and labes are processed with plain TeX, which doesn't have any idea about the fonts you use in the document. If you manage to make lucida work with plain TeX, the only option I currently see is something like set title '{\input my-defs \bf Title}' where you store your definitions in a separate file or set title '{\font\a=hlhr8r sa 2 \a Title}' (just guessing, I don't know the exact syntax). But you probably don't want to do that. > This time, I eventually use LaTeX with \usepackage{lucidabr} and "set term > pst" to produce .ps, then use ps2epsi to obtain an .eps with a correct > bounding box and to finish psttopdf. I include the resulting .pdf with the > standard method... It is not the easy way ! That's what I was talking about a bit earlier. Hans, would it be possible to support pst terminal as well (PSTricks I suppose)? This one needs more than one command to get the resulting pdf I suppose. (I won't need it, but if there are other users who could make use of it ...) > Now, considering the gnuplot module: I have seen that in the resulting > .gpd, there is a lot of ";" . Since all my .gp scripts are empty of ";" at > the end of lines, I'm asking if this is correct ? Ask Hans. I don't know why he likes them so much (I would remove them), but they should be harmless. They're there because of \def\obeyedline{;\systemendofline}% ----------------------------------- And a final word: I finally installed "something to compile gnuplot with" yesterday. I have the first pre-alpha ;) "set terminal context" working and I will need both Hans and Taco's hand as well as gnuplot/metafun users to help me with suggestions/requests/brainstorming about how to implement certain parts, so that the output will remain highly configurable regarding fonts, colors & styles, but more about that in another mail. (Some serious problems with mptopdf on windows disturb me a lot, but I hope I'll find a way out. I can't make textext work, so I'm using the standalone ConTeXt in the moment, but this has to be fixed for other MikTeX users as well.) Mojca On 2/16/06, Adam Lindsay wrote: > And for the text versions? That's what I was offering, to do a lot of: > > \starttypescript [serif] [lucida] [texnansi] > \definefontsynonym [texnansi-lbr] [hlhr8y] [encoding=texnansi] > etc. Has nothing to do with Gnuplot, but I agree with Adam.