ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Devendra Ghate <devendra.ghate@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Can Tikz external library be used in Context?
Date: Thu, 24 Jan 2013 22:14:33 +0530	[thread overview]
Message-ID: <510164F1.1010805@gmail.com> (raw)

Hi,

Following MWE produces the error given below. I have been able to include
other tikz libraries (arrows, decorations) successfully.

*MWE*

\usemodule[tikz]
\usetikzlibrary{external}

\starttext
  A
\stoptext

*Error*
---------------------------------------------
! Missing number, treated as zero.

system          > tex > error on line 1290 in file 
/home/deven/context/tex/texmf-modules/tex/generic/pgf/frontendlayer/tikz/libraries/tikzexternalshared.code.tex: 
Missing number, treated as zero ...

1280 \gdef\tikzexternal@activate@normal@dq{\let"=\tikzexternal@normal@dq}
1281 \gdef\tikzexternal@activate@normal@sq{\let'=\tikzexternal@normal@sq}
1282 
\gdef\tikzexternal@activate@normal@semic{\let;=\tikzexternal@normal@semic}
1283 \gdef\tikzexternal@activate@normal@and{\let&=\tikzexternal@normal@and}
1284 
\gdef\tikzexternal@activate@normal@dash{\let-=\tikzexternal@normal@dash}
1285     \catcode`\|=0
1286     \catcode`\\=12
1287     |xdef|tikzexternal@normal@backslash{\}%
1288     }
1289     {
1290 >>  \catcode`\^^I=12
1291     \catcode`\$=12
1292     \catcode`\%=12
1293     \catcode`\#=12
1294     \gdef\tikzexternal@HASHchar{#}
1295 
\gdef\tikzexternal@TABchar{^^I}\gdef\tikzexternal@PERCENTchar{%}\xdef\tikzexternal@DOLLARchar{$}}
1296
1297     % Creates the '/tikz/external/system call' command as string and
1298     % returns it into the (global!) macro #2.
1299     % #1: the image file name (as returned by
1300     % \tikzexternalgetnextfilename)

<to be read again>
                    ^
l.1290 \catcode`\^^
                    I=12

___________________________________________________________________________________
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:[~2013-01-24 16:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-24 16:44 Devendra Ghate [this message]
2013-01-24 17:53 ` Marco Patzer
2013-01-24 18:53   ` Devendra Ghate
2013-01-24 20:05     ` Marco Patzer
2013-01-24 20:26       ` Aditya Mahajan
2013-01-24 17:57 ` Mojca Miklavec

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=510164F1.1010805@gmail.com \
    --to=devendra.ghate@gmail.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).