![]() |
#31 | |||||||
Hmm.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 2016606
Join Date: Oct 2015
Device: Android 4.2 Google Play Reader
|
Hi, I just got my software to make an EPUB file from MultiMarkdown working.
Quote:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId" version="2.0"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf"> Quote:
Quote:
Quote:
Quote:
Code:
zip -X0 filename.epub mimetype zip -r filename.epub OEBPS/content.opf OEBPS/images/*.* OEBPS/styles/*.* OEBPS/Text/*.* OEBPS/toc.ncx META-INF/container.xml Be careful of case! Case matters here! Quote:
Quote:
Or, if you meant a zip creator, info-zip. It's command line can be embedded in almost any language, I happen to use Perl. |
|||||||
![]() |
![]() |
![]() |
#32 | ||||
Hmm.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 124
Karma: 2016606
Join Date: Oct 2015
Device: Android 4.2 Google Play Reader
|
I'll answer your other questions too. I'm grateful for the help of the others here and I want to pay it forward.
Quote:
Quote:
Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#33 |
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
Thank you,
Most questions where answered already though, I know I've spent a few hours a day studying it, and learned a lot in the past week! To address some things you mentioned, and for others reading this thread: I gathered that unless you use special characters in the alphabet, like the Germans, French, Spanish, Languages like Dutch and English, and perhaps a few more, are best off with iso-8859-1. It's smaller, and more appropriate. 99% of this forum's English posts benefit from iso-8859-1, and don't need UTF-8. The encoding type can be omitted in container.xml, since it doesn't have any textual data to display on the screen. The books that have omitted this data, did have it present in their chapter.html/xml files. The better zip encoding was kzip, now succeeded by another encoding. It was optimized for text and images. I've also used sigil to create my ebook's main files, simply because of the unique identifier it supplies you with. There is no easier way to get one, when manually compiling a book. Not fond of calibre either. The spaces in container.xml can be omitted. I've seen some books omit /r/n data as well (enters), making the file one long line of unstructured data. I'm not sure I'd want to go that far... |
![]() |
![]() |
![]() |
#34 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
Quote:
Quote:
Even if the characters you use are in the iso-8859-1 codepage, it may still render incorrectly on a reader. Just use UTF-8 and store the file in UTF-8 and you will be fine. If you want, I have created a program where you need to specify your container.xml file and it will create the ePUB for you. You can choose to let it only add files specified in the opf or all files in the directories. There is no validation or checking, just simple creation. |
|||
![]() |
![]() |
![]() |
#35 |
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
My impression was that almost all of the base iso-8859-1 characters display exactly the same as the utf-8 ones.
The alphabet, numbers, spaces, basic punctuation.... I've seen books on sale in the store, where publishers use the iso-8859-1 format, so I presume that utf-8 or utf-16 isn't a requirement, but iso-8859-1 is also a valid option... I mean, I would want to make a distinction between encoding 'preferences' and 'requirements'. Requirements mean that unless it's not there, the book will error or not display on an ebook reading device. |
![]() |
![]() |
![]() |
#36 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
|
|
![]() |
![]() |
![]() |
#37 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
By the way, calibre also creates a UUID for you. ![]() |
|
![]() |
![]() |
![]() |
#38 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
|
|
![]() |
![]() |
![]() |
#39 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,730
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
This rarely makes sense, though, because there's no point in embedding a media type that the ebook app can't properly render. However, if you target iBooks, ADE 4 and Gitden Reader users, you could for example, embed a .pdf file. |
|
![]() |
![]() |
![]() |
#40 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
I am going to add that to my list of Life Guides, formatted in the form of Post It notes stuck to my computer monitor.
|
![]() |
![]() |
![]() |
#41 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
By the way, the patents ran out on GIF some time ago. It is perfectly acceptable in ePub. No payments required. Dale Dale |
|
![]() |
![]() |
![]() |
#42 |
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
Interesting... UTF is a requirement of EPuB2, EPuB3 or all versions of EPuB?
The problem with GIF is animated gif.. The first step towards ads on an ebook ![]() |
![]() |
![]() |
![]() |
#44 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
The impact on size and performance is almost non-existent for Latin-1 and Latin-2 codepages. Of course is animated gif not supported for e-readers since the e-ink screens would not be able to handle that. That being said, I would not be surprised if reading application on pc/tablets/etc would support that since they usually work with webkit. |
|
![]() |
![]() |
![]() |
#45 |
Karmaniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,553
Karma: 11499146
Join Date: Oct 2008
Location: Miami FL
Device: PRS-505, Jetbook, + Mini, +Color, Astak Ez Reader Pro, PPW1, Aura H2O
|
The e-ink screens definitely support animated gifs, especially lower framerate ones. Perhaps the operating systems of the devices don't.
But since there is no animation in paper books, I don't see it coming in ereaders either... Although, I don't think it impossible in the future, free ebooks being sponsored by ads, and animated ones too! |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle not starting on start | warenjc | Amazon Kindle | 3 | 07-18-2013 12:08 PM |
Kindle not starting on start | warenjc | Kindle Formats | 6 | 07-17-2013 12:48 PM |
Kindle preview starting at #start in all formats but Fire | petercrowell | Kindle Formats | 6 | 05-09-2012 09:20 PM |
Kindle preview not starting at #start on all formats | petercrowell | Kindle Formats | 3 | 05-03-2012 09:58 AM |
PRS-T1 New reader start up questions | amyb | Sony Reader | 9 | 10-24-2011 03:54 PM |