Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2019, 05:49 PM   #1
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,158
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
When you THOUGHT Calibre conversion was broken.

First try other ebooks or Wordprocessor documents freshly made on another computer.

Symptoms:
Using "Docx" there would be no page breaks in AZW3, ePub or mobi. Mobi headings would have outline numbering. Importing the docx back into Libre Office Writer would "create" up to 10 "converted page" styles. About 280 6" x 9" pages.
Using "ODT" you'd get page breaks in all formats except mobi. Epub and Mobi would have the strange outline numbering.

Well, examining the converted output in Calibre Editor revealed the <li (with the usual heading stuff)> and </li> around Chapter "headings". So next I examined the LibreOffice Writer style settings. Looked OK.
Four hours later I upgraded from 5.1 to 6.2.2 and found that the ePub creator built into Writer sort of works, but very basic. Calibre happily made that into AZW3 and Mobi files that worked.

However I was not happy. I'd spent days editing the 60,000 words. If the document was broken, so were the backups. Of course I could may go back to revision 15 or 16 instead of current 19.

Went to bed.

In the morning I thought RTF! It will just about save the basics, all the text! I saved the contents to clip board (as it's a pig) expecting to have to recreate the chapter bookmarks (anchors), Saved as RTF. Deleted the Default template and selected one I'd never used. Closed Writer. Opened Writer and read RTF. Amazingly the Contents/links/bookmarks intact.
Saved ODT and MS format DOCX.
Tried both in Calibre with ePub, AZW3 and Mobi. No evil Outlining Numbers on Chapters or paragraph dividers such as ~, § and * * *
About HALF the page breaks missing.

Clicked on each heading in Writer Navigator, hit Backspace till the Chapter Title became "body text" at end of previous paragraph. Between 1 and 6 presses! Ah! Hit Enter and Ctrl 1 to make it back to a "Heading 1" style.
Save both formats again (I only use DOCX for export, and the ODT for edits).
Now epub, AZW3 and Mobi all perfect from DOCX. Using ODT the body text spacing too tight and some images left justified instead of centred. But I'd learnt a while ago that the DOCX format is converted best. Pity about ODT.

Moral
So all working again, like February. So if the document gets internally confused, try saving as RTF, exit and re-import to your native working format.
I do increment the version before deleting a passage.
I do increment the version before editing in annotations exported from proof reading on the Kobo H2O.
I do increment before rewriting or global changes.
If the RTF trick hadn't worked, I'd have typed in all new headings in a fresh file and pasted the body of each chapter into a plain text editor and then copy & pasted the pure text after the new heading. Because I have backups and never actually lost the edited text. It was the invisible formatting somehow messed up.

Maybe originally transferring it from MS Word 2002 (XP Office) to LibreOffice via .doc about two and a half years ago. The previous proof was a bit flaky on the Kobo and I'd not looked at it on PW3 or ancient Kindle.

But the Grammar checker (better than nothing) vanished as did off line Help when I upgraded LibreOffice 5.1 to 6.2.2, probably 6.1 is a better choice. Anyway the usual Linux sites explained how to fix that.

How many times did I have to reboot Linux? Only once because I shut down the laptop when I go to bed.
Quoth is offline   Reply With Quote
Old 04-08-2019, 08:15 PM   #2
Fiat_Lux
Addict
Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.Fiat_Lux ought to be getting tired of karma fortunes by now.
 
Fiat_Lux's Avatar
 
Posts: 393
Karma: 6700000
Join Date: Jan 2012
Location: Gimel
Device: tablets
Quote:
Originally Posted by FrustratedReader View Post
But the Grammar checker (better than nothing) vanished as did off line Help
Grammar Checking can be returned, by installing the Language Tool extension.
Offline help can be added, by downloading and installing that executable. Make sure that you choose help for your locale and language.

Amber
Fiat_Lux is offline   Reply With Quote
Advert
Old 04-09-2019, 04:16 AM   #3
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,158
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
The basic Light Proof grammar doesn't need Java, which really slows Writer. I think the Language Tool does.
Easy to add:
Code:
sudo apt-get install libreoffice-lightproof-en
You do have to go to Extensions Manager, select "Lightproof grammar checker" and click on options to turn on most of the useful options.
It doesn't realise "had had" is a valid construction.


As I wrote, it's all sorted. I have dictionaries for each series, so I have Bookmark on the Caja filebrowser to libreoffice profile in "Home" (.config/libreoffice/4/user on my system) all the dictionaries are in "wordbook", so I back them up and also copy them to my netbook. I usually take it rather than laptop if editing outside home and later going shopping. I don't want my main laptop stolen.

You only have to edit the header to transfer dictionaries between MS Word <-> LO Writer, at least on older versions of Word.
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal Links broken in Epub to DOCX conversion David Kudler Conversion 2 06-10-2015 11:39 PM
Bug? Automatic book conversion broken in Calibre 1.18 HarryT Calibre 3 01-04-2014 08:20 AM
Is Kindle books conversion associated with K4PC broken? thingumybob Conversion 3 07-13-2012 09:53 PM
Any thought to creating a Calibre App? Sydney's Mom Calibre 9 04-21-2011 04:50 PM
Textile conversion broken in 7.45 Perkin Conversion 7 02-12-2011 06:36 PM


All times are GMT -4. The time now is 01:09 PM.


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