ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: jeroen.muskee@hotmail.com
To: ntg-context@ntg.nl
Subject: Re: Gnuplot module: Patching of Gnuplot binary still needed?
Date: Sun, 9 Jan 2011 16:50:19 -0500	[thread overview]
Message-ID: <22477088.01294609819006.JavaMail.root@wombat> (raw)
In-Reply-To: <llser7-8t8.ln1@news.jonasstein.de>

In the past I was using this instruction set to install GnuPlot in Windows Context Mkiv minimals but it does not work anymore. Is there a bug in t-gnuplot version 2009-07-21?

Create folder c:\context\gnuplot
Download from http://dl.contextgarden.net/modules/gnuplot-win.zip the gnuplot file gnuplot-win.zip and unzip in folder c:\context so you have folders c:\context\gnuplot\bin and c:\context\gnuplot\term
Create a batch file c:\context\gnuplot\bin\gnuplot.bat with content "c:\context\gnuplot\bin\wgnuplot.exe" %*
START>RUN>CMD ENTER
SET PATH=%PATH%;c:\context\gnuplot\bin ENTER
Test GNUPLOT by entering gnuplot in the CLI console and give in gnuplot the command plot sin(x) ENTER
Create folder c:\context\tex\texmf\tex\context\third\gnuplot
Download http://theory.uwinnipeg.ca/scripts/CTAN/macros/context/contrib/context-gnuplot.zip or http://dl.contextgarden.net/modules/t-gnuplot-2009.07.21.zip module and unzip and put in folder c:\context\tex\texmf\tex\context\third\gnuplot and c:\context\text\texmf\metapost\base\ so you have c:\context\tex\texmf\tex\context\third\gnuplot\t-gnuplot.tex and c:\context\text\texmf\metapost\base\mp-gnuplot.mp
Start>run>cmd>c: ENTER cd \context\tex\texmf-mswin\bin ENTER context – -generate ENTER
(For MkII users use the following command mktexlsr)
Enter the following data to test GNUPLOT

\usemodule[gnuplot]
\enableregime[utf]
\setupGNUPLOT[terminal=mp]

\startGNUPLOTscript[mysinplot]
set xlabel “time”
set ylabel “value”
plot sin(x)
\stopGNUPLOTscript

\starttext
text before picture
\useGNUPLOTgraphic[mysinplot]
text after picture
\stoptext


--
This message was sent on behalf of jeroen.muskee@hotmail.com at openSubscriber.com
http://www.opensubscriber.com/message/ntg-context@ntg.nl/14815843.html
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2011-01-09 21:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-14 22:04 Paul Menzel
2010-11-15 11:29 ` Mojca Miklavec
     [not found]   ` <201011152131.18476.peter@affenbande.org>
2010-11-17 10:47     ` Mojca Miklavec
2010-11-18 23:38       ` Florian Wobbe
2010-11-22 15:01         ` Mojca Miklavec
2010-11-22 18:12           ` Ethan Merritt
2010-11-22 19:15           ` Florian Wobbe
2010-11-22 21:03             ` Mojca Miklavec
2010-11-22 21:19               ` Aditya Mahajan
2010-11-22 21:26                 ` Mojca Miklavec
2010-11-22 22:20                 ` Alan BRASLAU
2010-11-22 21:44               ` Florian Wobbe
2010-11-22 22:10                 ` Mojca Miklavec
2010-11-18  6:11   ` Jonas Stein
2011-01-09 21:50     ` jeroen.muskee [this message]
2011-01-09 18:54       ` Mojca Miklavec
2011-01-09 19:01         ` Aditya Mahajan
2011-01-09 23:20         ` Mojca Miklavec
2011-01-11  3:26           ` jeroen.muskee
2010-11-18 18:28   ` Paul Menzel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22477088.01294609819006.JavaMail.root@wombat \
    --to=jeroen.muskee@hotmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).