Re: [NTG-context] Columns and figures in MKIV

2011-07-01 Thread Jason Earl

On Thu, Jun 30 2011, Willi Egger wrote:

 Columnsets provide you the possibility to place column spanning pictures:

Thank you for the advice.  I was hoping to avoid having to learn about
columnsets, but I suppose learning is good.  Any hints on getting
columnsets and footnotes to play nicely?  Here's an example of how I
would normally use footnotes, but the footnote is obscured by the text.

--8---cut here---start-8---
\definecolumnset[Doublecoltext][n=2,balance=no]
\setupcolumnset[Doublecoltext][2][distance=5mm]
\starttext
\chapter[chap:testing]{Testing}

\startcolumnset[Doublecoltext]

  This is a short paragraph.  I think it should have a
  footnote.\footnote{And so it shall!  Unfortunately you won't be able
to see it because it is covered up with the text in the
columnsets.}

\input knuth

%\startpostponing
 \placefigure
   [btlr][fig:foo]
   {none}
   {\externalfigure[mill][width=1.5\textwidth,height=5cm]}
%\stoppostponing

\input tufte

\input knuth

\input tufte

\input knuth

\input tufte

\stopcolumnset
\stoptext
--8---cut here---end---8---

Once again, I am sorry if my question is naive.  I am working through
the examples in the Columnset manual to try and wrap my head around
them, but it is becoming pretty clear to me that it is a tool for layout
designers far more accomplished than I am.

Jason
___
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] Columns and figures in MKIV

2011-06-30 Thread Willi Egger
Columnsets provide you the possibility to place column spanning pictures:

Willi

\definecolumnset[Doublecoltext][n=2,balance=no]
\setupcolumnset[Doublecoltext][2][distance=5mm]
\starttext
\startcolumnset[Doublecoltext]
\chapter[chap:testing]{Testing}


\input knuth

%\startpostponing
 \placefigure
   [btlr][fig:foo]
   {none}
   {\externalfigure[mill][width=1.5\textwidth,height=5cm]}
%\stoppostponing

\input tufte

\input knuth

\input tufte

\input knuth

\input tufte

\stopcolumnset
\stoptext



On 30 Jun 2011, at 01:24, Jason Earl wrote:

 \starttext
 \startcolumns
 \chapter[chap:testing]{Testing}
 
 \startcolumns[n=2, tolerant=verytolerant]
 \input knuth
 
 %\startpostponing
  \placefigure
[center][fig:foo]
{none}
{\externalfigure[foo][]
  [width=1.5\textwidth]}
 %\stoppostponing
 
 \input tufte
 
 \input knuth
 
 \input tufte
 
 \input knuth
 
 \input tufte
 
 \stopcolumns
 \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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Columns and figures in MKIV

2011-06-29 Thread Jason Earl

I am trying to upgrade an existing document from using texexec and
pdftex to context and luatex.  Unfortunately, the document relies pretty
heavily on columns (using \startcolumns[n=2,tolerant=verytolerant]) and
the idea that figures that are too wide to place in a column float to
the top of the next page.

Unfortunately, this does not seem to be the case with the current
minimals.  The following example works fine for texexec (even if I
comment out the \startpostponing \stoppostponing code).  The figure is
placed (centered) at the top of page 2.  With MKIV, however, the figure
stays in the first column and bleeds over into the second column (the
postponing code does change it to the next page, but it doesn't force it
out of the column).

--8---cut here---start-8---
\enableregime[utf-8]

\starttext
\startcolumns
\chapter[chap:testing]{Testing}

\startcolumns[n=2, tolerant=verytolerant]
\input knuth

%\startpostponing
  \placefigure
[center][fig:foo]
{none}
{\externalfigure[foo][]
  [width=1.5\textwidth]}
%\stoppostponing

\input tufte

\input knuth

\input tufte

\input knuth

\input tufte

\stopcolumns
\stoptext--8---cut here---end---8---

I am using the Context minimal distribution (on Linux) and context
reports that the current version as:

current version: 2011.06.29 09:57

It is quite likely that I am simply doing this wrong, but I have read:

http://wiki.contextgarden.net/Columns

and it appears to support what I am trying to do.  I have experimented a
bit with columnsets, but they appear to be overkill for my use.  Then
again, I am probably doing it wrong.  Any advice would be appreciated.

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