Gerben Wierda wrote:
> I have this setup in my environment file:
> 
> =================================================
> \setuphead
>   [chapter]
>   [page=,
>    before=\setups{chapter:before},
>    after=\setups{chapter:after}]
> 
> \startsetups chapter:before
> 
>     \page[left]
> 
>     \noheaderandfooterlines
> 
>     \startalignment[left,nothyphenated]
>         \startnarrower[4*left]
>             \noindent \em \setups[chapter:quote]
>         \stopnarrower
>     \stopalignment
> 
>     \resetsetups[quote:text]
> 
>     \page[right]
> 
>     \noheaderandfooterlines
> 
>     \blank[force,2*big]
> 
> \stopsetups
> 
> \startsetups [chapter:after]
> 
>     \blank[3*big]
> 
> \stopsetups
> ===============================================
> 
> But when I call it
> 
> ===============================================
> \starttext
> \startsetups [chapter:quote]
> Lee Chong's is to the right of the vacant lot (although why
> it is called vacant when it is piled high with old boilers, with rusting
> pipes, with great square timbers, and stacks of five-gallon cans, no 
> one can
> say).\crlf
> {\tf John Steinbeck} --- Cannery Row\crlf
> \crlf
> Doc explained patiently, ``Both players know exactly the same
> things. The game is played in the mind.''\crlf
> ``I don't get it.''\crlf
> ``Well, look! You can't cheat in mathematics or poetry or music because
> they're based on truth. Untruth or cheating is just foreign, it has  no
> place.
> You can't cheat in arithmetic.\crlf
> {\tf John Steinbeck} --- Sweet Thursday
> \stopsetups

\startbuffer
Lee Chong's is to the right of the vacant lot (although why
it is called vacant when it is piled high with old boilers, with rusting
pipes, with great square timbers, and stacks of five-gallon cans, no
one can
say).\crlf
{\tf John Steinbeck} --- Cannery Row\crlf
\crlf
Doc explained patiently, ``Both players know exactly the same
things. The game is played in the mind.''\crlf
``I don't get it.''\crlf
``Well, look! You can't cheat in mathematics or poetry or music because
they're based on truth. Untruth or cheating is just foreign, it has  no
place.
You can't cheat in arithmetic.\crlf
{\tf John Steinbeck} --- Sweet Thursday
\stopbuffer

\startsetups chapter:quote
  \getbuffer
\stopsetups


This works for me. But you better give the buffer a name :)

Gretings,

Peter

> \chapter[h:foo]{Foo}
> ===============================================
> 
> I get that every word that is in the input file at th eend of a line  is
> glued (no whitespace) to the word that is on the next line of the  input
> line.
> 
> How can I solve this?
> 
> Thanks
> 
> G
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to