From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60445 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Grammar Date: Wed, 28 Jul 2010 02:00:15 +0200 Message-ID: <4C4F730F.8010503@wxs.nl> References: <201007250050.53102.matija@suklje.name> <201007252333.44267.matija@suklje.name> <20100725234713.GA25866@linux> <201007261023.36294.matija@suklje.name> <20100727231209.GI26009@atos.labs.wmid.amu.edu.pl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1280275265 15072 80.91.229.12 (28 Jul 2010 00:01:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 00:01:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 28 02:01:02 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Odu4x-0001pl-0l for gctc-ntg-context-518@m.gmane.org; Wed, 28 Jul 2010 02:00:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CD4CEC9D46; Wed, 28 Jul 2010 02:00:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bMZilM57OP45; Wed, 28 Jul 2010 02:00:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3B2CC9D42; Wed, 28 Jul 2010 02:00:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 11C0DC9D42 for ; Wed, 28 Jul 2010 02:00:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jEEGP1xOmw43 for ; Wed, 28 Jul 2010 02:00:51 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (sc-162.r-213-125-29.schoolconnect.nu [213.125.29.162]) by balder.ntg.nl (Postfix) with ESMTP id 5CF89C9D3E for ; Wed, 28 Jul 2010 02:00:51 +0200 (CEST) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 4.3g4) with ESMTP id 3147-1713362 for multiple; Wed, 28 Jul 2010 01:59:53 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.11) Gecko/20100711 Lightning/1.0b1 Thunderbird/3.0.6 ThunderBrowse/3.3.1 In-Reply-To: <20100727231209.GI26009@atos.labs.wmid.amu.edu.pl> X-Authenticated-User: hagen@controller-9 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:60445 Archived-At: On 28-7-2010 1:12, Marcin Borkowski wrote: > Dnia Tue, Jul 27, 2010 at 09:53:18AM -0700, Rory Molinari napisał(a): >> I usually flip a coin to choose between "he" and "she" before I start >> a document, and stick with it. (If I think the issue might be of >> interest to the reader I add a footnote explaining this.) > > I like that! Although I bet that sooner or later some stupid feminist > will accuse you of cheating (unless you toss the "female" side more > often, in which case she'll be waiting for this tendency to change;)...) as normally one can swap he/she without problems, we can make a module for that .. % Of course one can now wonder if \heshe or \shehe should be defined first. \getrandomcount\scratchcounter{0}{10} \ifnum\scratchcounter<5 \enablemode[gender:male] \edef\heshe {he} \edef\HeShe {He} \edef\hisher{His} \else \enablemode[gender:female] \edef\heshe {she} \edef\HeShe {She} \edef\hisher{Her} \fi \let\shehe \heshe \let\SheHe \HeShe \let\herhis\hisher \starttext I wonder if \heshe\ likes reading this article. \stoptext (looks like i need to move some initialization code as the seed is set at starttext time which is too late) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________