* Issues with the legend mechanism
@ 2012-10-04 12:00 Marco Patzer
2012-10-04 12:35 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Marco Patzer @ 2012-10-04 12:00 UTC (permalink / raw)
To: context
Hi,
I discovered some issues with the legend mechanism.
1) A newline after \startplacelegend fails:
\starttext
\startplacelegend
\startcontent
Foo
\stopcontent
\startcaption
Bar
\stopcaption
\stopplacelegend
\stoptext
2) location != top | bottom throws “Infinite glue shrinkage found in
a paragraph”:
\starttext
\startplacelegend [location=left]
\startcontent
Foo
\stopcontent
\startcaption
Bar
\stopcaption
\stopplacelegend
\stoptext
3) tabulate inside the content fails when not boxed:
\starttext
\startplacelegend [location=left]
\startcontent
\starttabulate
\NC Alpha \NC Beta \NC\NR
\stoptabulate
\stopcontent
\startcaption
Bar
\stopcaption
\stopplacelegend
\stoptext
Just reporting, nothing which needs to be fixed before EuroTeX.
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Issues with the legend mechanism
2012-10-04 12:00 Issues with the legend mechanism Marco Patzer
@ 2012-10-04 12:35 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-10-04 12:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 04.10.2012 um 14:00 schrieb Marco Patzer <homerow@lavabit.com>:
> Hi,
>
> I discovered some issues with the legend mechanism.
>
> 1) A newline after \startplacelegend fails:
>
> \starttext
> \startplacelegend
>
> \startcontent
> Foo
> \stopcontent
> \startcaption
> Bar
> \stopcaption
> \stopplacelegend
> \stoptext
>
>
> 2) location != top | bottom throws “Infinite glue shrinkage found in
> a paragraph”:
>
> \starttext
> \startplacelegend [location=left]
> \startcontent
> Foo
> \stopcontent
> \startcaption
> Bar
> \stopcaption
> \stopplacelegend
> \stoptext
pack-com.mkiv (replace \hss with \vss):
\setvalue{\??pairedboxalign\v!middle}% 4
{\let\pack_pairedboxes_align_l\hss
\let\pack_pairedboxes_align_r\hss
- \let\pack_pairedboxes_align_t\hss
- \let\pack_pairedboxes_align_b\hss}
+ \let\pack_pairedboxes_align_t\vss
+ \let\pack_pairedboxes_align_b\vss}
> 3) tabulate inside the content fails when not boxed:
>
> \starttext
> \startplacelegend [location=left]
> \startcontent
> \starttabulate
> \NC Alpha \NC Beta \NC\NR
> \stoptabulate
> \stopcontent
> \startcaption
> Bar
> \stopcaption
> \stopplacelegend
> \stoptext
You can place the tabulate environment only with the second group of the legend, it doesn’t
matter when you change the position of \startcaption and \startcontent because because
both commands are synonyms for \bgroup.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-04 12:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-04 12:00 Issues with the legend mechanism Marco Patzer
2012-10-04 12:35 ` Wolfgang Schuster
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).