09-01-2016, 07:36 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2016
Device: Kindle Paperwhite
|
Importing text with many quotes
Hi,
I'm sorry for the level of my English. I'm using this forum because since some months I'm trying to create optimal ebooks (*.epub and *.mobi) using Sigil. The results are very good (no errors, perfect visualization in all the previews and also on my Kindle) but the process is very (too) long because I'm working on a word file (*.docx) with a lot of italic words (it's a magazine with so many quotes!). I have to paste un-formatted text on Sigil and format every single word/phrase with ctrl+i. The result is perfect, the epub file is very clean and I have no problem. But... Is there a way to do the same thing without spending hours and hours on each article? Is there a way to mantain the "pre-formatted text" (only italic!) and do not corrupt the code? Thank you so much for your help! Airnoth |
09-01-2016, 08:05 AM | #2 |
Grand Sorcerer
Posts: 27,858
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Look into the various docx to html/epub exporters/importers.
Toxaris has his Word add in (among other valuable tools). Doitsu has an OpenOffice import plugin And I've got my own docx import plugin. All have a learning curve, but something there should get you going. |
Advert | |
|
09-01-2016, 08:59 AM | #3 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2016
Device: Kindle Paperwhite
|
Quote:
I'm trying your plugin and it's working fine! |
|
09-01-2016, 11:33 AM | #4 |
Grand Sorcerer
Posts: 27,858
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Keep in mind that my docx plugin will only retain italics and bolding around words that are specified directly as italicized words. It should suffice for very simplistic docx documents. But if italics or bolding are being applied via Word (or OpenOffice) styles, then those italics will be lost without a style map to guide the plugin.
If 100% accuracy and crystal-clean html are important to you, you really should give Toxaris's Word add in a look. |
09-10-2016, 09:01 AM | #5 |
Guru
Posts: 878
Karma: 2457540
Join Date: Nov 2011
Device: none
|
Or you can drop the docx into Calibre and use its EPUB conversion. The code it produces isn't as minimalist as from some other methods, but give it clean input and it won't be annoyingly bloated.
|
Advert | |
|
09-12-2016, 10:00 PM | #6 |
Member
Posts: 17
Karma: 10
Join Date: Jul 2012
Location: Left Coast
Device: Kindle/generic android tablet
|
I work extensively in LibreOffice, and apply styles or italics as needed then ->use OPENOffice extension "Writer2xhtml" to export to EPUB -> Open epub in Sigil for final clean-up+metadata additions, etc. I find that it allows me to retain all special formatting with no problems at all.
Last edited by Leverpullr; 09-12-2016 at 10:02 PM. |
09-13-2016, 12:01 PM | #7 | |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
Albert |
|
09-16-2016, 06:20 AM | #8 |
mostly an observer
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to convert "Book A" using css, formatting, fonts 1:1 -> "Book B"? | Mr.Husky | Calibre | 1 | 11-24-2015 05:22 PM |
iPad "Upgraded" to iBooks 3.2 – Bold fonts are extra-bold, italics are now bold-italic | MHC | Apple Devices | 4 | 03-03-2014 01:50 PM |
Dealing with bad formatting: "broken" lines inside paragraphs? | MelBr | Calibre | 5 | 08-26-2013 12:10 AM |
PRS-600 "Internal content invalid. Formatting" 600 crash (is it dead ?) | zelda_pinwheel | Sony Reader | 93 | 02-18-2010 05:27 PM |