Hi Doitsu, sorry for my limited understanding of these matters.
I extracted the epub in two different ways. I have one where it is divided in different folders (like content and METAINF), of which the content folder contains a lot of html files. If I edit one of the html files I see the following code for one word (and its explanation - not translation):
Code:
<p class="ww"><sub>qaalbes</sub></p>
<p><span class="gc">aa</span>
<span class="gag">l·bes</span>
<span class="gm">(</span><span class="gm">de</span><span class="gm">)</span>
<br/>1. rode <span class="g6_s">bes</span> die in trossen aan een struik groeit
<br/>♦ betekenisverwante termen
<br/><span class="g5">hyperoniem: </span><span class="g6_s">bes</span>
<br/><span class="g5">hyponiem(en): </span><span class="g6_s">wijnbes</span>
<br/>2. struik van het geslacht Ribes waar rode bessen aan groeien
<br/>♦ betekenisverwante termen
<br/><span class="g5">hyperoniem: </span><span class="g6_s">heester</span>
<br/></p>
That's a lot of code for one word and I would have no clue how to edit this to make it resemble your example code.
I have also managed to convert the epub into one big html file but there the code per word looks even more complicated:
Code:
<p width="0" align="left"><font color="#FFFFFF"><sub>qaalbes</sub></font></p>
<p width="0" align="left"><span><b><u>aa</u></b></span><span><b>l·bes
</b></span> <span><i>(</i></span><span><i>de</i></span><span><i>)</i></span><br/>1. rode <span><font color="#472565">bes</font></span> die in trossen aan een struik groeit
<br/>♦ betekenisverwante termen
<br/><span><font color="#3B3B3B">hyperoniem: </font></span><span><font color="#472565">bes</font></span>
<br/><span><font color="#3B3B3B">hyponiem(en): </font></span><span><font color="#472565">wijnbes</font></span>
<br/>2. struik van het geslacht Ribes waar rode bessen aan groeien
<br/>♦ betekenisverwante termen
<br/><span><font color="#3B3B3B">hyperoniem: </font></span><span><font color="#472565">heester</font></span>
<br/></p>
How would I have to edit the examples above? I'm not experienced with programming but I'm trying to understand here
After that I guess I could use a "replace all" command and then compile/convert the html with KindleGen.