Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-09-2016, 10:13 PM   #1
ukie
Junior Member
ukie began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2016
Device: iPhone
Footnotes in MS DOCX as Output Format

Converting from AZW3 or EPUB to DOCX, the footnotes are created as hyperlinks. Is there a way to preserve the footnotes as real DOCX footnotes in converting a book to DOCX?
ukie is offline   Reply With Quote
Old 04-09-2016, 11:05 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, there isn't. Footnotes are not clearly identified as such in ebook formats (well with the exception of epub 3, but those are a vanishingly small fraction of books).
kovidgoyal is online now   Reply With Quote
Advert
Old 04-10-2016, 12:29 AM   #3
ukie
Junior Member
ukie began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2016
Device: iPhone
kovidgoyal, perhaps there is a macro of sorts to convert hyperlinks into footnotes?
ukie is offline   Reply With Quote
Old 04-10-2016, 12:33 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Dunno, I'm not a user of Word so I'm not familiar with its macro system.
kovidgoyal is online now   Reply With Quote
Old 04-10-2016, 12:43 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@ukie - if by hyperlinks you mean links to endnotes then no macro is needed, its built into Word ==>> Convert footnotes to endnotes and vice versa

BR
BetterRed is offline   Reply With Quote
Advert
Old 06-30-2016, 01:25 AM   #6
ukie
Junior Member
ukie began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2016
Device: iPhone
Quote:
Originally Posted by BetterRed View Post
@ukie - if by hyperlinks you mean links to endnotes then no macro is needed, its built into Word ==>> Convert footnotes to endnotes and vice versa

BR
Thank you BetterRed, but I was looking for a way to convert hyperlinked footnotes from ePUB to real Microsoft Word footnotes.
ukie is offline   Reply With Quote
Old 06-30-2016, 02:43 AM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ukie View Post
Thank you BetterRed, but I was looking for a way to convert hyperlinked footnotes from ePUB to real Microsoft Word footnotes.
@ukie - sorry for the false assumption, most questions relate to converting Word to ePub

Did you try Toxaris's e-Book Tools - a Word add-in It has an EPUB to Word feature, I don't use it myself.

Given ePub2 doesn't really have pages there are footers, hence no footnotes in the normal sense of the word. I would expect ePub 'notes' to convert to MS-Word endnotes. My earlier link tells you how to convert end-notes to footnotes.

BR

Last edited by BetterRed; 06-30-2016 at 02:57 AM.
BetterRed is offline   Reply With Quote
Old 07-02-2016, 01:34 AM   #8
ukie
Junior Member
ukie began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2016
Device: iPhone
BetterRed,
Thank you for the hint.
The plug-in does a splendid job matching the look and feel of the original ePUB file (better than even calibre), unfortunately the footnotes do not transfer over.
I can't see why it's such a difficult job to implement. It is not like doing OCR and trying to figure out which number goes to what footnote. Most standard ePUB books already have the hyperlinks so just going one by one and converting them into Word footnotes should do the job.
The only slight difficulty that I could think of is determining when the footnote text ends, but even this should not be so hard to get around.

Last edited by ukie; 07-02-2016 at 01:36 AM.
ukie is offline   Reply With Quote
Old 07-02-2016, 06:07 AM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by ukie View Post
BetterRed,
Thank you for the hint.
The plug-in does a splendid job matching the look and feel of the original ePUB file (better than even calibre), unfortunately the footnotes do not transfer over.
@ukie - I suggest you take the matter up in the e-Book Tools thread. The author, Toxaris, is always willing to look into issues and make changes where he can.

BR
BetterRed is offline   Reply With Quote
Old 07-02-2016, 12:49 PM   #10
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
It is very difficult to do, due to various reasons. Biggest reason is that there is no way to tell if it is just an internal link or a note. Like Kovid said, there is no semantic option to identify them.
I am looking for a manual procedure though, but that will take some time to do it right.
Toxaris is offline   Reply With Quote
Old 07-02-2016, 12:50 PM   #11
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by ukie View Post
The only slight difficulty that I could think of is determining when the footnote text ends, but even this should not be so hard to get around.
Well, that is another tough cookie. It is simple to do manually for a human, but hard for a machine.
Toxaris is offline   Reply With Quote
Old 07-02-2016, 11:11 PM   #12
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
might this help ?

ePub3 spec includes semantic tags for footnotes and rearnotes, Sigil has them in its ePub3 book browser set semantics context menu flyout.

BR
BetterRed is offline   Reply With Quote
Old 07-03-2016, 02:14 AM   #13
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
If, and only if, the semantics for notes are used in epub3 it could be used. But there are limited epub3 books and the use of the semantics is not forced. On another note, import of epub3 into word is not yet supported with the add-in.
Toxaris is offline   Reply With Quote
Old 07-14-2017, 01:35 AM   #14
ukie
Junior Member
ukie began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2016
Device: iPhone
Looks like calibre 3 has made a huge leap with docx conversion!

Footnotes now work as hyperlinks!

I do have one problem though.
I have two books. Both covered from AZW3 to DOCX, and both have hyperlinked endnotes.
In Word 2016, the hyperlinked endnotes work fine for both books.
However, when importing the DOCX file into Logos 7, the hyperlinks are broken with one of the books, but work fine with the other.

I noticed that the hyperlinks are linked to word bookmarks...?
The problem seems to be associated with the naming of the bookmarks.
The book which has working hyperlinks in Logos is the one that has bookmarks composed of all digits, or at least starts with a digit (e.g. "11_9" however, Office Word does not allow bookmarks that start with a digit...). The other book has bookmarks which starts with a letter and combines letters and digits in the name (e.g. "pich02_fn2").
Although, I am not sure if this is the real issue.


Would it be possible to add a feature to caliber that converts all internal bookmarks/hyperlinks names to a consistent numbering system (i.e. 1, 2, 3, 4 .... 114332)?

Last edited by ukie; 07-18-2017 at 03:21 PM.
ukie is offline   Reply With Quote
Old 07-20-2017, 01:44 PM   #15
ukie
Junior Member
ukie began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2016
Device: iPhone
Also, is there a way to force all images to be placed or aligned "in-line"?
ukie is offline   Reply With Quote
Reply

Tags
azw, calibre, docx, footnotes, hyperlinks


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
docx to epub loosing format gianni_1 Conversion 3 12-13-2015 03:27 PM
docx conversion and footnotes m4mmon Conversion 8 08-10-2014 09:36 PM
Default Output Format gavinjb Calibre 2 11-07-2013 03:25 AM
FB2 output and footnotes valex Conversion 4 04-25-2011 10:17 AM
.DOCX format NoWorthWhile Amazon Kindle 10 01-14-2011 07:48 AM


All times are GMT -4. The time now is 10:08 AM.


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