Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 01-07-2016, 11:51 PM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
About pop-up endnotes conversion

Hi

I bump this question from Calibre conversion forum in case somebody could provide more information about pop-up endnotes conversion from docx (or odt) to EPUB. Kovid Goyal kindly provided some helpful comments.

I leave the original message unchanged:

Forgive me if I have some trouble explaining my question.

Calibre converts beautifully docx to EPUB and EPUB to docx.It works very well and I can only but very sincerely congratulate you.

I am looking for information about what I believe is originally a docx feature: it's about pop-up endnotes (maybe they have a more technical name for it).

It can be converted from docx to odt using LibreOffice and keep working.
Calibre viewer makes a systematic use of them for some months for all endnotes.
Calibre converts it from docx (or odt) to epub perfectly.

However the open-source converter (odt to EPUB) I use do not know yet how to convert the link at the return part of pop-up endnotes. It's just left missing. It means I should have to correct all of them manually. The author is currently unavailable (he may come back any time) so I turn to you for advice.

When I looked at the odt to understand what can be so different to make the conversion fail, I really did see nothing. I had to unzip the odt and go under the hood to look at the content.xml to see this code.

It's seems to be made out of two consecutive blocks in content.xml (without smileys...) from what I could read from an odt file (converted from an original docx file).

Quote:
</text><text text:style-name="P14">—*Non. Appelle le commandant des pompiers de Montelusa. C’est un truc pour eux, dis-lui que le terrain est très friable, il faut qu’ils amènent du matériel pour creuser et sonder. Et surtout pas de sirène, pas de bruit, les journalistes ne doivent pas le savoir. Je veux pas refaire Vermicino <text:note text:id="ftn1" text:note-class="endnote"><text:note-citation>1</text:note-citation><text:note-body><text text:style-name="P15">Localité proche de Rome où, en juin 1981, un enfant tombé (ou jeté) dans un puits fut l’objet d’une tentative de sauvetage suivie en direct à la télévision pendant dix-huit heures par 21 millions de personnes, au terme de laquelle l’enfant mourut. Cf. le roman <text:span text:style-name="T2">Dies Irae</text:span>, de Giuseppe Genna.</text></text:note-body></text:note>.
which are converted as it should be in your EPUB in two separate parts (text file and endnote)

Quote:
<p class="block17"><span class="text">—*Non. Appelle le commandant des pompiers de Montelusa. C’est un truc pour eux, dis-lui que le terrain est très friable, il faut qu’ils amènent du matériel pour creuser et sonder. Et surtout pas de sirène, pas de bruit, les journalistes ne doivent pas le savoir. Je veux pas refaire Vermicino </span><sup class="text1"><sup class="calibre3" id="back_note_1"><a href="index_split_022.html#note_1" title="1" class="calibre4">1</a></sup></sup><span class="text">.</span></p>
Quote:
<dl class="notes"><dt id="note_1" class="calibre6">[<a href="index_split_005.html#back_note_1" title="1" class="calibre7">←1</a>]</dt><dd class="calibre8" id="calibre_pb_25"><p class="block17"><sup class="text1"></sup><span class="text"> Localité proche de Rome où, en juin 1981, un enfant tombé (ou jeté) dans un puits fut l’objet d’une tentative de sauvetage suivie en direct à la télévision pendant dix-huit heures par 21 millions de personnes, au terme de laquelle l’enfant mourut. Cf. le roman Dies Irae, de Giuseppe Genna.</span></p></dd>
</dl>
As I am absolutely not a code specialist, but would like to be helpful to a would-be converter, could you just provide some comments, say if the above findings are right or if I missed something important? It would allow to find and implement a quicker solution.
roger64 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About pop-up endnotes roger64 Conversion 4 01-07-2016 07:15 PM
pop-up endnotes roger64 Calibre 34 11-23-2014 07:46 PM
pop-up endnotes: glory in action roger64 ePub 7 10-29-2014 06:32 PM
Pop-up endnotes crutledge ePub 16 06-17-2014 03:41 AM
Conversion of Endnotes .docx to .epub profjones Conversion 1 11-01-2013 08:05 AM


All times are GMT -4. The time now is 11:41 PM.


MobileRead.com is a privately owned, operated and funded community.