Contents | Start | End | Previous: KB0333: Using Jutoh and KDP to create a print book | Next: KB0335: Why are styles in my ODT document mysteriously taking on attributes such as indent that I didn't specify?
An em-dash is a longer kind of dash that you can create in Jutoh by typing three normal dashes followed by a space, using auto-replace.
If you use the em-dash with no space between the dash and the surrounding words, you may find some viewers such as Kindle break the dash so that it starts a line.
To fix this, you can insert a zero-width non-breaking space (in HTML, ) before each em-dash.
Click Options and then Advanced. Find the option Extra find and replace symbols and type:
Em Dash:~{8212}|Zero Width Non-Breaking Space:~{65279}
Click OK.
Now show the Find and Replace dialog with Edit | Find and Replace. When you click Add and then More in the menu, you will see the two custom entries. You can do a global find and replace, replacing em-dashes with a zero-width non-breaking space followed by an em-dash.
The non-breaking space doesn't quite have non-zero width, but it may be good enough.
You may wish to test on a variety of viewers to ensure the zero-width non-breaking character doesn't show up as a box (unknown character).
An alternative to the above is to use two en-dashes (insert with two dashes followed by a space), although you may see a small gap between dashes.
Contents | Start | End | Previous: KB0333: Using Jutoh and KDP to create a print book | Next: KB0335: Why are styles in my ODT document mysteriously taking on attributes such as indent that I didn't specify?