Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#22 Use fullhash/\ifciteidem instead of namehash

Features
pending
None
2017-01-08
2016-12-16
Anonymous
No

This problem arose in http://golatex.de/idem-bei-mehr-als-3-autoren-im-lit-verzeichnis-falsch-t18285.html

The package curently uses namehash to compare name lists, but namehash takes list truncation into account and might yield true even if the full lists are not equal. It seems as though fullhash is much more appropriate here because it will refer to the full name list without any truncation whatsoever (cf. what for example authoryear.bbx does in bbx:dashcheck). For citations biblatex has \ifciteidem controlled via the idemtracker options (cf. verbose-trad1.cbx and verbose-trad2.cbx). In fact two of your .cbx already use \ifciteidem, but standard-dw.cbx uses namehash in some places.

MWE adapted to use footnote-dw from the forum post referred to above

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=footnote-dw,maxbibnames=999]{biblatex}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{monitoring_14,
  author     = {Bertschek, Irene and Mouse, Mickey and Duck, Donald and Gans, Gustav},
  location   = {Berlin},
  year       = {2016},
  title      = {Monitoring zu ausgewählten wirtschaftlichen Eckdaten der Kultur- und Kreativwirtschaft 2014},
  shorttitle = {Monitoring 2014},
  gender     = {pm}
}

@book{monitoring_13,
  author     = {Bertschek, Irene and Müller, Mike and Meier, Sepp and Schulz, Stefan},
  location   = {Berlin},
  year       = {2015},
  title      = {Monitoring zu ausgewählten wirtschaftlichen Eckdaten der Kultur- und Kreativwirtschaft 2013},
  shorttitle = {Monitoring 2013},
  gender     = {pm}
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}
Text2\footcite[45]{monitoring_13}

Text2\footcite[46]{monitoring_14}

\printbibliography
\end{document}

Discussion

  • Dominik Waßenhoven

    • status: open --> pending
    • assigned_to: Dominik Waßenhoven
     
  • Dominik Waßenhoven

    Thanks for the bug report and the hint to the solution. I changed namehash to fullhash in some files and now it works, hopefully.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous

    Anonymous - 2016-12-20

    Thank you for getting back so quickly (and sorry for not doing so). If you are interested I can try and run some tests later this week or next week. But I'm quite confident things should work as they are now.

     
  • Dominik Waßenhoven

    It‘s always good when more people test, since your testcases are different from mine. If you do so, please give me a short note of the testing. Thanks a lot.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous

    Anonymous - 2017-01-08

    I finally got a round to testing the new code. It works fine in the MWE now and in a few other cases I tried.

     
  • Dominik Waßenhoven

    Thanks for the feedback.

     

Anonymous
Anonymous

Cancel  Add attachments