From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: Struggling with new version of ConTeXt
Date: Fri, 4 Mar 2016 10:42:53 +0100 [thread overview]
Message-ID: <56D9589D.80906@wxs.nl> (raw)
In-Reply-To: <C485EC96-45D1-43D1-A5D1-BE6F5A31E36B@boede.nl>
On 3/4/2016 6:03 AM, Willi Egger wrote:
> With version :ConTeXt ver: 2016.02.17 11:11 MKIV beta the following code worked:
>
> \define[2]\Illustration{%
> \startplacefigure
> [title=#2,reference=fig:#1]
> \externalfigure[#1][height=.25\textheight]
> \stopplacefigure}
>
> \starttext
>
> \Illustration{cow}{A Frisian cow}
>
> \stoptext
>
> With ConTeXt ver: 2016.03.03 23:31 MKIV beta I get a fatal error:
>
> ...test.tex: ! Extra }, or forgotten \endgroup
>
> \strc_counters_register_component_list ...focus }}titledata{label{\detokeniz...
> \strc_counters_register_component ...}{#3}{#4}{#9}\else \ifx \currentstructu...
> \strc_floats_place_packaged_boxes_indeed ... ][#1]\globallet \previousfloatn...
> \strc_floats_finish_placement ...e_packaged_boxes\dostoptagged \global \d_p...
> l.30 \Illustration{cow}{A Frisian cow}
fixed, btw you can also say:
\starttexdefinition Illustration #1#2
\startplacefigure[title=#2,reference=fig:#1]
\externalfigure[#1][height=.25\textheight]
\stopplacefigure
\stoptexdefinition
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2016-03-04 9:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-04 5:03 Willi Egger
2016-03-04 9:42 ` Hans Hagen [this message]
2016-03-04 11:39 ` Willi Egger
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=56D9589D.80906@wxs.nl \
--to=pragma@wxs.nl \
--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).