2

I'm encountering some odd behaviour in biblatex. The author name for multiple-entry citations in the bibliography is being supressed, but the style is defined (=authoryear, as per answer: define bib style) and I have the dashed option turned off (=false, as per answer: make dashed=false).

Here is my MWE:

\documentclass[twoside,12pt]{book}
\usepackage[ pdftex,
        pdfauthor={Michael J Lotinga},
        pdftitle={The Title},
        pdfsubject={The Subject},
        pdfkeywords={Some Keywords},
        pdfproducer={LaTeX with hyperref},
        pdfcreator={pdflatex}
        plainpages = false, 
        pdfpagelabels, 
        pdfpagelayout = OneColumn, % display single page, advancing flips the page - Sasa Tomic
        bookmarks,
        bookmarksopen = true,
        bookmarksnumbered = true,
        breaklinks = true,
        linktocpage,
        colorlinks = true,
        linkcolor = cyan,
        urlcolor  = blue,
        citecolor = magenta,
        anchorcolor = green,
        hyperindex = true,
        hyperfigures]{hyperref} 
\usepackage[sorting=nyt,
            style=authoryear,           
            hyperref=true,
            backref=true,
            maxbibnames=99,
            maxcitenames=1,
            uniquelist=false,
            uniquename = false,
            dashed=false,
            backend=biber]
            {biblatex}

%Redefine citation commands for linking
\DeclareNameAlias{sortname}{last-first}
\DeclareCiteCommand{\cite}
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{\usebibmacro{cite}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand*{\cite}
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{\usebibmacro{citeyear}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand{\parencite}[\mkbibparens]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
    \printtext[bibhyperref]{\usebibmacro{cite}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand*{\parencite}[\mkbibparens]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
    \printtext[bibhyperref]{\usebibmacro{citeyear}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand{\footcite}[\mkbibfootnote]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
  \printtext[bibhyperref]{ \usebibmacro{cite}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{\usebibmacro{cite}}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\DeclareCiteCommand{\textcite}
  {\boolfalse{cbx:parens}}
  {\usebibmacro{citeindex}%
   \printtext[bibhyperref]{\usebibmacro{textcite}}}
  {\ifbool{cbx:parens}
     {\bibcloseparen\global\boolfalse{cbx:parens}}
     {}%
   \multicitedelim}
  {\usebibmacro{textcite:postnote}}

\makeatother
\addbibresource{references.bib}
\DefineBibliographyStrings{english}{%
  bibliography = {References},% replace "references" with "bibliography"  for `book`/`report`
}


\begin{document}

\textcite{Taylor2004a}
\textcite{Taylor2004b}

\printbibliography

\end{document}

Here is my associated .bib file

@proceedings{Taylor2004a,
author = {Thornely-Taylor, R.M.},
title = {The prediction of vibration, groundborne and structure-radiated noise from railways using finite difference
methods},
year = {2004},
maintitle = {Proceedings of the 8th International Workshop on Railway Noise},
eventtitle = {IWRN8},
eventdate = {2004-09-08/2004-09-11},
location = {Buxton, UK},
url = {http://www.ruperttaylor.com/RMTT_IWRN8_6.pdf},
}

@inproceedings{Taylor2004b,
author = {Thornely-Taylor, R.M.},
title = {The prediction of vibration, groundborne and structure-radiated noise from railways using finite difference
methods  --  Part 1  --  theory},
maintitle = {Proceedings of the Institute of Acoustics},
year = {2004},
volume = {26},
part = {2},
pages = {69--79},
url = {http://www.ruperttaylor.com/RTT_IOA_SC2004.pdf},
}

And here is the bibliography output I am getting:

Example bibliography output

I'm hoping for an output that lists the author for every single reference, irrespective of whether it is the same as the preceding (or in this case, succeeding) entry! Can anyone make a suggestion as to what might be getting screwed up? I have other references that are behaving similarly, with less similar article titles.

Any help is appreciated.

  • 1
    can you provide de .bib file ? – Nicolas Mar 4 '14 at 17:27
  • The problem probably comes from there. – Nicolas Mar 4 '14 at 17:38
  • Hi Nicolas, thanks for your response; I've added my .bib file to the question. Any thoughts? – Mike Mar 4 '14 at 18:10
  • 1
    With biblatex, @proceedings do not have an author, but an editor. So either change Taylor2004a to an @inproceeding or make Mr Thornely-Taylor an editor of the @proceeding. See §2.1.1 Regular Types of the biblatex documentation. – moewe Mar 4 '14 at 18:15
  • @moewe I have never really understood the difference between the two: @inproceeding and @proceeding. – Nicolas Mar 4 '14 at 18:59
1

As I was suggesting in my comment, the compilation issue relies on the .bib file. Also, as @moewe identified, the use of the @proceedings category does not contain an author field. Therefore, it should be replaced either by @inproceedings or put the author in the editor field.

New compilation with the appropriate .bib file syntax:

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
    @inproceedings{Taylor2004a,
    author = {Thornely-Taylor, R.M.},
    title = {The prediction of vibration, groundborne and structure-radiated noise from railways using finite difference methods},
    year = {2004},
    maintitle = {Proceedings of the 8th International Workshop on Railway Noise},
    eventtitle = {IWRN8},
    eventdate = {2004-09-08/2004-09-11},
    location = {Buxton, UK},
    url = {http://www.ruperttaylor.com/RMTT_IWRN8_6.pdf},
    }

    @inproceedings{Taylor2004b,
    author = {Thornely-Taylor, R.M.},
    title = {The prediction of vibration, groundborne and structure-radiated noise from railways using finite difference methods  --  Part 1  --  theory},
    maintitle = {Proceedings of the Institute of Acoustics},
    year = {2004},
    volume = {26},
    part = {2},
    pages = {69--79},
    url = {http://www.ruperttaylor.com/RTT_IOA_SC2004.pdf},
    }

\end{filecontents}
\addbibresource{\jobname.bib}

The main document simply being:

\begin{document}
    \textcite{Taylor2004a}
    \textcite{Taylor2004b}
    \printbibliography
\end{document}

The output obtained:

References output

  • 2
    In this case the proper solution is to make both entries @inproceedings, not to change the author to editor - I'd say. – moewe Mar 4 '14 at 20:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.