03-25-2011, 03:06 PM | #1 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Mar 2011
Location: New Hampshire
Device: Samsung Galaxy Tab A SM-T510
|
Converting .docx to ePub and combining
I create my books chapter by chapter in Office 2007 Word. Is there any program out there that will allow me to convert each chapter to ePub and then combine them into one file bookmarking each chapter like PDF files do?
I was originally converting each .docx file to PDF and then combining them in Acrobat but my Pandigital won't read those files correctly. I'm looking for a way to do the same thing only converting into ePub format. |
03-25-2011, 06:35 PM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Save the file as filtered HTML, add to file to Sigil. Save and presto.
Sigil will create a TOC for you, if you use headers. Remember, the HTML from Word is full of excessive garbage, even the filtered HTML. You can clean/remove a lot without problems. |
03-25-2011, 09:29 PM | #3 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Mar 2011
Location: New Hampshire
Device: Samsung Galaxy Tab A SM-T510
|
I'm computer illiterate so could you explain what you just said? It sounds like you're talking about converting just one file and I need to convert several and then combine them. I have yet to find any of these programs that will keep my formatting and my page headers correctly.
|
03-25-2011, 09:58 PM | #4 |
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
EPUB files are actually archives containing multiple files. The text files in the archive are (x)html files.
It is generally considered good practice for each chapter or other major segments of a book to be indivitual (x)html files in the EPUB archive. To accomplish this you could work this way: 1. Export the first chapter from Word as "Web page filtered HTML". 2. Use Calibre to convert this HTML file into an EPUB. As you create subsequent chapters: 3. Export each as separate "filtered HTML" files from Word 4. Open the EPUB in Sigil and add the next chapter. Sigil will build and/or update the other necessary components in the EPUB as you add successive files. You will, though, have to do some massaging of the HTML files and the CSS styles to clean up the garbage with which Word burdens its HTML files. |
03-26-2011, 12:26 PM | #5 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Mar 2011
Location: New Hampshire
Device: Samsung Galaxy Tab A SM-T510
|
That last part there about massaging the files would have me lost. I wouldn't have the slightest idea where or how to even find this information you say can be removed. I am soooooo lost in this but apparently I'm going to have to find a way to change all of my files so that instead of being compiled as PDFs they are combined and created as EPUBs so that the new update on my Pandigital will actually read them correctly in the BN ereader.
|
03-26-2011, 04:03 PM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2011
Device: none
|
If I run validatithru' Sigil, it says, "no error found". However, if I run it thru' epubcheck-1.2.jar, it tells me value of attribute "preserveAspectRatio" is invalid; must be a string matching the regular expression....
I have, preserveAspectRatio="none" Which one is the correct check? |
03-26-2011, 09:39 PM | #7 | |
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
The results at this stage should be pretty good, but if you need a decent TOC and want other changes you can use Sigil as a "word processor" to make simple changes (break the file into separate chapters, set the chapter headings as proper headings (H1, H2, ...) without having to delve into code or style editing. |
|
03-27-2011, 10:26 AM | #8 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Mar 2011
Location: New Hampshire
Device: Samsung Galaxy Tab A SM-T510
|
Can anyone tell me how to combine files in Word?
|
03-27-2011, 11:09 AM | #9 |
Enquiring Mind
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
Hi wildchild
Both dwig's and Toxaris's suggestions are good ones - provides you with alternative ways of doing what you're trying to do. The simplest way to combine the Word files would be to make a copy of the first file, rename the copy to indicate it's the whole book and not just the first section, then open that file and copy and paste the contents of each of the other files onto the end, in the correct order. Once you've done that, you can save the file, then save it as an RTF file. However Toxaris' suggestion is worth revisiting - save each file as "Web Page, Filtered", then use Sigil to build them into an EPUB file. Yes, MS Word adds rather a lot of HTML and CSS code that isn't entirely necessary, but using the "Filtered" save setting cuts down on that, and unless you've done really weird stuff with your formatting in Word, it should convert OK. Might not be perfect from an HTML purist standpoint (and I'd include myself in that group most of the time), but unless your ebook requirements are complicated, it should work fine. About Sigil - it will happily handle the job of taking multiple HTML files and compiling them into a single EPUB. When you start a new file in Sigil, you simply insert all of your HTML files, and Sigil does the job of creating the EPUB file. If you have used Word's heading styles for your section and chapter titles, you can use Sigil's TOC (table of contents) editor/wizard to create a single TOC for the whole EPUB, based on those headings. I'd recommend having a browse around the Sigil forum here in MobileRead, where you'll find the link to download and install Sigil, along with lots of info about how to use it. |
03-27-2011, 11:11 AM | #10 |
Enquiring Mind
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
|
Looks like you're using an old version of epubcheck, yaip. I'd download the latest version and install it - might resolve the differences you're seeing when checking your epub file.
|
03-30-2011, 09:05 PM | #11 |
Addict
Posts: 228
Karma: 16000
Join Date: Jun 2009
Device: Sony PRS-T1
|
wildchild1954, you can easily combine multiple DOCX files into one with Atlantis Word Processor, then convert directly to EPUB:
1) Create a new blank document in Atlantis Word Processor (press Ctrl+N). 2) Choose the "Insert | File..." menu command of Atlantis. 3) Direct the "Open Document" window to a folder containing your files. 4) Select the files by Ctrl+clicking them. 5) Click the "Open" button. 6) Choose the "File | Save Special | Save as eBook..." menu command of Atlantis to save as ePub. |
07-17-2011, 01:56 AM | #12 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Mar 2011
Location: New Hampshire
Device: Samsung Galaxy Tab A SM-T510
|
Sorry I haven't been on the forum in such a long time but I did try Atlantis and now I have a problem with my .docx files. Every single one of them now has that A in the circle on them and I can't access them through Office Word anymore except as a read-only file. How do I get them back the way they were before?
|
07-17-2011, 09:07 PM | #13 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
07-18-2011, 02:21 AM | #14 |
Connoisseur
Posts: 58
Karma: 10
Join Date: Mar 2011
Location: New Hampshire
Device: Samsung Galaxy Tab A SM-T510
|
Is there any way in Atlantis to change the default back to Office Word 2007? I'll see if I can find a way to change it back in Word but until then I have deleted the Atlantis program as that was the only way I could get the files back to .docx opening in Word.
|
07-18-2011, 03:28 AM | #15 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Actually DaleDe gave you the anwser already. Right click on the file. choose 'Open with' and then 'Choose Program'. Select Word and it should be fixed.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting from MS Word 2007 (.docx) to MOBI | DreamWriter | Workshop | 17 | 01-25-2013 07:19 AM |
Importing / Converting DOCX files | fan of kovid | Conversion | 13 | 03-12-2011 07:47 PM |
.DOCX format | NoWorthWhile | Amazon Kindle | 10 | 01-14-2011 07:48 AM |
DOCX with equations to MOBI | Chrasty | Kindle Formats | 2 | 11-22-2010 04:13 PM |
Combining lots of small epub files | maxbookworm | ePub | 1 | 07-22-2010 12:16 PM |