Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
publishing:digital:ebook [2021/04/05 06:10] – [Method 2: from InDesign (preferred)] added my saved searches maartenpublishing:digital:ebook [2024/02/14 12:20] (current) – external edit 127.0.0.1
Line 34: Line 34:
   - Under export options, select epub 3.0, unless you want to stick with 2.0. Change Navigation TOC to Multi Level (TOC style). Under HTML & CSS it can be useful to add a style sheet at this point (at the bottom ''Add style sheet…''), e.g. the Wellred template.css file. Make sure to ''Include classes in HTML'' to keep the formatting, but you can untick ''Generate CSS''   - Under export options, select epub 3.0, unless you want to stick with 2.0. Change Navigation TOC to Multi Level (TOC style). Under HTML & CSS it can be useful to add a style sheet at this point (at the bottom ''Add style sheet…''), e.g. the Wellred template.css file. Make sure to ''Include classes in HTML'' to keep the formatting, but you can untick ''Generate CSS''
   - Once you have an InDesign generated Epub file, you can continue from step 4) under Method 1. It is also possible to start from step 3) if you prefer to work from another template, though that is more time-consuming and generally using good templates from the start saves a lot of time.   - Once you have an InDesign generated Epub file, you can continue from step 4) under Method 1. It is also possible to start from step 3) if you prefer to work from another template, though that is more time-consuming and generally using good templates from the start saves a lot of time.
-  - For Wellred, this export from InDesign to final ebook is now almost fully automated by making use of a list of “saved searches” ((Available in this document: {{ ::publishing:digital:sigil_searches.odt |}}Save as a plain text .ini file and then import it under ''Tools -> Saved searches'', then first run the 'normal' set as a normal search and subsequently the 'regex' set as a regular expression)), which you can organise in Sigil. By using a series of “find and replace” regular expressions, developed over the years, you can clean up most of the unnecessary/dirty HTML code generated by InDesign in a matter of minutes. (See the [[:regex|separate section on Regular expressions / scripts]]. There is also a way to use Python scripts within Sigil, as a plugin, to further speed up/optimise everything, although the saved searches seem to work well enough.)+  - For Wellred, this export from InDesign to final ebook is now almost fully automated by making use of a list of “saved searches” ((Available in this document: {{ ::publishing:digital:sigil_searches.odt |}}Save as a plain text .ini file and then import it under ''Tools -> Saved searches'', then first run the 'normal' set as a normal search and subsequently the 'regex' set as a regular expression)), which you can organise in Sigil. By using a series of “find and replace” regular expressions, developed over the years, you can clean up most of the unnecessary/dirty HTML code generated by InDesign in a matter of minutes. (See the [[:regex|separate section on Regular expressions / scripts]]. There is also a way to use Python scripts within Sigil, as a plugin, to further speed up/optimise everything, although the saved searches seem to work well enough.)
  
 ===== Publishing your ebook ===== ===== Publishing your ebook =====