You will remember from our previous chapter that we found that an offer rule that provided a background grey block to the Act heading had disappeared when we views the ePUB. The main CSS file is where the generic styles are located (those which are common throughout the eBook), and then each of the others will only include style information for elements present in those separate XHTML files.Īll we want to do at this stage is to edit the stylesheet called idGeneratedStyles_0.css. If you have used the InDesign book panel to organise your content, you are gong to find several CSS files one main file with a filename- idGeneratedStyles_0.css and then further stylesheets one for each of the documents in your book panel. In our workflow we plan to return to InDesign for further edits, so let us explore how to create our own copy of the stylesheet (CSS), that we can link back in the next time we export to the ePUB. This means avoiding the editing of the XHTML documents and just focussing on the stylesheets. This really depends on how the ePUB looks after export from InDesign and what changes you want to make, but crucially you need to keep your options open to go back to InDesign to make further changes. I tend to use Atom as the text editor, and once you have unpacked the ePub (using the script just described), then you can drag the complete folder onto the Atom app, and this will then become a project that you can edit. It really depends on the software tools that you have. These days I use Atom Vscode as my text editor and so, although you can view the insides of the ePub package, you need to unpack before editing.Įdit: Atom and Vscode are very similar Unpacking and repackingįor this I recommend downloading eCanCrusher available here: Can we Edit? Oxygen is more sophisticated and expensive it will allow you to remove and add files into the package, so if you wanted replace a picture, Oxygen will do it! BBedit is the one I have used, but Oxygen XML will also give you that ability. Some text editors have the functionality to edit the components of the ePUB package even without unpacking. Not all aspects of our wonderfully crafted typographic design work will give perfect results in the ePub. When we have created a reflowable ePub by exporting from InDesign, we may find that there are some stylistic details that need tidying up, changing or even correcting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |