X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["2035" "Wed" "4" "November" "1998" "18:54:32" "+0100" "Hans Aberg" "haberg@MATEMATIK.SU.SE" nil "42" "Re: Quotes and punctuation" "^Date:" nil nil "11" nil nil nil nil nil] nil) Received: from listserv.gmd.de (listserv.gmd.de [192.88.97.1]) by mail.Uni-Mainz.DE (8.8.8/8.8.8) with ESMTP id KAA14250; Thu, 5 Nov 1998 10:08:21 +0100 (MET) Received: from lsv1.listserv.gmd.de (192.88.97.2) by listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <12.A787C40A@listserv.gmd.de>; Thu, 5 Nov 1998 10:08:10 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 407383 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Wed, 4 Nov 1998 18:55:03 +0100 Received: from mail0.nada.kth.se (mail0.nada.kth.se [130.237.222.70]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id SAA25906 for ; Wed, 4 Nov 1998 18:54:49 +0100 (MET) Received: from [130.237.37.145] (sl119.modempool.kth.se [130.237.37.145]) by mail0.nada.kth.se (8.8.7/8.8.7) with ESMTP id SAA04275 for ; Wed, 4 Nov 1998 18:54:39 +0100 (MET) X-Sender: su95-hab@mail.nada.kth.se References: ; from Hans Aberg on Tue, Nov 03, 1998 at 07:02:01PM +0100 <199811030953.JAA04308@nag.co.uk> <98102213123551@man.ac.uk>, <199811030953.JAA04308@nag.co.uk> <199811031653.KAA12001@dcdrjh.fnal.gov> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: Reply-To: Mailing list for the LaTeX3 project In-Reply-To: <19981104145716.B29267@maths.tcd.ie> Date: Wed, 4 Nov 1998 18:54:32 +0100 From: Hans Aberg Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Quotes and punctuation Status: R X-Status: X-Keywords: X-UID: 2731 At 14:57 +0000 1998/11/04, Timothy Murphy wrote: >Apologies for asking a very elementary question, >but is the problem in this case that one gets into difficulty >if one says \quote{...\quote{...}...} ? >Would there still be difficulty if one said >\quote{...\inquote{...}...} ? >Ie is it the nesting of \quote that causes the problem ? One problem discussed was to handle the look-ahead beyond the quote: The ideal would be that the author just writes everything logically, independent of language and typesetting style. So reserve two character for quotes, say < and >. Then write a text He said , and so on. Here the comma may be typeset differently in different styles, for example He said ``She said \dots,'' and so on. as in a common US style. For this to work, the command corresponding to ">" in the author input must recognize that the character following it is a "," and making sure that the combination is typeset as ",''". The sorry thing is that TeX is not at all designed for doing such sophisticated work, even though one can achieve the effect by extraordinary manipulations. For example, suppose the input code looks like He said {}, and so on. How should this be handled? Now the command ">" must recognize a redundant "}", looking past it to see that it is followed by a ",". We could decide that it should be typeset as He said {``She said \dots''}, and so on. but we still must make a check for the "}" and treat it specially. The problem is that it can be difficult to foresee the uses of the quote commands ("<" and ">") so that code does not break. Otherwise, I do not think keeping track of the quote nesting level is so difficult: Quotes use a special variable keeping track of it. The quote style in use defines its behavior. Hans Aberg * Email: Hans Aberg * Home Page: * AMS member listing: