![]() Of course you can create an ePub without paying attention to styles, but it will look much better and more consistent across eReaders if you at least create paragraph styles. However, if you see charset="windows-1252" in your Word-to-HTML conversion, that’s a problem that needs to be fixed by changing Word Options. However, if you didn’t tell Word (Options / Advanced / Web Options) to save HTML documents encoded as UTF-8, it might be ISO-8859-1 (Latin-1). I recommend using UTF-8 because it’s standard for web documents and you can simply type many special characters using an Alt-key combination rather than cumbersome HTML entities. ![]() The order of files in the Book Browser, not the title, determines the order in the ePub.Īt the top of each document file in the Text folder, there is an XML declaration that specifies the encoding and the XHTML 1.1 DTD and namespace: You may also reorder files by dragging them to a new position. You may rename any file to whatever you want. Added files will be named sequentially, as Section 0002.xhtml, Section0003.xhtml, and so on. By default, your imported file will be named Section0001.xhtml. ![]() Your book’s content files are in the Text folder. epub extension and validate with epubcheck. Then drag the mimetype file into the empty folder, followed by the META-INF and OEPBS folders. The easiest method is to use Windows to create a compressed (zipped) folder. You can control the process using Windows OR the Zip7 program. The files must be added to the zipped package in a certain order in order for the ePub to validate. ![]() If you break open an ePub and then want to reverse the process, be careful. zip, you’ll see something like this when you view the contents: You can manually add, delete, or edit entries in the toc.ncx by selecting Tools, then Table of Contents / Edit Table of Contents.Īn ePub is a special zipped package. For more control over the toc.ncx, you can generate a fresh copy at any time using the Tools / Table of Contents menu. toc.ncx – required logical table of contents that becomes the navigation panel in ePub documents.You may also edit content.opf directly if you wish. Edit indirectly by selecting Tools in top menu, then Metadata Editor (F8). content.opf – required metadata file that describes your book.Images folder for your cover and interior images.To construct a basic ePub, you will work mostly with the following: This dedicated ePub editor will create several necessary folders and files that are accessible in the Sigil interface and a few standard files and folders that are part of the ePub structure (see below), but don’t need editing and are not viewable or editable. Remember that you cannot open a Word document in Sigil, but it will be fine with Word’s filtered HTML output. Open your html, xhtml, or ePub file in Sigil. Import your XHTML or HTML file into Sigil The purpose of this Step is to pass along a few tips from my own experience, not to cover everything in the Sigil documentation. The default “Book View” font in Sigil is Arial, though you can change it to a serif font if you want it to look more like a generic eReader.īe aware that the amount of work required to produce a valid ePub that pleases you or your client depends on the complexity of your formatting, special requirements, or number of illustrations. Nevertheless, the appearance of your book in Sigil is an approximation of how it will look when viewed using an ePub reader. Sigil lets you work in Code view or Book View (WYSIWYG). When an error is reported, choose to fix it manually (vs. Leave it on to painlessly validate code as you progress through your files. In any case, error detection does occur when you switch from one file to another or save your file, unless you explicitly turn it off. The defaults are usually fine, but under Clean Source, I prefer to use Pretty Print instead of HTML Tidy because it doesn’t unexpectedly rewrite your code. After installing Sigil, take a moment to edit Preferences.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |