moewew / biblatex-trad

traditional bibliography styles with biblatex
LaTeX Project Public License v1.3c
31 stars 7 forks source link

Journal issue number #4

Closed russella closed 12 years ago

russella commented 12 years ago

Dear Marco,

It seems that there could be some punctuation missing after "issue" is laid out in the article type. For example, with the entry:

@article{mmexperiments,
author={Siddhartha Chatterjee and  Alvin R. Lebeck and  Praveen K. Patnala and Mithuna Thottethodi},
title={Recursive array layouts and fast matrix multiplication},
journal={IEEE Trans. on Parallel and Distributed Systems},
volume={13},
issue={11},
pages={1105--1123},
year= {2002},
doi={10.1109/TPDS.2002.1058095}
}

The issue number should probably be separated from the year with a comma.

All the best, Alex

marcodaniel commented 12 years ago

Hi,

the missing comma was a missing definition ;-)

The output was done by the following definition:

\newbibmacro*{issue+date-parens}{%
  \printtext{%
    \iffieldundef{issue}%
      {\usebibmacro{date}}%
      {\printfield{issue}%
       \setunit*{\addspace}%
       \usebibmacro{date}}%
   }\newunit}

As you can see the separator between issue and date is a simple \addspace. To fixed this I will use the following definition:

\newbibmacro*{issue+date-parens}{%
  \printtext{%
    \iffieldundef{issue}%
      {\usebibmacro{date}}%
      {\printfield{issue}%
       \setunit*{\addcomma\space}%
       \usebibmacro{date}}%
   }\newunit}

regards Marco