* Bug in startcombination
@ 2017-08-14 7:53 Otared Kavian
2017-08-14 8:27 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Otared Kavian @ 2017-08-14 7:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi Hans,
It seems that in the latest ConTeXt beta a bug shows up when using \startcombination, or something has changed recently that I have overlooked.
The following example typesets correctly in mkii, and used to produce a correct output with mkiv. However, now, with ConTeXt version 2016.05.17 19:20, the typesetting stops with an error message saying:
[………] Missing { inserted
<inserted text>
{
<to be read again>
\cr
\pack_combinations_pickup_package_pair_c ->\cr
\pack_combinations_flush_capt...
l.20 \stopcombination}
[………]
Here is the example:
%%% begin bug-combination.tex
\setupcolors[state=start]
\useMPlibrary[dum]
\starttext
This is our first picture.
\placefigure[none]{}{\externalfigure[dummy][width=6cm]}
\blank
This is a combination of 3 figures on two lines
\placefigure[none]{}
{
\midaligned{
\startcombination[1*2]
{\startcombination[2*1]
{\externalfigure[dummy][width=6cm]}{}
{\externalfigure[dummy][width=6cm]}{}
\stopcombination}
{\externalfigure[dummy][width=6cm]}{}
\stopcombination}
}
\stoptext
%%% end bug-combination.tex
Thanks for your attention and best regards: OK
___________________________________________________________________________________
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 startcombination
2017-08-14 7:53 Bug in startcombination Otared Kavian
@ 2017-08-14 8:27 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2017-08-14 8:27 UTC (permalink / raw)
To: mailing list for ConTeXt users, Otared Kavian
On 8/14/2017 9:53 AM, Otared Kavian wrote:
> Hi Hans,
>
> It seems that in the latest ConTeXt beta a bug shows up when using \startcombination, or something has changed recently that I have overlooked.
> The following example typesets correctly in mkii, and used to produce a correct output with mkiv. However, now, with ConTeXt version 2016.05.17 19:20, the typesetting stops with an error message saying:
>
> [………] Missing { inserted
>
> <inserted text>
> {
> <to be read again>
> \cr
> \pack_combinations_pickup_package_pair_c ->\cr
> \pack_combinations_flush_capt...
> l.20 \stopcombination}
> [………]
>
> Here is the example:
>
> %%% begin bug-combination.tex
> \setupcolors[state=start]
> \useMPlibrary[dum]
>
> \starttext
>
> This is our first picture.
> \placefigure[none]{}{\externalfigure[dummy][width=6cm]}
> \blank
>
> This is a combination of 3 figures on two lines
> \placefigure[none]{}
> {
> \midaligned{
> \startcombination[1*2]
> {\startcombination[2*1]
> {\externalfigure[dummy][width=6cm]}{}
> {\externalfigure[dummy][width=6cm]}{}
> \stopcombination}
> {\externalfigure[dummy][width=6cm]}{}
There is a {} too many in that line (or one missing)
> \stopcombination}
> }
>
> \stoptext
> %%% end bug-combination.tex
%%% end sloppy-combination.tex
\starttext
\startplacefigure[location=none]
\startcombination[1*2]
{\startcombination[2*1]
{1.1}{}
{1.2}{}
\stopcombination}
{2} % one {} too many
\stopcombination
\stopplacefigure
\startplacefigure[location=none]
\startcombination[1*2]
{\startcombination[2*1]
{1.1}{}
{1.2}{}
\stopcombination}{}
{2}{}
\stopcombination
\stopplacefigure
\stoptext
-----------------------------------------------------------------
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:[~2017-08-14 8:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-14 7:53 Bug in startcombination Otared Kavian
2017-08-14 8:27 ` 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).