From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bug with ConTeXt and pgfplot library fillbetween
Date: Fri, 23 Oct 2015 18:26:47 +0200 [thread overview]
Message-ID: <562A5FC7.6050108@gmail.com> (raw)
In-Reply-To: <alpine.OSX.2.02.1510212046380.50263@nqv-znpobbx>
[-- Attachment #1.1: Type: text/plain, Size: 1276 bytes --]
> Aditya Mahajan <mailto:adityam@umich.edu>
> 22. Oktober 2015 um 02:52
> Hi,
>
> The following example fails:
>
> \usemodule[pgfplots]
> \usepgfplotslibrary[fillbetween]
>
> \starttext
> \startformula
> \left. a \right|
> \stopformula
>
> \stoptext
>
> with
>
> tex error > tex error on line 7 in file /private/tmp/test.tex: !
> Missing \endgroup inserted
>
> <inserted text>
> \endgroup
> <to be read again>
> \Ucheckedstopdisplaymath
> \stopdisplaymath ...math \Ucheckedstopdisplaymath
> \par \ifvmode
> \ifcase \c_s...
> \strc_formulas_stop_formula ...native \v!formula }
> \dostoptagged
> \dostoptagge...
> l.7 \stopformula
>
> This is a weird bug. Only \left. \right| fails; \left| \right| works
> correctly. If I remove the fillbetween library, the error goes away.
>
> Any hints as to what is happening will be appreciated.
The fillbetween library changes the catcode of the bar character.
\starttext
\the\catcode`|
\usemodule[pgfplots]
\usepgfplotslibrary[fillbetween]
\the\catcode`|
\stoptext
You get the same error when you use \asciimode in your document.
\asciimode
\starttext
\startformula
\left. a \right|
\stopformula
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2703 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 prev parent reply other threads:[~2015-10-23 16:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 0:52 Aditya Mahajan
2015-10-23 16:26 ` Wolfgang Schuster [this message]
2015-10-24 18:45 ` Aditya Mahajan
2015-10-26 9:53 ` Wolfgang Schuster
2015-10-26 16:50 ` Aditya Mahajan
2015-10-26 10:03 ` Mojca Miklavec
2015-10-26 10:16 Akira Kakuto
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=562A5FC7.6050108@gmail.com \
--to=schuster.wolfgang@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).