Latex issues

Dear all,

I have issues with Zotero and Latex. It worked fine until one month ago or so. I updated the bibliography file from Zotero, but now the format is distorted, none of the dates from Zotero are recognized and somehow Latex now shows the doi as well as the retrieve date from Zotero, which it never did before. I have been searching on the Latex side but I wondered if it could not come from the export.

Thank you in advance,
  • Can you post a sample of the export? bibtex files are plain-text, so it's very easy to see whether there's unwanted junk in there.
  • Yes an example would be
    @article{dinc_bank_2000,
    title = {Bank Reputation, Bank Commitment, and the Effects of Competition in Credit Markets},
    volume = {13},
    issn = {0893-9454, 1465-7368},
    url = {https://academic.oup.com/rfs/article-lookup/doi/10.1093/rfs/13.3.781},
    doi = {10.1093/rfs/13.3.781},
    pages = {781--812},
    number = {3},
    journaltitle = {Review of Financial Studies},
    author = {Dinç, I. Serdar},
    urldate = {2018-10-03},
    date = {2000-07},
    langid = {english},
    file = {Dinç - 2000 - Bank Reputation, Bank Commitment, and the Effects .pdf:C\:\\Users\..../pdf}
  • Nothing wrong with that. There must be a problem in either the citation style or the compilation process.

    Have you tried throwing away the temporary files that the compilation produces?
  • Eh wait, something wrong with that. The closing brace is missing.
  • Also it has non-ascii characters. Some latex tool chains don't deal with those well.
  • edited June 8, 2020
    Yes sorry the missing bracket was too quick of a copy paste. I have also tried deleting the temp files but it still is not working.
  • And the unicode in Dinç?
  • That is not the issue because I have the same problem even with the ones with no special characters.
  • Then the problem must be in your document. This compiles without issue for me:

    \documentclass{article}

    \usepackage{filecontents}
    \begin{filecontents*}{\jobname.bib}
    @article{dinc_bank_2000,
    title = {Bank Reputation, Bank Commitment, and the Effects of Competition in Credit Markets},
    volume = {13},
    issn = {0893-9454, 1465-7368},
    url = {https://academic.oup.com/rfs/article-lookup/doi/10.1093/rfs/13.3.781},
    doi = {10.1093/rfs/13.3.781},
    pages = {781--812},
    number = {3},
    journaltitle = {Review of Financial Studies},
    author = {Dinç, I. Serdar},
    urldate = {2018-10-03},
    date = {2000-07},
    langid = {english},
    file = {Dinç - 2000 - Bank Reputation, Bank Commitment, and the Effects .pdf:C\:\\Users\..../pdf}
    }
    \end{filecontents*}

    \begin{document}

    \nocite{*}

    \bibliographystyle{plain}
    \bibliography{\jobname}

    \end{document}
  • Thank you, seeing it still did not work on my side, I actually did the following, should anybody have the issue : I simply deleted the old bibliography and saved a new one rather than only replace the file.
  • Like, delete the bib file and save it again?

    I can't think of a reason why that should have helped, but if it works, it works.
  • Same thing here, I have no idea why it would have changed anything but indeed it works now.
Sign In or Register to comment.