Contents | Start | End | Previous: Appendix G: Alphabet Description Reference | Next: Appendix I: Working With Tag Objects


APPENDIX H: CONFIGURATION OPTIONS


 

This appendix describes all the available configuration options by category.

Locations

This category contains location-related properties. Usually you don’t need to edit these.

Formats

Each configuration should have at least one format checked. You can have multiple formats checked, but this is not usually desirable. The one case where you might like to do that is in your Kindle configurations; if you also check Epub you will be able to check and view the source for your Kindle books.

These are the supported formats:

Cover Design

This category gives you control over the way Jutoh generates the cover design and cover page for your book.

Options

This category contains miscellaneous options controlling how Jutoh generates ebook output.

Styles

This category controls style-related options. More about styles can be found in Chapter 13: Working With Style Sheets.

String Tables

Jutoh’s string tables feature allows customisation of metadata, cover design text and book content per-configuration, by substituting one string for another. This category controls how the configuration uses existing string tables. For more information, see Chapter 14: Working With String Tables.

HTML Formatting

This category contains various options used for HTML-based formats.

Text Formatting

This category contains options for plain text (including Markdown) and ODT (OpenDocument Text) output.

Images and Media

This category contains options allowing you to control various aspects of image (picture) output. For more about images, see Chapter 11: Working With Pictures.

Advanced Formatting

This category contains options for controlling the way special formatting is output – whether to use special fields for the word processor to use, or by generating the content explicitly.

Chapter Separators

This category controls the output of textual separators between sections. By default there are no separators.

Fonts and Colour

This category contains options related to font handling.

Mobile

This category contains options for tailoring the way HTML pages are displayed in mobile devices.

Fixed Layout

This category contains options relating to fixed layout ebooks. Currently, fixed layout books are supported on Apple Books, Kindle and Epub 3. For more information, see Chapter 19: Creating Fixed Layout Books.

Speech

This category contains an option for determining which speech profile is used for this configuration. There is always at least one speech profile, which all configurations initially use.

Metadata

This category contains properties allowing you to override the metadata defined in the project properties. This allows you to create configurations for compiling multiple different versions of the book, with different title, author, and so on. This might be useful when compiling standalone short stories from a compendium, for example, without having to maintain separate project files.

Navigation

This category contains options for tailoring the way navigation is supported in HTML pages (for the HTML format only). HTML templates specified here will be inserted into the HTML pages. Navigation controls can be placed at either the start or end of the page, or both. For each header or footer, there are three templates, to account for the fact that the presence of Next and Previous links will change according to whether you are currently viewing the first page, the last page, or the pages in-between. The default HTML templates give reasonable navigation between pages using text links; you could provide more fancy navigation, perhaps using images that you copy to the folder of HTML files after generation by Jutoh.

In the HTML templates, you can use these keywords: %TOCFILE%, %TOCTITLE%, %PREVIOUSFILE%, %PREVIOUSTITLE%, %NEXTFILE%, %NEXTTITLE%, %FIRSTFILE%, %FIRSTTITLE%, %LASTFILE%, %LASTTITLE%, %THISFILE%, %THISTITLE%. They will be replaced by the associated HTML file names and section titles.

Conditional Sections

This category lets you include or exclude sections from the final ebook. Note that if you use these properties to change the way sections are included in your book, you will need to regenerate the table of contents, alphabetical index, and endnotes for each configuration since these will also change according to configuration.

The last two options act on condition objects that bracket conditional content. Condition objects contain a list of tags that are matched against these options to include or exclude the content.

Commands

Sometimes you may wish to execute an external command before or after the compilation of your book. These properties allow you to specify such commands. Note that if executing a command using an interpreter such as Java or Python, you must specify the interpreter command in addition to the script to be executed.

Here’s an example command that runs the Kindlestrip program:

c:\python27\python.exe c:\apps\kindlestrip1.35\kindlestrip.py "%FOLDER%\%FILENAME%.%EXT%" "%FOLDER%\%FILENAME%_new.%EXT%"

Comments

These options control how comments are included in your ebooks.

Checking

General

These are the remaining options.


Contents | Start | End | Previous: Appendix G: Alphabet Description Reference | Next: Appendix I: Working With Tag Objects