[Tutkielma-TeX] More jydiss.bst

Matthieu Weber matthieu.weber at jyu.fi
Fri Oct 8 09:36:46 EEST 2010


On Thu 07.10.2010 at 01:46:58PM +0300, Matthieu Weber wrote:
> I found another bug:
> 
> The .bib entry
> 
> @inproceedings{bib:Apolloni2008,
>   author = " Javier Apolloni and Guillermo Leguizam\'{o}n and Jos\'{e} Garc\'{\i}a-Nieto and Enrique Alba",
>   title = "Island Based Distributed Differential Evolution: An Experimental Study on Hybrid Testbeds",
>   booktitle = "Proceedings of the {IEEE} International Conference on Hybrid Intelligent Systems",
>   year = "2008",
>   pages = "696--701",
> };
> 
> produces the following reference:
> 
> Apolloni, J., Leguizamón, G., García-Nieto, J. & Alba, E. 2008. Island based dis-
>  tributed differential evolution: An experimental study on hybrid testbeds. In
>  Proceedings of the IEEE International Conference on Hybrid Intelligent Systems.
>  , 696­701.
> 
> (notice the extra comma before the page numbers).
> 
> I suppose it's jydiss.bst's "bookish.tail" which is to blame in this
> case ?

I tracked the problem down to the following:

function{bookish.tail}
{
  book.title volume empty$ { "" } { ", " lang.vol * " " * volume * } if$ *
  add.period$ " " * write$
 ...

It's the add.period$ above which should be made conditional. A period is
needed if there is no page numbers following, otherwise there must be no
perdiod. I guess.

Matthieu
-- 
 (~._.~)        Matthieu Weber - Université de Jyväskylä         (~._.~)
  ( ? )              email : matthieu.weber at jyu.fi                ( ? ) 
 ()- -()               public key id : 452AE0AD                  ()- -()
 (_)-(_) "Humor ist, wenn man trotzdem lacht (Otto J. Bierbaum)" (_)-(_)




More information about the Tutkielma-TeX mailing list