Aditya Mahajan <mailto:adit...@umich.edu>
24. Oktober 2015 um 20:45
On Fri, 23 Oct 2015, Wolfgang Schuster wrote:
Thanks!
What is the easiest way to fix this (without patching tikz)?
Ensure that | has always the same catcode in math mode independant of
the catcode in text mode like _ and ^.
I thought that
\pushcatcodetable
\usemodule[pgfplots]
\usepgfplotslibrary[fillbetween]
\popcatcodetable
should work, but it does not. Why?
Surrounding by \unprotect ... \protect does work, so I am wondering
what is the difference between the two?
When you use \unprotect … \protect context changes the catcode table
between the group but when you only use push and pop this isn’t the case.
Below is a simplified version of your example where the catcode change
remains even when I try to restore the default settings with
\catcodetable\ctxcatcodes but I don’t now if this is a bug.
\starttext
\the\catcode`|
\catcode`|=12
\catcodetable\ctxcatcodes
\the\catcode`|
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________