[NTG-context] Bib bug in using months

Aditya Mahajan adityam at umich.edu
Tue May 9 21:09:14 CEST 2006


On Mon, 8 May 2006, Taco Hoekwater wrote:

>
> Hi Aditya,
>
>
> Aditya Mahajan wrote:
>> However, the bib module does not support this naming scheme. I get
>>
>> \month{1}
>> \month{2}
>>
>> etc in my bbl file. Can this be corrected?
>
> Sure, it is just an oversight. For this to work, only a redefinition
> of \insertmonth is needed (I had intented that all along, just
> forgot to implement it), For now, just add this somewhere after
> the loading of the bib module.
>
>   \unprotect
>   \def\insertmonth#1#2#3%
>     {\bibdoifelse{\@@pb at month}%
>        {#1\doifnumberelse{\@@pb at month}%
>           {\@EA\doconvertmonth\@EA{\@@pb at month}}%
>           {\@@pb at month}#2}{#3}}
>   \protect
>
> That will give you the full month name according to the current
> language labeltext for the month names. Not perfect yet, but better.

Thanks. For my present project I need short month names, and the 
deadline is tomorrow. So, I will stick to the manual solution at the 
moment.


> I'll ask Hans to provide true \numberconversions for month names in
> short and long format, so I can extend the module officially.

That will be great.

Aditya


-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008


More information about the ntg-context mailing list