On Thu, 27 Dec 2007 16:15:22 -0700, Wolfgang Schuster
Your example is too long, I could reproduce this also with the folowing short example.
\startquotation text \quote{text} text\stopquotation
Indeed, much more to the point :-)
The wrong right values did only appear if you use singlecommand quotations within a quotation environment.
The push and popdelimitedtext macros did not work correct in this case and ConTeXt thinks there current environment is "quotation" and not "blockquote" when it reaches the \stopblockquote command.
A group around the single quote command helps, you core macros would look like:
\unprotect
\def\delimitedtext[#1]% {\bgroup \pushdelimitedtext{#1}% \doifelse{\delimitedtextparameter\c!method}\s!font {\dofontdrivendelimited} {\doifinsetelse{\delimitedtextparameter\c!location}{\v!paragraph, \v!margin}% \dodelimitedtextpar\dodelimitedtexttxt}}
\unexpanded\def\dodelimitedtextpar {\dohandleleftdelimitedtext\c!left\relax \groupedcommand \donothing {\dohandlerightdelimitedtext\c!right\removelastskip \popdelimitedtext \egroup}}
\def\doquoteddelimited {\dohandleleftdelimitedtext\c!left\relax \groupedcommand \donothing {\dohandlerightdelimitedtext\c!right \removelastskip \popdelimitedtext \egroup}}
\def\doattributeddelimited {\groupedcommand {\dostartattributes{\??ci\currentdelimitedtext}\c!style\c!color} {\dostopattributes \popdelimitedtext \egroup}}
\protect
I added in the macros above only a \bgroup in \delimitedtext and a \egroup in every of the other three commands.
There is a bug in here I think: ConTeXt validation gives error in file qabas-test.tex at line 6 in column 3: missing } for { error in file qabas-test.tex at line 10 in column 6: missing } for { line 6 is {\bgroup luatex eternally pauses with an apparent runaway argument.... But enclosing the whole thing {\quote{}} is a workaround. Thank you very much for your continuous outppouring of wisdom, Wolfgang! Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/