ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* rotated columns
@ 2011-08-27 11:32 Jano Kula
  2011-08-27 15:51 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jano Kula @ 2011-08-27 11:32 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: rotated columns
  2011-08-27 11:32 rotated columns Jano Kula
@ 2011-08-27 15:51 ` Wolfgang Schuster
  2011-08-27 18:25   ` Jano Kula
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-08-27 15:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: rotated columns
  2011-08-27 15:51 ` Wolfgang Schuster
@ 2011-08-27 18:25   ` Jano Kula
  2011-08-28  6:12     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Jano Kula @ 2011-08-27 18:25 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: rotated columns
  2011-08-27 18:25   ` Jano Kula
@ 2011-08-28  6:12     ` Wolfgang Schuster
  2011-08-29 19:05       ` Jano Kula
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-08-28  6:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: rotated columns
  2011-08-28  6:12     ` Wolfgang Schuster
@ 2011-08-29 19:05       ` Jano Kula
  0 siblings, 0 replies; 5+ messages in thread
From: Jano Kula @ 2011-08-29 19:05 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-29 19:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-27 11:32 rotated columns Jano Kula
2011-08-27 15:51 ` Wolfgang Schuster
2011-08-27 18:25   ` Jano Kula
2011-08-28  6:12     ` Wolfgang Schuster
2011-08-29 19:05       ` Jano Kula

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).