Re: [NTG-context] two framed item lists side by side

2017-03-01 Thread Pablo Rodriguez
On 02/09/2017 06:21 PM, Csikos Bela wrote:
> Dear context user:
> 
> I would like to put two itemized lists side by side (1cm between them), top 
> aligned.
> I inserted each lists in framedtext and tried to use combinations but the 
> distance
> between the two frames is too big, and the list are not top aligned.
> What would be a correct solution? I don't need the frame to be drawn.
> Why distance=1cm and width=12cm have no effect in my code?

Hi Csikos,

I guess another approach (not ideal,  but it works) would be to use an
xtable:

\showframe
\setupitemize[each][packed,joinedup,n]
[stopper=.~,itemalign=flushright]
\starttext
\startxtable[split=yes, option=stretch]
\startxrow
\startxcell
\startitemize
\item In The Flesh? 3:19
\item The Thin Ice  2:29
\item Another Brick In The Wall (Part 1)3:09
\item The Happiest Days Of Our Lives1:50
\stopitemize
\stopxcell
\startxcell
\startitemize
\item Hey You   4:41
\item Is There Anybody Out There?   2:40
\stopitemize
\stopxcell
\stopxrow
\stopxtable
\stoptext

Font size must be smaller, otherwise it won’t fit in page margins.

Just in case it might help,

Pablo
-- 
http://www.ousia.tk
___
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
___

[NTG-context] two framed item lists side by side

2017-02-09 Thread Csikos Bela
Dear context user:

I would like to put two itemized lists side by side (1cm between them), top 
aligned.
I inserted each lists in framedtext and tried to use combinations but the 
distance
between the two frames is too big, and the list are not top aligned.
What would be a correct solution? I don't need the frame to be drawn.
Why distance=1cm and width=12cm have no effect in my code?

Thanks,

bcsikos

code:

\setupitemize[each][packed,joinedup,n][stopper=.~,itemalign=flushright]
\setupframedtext[width=5.5cm,frame=off,offset=0pt]
\setupcombinations[width=12cm,distance=1cm]
\starttext
\startcombination[2]
{\startframedtext
\startitemize
\item In The Flesh? 3:19
\item The Thin Ice  2:29
\item Another Brick In The Wall (Part 1)3:09
\item The Happiest Days Of Our Lives1:50
\stopitemize
\stopframedtext
}{}{
\startframedtext
\startitemize
\item Hey You   4:41
\item Is There Anybody Out There?   2:40
\stopitemize
\stopframedtext
}{}
\stopcombination
\stoptext
___
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
___