[NTG-context] Problem with nested \quotation and \quote

Wolfgang Schuster schuster.wolfgang at googlemail.com
Fri Nov 2 11:23:18 CET 2007


2007/11/1, Thomas A. Schmitz <thomas.schmitz at uni-bonn.de>:
>
> Hi all,
>
> the attached test file shows a problem with nested \quotation and
> \quote commands: ConTeXt breaks the line after the first closing
> quote. There shouldn't be a line break there.
>
> Thanks!
>
> Thomas
>
> \definepapersize[test][width=7cm,height=3cm]
>
> \setuppapersize[test][test]
>
> \mainlanguage[en]



\unprotect

\unexpanded\def\dodelimitedtextpar
  {\dohandleleftdelimitedtext\c!left\relax
   \groupedcommand
     \donothing
     %{\dohandlerightdelimitedtext\c!right\removelastskip
     {\prewordbreak\dohandlerightdelimitedtext\c!right\removelastskip
      \popdelimitedtext}}

\protect

\starttext
>
> \quotation{He said, \quote{this demonstrates the problem with nested
> quotes.}}
>
> \stoptext


Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20071102/9f4c0420/attachment.html 


More information about the ntg-context mailing list