Re: [NTG-context] rotated columns

2011-08-29 Thread Jano Kula

Thank you, Wolfgang,

I was trying to use columns, columnsets, paragraphs, but unfortunately 
not simplecolumns.


Jano


___
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
___


Re: [NTG-context] rotated columns

2011-08-27 Thread Wolfgang Schuster

Am 27.08.2011 um 20:25 schrieb Jano Kula:

> Hi Wolfgang,
> 
> the example was too minimal :)
> 
> This is what I want to achieve:
> 
> \starttext
> \rotate[rotation=90]{
> \startframedtext
> \startcolumns[n=2,balance=yes]
> \input tufte
> \stopcolumns
> \stopframedtext
> }
> \stoptext
> 
> Rotation is done in \hbox. To get kind of minipage I "frame" it first, as you 
> suggest somewhere else on the list. But then balanced columns are lost. 
> Without framed text the prevdepth conflict appears. I do understand, the 
> columns environment needs to know the available space to compute and balance 
> columns, but playing with height parameter in \rotate or \startframedtext 
> didn't help either.

You can’t use the columns environment in framed. When you don’t need something 
special you can use simplecolumns:

\starttext

\framed
  [orientation=90,height=\textheight,align=normal]
  {\startsimplecolumns
   \input tufte
   \stopsimplecolumns}

\rotate{\framed
  [width=\textheight,align=normal]
  {\startsimplecolumns
   \input tufte
   \stopsimplecolumns}}

\stoptext

> This is still very simplified situation of the problem to typeset some 
> material in balanced columns (which is the most natural way, not necessarily 
> with this kind of columns) and then rotate the typeset material and put in 
> into the margins (just the part of the whole typeset page).

You can take a look at streams which can be used for this.

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
___


Re: [NTG-context] rotated columns

2011-08-27 Thread Jano Kula

Hi Wolfgang,

the example was too minimal :)

This is what I want to achieve:

\starttext
\rotate[rotation=90]{
\startframedtext
\startcolumns[n=2,balance=yes]
\input tufte
\stopcolumns
\stopframedtext
}
\stoptext

Rotation is done in \hbox. To get kind of minipage I "frame" it first, 
as you suggest somewhere else on the list. But then balanced columns are 
lost. Without framed text the prevdepth conflict appears. I do 
understand, the columns environment needs to know the available space to 
compute and balance columns, but playing with height parameter in 
\rotate or \startframedtext didn't help either.


This is still very simplified situation of the problem to typeset some 
material in balanced columns (which is the most natural way, not 
necessarily with this kind of columns) and then rotate the typeset 
material and put in into the margins (just the part of the whole typeset 
page).


Jano

___
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
___


Re: [NTG-context] rotated columns

2011-08-27 Thread Wolfgang Schuster

Am 27.08.2011 um 13:32 schrieb Jano Kula:

> Hello to everybody,
> 
> how to rotate balanced columns to avoid the prevdepth conflict?

What is the problem and why do you want to rotate the columns for this?

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
___


[NTG-context] rotated columns

2011-08-27 Thread Jano Kula

Hello to everybody,

how to rotate balanced columns to avoid the prevdepth conflict? I've 
tried \rotate, \framed (to box the content), \vbox, \hbox, etc. with no 
luck.


\starttext
\startcolumns[n=2,balance=yes]
\input tufte
\stopcolumns
\stoptex

Thanks for the hints,

Jano


___
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
___