06-08-2012, 03:45 AM | #1 |
Plugin developer
Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
[Input Plugin] DOCX Input
Hello,
THIS PLUGIN IS OBSOLETE FROM Calibre version 0.9.34, as a native plugin supersedes it. This plugin won't be supported anymore. As an article writer I have lots of DOCX and tried to find good free alternative for DOCX to EPUB, AZW3 or MOBI conversion. However, good EPUB tools are not free, and Amazon's conversion service did not satisfy me, it makes formatting crappy and "not book like". So here they are, my own conversion tools. Please feel free to use them for your own purposes. Development will continue, I will constantly add new features. I was quite surprised there is no other plugin for Calibre, as DOCX format is comparatively simple. DOCX Input plugin converts a DOCX file format to OEB (if I'm not mistaken, bunch of HTMLs with OPF file and CSS stylesheets). Then Calibre converts it to anything it supports. My main target is AZW3 (KF8) and MOBI, but no hacks included for better support. Did you know that with this plugin you can view DOCX files in the Calibre without opening them in Word?! Just go to Settings > Behavior and tick the DOCX format in the list Use internal viewer for! TTF and OTF (type "OTTO") font embedding is supported. Note: it is your legal responsibility to embed fonts (check copyright before). OTF is supported only of TTF type or type "OTTO", i.e. single font/family in the file. TrueType Collections are not yet supported. The next post contains features, userguide, other information and also a demo docx file, to show off the supported features of the plugin. SUPPORTED FEATURES Spoiler:
NOT SUPPORTED Spoiler:
PLANNED Spoiler:
User Guide Spoiler:
All critiques, crashes and suggestions are most welcome, but I will not be quick in responses or new features development. At the moment I'm quite satisfied with plugins. Version history: Spoiler:
Last edited by SauliusP.; 06-07-2013 at 05:26 AM. |
06-08-2012, 04:25 AM | #2 |
Plugin developer
Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
Note: Kovid refactored and included DOCX Metadata Reader plugin into Calibre itself from version 0.8.56.
Last edited by SauliusP.; 12-18-2012 at 03:17 AM. |
Advert | |
|
06-10-2012, 08:20 PM | #3 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jun 2012
Device: Kindle
|
Thank you SauliusP, your plugin is really useful.
|
06-12-2012, 03:10 AM | #4 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2012
Location: Northern Germany
Device: tolino vision 2
|
DOCX Input
Hi SauliusP., for a long time I waited for such a tool!
Thanks a million to everybody for the great CALIBRE software and ist Plugins!!! SandFish |
07-03-2012, 08:21 AM | #5 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2012
Device: Kindle3
|
Hi,
I have a problem with the file docx, which incorrectly Calibre convert to mobi. When you open a docx file, text styles are correct, but not in mobi. Where is the problem? http://www.mediafire.com/view/?pgjpfwvnn3w48gc |
Advert | |
|
07-04-2012, 01:20 AM | #6 |
Plugin developer
Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
|
07-06-2012, 10:10 AM | #7 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2012
Location: Northern Germany
Device: tolino vision 2
|
Hi everybody,
moreover, if the text contains no picture the Calibre conversion from DOCX to EPUB is not working, error message is: "empty spine". The first edition of the plugin worked fine. Still, Calibre and its Plugins is great software!! |
07-10-2012, 07:34 AM | #8 |
Plugin developer
Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
SandFish, you might want to uncheck "Use first image as a cover" checkbox in plugin preferences. If that does not help, then there's some other bug in the plugin. Sorry for inclusion of those options, at the beginning I did not realize there are Input Options dialogues in the Calibre. Will include that in the next release.
|
08-10-2012, 05:20 PM | #9 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2012
Device: Kindle 4
|
Hi,
I create simlpe docx file, add several words without any formatting. When i try to convert in MOBI there are several errors. But if uncheck "Skip content until first page break" it is ok. Can you fix this problem? I save simple file as doc because there is no possibility to upload docx. |
08-10-2012, 05:48 PM | #10 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2012
Device: Kindle 4
|
Python function terminated unexpectedly
Spine is empty (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "site-packages\calibre\utils\ipc\worker.py", line 192, in main |
08-11-2012, 12:26 AM | #11 |
Junior Member
Posts: 1
Karma: 10
Join Date: Aug 2012
Device: kindle touch
|
Bulk Conversions
Your plugin works great with individual conversions as long as I go into the
"DOCX Input" and disable the "Skip content until first page break" option. However, when I try to "bulk convert" as opposed to "convert individually" I am not given the option to do this. Since I have a lot of DocX documents I'd like to convert to MOBI, doing them individually is a hassle. Is there a way to do this with bulk conversions? |
08-13-2012, 02:53 AM | #12 |
Plugin developer
Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
Hi all,
I will fix the problem with skipping content, however regarding bulk conversion I cannot do much. There is no possibility in Calibre to add global options for external plugin as of yet. I can only do my best to make it more stable, but best results will be achieved only with individual conversion (which I do myself, too). BR. |
08-13-2012, 04:44 AM | #13 |
Plugin developer
Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
Fix in the new 0.0.10 version, should not fail with unchecked "Skip content until first pagebreak".
|
08-13-2012, 06:11 AM | #14 |
Occassional Beta Tester
Posts: 283
Karma: 3516
Join Date: Nov 2010
Location: Hungary
Device: Samsung Galaxy Tab 4 (wifi only)
|
Hi Saul,
I can't update the plugin. I started Calibre, got the notification for the update from 0.0.9 to 0.0.10. Updated, restarted and got another notification for 0.0.10 to 0.1.0. Updated restarted and the notification is still there for the update to 0.1.0. What's the problem? |
08-13-2012, 06:19 AM | #15 |
Calibre Plugins Developer
Posts: 4,692
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
It is just a mismatch between the plugin index thread and what is inside the plugin itself. It should be fixed now.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DOCX Input and DOCX Metadata Reader | SauliusP. | Development | 5 | 06-15-2012 03:17 AM |
Understanding html input plugin | nimblebooks | Conversion | 3 | 02-26-2012 02:06 AM |
telling the input plugin to allow a rel=nofollow | nimblebooks | Conversion | 0 | 02-22-2012 06:01 PM |
Plugin which uses net as input and output | medve | Development | 0 | 12-04-2011 04:20 PM |
Looking For MHT Input Conversion Plugin | FlooseMan Dave | Plugins | 4 | 03-30-2010 06:52 PM |