![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2020
Device: Kindle PW4
|
epub to asw3: wrong internal links
I'm converting a epub file to asw3 for Kindle PW using Calibre v. 4.99.4.
The problem is that when looking at the formats in edit book window from epub I have: Code:
... <a href="part0000_split_015.html#a">Chapter 1</a><br class="calibre2"/> <a href="part0000_split_026.html#b">Chapter 2</a><br class="calibre2"/> <a href="part0000_split_027.html#c">Chapter 3</a><br class="calibre2"/> <a href="part0000_split_027.html#d">Chapter 4</a><br class="calibre2"/> <a href="part0000_split_029.html#e">Chapter 5</a><br class="calibre2"/> ... - fragment from asw3 file in edit book window: Code:
... <a href="part0000.html#1-64ba2faa11d04ddca7487a72e9ffd7df">Chapter 1</a><br class="calibre2"/> <a href="part0000.html#1-64ba2faa11d04ddca7487a72e9ffd7df">Chapter 2</a><br class="calibre2"/> <a href="part0000.html#1-64ba2faa11d04ddca7487a72e9ffd7df">Chapter 3</a><br class="calibre2"/> <a href="part0000.html#1-64ba2faa11d04ddca7487a72e9ffd7df">Chapter 4</a><br class="calibre2"/> <a href="part0000.html#1-64ba2faa11d04ddca7487a72e9ffd7df">Chapter 5</a><br class="calibre2"/> ... |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2020
Device: Kindle PW4
|
I filed a bug as follows
https://bugs.launchpad.net/calibre/+bug/1863160 There you can find the example html input file for conversion to azw3 I use debian unstable package: 4.99.4+dfsg+really4.10.0+py3-2 Interestingly, when using the current Windows calibre, the links are correct. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,071
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
You are missing quotes around your HTML ids.
Code:
<div id=a> |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2020
Device: Kindle PW4
|
Thank you for spotting it, but still the issue remains.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,071
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
https://calibre-ebook.com/download_linux Added: I tested your HTML file with the calibre 4.99.4 beta (Python 3) under Windows and it fails there. So it does appear to be related to calibre's Python 3 porrting. Last edited by jhowell; 02-13-2020 at 04:09 PM. |
|
![]() |
![]() |
![]() |
#7 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2020
Device: Kindle PW4
|
Quote:
Note that the links in the converted epub format are correct. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reader crashes when opening ePub pages with internal links | radiobuzzer | PocketBook | 0 | 04-12-2016 07:27 AM |
Internal Links broken in Epub to DOCX conversion | David Kudler | Conversion | 2 | 06-10-2015 11:39 PM |
Android epub app (internal links don't work) | Gem777 | Android Devices | 4 | 02-27-2015 11:23 AM |
Creating internal links in EPUB from svg image | ecojon | ePub | 1 | 03-26-2012 12:37 PM |
Internal links in ePub-files broken? | Portnull | Calibre | 2 | 08-17-2009 11:00 AM |