From: "Mikael P. Sundqvist" <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Bug in newest ConTeXt with anglebetween?
Date: Sat, 1 Sep 2018 19:13:03 +0200 [thread overview]
Message-ID: <CAHy-LL89oF3sAeWnETHj_D+pcNmwgLgi6m1+eZz644H46UmfAg@mail.gmail.com> (raw)
[-- 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
___________________________________________________________________________________
next reply other threads:[~2018-09-01 17:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-01 17:13 Mikael P. Sundqvist [this message]
2018-09-01 17:23 ` Hans Hagen
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=CAHy-LL89oF3sAeWnETHj_D+pcNmwgLgi6m1+eZz644H46UmfAg@mail.gmail.com \
--to=mickep@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).