Thanks for the tip but I am having trouble getting this to work. I now have in my main text:

=======================================================
\startbuffer [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
\stopbuffer
\chapter[h:foo]{Foo}
=======================================================

and in my environment file:

=======================================================
\definebuffer[chapter:quote]

\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 \getbuffer [chapter:quote]
        \stopnarrower
    \stopalignment

    \resetsetups[quote:text]

    \page[right]

    \noheaderandfooterlines

    \blank[force,2*big]

\stopsetups

\startsetups chapter:after

    \blank[3*big]

\stopsetups
=======================================================

But now I get *nothing* on the page facing the chapter start. I changed it to

=======================================================
\startbuffer [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
\stopbuffer
\startsetups [chapter:quote]
\getbuffer [chapter:quote]
\stopsetups

\chapter[h:foo]{Foo}
=======================================================

and in my environment file:

=======================================================
\definebuffer[chapter:quote]

\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 that doesn't help either. Still nothing.

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

Reply via email to