From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48902 Path: news.gmane.org!not-for-mail From: Jesse Alama Newsgroups: gmane.comp.tex.context Subject: Re: Spacing after \cite Date: Mon, 30 Mar 2009 08:16:15 -0700 Message-ID: References: <9488BF73-E557-432A-AEE9-014BEFB09B6D@gmail.com> <49D076B8.6070309@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1238426265 17325 80.91.229.12 (30 Mar 2009 15:17:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2009 15:17:45 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 30 17:19:03 2009 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 1LoJG4-00040U-CV for gctc-ntg-context-518@m.gmane.org; Mon, 30 Mar 2009 17:18:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1E9B11FCFF; Mon, 30 Mar 2009 17:17:15 +0200 (CEST) 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 22831-02; Mon, 30 Mar 2009 17:16:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 510CD1FCDE; Mon, 30 Mar 2009 17:16:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 130791FCDE for ; Mon, 30 Mar 2009 17:16:45 +0200 (CEST) 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 06459-03 for ; Mon, 30 Mar 2009 17:16:34 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by ronja.ntg.nl (Postfix) with ESMTP id 46F231FCB7 for ; Mon, 30 Mar 2009 17:16:34 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by filter3-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2UFGWFX003713 for ; Mon, 30 Mar 2009 17:16:33 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LoJDz-0006uB-9R for ntg-context@ntg.nl; Mon, 30 Mar 2009 15:16:31 +0000 Original-Received: from nmd.sbx05541.paloaca.wayport.net ([98.96.108.230]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2009 15:16:31 +0000 Original-Received: from alama by nmd.sbx05541.paloaca.wayport.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Mar 2009 15:16:31 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nmd.sbx05541.paloaca.wayport.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (darwin) Cancel-Lock: sha1:Xexw/OSY5LJY+2m82fUpI9vjIMo= X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.2; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 201174701 - d2438964dd2a - 20090330 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:48902 Archived-At: Taco Hoekwater writes: > Wolfgang Schuster wrote: >>>> >>>> So, \doifnextcharelse vs \doifnextoptionalelse. > > I still think Hans should fix that in the core, but ... > >>> Any progress on this? I'm seeing the same behavior. >> >> \startmode[whisper] >> ask Taco for a after key and use \autoinsertnextspace >> \stopmode > > can you try this in the header just to see how if it works out? > > \usemodule[bib] > \let\normaldocite\docite > \def\docite[#1][#2]% > {\normaldocite[#1][#1]\autoinsertnextspace } > > ... > \starttext Thanks for helping out with this. Is the second "#1" supposed to be "#2"? In any case, this fix gives an error: ! You can't use `macro parameter character #' in horizontal mode. \p!doifinstringelse ...tringelse \@EA ##\@EA 1#1## 2##3\war {\unless \if ##2@... \rawdodoifinsetelse ...ingelse \@@@instring {,#1,} \@EA \firstoftwoarguments ... \addtocommalist #1#2->\rawdoifinsetelse {#1}#2 \resetglobal {\dodoglobal \ede... \doifreferencefoundelse ...ce \ifreferencefound #2 \else #3\fi \egroup \dores... \redoloop ->\expandrecursecontent \endofloop { ... l.1184 \completepublications[criterium=all] Jesse -- Jesse Alama (alama@stanford.edu) ___________________________________________________________________________________ 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 ___________________________________________________________________________________