View Single Post
Old 04-21-2016, 04:12 AM   #17
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by SJC-Caron View Post
When I tried to convert a docx document to epub & kepub today in Calibre some weird things happened (when viewed via the Caliber ebook viewer):

1) Sub-headings that I wanted to be within a chapter had a page-break applied to them despite this not being the case in Word.

2) Some fonts appear in their italic form where in Word the font was in its regular mode.

3) With some fonts the space before an bolded or italicised word disappeared so I had two words stuck together.

4) With some fonts bolded and italicised words appear in their regular form.


I have looked at the outputted epub files in the Calibre epub editor, and was able to figure-out how to fix issue 1, but am at a loss for the other issues at this point. I tried applying the bold tags to words what should of been bolded but weren't, but those tags didn't take. And I did not see anything that would allow me to correct the wrongly italicised fonts.

Any advice that can be provided will be appreciated.
Ad 1: You probably indicated a split was required before those type of headings. In general it is usually best to split the file before each chapter.

Ad 2-4: This is probably a result of the conversion. It is not unknown side-effect that sometimes occurs with certain documents if you convert DOCX to (X)HTML, depending on the method. In the method I use for the add-in I have taken some measures to work around that.
Anyway, you should be able to fix it with normal tags of styles. That being said, Hitch is also correct. If you use a font and want to have bold/italic, you need to not only have the regular type of the font, but also the bolt, italic and bolditalic version of the same font. Otherwise it cannot be displayed.
I know, you can in Word. But those are usually not real italic or bold, except when those font files are present. If not, they will be emulated to look bold or italic. That is not possible for web and should not be done anyway.
Toxaris is offline   Reply With Quote