Contents | Start | End | Previous: KB0227: Why are my images clipped on the right edge? | Next: KB0229: How do I format text in a footnote?
You may see messages like this if the reporting option is set to High:
TIP (Jutoh): style Normal in document My Document has a hard-wired text colour.
For Epub, Kindle and HTML files, Jutoh checks whether text colour is specified as black, or background colour is specified as white. Although it may look fine in Jutoh and when you preview the book, 'fixed' colour defeats some reading modes (for example, a white text on black background mode) and can cause your book to be rejected from distributors.
Jutoh will give one tip per style, to avoid a flood of messages if the style has been used frequently. Thousands of tips could be offputting. If you find that the tip mentions a different paragraph every time you correct the problem, you probably have a lot of direct formatting - use Formatting Cleanup as described below.
Jutoh does not warn about colours that are not black or white, since it's more likely that they have been chosen deliberately (and with luck, sparingly, for example for headings).
If you see '=>' in the message, it means that Jutoh has determined that the style to the right of this symbol is the style that actually contains the colour definition, and from which the other style derives. For example, 'Heading 1 Bold => Heading 1', which means that 'Heading 1 Bold' derives from 'Heading 1', and 'Heading 1' needs to be edited to remove the colour. The Styles tab will also tell you if the style at the text cursor position is based on another style.
To fix the problem:
If the style is not automatic (i.e. doesn't contain a '+' character), edit the paragraph or character style indicated in the warning, and clear the text and background colour controls in the Font tab.
If the style is automatic (ad hoc, or direct formatting), you can use the menu command Format | Book | Formatting Cleanup, checking Remove ad hoc text colour and Remove ad hoc background colour. Or you can use Format | Character, Format | Paragraph or Format | Clear Direct Formatting to remove it from individual paragraphs or spans of text.
Or, to remove all colour from your generated ebook and suppress colour warnings, clear the configuration option Generate colour. This will only affect the generated ebook and will not remove the colours in your actual project.
To remove it from your original imported document, you can go to your word processor, edit the style indicated by Jutoh, and set the colour to 'automatic'. If the colour has been applied by direct formatting and not using a named style, then you will need to use direct formatting (with the provided buttons or menu commands) to do so. Please see the documentation for your word processor for information about editing colour.
You can switch the tip off for all projects by clicking on the Options tool in the toolbar and clearing the advanced setting Colour warning.
Contents | Start | End | Previous: KB0227: Why are my images clipped on the right edge? | Next: KB0229: How do I format text in a footnote?