Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-10-2015, 11:48 AM   #1
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 281
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
calibre new feature proposal - avoid breaking paragraph

I am using Ubuntu LibreOffice Writer as input for calibre. I have noticed that pictures do not break. If there is enough room, text appears above and below a picture on an epub page. If there is not enough room on the first page, then the picture appears at the top of the second page. I would like to have the same functionality for frames. Writer has a formatting feature which lets you checkmark for nonbreaking paragraphs. There is also orphan and widow control. These orphans, widows, and nonbreaking paragraph formatting aids only work for the printed page and are not carried over as functioning commands into calibre. I would like to see the following code added if those Writer boxed are checked:
<div class="nobreak">

</div>

.nobreak {
page-break-inside: avoid;
}
rjwse@aol.com is offline   Reply With Quote
Old 03-10-2015, 08:46 PM   #2
dickloraine
Guru
dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.dickloraine ought to be getting tired of karma fortunes by now.
 
Posts: 631
Karma: 7544080
Join Date: Apr 2013
Location: Berlin
Device: PRS 350, Kobo Aura
Why don't you use just a different style in libre office instead od the checkmark?
dickloraine is offline   Reply With Quote
Old 03-11-2015, 11:37 AM   #3
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 281
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
nonbreaking calibre paragraphs within frames

Quote:
Originally Posted by dickloraine View Post
Why don't you use just a different style in libre office instead od the checkmark?
A different style of any kind will also break. calibre will break any and every paragraph as needed, but calibre will not break any images. I would like to be able to create paragraphs which either (1) absolutely will not split or (2) avoid splitting. With the calibre editor I can add in the referenced CSS after making the epub. I would like the convenience of using the already-present LibreOffice Writer "nonbreaking paragraph" feature.
rjwse@aol.com is offline   Reply With Quote
Old 03-11-2015, 11:40 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre uses odfpy to convert odt documents, which is pretty limited. I suggest you save your document as docx instead. calibre has its own docx engine which is much more powerful and laready supports this feature (and many others).
kovidgoyal is offline   Reply With Quote
Old 03-16-2015, 07:30 AM   #5
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 281
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
docx versus odt input capabilities

Thank you for your reply. I am intrigued with the notion that docx offers more capable features than does odt. I have tried saving my Ubuntu odt file as docx, then processing through calibre. The borders around frames vanish. I have made a search, but cannot find a list of the additional capabilities of docx over odt. Can you direct me?

Presently, the latest version of LibreOffice has a group of errors which have sprung up due to the inclusion of sidebar popups for navigator, styles, etc. For one thing, colors within frames are not presently saved, but revert to white.
rjwse@aol.com is offline   Reply With Quote
Old 03-16-2015, 07:32 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A demo showing most of the major features of DOCX conversion is in the user manual http://manual.calibre-ebook.com/conv...word-documents
kovidgoyal is offline   Reply With Quote
Old 03-18-2015, 05:50 PM   #7
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 281
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
Thank you. I have been trying out all of these features in an ODT test file and have successfully converted them to EPUB via calibre. I tried Saving the ODT file as a DOCX, but many features are lost. ODT does, in fact, seem to behave properly. I am still wondering how is it that one instructs calibre to keep together a frame or paragraph so that there is not a break. Does Word have an instruction for that the Writer does not?
rjwse@aol.com is offline   Reply With Quote
Old 03-18-2015, 10:51 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,826
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It will almost certainly be because odfpy does not support the page break instructions in ODT. And ODT conversion most definitely does not support all the features in that demo, for example, it will not support complex numbered paragraphs, embedded tables of content, converting all types of references into links, and so on.
kovidgoyal is offline   Reply With Quote
Old 03-19-2015, 12:20 AM   #9
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,532
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
rjwse@aol.com - have you tried the Writer2ePub Extension

I would guess it works with Libre Office. I never used it myself, it may suffer same problems as you already get.

Word does have keep together, keep with next, widow and orphan control etc, its always had them, since long before OOo even existed - Word inherited them from Xerox Star.

BR
BetterRed is offline   Reply With Quote
Old 03-17-2016, 08:26 PM   #10
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 281
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
I have been using the calibre editor to good effect to keep frames from breaking by adding a "page-break-inside: avoid" line to all CSS instructions which have a #000 border. It works very well to keep captions with images when both caption and image are in a frame. Nor is there a widow or orphans black line dangling. I always use a colored area and a 2pt black frame around image and captions. This even works with ODT files when there is an upper and lower caption. There is something I have noticed about page breaks, though. When there is not enough room at the bottom of the frame, then white space will be left at the bottom so that the next page may show the frame in its entirety. However, in many cases the frame DOES NOT begin at the top of the screen as you would expect, but rather begins down the page after some seemingly unnecessary white space at the top.
rjwse@aol.com is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature proposal: attachments chrisberkhout Calibre 1 08-07-2013 10:40 PM
how to avoid non alfanumeric characters inside Calibre folder? mfioretti Calibre 2 11-17-2012 09:56 PM
Square brackets in filename breaking Calibre Regex? ccsrsj Library Management 2 06-02-2012 07:38 AM
Breaking Connections between Calibre Library and New Computer dojspalm Calibre 4 04-05-2012 07:55 AM
Calibre breaking Nook Touch hyphenation? jclim00 Calibre 8 09-04-2011 06:28 PM


All times are GMT -4. The time now is 12:19 PM.


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