From: Paul Menzel <paulepanter@users.sourceforge.net>
To: ntg-context@ntg.nl
Subject: gnuplot: `! Undefined control sequence.` with format specifier %
Date: Mon, 12 Dec 2011 00:51:49 +0100 [thread overview]
Message-ID: <1323647509.26949.14.camel@mattotaupa> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1867 bytes --]
Dear Mojca and ConTeXt folks,
I compiled gnuplot 4.5 from source (master) and got everything running.
Mojca, thank you so much!
Trying the example from the gnuplot page in the Wiki [1]
\usemodule[gnuplot]
\setupGNUPLOT[terminal=mp,option=color]
% general settings for the whole document
\startGNUPLOTinclusions
# you may use TeX commands to format the titles and axes
set title '\bf Trigonometry'
set xlabel '$x$'
set ylabel '$y$'
set format y '\%.1f'
\stopGNUPLOTinclusions
\startGNUPLOTscript[tan]
plot tan(x) t '$\tan(x)$'
\stopGNUPLOTscript
\startGNUPLOTscript[sin]
plot 4*sin(x)+x t '$4\sin(x)+x$', x t '$x$' lt 3
\stopGNUPLOTscript
\useGNUPLOTgraphic[tan]
\useGNUPLOTgraphic[sin][width=10cm]
even with the comments removed as above I get the following though.
[1.1] [1.1] [1.1]
! Undefined control sequence.
l.66 \0
.0%
?
[1.1]
! Undefined control sequence.
l.71 \1
0.0%
?
[1.1]
! Undefined control sequence.
l.76 \2
0.0%
?
[1.1]
! Undefined control sequence.
l.81 \3
0.0%
? ^C! Interruption.
<to be read again>
0
l.81 \30
.0%
?
I hope that is not related to the used ConTeXt version.
ConTeXt ver: 2011.11.25 21:29 MKII fmt: 2011.11.25 int: english/english
Actually I hope that it is since then upgrading would fix my issue. ;-)
Thanks,
Paul
[1] http://wiki.contextgarden.net/Gnuplot
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2011-12-11 23:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-11 23:51 Paul Menzel [this message]
2011-12-12 0:02 ` Mojca Miklavec
2011-12-12 0:20 ` Paul Menzel
2011-12-12 0:27 ` Mojca Miklavec
2011-12-12 0:28 ` [solved] gnuplot: mpost: Not writing to .log (openout_any = p). (was: `! Undefined control sequence.` with format specifier %) Paul Menzel
2011-12-12 8:55 ` [solved] gnuplot: mpost: Not writing to .log (openout_any = p) Hans Hagen
2011-12-12 0:13 ` gnuplot: `! Undefined control sequence.` with format specifier % Mojca Miklavec
2011-12-12 0:30 ` 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=1323647509.26949.14.camel@mattotaupa \
--to=paulepanter@users.sourceforge.net \
--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).