It would be great, but is far from trivial. Sometimes a page has multiple suttas, or a sutta starts in the middle of a sutta. Also, when it’s a long sutta, say in the DN, a page reference is more specific than a plain ID, but it would be hard to identify the exact paragraph. And so on. For tens of thousands of cases.
Rather than converting such references, this is why I suggested at the meeting yesterday that we build a comprehensive model to map these references. The conversion mapping remains on the programming side, and we don’t try to correct the text. That way we can direct people to the appropriate place, without having to commit to actually determining the exact reference. If we send people to a text that is a little before or after the right one, oh well, they can adjust.
What we can do is to make the references machine-readable, which means two things:
Mark them up with <ref> tags or similar.
Ensure each reference is complete and consistent.
I did this as best I could during the several months work it took to prepare the DPPN.
It’s not lost. I have it in the sc_dppn, which is what shows up on SC as you can see. Any changes to texts I have made to the dictionary on SC by hand so the markup was not lost.
[quote=“sujato, post:43, topic:2643”]
Also, when it’s a long sutta, say in the DN, a page reference is more specific than a plain ID, but it would be hard to identify the exact paragraph.
[/quote].
Every PTS id also has our format of uid#sc-id or uid#pts-id, which can be a link. See for instance Makuṭabandhana on the map as an example - it opens up at exactly the right spot in the text on SC (in Pali … can change it to English too).
Unfortunately, we cannot use <a> tags on Google maps but we can add the urls and as soon as the map is on our own site, it is possible to have the references as you describe.
In my understanding, Nāla is the village next to Nāḷandā University … or am I wrong?[quote=“Aminah, post:35, topic:2643”]
KOSALA
The Sutta Nipāta (Snp.405; AN.i.276) speaks of the Buddha’s…
I’m not sure if AN3.125 is meant to be a parallel text and I can’t check because the PTS verse numbers are only showing on the Pārāyana Vagga at the moment. If it isn’t a parallel I’d change it to “(Snp.405; and also AN.i.276)”.
[/quote]
The SNP405 does not at all speak of the Birthplace of the Buddha belonging to the Kosalans: https://suttacentral.net/en/snp2.14/3.3748-
And as far as I can tell, neither does anything in AN.i.276.
Another DPPN error??
The DPPN references, like most third party sources, use the PTS numbers. So it’s important that these get added to our text, and they should be generally used by default in such dictionary contexts.
A further issue here is that the reference is sloppy. Snp 405 refers to the first verse of the poem in which there is a reference to the Sakyans being under Kosala. The poem is Snp 3.1, the specific verses are SC 425 and 426, or PTS 422 and 423.
As I am working on the pali texts and renumbering them at the moment, I can do this too. But I would need to know exactly what pts numbers I am to use.
When I check http://palikanon.com/pali/khuddaka/sn/sn_iii01_426.htm, it shows this passage as PTS 424 and 425 … but the number used on the german translation on http://palikanon.com/khuddaka/sn/sn_iii01_424.html is 422 and 423 …
So what is the best source for the PTS numbers???