Quantcast
Channel: MobileRead Forums - Calibre
Viewing all articles
Browse latest Browse all 31501

The Dreaded Em Dash

$
0
0
The Facts:

My book was written in Word 2010, regular DOC format. I used styles to handle the formatting. MobiPocket rendered a perfect PRC file for the Kindle. No problems, even the em dashes were right.

Using 0.8.11 of Calibre, I'm having no joy with em dashes. I've tried everything. This is what yields me the best results, meaning everything else formats fine except the em dashes: Save Word file to filtered HTML, convert HTML to ePub. Everything formats beautifully except the em dashes, which are rendered as hyphens.

The filtered HTML file uses Windows-1252 encoding. Before the conversion takes place, the HTML file has em dashes in it, such as you would see if you keyed in the shortcut for it. It has no HTML tags to do the trick. The em dashes display properly even in NotePad. I did a search for the em dash character and replaced it with the Windows-1252 HTML tag for the em dash (& # 8 2 1 2 ; -- without the spaces). Calibre still won't output the em dashes correctly.

I've tried converting to MOBI instead, and then to Epub. THAT, for some reason, preserves the em dashes, but it also creates a lot of undesirable formatting results, not the least ugly of which is a lot of em dashes that end up on a line all by themselves.

Since everything displays beautifully with my first enumerated method except for the em dashes, I have to believe there's some reasonable fix for this.

I've Googled high and low for this, but no luck. Any help would be wonderful.

Thank you,

Greg

Viewing all articles
Browse latest Browse all 31501

Trending Articles