GNOME Bugzilla – Bug 700510
Bibliography duplicate filenames fails
Last modified: 2014-08-24 11:36:29 UTC
Created attachment 244497 [details] Example code as referenced in bug-report If two files in the CITE_BIB_FILES list have the same name, but are in different directories, then only one of them is parsed. Also, if (one of) the references.bib files exists in the same directory as the one in which doxygen is being run, then it is deleted following the run. In the attached example code, running doxygen in doxygen-bib-test results in only one reference being put into citelist.html, whereas two should be, one from testDir/references.bib and one from testDir2/references.bib. However, if in Doxyfile, testDir2/references.bib is replaced by testDir2/references2.bib (a sym-link to the same file), then two references are correctly put into citelist.html. This error occurs with the latest version of doxygen as in the repository (rev 848).
Problem in the bug report is that the bib files in the different directories have the same name and thus overwrite each other. This patch solves this problem as well as the possibility to have spaces in the file name. I've just pushed a possible solution to github (pull request 194)
Thanks; I've tested this with the test-case I attached and with the original code-base I'd found the problem on and both now work as I would expect.
Fixed in release 1.8.8.