View Single Post
Old 04-10-2017, 06:26 AM   #4
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by BetterRed View Post
Nor me. I convert several ODTs every week to DOCX via Word 2010 and thence to ePub via calibre's DOCX->EPUB convert, or via Sigil's DOCX plugin (Mammoth). I suppose Word 2013 may use a different ODT filter.

Or maybe the Word template that's being applied has the Font Character Spacing set 'abnormally' in one or more styles. I always explicitly apply one of my own templates.

I just tweaked Font->Advanced->Character spacing to Expanded by .1pt in one of my template's Normal style. Then did a calibre convert, and I got 'letter-spacing' items in the css styles that originate from word styles that are based on the Normal style (which was most of them).

It's easy to screw up a Word template; tick one or two wrong boxes, in the wrong order, forget to set a radio button, and you're likely end up with upside down, mirror image, Katakana text - they're a minefield, full of dragons and hobgoblins

BR
It happened to me at each try (six times). The way to reproduce it is:
- one full featured odt file (all paragraphs and characters styles are set using a standard LO .ott model.
- open this file with Word 2013. Make some orthographic corrections (I use a nice macro for this). Save as an odt.
- publish this odt file using either writer2xhtml or ODTImport Sigil plugin.
- I get a letter-spacing property in the body of the EPUB3.

Not only this, but thanks to Word 2013, in the EPUB you'll get hundreds, even thousands of 'Policepardfaut" useless (because empty) spans in the text (coming from a new character style added in the odt.

If you or Toxaris wish to send me an odt file of yours by MP, I'll send you back an EPUB3.

PS: Could it be that Word 2013 applies some model I never asked for...? To be honest my Word knowledge is scant... I just wish to keep my odt as it is (styles) and only correct orthograph.

Last edited by roger64; 04-10-2017 at 07:45 AM. Reason: orthograph
roger64 is offline   Reply With Quote