Skip to content

Commit

Permalink
first try for inproccedings
Browse files Browse the repository at this point in the history
  • Loading branch information
marcodaniel committed Sep 30, 2012
1 parent af058b7 commit e8312a9
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions trad-standard.bbx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{title}{\mkbibemph{#1}}

\DeclareFieldFormat*{number}{\mkbibparens{#1}}
\DeclareFieldFormat[incollection]{number}{\biblclstring{number}~#1}
\DeclareFieldFormat[incollection,inproceedings]{number}{\biblclstring{number}~#1}
\DeclareFieldFormat{edition}{%
\ifinteger{#1}
{\mkbibordedition{#1}~\bibstring{edition}}
Expand Down Expand Up @@ -198,28 +198,26 @@
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{in:}%
\usebibmacro{byeditor+others}%
\newcommaunit\newblock
\usebibmacro{maintitle+booktitle}%
\newunit\newblock
\usebibmacro{event+venue+date}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\iffieldundef{maintitle}
{\printfield{volume}%
\printfield{part}}
{}%
\newunit
\printfield{volumes}%
\newunit\newblock
\newcommaunit\newblock
\usebibmacro{series+number}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\printlist{organization}%
\newunit
\usebibmacro{publisher+location+date}%
\newunit\newblock
\usebibmacro{chapter+pages}%
\newcommaunit
\usebibmacro{location+date+publisher}%
\newunit\newblock
\iftoggle{bbx:isbn}
{\printfield{isbn}}
Expand All @@ -228,6 +226,8 @@
\usebibmacro{doi+eprint+url}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\newunit\newblock
\printfield{note}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
\newunit\newblock
Expand Down Expand Up @@ -299,6 +299,8 @@
}%
\newunit}



\newbibmacro*{book:series+number}{%
\iffieldundef{maintitle}
{\printfield{volume}%
Expand Down Expand Up @@ -330,7 +332,16 @@
\usebibmacro{date}%
\newunit}


\newbibmacro*{location+date+publisher}{%
\printlist{location}%
\setunit*{\addcomma\space}%
\newcommaunit
\printfield{edition}%
\newcommaunit
\usebibmacro{date}%
\newunit
\printlist{publisher}%
}

\newbibmacro*{issue+date-parens}{%
\iffieldundef{issue}%
Expand Down

0 comments on commit e8312a9

Please sign in to comment.