Gerben Wierda wrote:

\def\ClearChapterQuote{\def\ChapterQuote{}}
\ClearChapterQuote
\def\ChQuoteFormat#1{\starttext%
         \startalignment[left]%
         \startnarrower[4*left] \noindent{\nohyphens\em #1}%
         \stopnarrower\stopalignment\stoptext\blank}
\setuphead[chapter]
         [page=left,
         before={\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines%
                 \page[right]\blank[2*big]},
         after={\ClearChapterQuote\blank[3*big]}%
                 \noheaderandfooterlines]

You should definitely not have the \starttext / \stoptext pair in there. There should only be one of those in an entire run - they come at the start of your content and the end.


The following, tested on Live, produces something which looks like it might be what you're after:

--
\def\ClearChapterQuote{\def\ChapterQuote{}}
\ClearChapterQuote
\def\ChQuoteFormat#1{%
\startalignment[{left,nothyphenated}]%
\startnarrower[4*left]\em #1%
\stopnarrower\stopalignment\blank}
\setuphead[chapter]
[page=left,
before={\ChQuoteFormat{\ChapterQuote}\noheaderandfooterlines%
\page[right]\blank[2*big]},
after={\ClearChapterQuote\blank[3*big]}%
\noheaderandfooterlines]
\starttext
\def\ChapterQuote{Something quite long so that we can tell whether or not hyphenation has occurred, hopefully this will do.}
\chapter{test}
Some text
\stoptext
--


Duncan



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

Reply via email to