pjheslin / diogenes

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

Plato's Spuria reachable, but not. #104

Open helmadik opened 1 year ago

helmadik commented 1 year ago

This may be all for the good, but when I click for context in the spuria (for instance, look up the word μετρητ..) I get the dreaded warning that the end of work has been reached without finding the target citation. Thankfully I could navigate there through the 'Read' menu.

nitardus commented 5 months ago

I've looked a bit into it, and found out that the problem is MUCH bigger than that. The root of it is that Plato's spuria are in Burnet's edition not in the order of the Stephanus pages, but begin with p. 372 up to p. 405e, and then comes last the Axiochus p. 364-372. When you point the Diogenes Browser at a value greater than 372, it jumps to the end of the supria (=Axiochus) and subsequently reaches the end of the spuria, searching in vain for pages 373sqq. Contrary to this, if you point it to a page lesser than 373 (i.e. a page of the Axiochus), it skips these pages and finds p. 373 (=De iusto). It seems that the bug is located in Diogenes::Browser lines 171-186, which fails to get the correct block in the buffer. More specifically, it seems that the compare function fails to return the correct value for the block: it should clearly be 541, but it is 554.