From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39831 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: t-bib: URL and '%'; spacing between number and text Date: Fri, 04 Apr 2008 12:53:33 +0200 Message-ID: <47F608AD.1060505@elvenkind.com> References: <47EA8C68.4010203@net-b.de> <47F0F274.40501@elvenkind.com> <47F55D35.7030401@net-b.de> <47F5F754.1010204@elvenkind.com> <47F60504.5090701@net-b.de> 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 1207306669 23706 80.91.229.12 (4 Apr 2008 10:57:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2008 10:57:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 04 12:58:20 2008 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 1Jhjch-0006qQ-Nq for gctc-ntg-context-518@m.gmane.org; Fri, 04 Apr 2008 12:58:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 44E761FC6F; Fri, 4 Apr 2008 12:57:40 +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 15989-01-8; Fri, 4 Apr 2008 12:57:04 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CEB761FC20; Fri, 4 Apr 2008 12:55:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C41121FC20 for ; Fri, 4 Apr 2008 12:55:52 +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 15028-02-4 for ; Fri, 4 Apr 2008 12:55:20 +0200 (CEST) Original-Received: from smtp-vbr12.xs4all.nl (smtp-vbr12.xs4all.nl [194.109.24.32]) by ronja.ntg.nl (Postfix) with ESMTP id 8053D1FADF for ; Fri, 4 Apr 2008 12:53:39 +0200 (CEST) Original-Received: from [10.10.0.6] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr12.xs4all.nl (8.13.8/8.13.8) with ESMTP id m34ArXvk037091 for ; Fri, 4 Apr 2008 12:53:38 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: <47F60504.5090701@net-b.de> X-Virus-Scanned: by XS4ALL Virus Scanner 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:39831 Archived-At: Tobias Burnus wrote: > Taco Hoekwater wrote: >> Does this fix I wrote (back in September) actually work? >> >> % start fix >> \unprotect >> \def\dousepublications#1% >> {\doonlyonce >> {#1.\f!bibextension} >> {\readfile{#1.\f!bibextension} >> {\catcode`\%=12 >> \showmessage\m!bib{4}{#1.\f!bibextension}} >> {\showmessage\m!bib{2}{#1.\f!bibextension}}}} >> \protect >> % end fix > It does not seem to work here :-( It redefines the bbl loader, so inlined \startpublication blocks will not work. It should work if your publications are in the bbl file. I can add a similar instruction to \startpublication, but I want to be sure it works, first. > The attached test case uses \% but replacing it by \% causes TeX errors. > (publication block as found in the bbl file.) Using \% is wrong in any case, you should be able to write the url with just percent signs, that is what we are aiming for. >> Not too hard, if you don't mind editting the bib / bbl a bit; >> making it truly automatic and still configurable would be hard. >> Example attached. > It does not seem to work here. I am an idiot. Please add the \doglobal in this line: {\doglobal\addtocommalist{cite-\jobname-\recurselevel}\pagerefs} Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________