dealii / publication-list

The list of known publications that use or cite the deal.II library.
https://www.dealii.org/publications.html
13 stars 55 forks source link

Bugs in jabref. #405

Open marcfehling opened 2 years ago

marcfehling commented 2 years ago

I noticed two issues when looking for E. Bängtsson, B. Lund on https://www.dealii.org/publications.html image

  1. Why is the 2006 entry listed as Thesis although it is a @TechReport? https://github.com/dealii/publication-list/blob/bdd0b09cb28444304ca31e0e8cc4145f1469588b/publications-2006.bib#L19-L28
  2. When clicking on the BibTeX button of the 2006 entry, the BibTeX entry for the 2008 publication expands. They both share the same citekey bangtsson.lund:comparison now since the introduction of bibtool, which is most likely the case for this behavior. This bug has been around before bibtool, but remained hidden until now. A quick fix is to also add the year into the citekey. I'm working on a fix right now.
bangerth commented 2 years ago

About 1: @TechReport does not have its own jabref/listrefs.techreport.layout file and so jabref routes it through the generic listrefs.layout file which looks like this:

         \begin{journal}\format[HTMLChars]{\journal}\end{journal}<!--
    -->\begin{booktitle}, In: \format[HTMLChars]{\booktitle}\end{booktitle}<!--
 -->\begin{howpublished}, \howpublished\end{howpublished}<!--
       -->\begin{school}. Thesis at \format[HTMLChars]{\school}\end{school}<!--
      -->\begin{address}, \format[HTMLChars]{\address}\end{address}<!--
       -->\begin{volume}, vol. \volume\end{volume}<!--
       -->\begin{number}(\format[FormatPagesForHTML]{\number})\end{number}<!--
        -->\begin{pages}, pp. \format[FormatPagesForHTML]{\pages}\end{pages}<!--
         -->\begin{note}  (\format[HTMLChars]{\note})\end{note}<!--
    -->\begin{publisher}, \format[HTMLChars]{\publisher}\end{publisher}<!--
         -->\begin{year}, \format[HTMLChars]{\year}\end{year}<!--
                     -->.

Apparently it automatically translates the institution into a school field, which I agree is a bit weird. You also see from the template where the period at the top of the line comes from.

marcfehling commented 2 years ago

Apparently it automatically translates the institution into a school field, which I agree is a bit weird. You also see from the template where the period at the top of the line comes from.

Do you think we could add an institution field into the generic template? Or would jabref turn the field already into school while parsing the file? I'll try to find some more information about it.

marcfehling commented 2 years ago

I can confirm that #406 fixes problem 2.

marcfehling commented 2 years ago

https://github.com/JabRef/jabref/issues/2505 as well as https://github.com/JabRef/jabref/issues/9149 might be related to problem 1.

If I understood correctly, bibtex uses both fields institution and school independently, while biblatex only has institution and uses school as an alias for institution (see also https://github.com/JabRef/jabref/issues/9149#issuecomment-1244147305). Maybe that's where the confusion comes from.

Anyways, the solution they are suggesting is to use only one of the two fields.

Workaround is just using one of the two. It will be valid for both cases because the fields resolving works bidirectional.