ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Paul Menzel <paulepanter@users.sourceforge.net>
To: ntg-context@ntg.nl
Subject: Re: gnuplot: `! Undefined control sequence.` with format specifier %
Date: Mon, 12 Dec 2011 01:20:00 +0100	[thread overview]
Message-ID: <1323649200.26949.19.camel@mattotaupa> (raw)
In-Reply-To: <CALBOmsbzxVgBoRt-LdrGgWrewx2TEkh3ANShdVrDcDwKU_z4Cg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2261 bytes --]

Am Montag, den 12.12.2011, 01:02 +0100 schrieb Mojca Miklavec:
> On Mon, Dec 12, 2011 at 00:51, Paul Menzel wrote:

> > 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'
> 
> This should have been without the backslash.
>
> In beginning the text was processed with TeX, not it is taken
> literally (% doesn't start the comment any more), so maybe it's a
> leftover from the very early days. I will check the wiki.

I see. Thank you. It does not complain anymore.

> > Actually I hope that it is since then upgrading would fix my issue. ;-)
> 
> ... however I still have some problems. For some reason ConTeXt only
> generates dvi files from metapost code which has never been the case
> before. I need to figure out what is going on.

I am also getting other errors now and even moving the ConTeXt file to a
new directory I keep getting this error from `mpost`.

        fonts           : using map file: original-ams-euler
        [1.1] [1.1] [1.1] [1.1] [1.1] [1.1] [1.1] [1.1] [1.1] [1.1] [1.1] [1.1]
        [1.1] [1.1] [1.1] [1.1]
        systems         : end file gnup-gnuplot-1-mp-temp at line 130
        (/srv/filme/context/tex/texmf-context/tex/context/base/cont-err.mkii
        systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
        ) )
        Output written on gnup-gnuplot-1-mp-temp.dvi (16 pages, 1360 bytes).
        Transcript written on gnup-gnuplot-1-mp-temp.log.
        TeXExec | runtime: 0.244803
        
        This is MetaPost, version 1.504 (kpathsea version 6.0.0)
        
        mpost: Not writing to .log (openout_any = p).
        ! I can't write on file `.log'.
        Please type another transcript file name:


Thanks,

Paul

[-- 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
___________________________________________________________________________________

  reply	other threads:[~2011-12-12  0:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-11 23:51 Paul Menzel
2011-12-12  0:02 ` Mojca Miklavec
2011-12-12  0:20   ` Paul Menzel [this message]
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=1323649200.26949.19.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).