From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37175 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: \quotation Date: Fri, 2 Nov 2007 11:01:25 +0100 Message-ID: <115224fb0711020301o1b0f9876p574fe1e17c021af8@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1807488377==" X-Trace: ger.gmane.org 1193997993 22210 80.91.229.12 (2 Nov 2007 10:06:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Nov 2007 10:06:33 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 02 11:06:36 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IntPe-0001K1-H1 for gctc-ntg-context-518@m.gmane.org; Fri, 02 Nov 2007 11:06:02 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7A4DE1FAC5; Fri, 2 Nov 2007 11:05:52 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10688-07; Fri, 2 Nov 2007 11:05:49 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2857E1FB2D; Fri, 2 Nov 2007 11:01:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0FE8F1FB2D for ; Fri, 2 Nov 2007 11:01:35 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07989-09-4 for ; Fri, 2 Nov 2007 11:01:28 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by ronja.ntg.nl (Postfix) with ESMTP id 8E0E71FB27 for ; Fri, 2 Nov 2007 11:01:26 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id h2so629154ugf for ; Fri, 02 Nov 2007 03:01:26 -0700 (PDT) Original-Received: by 10.66.219.20 with SMTP id r20mr2460977ugg.1193997685893; Fri, 02 Nov 2007 03:01:25 -0700 (PDT) Original-Received: by 10.67.122.17 with HTTP; Fri, 2 Nov 2007 03:01:25 -0700 (PDT) In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:37175 Archived-At: --===============1807488377== Content-Type: multipart/alternative; boundary="----=_Part_17472_10141494.1193997685888" ------=_Part_17472_10141494.1193997685888 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/11/1, Idris Samawi Hamid : > > Dear gang, > > This has bugged me for years but I never said anything since the > workaround is so easy. OTOH I am working on something I'd like to share > with others and an official solution would be better: > > \starttext > \input knuth > \startquotation > \input knuth > \stopquotation > \input knuth > \stoptext > > I. \start-\stopquotation surrounds the block quote in double-quotes marks. > I don't know about other European languages but in English this is > redundant; I've hardly ever seen block quotes use dbl-quote marks. > > We at least need a setup option to turn this off. > > II. There should be some default whitespace between the block quote and > the surrounding text, just as \start-stopitemize has. Or at least this > should be configurable in the setups. > > If these two are already there (not in the manual) then please let us know > how to set this up. Otherwise could you add configuration options for > this? > > FYI: Here is what I use > > =========== > \definestartstop > [quote] > [before={\startnarrower[2*left,2*right]\blank[big]\noindenting}, > after={\stopnarrower\blank[big]}] > =========== > > Best wishes > Idris Hi Idris, there is no perfect solution in ConTeXt because the \quotation and the \start/stopquotation commands are defined with the same definition and it is not possible to disable the quote marks for the one and enable it for the other, but you can use ConTeXt's mechanism for nested quotations and redefine the other one. \setupdelimitedtext [quotation] [1] [left={\symbol[leftquotation]}, right={\symbol[rightquotation]}] \setupdelimitedtext [quotation] [2] [left={\symbol[leftquote]}, right={\symbol[rightquote]}] \setupdelimitedtext [quote] [location=margin, % paragraph left=, right=, before={\blank[big]}, after={\blank[big]}] \starttext \input knuth \quotation{I'm a quoteted text \quotation{within another quoteted text} and back.} \startquote \input knuth \stopquote \input knuth \stoptext Wolfgang ------=_Part_17472_10141494.1193997685888 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

2007/11/1, Idris Samawi Hamid <ishamid@colostate.edu>:
Dear gang,

This has bugged me for years but I never said anything since the
workaround is so easy. OTOH I am working on something I'd like to share
with others and an official solution would be better:

\starttext
\input knuth
\startquotation
\input knuth
\stopquotation
\input knuth
\stoptext

I. \start-\stopquotation surrounds the block quote in double-quotes marks.
I don't know about other European languages but in English this is
redundant; I've hardly ever seen block quotes use dbl-quote marks.

We at least need a setup option to turn this off.

II. There should be some default whitespace between the block quote and
the surrounding text, just as \start-stopitemize has. Or at least this
should be configurable in the setups.

If these two are already there (not in the manual) then please let us know
how to set this up. Otherwise could you add configuration options for this?

FYI: Here is what I use

===========
\definestartstop
   [quote]
   [before={\startnarrower[2*left,2*right]\blank[big]\noindenting},
     after={\stopnarrower\blank[big]}]
===========

Best wishes
Idris

Hi Idris,

there is no perfect solution in ConTeXt because the \quotation and the
\start/stopquotation commands are defined with the same definition and it is
not possible to disable the quote marks for the one and enable it for the other,
but you can use ConTeXt's mechanism for nested quotations and redefine the
other one.

\setupdelimitedtext
  [quotation]
  [1]
  [left={\symbol[leftquotation]},
   right={\symbol[rightquotation]}]

\setupdelimitedtext
  [quotation]
  [2]
  [left={\symbol[leftquote]},
   right={\symbol[rightquote]}]

\setupdelimitedtext
  [quote]
  [location=margin, % paragraph
   left=,
   right=,
   before={\blank[big]},
   after={\blank[big]}]

\starttext

\input knuth

\quotation{I'm a quoteted text \quotation{within another quoteted text} and back.}

\startquote
\input knuth
\stopquote

\input knuth

\stoptext

Wolfgang



------=_Part_17472_10141494.1193997685888-- --===============1807488377== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1807488377==--