[NTG-context] Bug in newest ConTeXt with anglebetween?

Hans Hagen j.hagen at xs4all.nl
Sat Sep 1 19:23:56 CEST 2018


On 9/1/2018 7:13 PM, Mikael P. Sundqvist wrote:
> Hi!
> 
> The document below compiled before, but not since upgrading to the new 
> version of standalone (current version: 2018.08.30 18:41). I'm running 
> linux if that matters.
> 
> The problem seem to be anglebetween, since if that line is commented 
> out, the file compiles.

use

textext("$\alpha$")

> %%%
> \starttext
> \startuseMPgraphic{testfig}
> u:=1cm;
> z0=origin;
> z1=(4u,3u);
> z2=(4u,0);
> 
> draw z0--z1--z2--cycle;
> 
> draw anglebetween(z0--z2,z0--z1,btex $\alpha$ etex);
> \stopuseMPgraphic
> 
> \startplacefigure
> \useMPgraphic{testfig}
> \stopplacefigure
> \stoptext
> %%%
> 
> The error is something like:
> 
> tex error       > tex error on line 7 in file 
> /home/mickep/tmp/testfil.tex: ! Extra }, or forgotten $
> 
> l.7 }
> <local> \global \setbox \mptextbox \hbox {\clf_mptexttoks
>                                                    }
> <inserted text>
> BAD
> <to be read again>
> \relax
> \meta_process_graphic ...pvariableclass :}\relax }
>                                                    
> \meta_process_graphic_stop...
> \meta_handle_use_graphic ...a_process_graphic {#3}
>                                                    \endgroup
> 
> /Mikael
> 
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list