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 11-11-2024, 06:45 AM   #1
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 123
Karma: 625366
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
Lightbulb Support PDF 2.0

I'm in the process of converting all my .mobi (deprecated by Amazon in late 2023) and .azw3 (Amazon discontinued it in 2022) to open file format standards like PDF and EBUB. So I researched little-bit about them...

Noticed that now we've PDF 2.0, ISO 32000-2 does not include any proprietary technologies and available for free. (reference: https://pdfa.org/sponsored-standards)

I wonder why Calibre still use old PDF v1.4 for conversion? Calibre developers unaware of this or they use it for specific purpose?
I'm not sure what are the benefits of using latest PDF standard (technical aspects) but like any other technology I assume it has some improvements and stability over older editions?

ThankYou
shuvashish76 is offline   Reply With Quote
Old 11-11-2024, 07:11 AM   #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: 45,343
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It doesnt have any relevant improvements PDF 1.4 is completely adequate for converting ebooks.
kovidgoyal is online now   Reply With Quote
Advert
Old 11-11-2024, 07:20 AM   #3
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 123
Karma: 625366
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
Thanks for the reply. Which version used for epub? Does epub on Calibre supports latest specifications or it uses older one for similar converting ebooks purposes?
shuvashish76 is offline   Reply With Quote
Old 11-11-2024, 03:00 PM   #4
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,010
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
For conversion from mobi, azw and azw3 the epub2 is fine. You can use epub2 or epub3 (it's a setting). Of course DRM needs to be removed at import time to Calibre.

azw3/KF8 is not discontinued and works on all but 4 earliest Kindles (K1, K2, DX & DXG). The KK3/K3 and later works well with azw3 with last FW update.
azw is old mobi KF7 with different encryption.

No Kindle can read any epub version.
Quoth is offline   Reply With Quote
Old 11-11-2024, 06:59 PM   #5
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 123
Karma: 625366
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
Quote:
Originally Posted by Quoth View Post
You can use epub2 or epub3 (it's a setting).
Where is that settings?

Also how do I check the current epub version? There is https://github.com/w3c/epubcheck but is it possible to check the version directly from Calibre ?

Last edited by shuvashish76; 11-11-2024 at 07:03 PM.
shuvashish76 is offline   Reply With Quote
Advert
Old 11-11-2024, 07:15 PM   #6
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Preferences -> Output options -> EPUB Output -> EPUB version

You can find the EPUB version by searching the OPF files for version="3.0" with the Quality Check plugin:
https://www.mobileread.com/forums/sh...d.php?t=125428
Comfy.n is offline   Reply With Quote
Old 11-11-2024, 08:40 PM   #7
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 123
Karma: 625366
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
Quote:
Originally Posted by Comfy.n View Post
Preferences -> Output options -> EPUB Output -> EPUB version
So it's epub2 by default. I'll keep it that way then.

Quote:
Originally Posted by Comfy.n View Post
You can find the EPUB version by searching the OPF files for version="3.0" with the Quality Check plugin:
https://www.mobileread.com/forums/sh...d.php?t=125428
Installed the plugin. Sorry again, exactly how to search, from here?
shuvashish76 is offline   Reply With Quote
Old 11-11-2024, 08:45 PM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by shuvashish76 View Post
Also how do I check the current epub version?
See the image which is an ebook opened in the Editor...

Image
Karellen is offline   Reply With Quote
Old 11-11-2024, 08:48 PM   #9
shuvashish76
Zealot
shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.shuvashish76 ought to be getting tired of karma fortunes by now.
 
shuvashish76's Avatar
 
Posts: 123
Karma: 625366
Join Date: Jan 2022
Location: India
Device: Kobo Clara BW
ThankYou
shuvashish76 is offline   Reply With Quote
Old 11-12-2024, 11:16 AM   #10
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by shuvashish76 View Post
Installed the plugin. Sorry again, exactly how to search, from here?
Quality Check > Search ePubs...

Then use this search expression:
Code:
xmlns="http://www\.idpf\.org/2007/opf"(.*?)version="3\.0"
Mark 'Ignore case', 'Show all occurrences'. In the 'Scope' section, choose only 'OPF manifest'.

This will list all your EPUB 3 files. The rest will be EPUB 2.

* There is no easy way to detect minor versions, like EPUB 3.2 or EPUB 3.3, but I don't think you would need that. EPUBCheck can tell you if the e-book conforms to the latest version of EPUB 2 / EPUB 3.
thiago.eec is offline   Reply With Quote
Old 11-12-2024, 11:36 PM   #11
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by thiago.eec View Post
Quality Check > Search ePubs...

Then use this search expression:
Code:
xmlns="http://www\.idpf\.org/2007/opf"(.*?)version="3\.0"
Mark 'Ignore case', 'Show all occurrences'. In the 'Scope' section, choose only 'OPF manifest'.

This will list all your EPUB 3 files.
That's true for the vast majority of OPF heads. However, in many books the version placement is a bit different:

PHP Code:
<?xml version="1.0" encoding="utf-8"?>
<package version="3.0"
or

PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns:ibooks="http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/" unique-identifier="BookId" version="3.0"
or
PHP Code:
<?xml version="1.0" encoding="utf-8" ?>
<package prefix="rendition: http://www.idpf.org/vocab/rendition/#" unique-identifier="pub-id" version="3.0" xml:lang="en" xmlns="http://www.idpf.org/2007/opf">
Regarding minor versioning: I've tried to find an epub3 with version value other than 3.0, to no avail. It seems that most publishers and creators still use version="3.0" even if the EPUB file contains newer features, to ensure broader compatibility.
Comfy.n is offline   Reply With Quote
Old 11-13-2024, 01:33 AM   #12
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,149
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
That is correct. Currently, the only two values allowed are 2.0 and 3.0, minor versions are not supported. If no version is specified, the ePub 2.0.1 specification states the document should be treated as an OEBPS 1.2 document.

From the ePub 3.3 documentation: The version attribute specifies the EPUB specification version to which the given EPUB Package conforms. The attribute MUST have the value "3.0" to indicate compliance with this version of the specification..

While the ePub 2.0.1 specification states: In addition, to be processed as an OPF 2.0 package, a version attribute with a value of 2.0 must be specified on the package element. A package element that omits the version attribute must be processed as an OEBPS 1.2 package.

I find that searching for version="3\.0" works fine for me and allows for those files that add additional bits or rearrange the items in the <package> field.
DNSB is offline   Reply With Quote
Old 11-13-2024, 01:49 AM   #13
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by DNSB View Post
That is correct. Currently, the only two values allowed are 2.0 and 3.0, minor versions are not supported. If no version is specified, the ePub 2.0.1 specification states the document should be treated as an OEBPS 1.2 document.

From the ePub 3.3 documentation: The version attribute specifies the EPUB specification version to which the given EPUB Package conforms. The attribute MUST have the value "3.0" to indicate compliance with this version of the specification..

While the ePub 2.0.1 specification states: In addition, to be processed as an OPF 2.0 package, a version attribute with a value of 2.0 must be specified on the package element. A package element that omits the version attribute must be processed as an OEBPS 1.2 package.
Thanks so much for this info, I had searched the specs yesterday but couldn't find this specific section about the version attribute.

Quote:
I find that searching for version="3\.0" works fine for me and allows for those files that add additional bits or rearrange the items in the <package> field.
The Quality Check plugin epub search finds the same results using an unescaped dot
Comfy.n is offline   Reply With Quote
Old 11-13-2024, 03:49 AM   #14
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Comfy.n View Post
That's true for the vast majority of OPF heads. However, in many books the version placement is a bit different:
You are right. I guess I was just lucky. I changed my search to just 'version: 3\.0' and got the same results.
thiago.eec is offline   Reply With Quote
Old 11-14-2024, 01:01 AM   #15
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,149
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Comfy.n View Post
The Quality Check plugin epub search finds the same results using an unescaped dot
Mostly a bad habit on my part of escaping special characters.
DNSB is offline   Reply With Quote
Reply

Tags
iso 32000-2, open file format, pdf, pdf 2.0


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF Support TheLibrarian_ Marvin 7 07-06-2014 03:40 PM
Better PDF support? vdp Kindle Developer's Corner 1 10-02-2011 06:27 AM
Kindle DX - better pdf support? LonelyStar Amazon Kindle 3 07-28-2011 05:55 PM
Kobo pdf support Zorz Kobo Reader 8 12-26-2010 09:09 PM
Secure PDF support? mizo9999 Which one should I buy? 4 11-13-2008 01:18 PM


All times are GMT -4. The time now is 10:52 PM.


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