From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34215 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Change the size of publication list Date: Thu, 12 Apr 2007 10:25:40 -0400 (EDT) Message-ID: References: <461E03F7.2010500@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: sea.gmane.org 1176387969 3570 80.91.229.12 (12 Apr 2007 14:26:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2007 14:26:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 12 16:25:53 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 1Hc0FD-00011X-0Q for gctc-ntg-context-518@m.gmane.org; Thu, 12 Apr 2007 16:25:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E5601FC18; Thu, 12 Apr 2007 16:25:50 +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 16628-06; Thu, 12 Apr 2007 16:25:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2A63A1FC11; Thu, 12 Apr 2007 16:25:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1E8E81FC11 for ; Thu, 12 Apr 2007 16:25:41 +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 16487-03-5 for ; Thu, 12 Apr 2007 16:25:38 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id 061591FBCC for ; Thu, 12 Apr 2007 16:25:37 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hackers.mr.itd.umich.edu ID 461E4160.12B2F.415 ; 12 Apr 2007 10:25:36 -0400 In-Reply-To: <461E03F7.2010500@elvenkind.com> 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:34215 Archived-At: On Thu, 12 Apr 2007, Taco Hoekwater wrote: > > > Aditya Mahajan wrote: >> Hi, >> >> I want to change the font size of the list of publications to \small. >> This needs to be done in the style file. But I could not find any >> option to do this in the bib module. What is the correct way to do >> this? > > Good question. Looks like I inadvertedly removed the before&after > functionality at some point :-( For the moment, I am abusing initializepublist, mainly because it resets some options in \setuplist[pub] and I am against a hard deadline. This is my bib setup for IEEE style (well atleast in terms of font and spacing, the actual formatting of enteries will have to wait) bibliography. There is some spurious white space between enteries, and as a temp hack, I use \vskip -0.5\baselineskip. I will debug more carefully over the weekend and send you a bibl-ieee.tex \setuppublications [alternative=num,monthconversion=month,sorttype=bib] \setupbibtex [sort=author] \setuppublicationlist [maybeyear=off] \setuppublicationlist [numbercommand=\withbrackets,margin=1em,distance=1em,width=fit] \setuppublicationlist [before={\vskip -0.5\baselineskip},after=,inbetween=] \setupcite [num] [compress=yes] \def\initializepubslist {\switchtobodyfont[small] \setupinterlinespace \setupwhitespace[none] \vskip 0.5\baselineskip} % Defined in bibl-num.tex \def\withbrackets#1{[#1]} \unprotect \def\doverysimplebibnumref#1#2% {\refsep \ifcase#1\relax \unknownreference{#1}\else \def\tempa{#2}\ifx\empty\tempa#1\else#1\docommaordash{#1}{#2}#2\fi \fi} \def\docommaordash#1#2% {\doifelse{\the\numexpr#1+1-#2\relax}{0} {\bibalternative\c!pubsep} {\bibalternative\c!inbetween}} \protect Aditya