[NTG-context] \page inside a block

frantisek holop minusf at obiit.org
Thu Mar 16 00:53:42 CET 2006


hi there,

the following is a minimal example of the layout i am working on.


-----------------------%<-------------------------
% output=pdftex

\enableregime[latin2]

\setuppapersize
  [A5][A5]

\defineparagraphs
  [poem][n=2]
\setupparagraphs
  [poem][1][width=.35\textwidth]
\setupparagraphs
  [poem][2][rule=on]

\starttext

\startpoem
\section{poem}
\poem\startlines
line 1
line 2
\page
line 3
line 4
\stoplines\stoppoem
\stoptext
-----------------------%<-------------------------


when the poem gets long, i need to start a new page obviously.
but page is not working.  what am i missing here?

also, using \page is one thing, good for me, so i could tell,
flush the page right here, but i thought i'll get an automatic
pagebreak when the text gets to the bottom....

sorry if this is a very silly question, just getting my feet wet
with context....  thanks

-f
-- 
bungee diving - living it up when you're going down!


More information about the ntg-context mailing list