* Bug in newest ConTeXt with anglebetween?
@ 2018-09-01 17:13 Mikael P. Sundqvist
2018-09-01 17:23 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Mikael P. Sundqvist @ 2018-09-01 17:13 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1019 bytes --]
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.
%%%
\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
[-- Attachment #1.2: Type: text/html, Size: 1769 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug in newest ConTeXt with anglebetween?
2018-09-01 17:13 Bug in newest ConTeXt with anglebetween? Mikael P. Sundqvist
@ 2018-09-01 17:23 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2018-09-01 17:23 UTC (permalink / raw)
To: Mikael P. Sundqvist, mailing list for ConTeXt users
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@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
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-01 17:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-01 17:13 Bug in newest ConTeXt with anglebetween? Mikael P. Sundqvist
2018-09-01 17:23 ` Hans Hagen
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).