pjheslin / diogenes

Diogenes: an environment for reading Latin and Greek
https://d.iogen.es/d
Other
56 stars 10 forks source link

Cannot go the the citation for Sallust fragment found in search #85

Closed jiang-qian closed 2 years ago

jiang-qian commented 2 years ago

When searching for "Namque imperatores Hispaniae stipendium" in Simple Search under Diogenes (version 4.5, on Ubuntu 18.04, x86-64), a single results (C. Sallustius Crispus, Historiarum frr. ampliora name Cott, line 31) is found. But clicking on "Go To Context" one has "Error: End of work reached without finding target citation!"

Similarly, use Read tab and go to Sullust Historiarum frr. ampliora, put in name tab Cott, we get the same error.

But if we put in Name 0, line 0, and then move forward page by page, we are able to eventually reach the line.

I wonder whether this is due to the problem with the PHI databases text, or index file or Diogenes itself?

pjheslin commented 2 years ago

Sorry for the slow response! I have finally found some time to work on Diogenes again and I will (finally!) be releasing version 4.6 soon.

This is a problem with the index (.idt) file for Sallust on the PHI disk. I have added Sallust to the list of authors for which Diogenes ignored that file and this fixes the problem; this is commit 9f780686f5cd863a0bdccebdbb3eeaf26a7a277c

Thanks for the bug report!

jiang-qian commented 2 years ago

I can confirm that this fixed the problem! Thank you for this patch!