Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ePub specifications clarification needed

Tags:

epub

just wanted some help on ePub specifications.. Is it mandatory for the toc.ncx to have the src(ie. the xhtml) .I have observed the same content src is also available in the .opf file.

like image 230
Ynwa Avatar asked Mar 07 '26 14:03

Ynwa


1 Answers

Yes, that is mandatory and that's a design problem :

Overlap between NCX and OPF metadata

Because the NCX is borrowed from another standard, there is some overlap between the information encoded in the NCX and that in the OPF. This is rarely a problem when you generate EPUBs programmatically, where the same code can output to two different files. Take care to put the same information in both places, as different EPUB readers might use the values from one or the other.

Source

That's not the case anymore in the future version of the norm (ePub 3), but please note that no device support it currently.

like image 112
fbdcw Avatar answered Mar 11 '26 10:03

fbdcw



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!