From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74154 Path: news.gmane.org!not-for-mail From: Janne Junnila Newsgroups: gmane.comp.tex.context Subject: Gnuplot and the dollar sign Date: Sat, 28 Jan 2012 10:16:43 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327738626 4813 80.91.229.12 (28 Jan 2012 08:17:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2012 08:17:06 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 28 09:17:02 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rr3T4-0005HC-5b for gctc-ntg-context-518@m.gmane.org; Sat, 28 Jan 2012 09:17:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 36F5BCB20D; Sat, 28 Jan 2012 09:17:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gOl4LF+dGeZ3; Sat, 28 Jan 2012 09:16:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6DA72CB203; Sat, 28 Jan 2012 09:16:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BEE46CB203 for ; Sat, 28 Jan 2012 09:16:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ooMfWSFbE1Ph for ; Sat, 28 Jan 2012 09:16:46 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id E5414CB201 for ; Sat, 28 Jan 2012 09:16:45 +0100 (CET) Original-Received: from mail-gy0-f169.google.com (mail-gy0-f169.google.com [209.85.160.169]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0S8GiKp019022 for ; Sat, 28 Jan 2012 09:16:45 +0100 Original-Received: by ghrr14 with SMTP id r14so1404058ghr.14 for ; Sat, 28 Jan 2012 00:16:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=54LcAd2voASYUaKyn8acP+/gaRi944Rro92uL8ThJMs=; b=cOktfOSzLhFovWa3Nc7uVLC0zycZ8+DRoWpwVOmH51j06mb3vA8nFqq/nfssR6mS4c bfWDJ85Xjj94Xkrc7wiDXpmlwXIXnztAVMcH6P/r1WQSnConmZhlvnzijSZKr3RkB6YW CWBo62QQLhRGLXH2gLR6eAw4J9nZ7d3pCy6Uw= Original-Received: by 10.236.128.205 with SMTP id f53mr15340971yhi.111.1327738603856; Sat, 28 Jan 2012 00:16:43 -0800 (PST) Original-Received: by 10.236.153.136 with HTTP; Sat, 28 Jan 2012 00:16:43 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dGqUgI5P - c81ed2b0aa6b - 20120128 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:74154 Archived-At: Hi! I'm having trouble while trying to make the following work: \usemodule[gnuplot] \startGNUPLOTscript[distr_simple_1] plot "2_simple_1.out" using (0.01*floor($1/0.01)):(0.870456/100000/0.01) smooth frequency with boxes, (cos(2*x)*sin(0.5*x) + 1)*exp(-0.4*x) \stopGNUPLOTscript \useGNUPLOTgraphic[distr_simple_1] The problem seems to be that the single dollar sign gets interpreted as the start of a math environment. I tried to look through the source code to see how I could tell context to bypass checking for certain characters, but I couldn't figure it out. Thanks for any hints! Janne Junnila ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________