ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with nested \quotation and \quote
@ 2007-11-01 10:14 Thomas A. Schmitz
  2007-11-02 10:23 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas A. Schmitz @ 2007-11-01 10:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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]

\starttext

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

\stoptext

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with nested \quotation and \quote
  2007-11-01 10:14 Problem with nested \quotation and \quote Thomas A. Schmitz
@ 2007-11-02 10:23 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2007-11-02 10:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 796 bytes --]

2007/11/1, Thomas A. Schmitz <thomas.schmitz@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

[-- Attachment #1.2: Type: text/html, Size: 1399 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-02 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-01 10:14 Problem with nested \quotation and \quote Thomas A. Schmitz
2007-11-02 10:23 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).