![]() |
#1 |
Connoisseur
![]() Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
|
Internal links not working after conversion
Hi there,
I think, no, I HOPE this is the right forum to post in ![]() I have a test ODT file which I have converted into EPUB and MOBI, but in both cases the internal links are not working, but they are fine in the original. This is what is happening: in the ebook taht I have generated the index at the beginning and internal hyperlinks within the text are all pointing at the index page (so, the index is pointing to itself...). External links work fine and so do the endnotes/footnotes.I enclose a folder with all the info you require: original file, converted files and logs. I am using Calibre 1.27.0 and Neooffice 3.4.1 (both are believe are the latest versions). To start with I tried to save the file as docx, but the conversion would fail altogether. I used to have word, but after moving to Mavericks (I have a Mac) it died and I am waiting for the new version to be released before buying it again (assuming I do decide to buy it... am not missing it a great deal). TIA Last edited by Arkadian; 03-09-2014 at 07:37 AM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Those aren't internal links they're links based on outline level. outline level is not supported by the library calibre uses for ODT. If you want links to work, you have to create proper internal links, by using the insert hyperlink tool and creating bookmarks in the document. Or use Word.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
|
Quote:
![]() Clearly saving as docx in NO is not an option either. When you talk about the "insert hyperlink tool" what are you referring to? Forgot to point out that a couple of internal links are located in "A chi è rivolto questo ebook?" at the beginning of the third paragraph. |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have no idea, I dont use NeoOffice. In LibreOffice there is a tool called Hyperlink in the insert menu. In that you can choose the hyperlink target. Dont use sections or heading, use bookmarks.
Your links in the paragraphs are also links to outline items. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Incidentally, when I open your test odt file in libreoffice and try to edit the hyperlink, I get the target for the hyperlink as !!br0ken!!
So I'm guessing the problem is really that NeoOffice is broken. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
|
OK, downloading libreoffice as we speak. I didn't know it existed at all.
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Here is an odt file produced by libreoffice where the hyperlinks work when converted (they were created using the headings tool, not bookmarks) so I was wrong about the library not supporting outline items, it's just NeoOffice that appears to be broken.
|
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
|
Pardon the stupid question, but which format should I use within LibreOffice to make sure it works best with Calibre: ODT, DOCX or other?
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 96
Karma: 10
Join Date: Mar 2014
Device: none
|
Yep... saved the doc as docx (for no good reason, rather than I liked it...) in LO, loaded on calibre and it worked a treat, both index and internal hyperlinks
![]() |
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre has a custom DOCX->HTML conversion engine that I wrote that is much better than the library used for converting ODT->HTML. So unless there is some external reason for preferring odt, use docx.
|
![]() |
![]() |
![]() |
Tags |
internal links, neooffice |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convert external links to internal links | sup | Recipes | 2 | 11-28-2013 09:39 AM |
Internal links not working after Packaging (copying) indb file | MHC | ePub | 6 | 03-09-2013 01:50 PM |
Conversion from mobi (to mobi, or epub) breaks internal links | bounder | Conversion | 1 | 10-09-2012 11:56 AM |
Links to URLs work, internal links don't? | NewDay | ePub | 36 | 10-27-2010 04:09 AM |
Internal Links??? | Guns4Hire | PocketBook | 11 | 04-18-2010 02:25 AM |