On Thu, 27 Dec 2007 16:45:43 -0700
"Idris Samawi Hamid" <[EMAIL PROTECTED]> wrote:

> On Thu, 27 Dec 2007 16:15:22 -0700, Wolfgang Schuster
> <[EMAIL PROTECTED]> wrote:
>
> > 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....

Not for me, I tested it with mkii and mkiv. I think it was also
something weird introduced by the mail clint.

I attached now my test file.

> But enclosing the whole thing {\quote{}} is a workaround.

Ugly workaround.

> Thank you very much for your continuous outppouring of wisdom, Wolfgang!
>
> Best
> Idris

Greetings,
Wolfgang

Attachment: quote.tex
Description: TeX document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to