digitalpalitools / enhanced-digital-pali-dictionary

All infrastructure & work related to dictionaries. Medium term this delivers misc dictionaries such as VRI, DPD. Long term: Enhanced Digital Pāli-LanguageX dictionary.
Other
5 stars 2 forks source link

P1 generate Kindle format for DPD #24

Open bdhrs opened 3 years ago

bdhrs commented 3 years ago

user feedback: Many monasteries do not allow laptop or android devices, but allow Kindles. Would it it be possible to make a Kindle version of DPD?

From Ven. Gambhiro - The Kindle has a support for adding inflections to a headword. It is rather simplistic. You can think of it as a list of alternative spellings.

The Kindle will recognize tags such as:

<idx:entry> : the word entry, including header and definition
<idx:orth> : orthodox spelling
<idx:infl> : inflections, or alternative spellings

In order for 'buddhānaṃ' to open at 'buddha', buddhānaṃ</idx:infl> specifically has to be added under 'buddha'.

This is the template which generates the MOBI entries https://github.com/simsapa/simsapa-dictionary/blob/master/assets/OEBPS/entries-mobi.xhtml