From: Willi Egger <context@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Struggling with new version of ConTeXt
Date: Fri, 4 Mar 2016 12:39:56 +0100 [thread overview]
Message-ID: <9A378B4D-AC55-4E97-BDB3-A0103AC56A6F@boede.nl> (raw)
In-Reply-To: <56D9589D.80906@wxs.nl>
Hans, thank you for fixing this so quickly!
Willi
> On 4 mrt. 2016, at 10:42, Hans Hagen <pragma@wxs.nl> wrote:
>
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
prev parent reply other threads:[~2016-03-04 11:39 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
2016-03-04 11:39 ` Willi Egger [this message]
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=9A378B4D-AC55-4E97-BDB3-A0103AC56A6F@boede.nl \
--to=context@boede.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).