From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Change the size of publication list
Date: Thu, 12 Apr 2007 10:25:40 -0400 (EDT) [thread overview]
Message-ID: <alpine.WNT.0.98.0704121020080.3640@nqvgln> (raw)
In-Reply-To: <461E03F7.2010500@elvenkind.com>
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
prev parent reply other threads:[~2007-04-12 14:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-11 23:19 Aditya Mahajan
2007-04-12 10:03 ` Taco Hoekwater
2007-04-12 14:25 ` Aditya Mahajan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.WNT.0.98.0704121020080.3640@nqvgln \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).