Unless I'm doing something very silly, the following should and I am
almost certain did work, but it fails with the 2006.09.28 beta:

================ btex.tex ===================
\starttext
\startreusableMPgraphic{fig}
  label(btex in b/e tex etex, origin);
\stopreusableMPgraphic

outside btex..etex\quad
\reuseMPgraphic{fig}
\stoptext
============================================

The output says

  systems         : begin file btex-mpgraph-temp at line 42
  ! Missing $ inserted.
  <inserted text> 
                  $
  <to be read again> 
                     _
  l.48 _
        special_div_ := 10000;
  ? 

Here's a snippet from btex-mpgraph-temp.tex:

  \starttext

  \startMPXpage
  "
  mpgraph:=1;
  randomseed:=33;
  _special_div_ := 10000; 

The underscores in the variable name are upsetting to tex.  I haven't
tracked down the chain of influence that put them there.

Meanwhile the same btex..etex test on a static MP figure works fine:

==================== btex-static.tex ================
\starttext
\startstaticMPfigure{fig}
  label(btex in b/e tex etex, origin);
\stopstaticMPfigure

outside btex..etex\quad
\usestaticMPfigure[fig]
\stoptext
====================================================

-Sanjoy

`A society of sheep must in time beget a government of wolves.'
   -- Bertrand de Jouvenal
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to