Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 11-25-2015, 11:49 PM   #1
DLSieving
Enthusiast
DLSieving began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2015
Device: iPad/KindleApp
Embedding font (word)

I crafted a detailed procedure the last time I did this but apparently did not include quite enough detail, or perhaps things have just changed too much.

Word 2011 for Mac => Save As HTML
Sigil (0.8.7) => Open HTML:
  • The following file was not loaded due to invalid content...
  • Set Clean Source preference to Pretty Print Tidy or HTML Tidy
  • (different errors depending on selection of PP Tidy or HTML Tidy)

Word 2011 for Mac => Save As HTML
BBEdit (11.1.4) => Open HTML
  • Save As: Styled HTML
Sigil (0.8.7) => Open HTML: HTML opens but nothing works.
  • HTML shows in the Text window but cannot be navigated
  • Selecting Styles, Images, Fonts... folders does nothing; HTML still shows in the main window.

What step did I miss or do wrong?
Should I upgrade to Word 2016 for Mac and start over?
DLSieving is offline   Reply With Quote
Old 11-26-2015, 02:04 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,612
Karma: 23187563
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by DLSieving View Post
I crafted a detailed procedure the last time I did this but apparently did not include quite enough detail, or perhaps things have just changed too much.
You didn't mention that you're trying to convert a Word document. Try the following:

a)
Save your Word document as a .docx file and convert it to an epub with Calibre.

b) Alternatively, open your Word document with Pages, export it as an ePub.

If you're having problems with the Sigil font embedding method, you can also embed fonts with Calibre:

Calibre > Common Options > Look and Feel > Embed font Family > embed referenced fonts

Convert Books > Input format: EPUB > Output format: EPUB

Last edited by Doitsu; 11-26-2015 at 03:09 AM.
Doitsu is offline   Reply With Quote
Advert
Old 11-26-2015, 02:34 AM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,707
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doitsu View Post
a) Save your Word document as a .docx file and convert it to an epub with Calibre.


to sidestep the flattening of the CCS that calibre conversion necessitates, you could import the DOCX into the calibre ebook-editor and save as EPUB - I think that will also retain the style names from Word.

BR
BetterRed is online now   Reply With Quote
Old 11-26-2015, 02:57 AM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,612
Karma: 23187563
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by BetterRed View Post
to sidestep the flattening of the CCS that calibre conversion necessitates, you could import the DOCX into the calibre ebook-editor and save as EPUB - I think that will also retain the style names from Word.
Thanks for the information, I didn't know that you could import .docx files into Calibre Editor, because I only use Sigil.
Doitsu is offline   Reply With Quote
Old 11-26-2015, 03:35 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,707
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doitsu View Post
Thanks for the information, I didn't know that you could import .docx files into Calibre Editor, because I only use Sigil.
I use both - mainly Sigil, but some calibre features are a bit better - eg some of the reports. The docx import is useful if the docx makes extensive use of styles - mainly technical non fiction .

BR
BetterRed is online now   Reply With Quote
Advert
Old 11-26-2015, 03:48 PM   #6
DLSieving
Enthusiast
DLSieving began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2015
Device: iPad/KindleApp
Thanks for the alternate methods - always good to have - but I also forgot to mention that I've used the complete Word/BBEdit/Sigil/KindleGen/DTP method successfully before. The only thing I've yet to do is buy a few eReaders just for testing purposes and see how it looks on them. Apparently I must have used some subtle variations with Word, BBEdit or Sigil the last time around that I neglected to write down. I suppose I'll just have to keep circling back until I rediscover that which was lost - the magic variation.

And a note to Hendrixxxxxxxx: I wrote incorrectly before that I'd seen the font style sheets in Sigil this time around but I meant to write BBEdit, before I got to the Sigil phase.
DLSieving is offline   Reply With Quote
Old 11-27-2015, 01:28 AM   #7
DLSieving
Enthusiast
DLSieving began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2015
Device: iPad/KindleApp
Sigil Can't Process my Styled HTML Exported from BBEdit

(message deleted; OBE)

Last edited by DLSieving; 11-27-2015 at 01:54 AM.
DLSieving is offline   Reply With Quote
Old 11-29-2015, 03:28 AM   #8
DLSieving
Enthusiast
DLSieving began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2015
Device: iPad/KindleApp
Sigil Can't Process my Web Page Preview (HTML) Exported from Word; On to Calibre

I was able to import my filtered HTML into Sigil (Word: File => Save As => Filtered HMTL (display information only)) but the result was such a feeble shadow of the original that I decided to try something different.

Instead I used File => Web Page Preview, which had all of the formatting I want in my eBook. In the browser (Safari) I then used File => Save As => Page Source to output the HTML. I remember now that this is the variation I used with great success the last time I went through this process. The result was only a few hundred K in size as compared to 2.8MB for the Styled HTML I had previously output from BBEdit and which Sigil had been unable to render. I figured Sigil would have a much easier time processing such a small file.

Unfortunately, Sigil started running into problems as soon as it got past the <head> section. I used BBEdit to fix them one by one but it went on and on. I got way past this point last year, so I'm assuming Sigil's problems this time around are somehow the result of the new styles I've added since the last time I went through this process, which I did on the advice of Guy Kawasaki through his APE book (Author, Publisher, Entrepreneur) to consolidate the formatting into CSS stylesheets, which makes perfect sense. I also read Notjohn's book and took lots of notes.

So I read a few posts about how Calibre is in some ways more capable than Sigil with HTML tags and have now moved on to using Calibre which I understand can convert directly from Word.docx to ePub.

Thanks again for your help!

Dave

Last edited by DLSieving; 11-29-2015 at 03:39 AM. Reason: Made more progress with Calibre
DLSieving is offline   Reply With Quote
Old 11-29-2015, 05:44 AM   #9
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
>I'm assuming Sigil's problems this time around

I've always had my best results with software when I assume that the problems are MINE, rather than the software's.

In my limited experience with Word 2013, I thought it produced reasonably sleek html, at least compared to my installation of Word 2000. In the early days of e-publishing, I used to upload to Google Docs and (like you with View Source) get the html that way, which was a lot cleaner than Word's version. Now I use Word2CleanHtml dot com, which IMHO is infinitely better. There are also paid and free softwares and plug-ins that do the same thing. I stay well away from *.docx and will continue to do so until my editors start insisting on it (so far they are all perfectly happy with *.doc files).

I also stay away from embedded fonts. Rarely is it the case that an author's notion of how a book should look has any validity, and if the publisher indulges the author in the first instance, if the book stays around long enough, it will eventually (like all other things) revert to the mean, and that Comic Sans will wind up as Georgia or Bookman.

Last edited by Notjohn; 11-30-2015 at 06:43 AM. Reason: (changed "few" to "free")
Notjohn is offline   Reply With Quote
Old 11-29-2015, 08:52 AM   #10
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,629
Karma: 194783560
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
@DLSieving: Would love to see some examples of valid (x)html/css that Sigil cannot "handle," or render.
"Sigil can't handle my code" isn't exactly very instructional or helpful. We cannot fix (or accomodate) what we cannot reproduce.
DiapDealer is offline   Reply With Quote
Old 11-29-2015, 05:06 PM   #11
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DLSieving View Post
I was able to import my filtered HTML into Sigil (Word: File => Save As => Filtered HMTL (display information only)) but the result was such a feeble shadow of the original that I decided to try something different.
Such as? I've never had issues with an exported Word file creating a "feeble shadow" in Sigil, but then again, I know what styles work in ePUB, and which don't. You say you're using the Styles that Kawasaki recommended in his APE book? Do you mean his CSS? Or did you dl his file--the template of the book that he gave away for free--and use that? As you've done this before, you probably already know that you need both, the HTML and the CSS, for it to work (not insulting your intelligence--most of us here write not only for the post at hand, but for those who may come along and read later).

Quote:
Instead I used File => Web Page Preview, which had all of the formatting I want in my eBook. In the browser (Safari) I then used File => Save As => Page Source to output the HTML. I remember now that this is the variation I used with great success the last time I went through this process. The result was only a few hundred K in size as compared to 2.8MB for the Styled HTML I had previously output from BBEdit and which Sigil had been unable to render. I figured Sigil would have a much easier time processing such a small file.
Okey-doke.

Quote:
Unfortunately, Sigil started running into problems as soon as it got past the <head> section. I used BBEdit to fix them one by one but it went on and on. I got way past this point last year, so I'm assuming Sigil's problems this time around are somehow the result of the new styles I've added since the last time I went through this process, which I did on the advice of Guy Kawasaki through his APE book (Author, Publisher, Entrepreneur) to consolidate the formatting into CSS stylesheets, which makes perfect sense. I also read Notjohn's book and took lots of notes.

So I read a few posts about how Calibre is in some ways more capable than Sigil with HTML tags and have now moved on to using Calibre which I understand can convert directly from Word.docx to ePub.

Thanks again for your help!

Dave
As Diap noted, some exemplars would be useful. It's really difficult to troubleshoot descriptions of issues, when they are more generalized, rather than seeing the code that caused the problems.

Hitch
Hitch is offline   Reply With Quote
Old 01-24-2016, 04:10 PM   #12
DLSieving
Enthusiast
DLSieving began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2015
Device: iPad/KindleApp
FYI, I ended up importing my DOCX directly into Calibre and all of these problems went away.
DLSieving is offline   Reply With Quote
Old 01-24-2016, 04:37 PM   #13
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,468
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by DLSieving View Post
FYI, I ended up importing my DOCX directly into Calibre and all of these problems went away.
Which problems? The improperly-formatted code issues, or, you mean that you have an ePUB that displays your fonts, and a MOBI that not only displays your fonts, but also survives the KDP uploading process, and displays them in the on-sale book?

Hitch
Hitch is offline   Reply With Quote
Old 01-24-2016, 05:23 PM   #14
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,707
Karma: 27405072
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DLSieving View Post
FYI, I ended up importing my DOCX directly into Calibre and all of these problems went away.
Curious, mainly for the sake of others who may not know there's a choice; was it imported into the calibre book editor, or the calibre conversion process, they're not quite the same (by design)

BR
BetterRed is online now   Reply With Quote
Old 01-25-2016, 05:15 AM   #15
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by rubeus View Post
Doesnt importing something in Calibre makes it more worse than before? SCNR
No, importing something into calibre doesn't do anything to the file. The file is copied to the calibre directories and then named according to calibre's naming standards.

Now, a conversion does change things. But, if you have a book in one format, and want it in another format, something has to change.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedding font in books that already have embedded font Barty Calibre 2 10-16-2013 11:38 PM
Font Embedding? teh603 Writer2ePub 75 01-08-2013 07:57 PM
Font embedding sachin Sigil 36 03-30-2012 03:26 AM
Font embedding sachin Sigil 3 03-21-2012 09:19 AM
Do I need a font license if all I'm doing is referring to the font (not embedding)? Stodder Workshop 21 04-21-2011 04:19 AM


All times are GMT -4. The time now is 04:49 AM.


MobileRead.com is a privately owned, operated and funded community.