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 09-13-2011, 09:40 AM   #16
GeorgieV
Junior Member
GeorgieV began at the beginning.
 
GeorgieV's Avatar
 
Posts: 6
Karma: 10
Join Date: Sep 2011
Device: Kindle
I second (or 'third') the motion to add separate options for removing unnecessary paragraph spaces during conversion without automatically invoking indent size that effects the entire document and ruining noindent formats for paragraphs selected by the book designer.

A separate option for this will serve a specific purpose and not be tied to the paragraph spacing problem in the calibre conversion process.

Just a suggestion from a loyal user.
GeorgieV is offline   Reply With Quote
Old 09-13-2011, 12:29 PM   #17
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,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I changed the code, so that if you set the specified indent size to zero, then calibre will leave the indents from the input document alone.
kovidgoyal is online now   Reply With Quote
Advert
Old 09-13-2011, 02:03 PM   #18
GeorgieV
Junior Member
GeorgieV began at the beginning.
 
GeorgieV's Avatar
 
Posts: 6
Karma: 10
Join Date: Sep 2011
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
I changed the code, so that if you set the specified indent size to zero, then calibre will leave the indents from the input document alone.
The only problem is that when the indent size is set to zero, it removes ALL indents from the document. That's like throwing the baby out with the bathwater, so to speak...

Back to the drawing board.
GeorgieV is offline   Reply With Quote
Old 09-13-2011, 02:16 PM   #19
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by GeorgieV View Post
Quote:
Originally Posted by kovidgoyal View Post
I changed the code, so that if you set the specified indent size to zero, then calibre will leave the indents from the input document alone.
The only problem is that when the indent size is set to zero, it removes ALL indents from the document. That's like throwing the baby out with the bathwater, so to speak...
This change will not be effective until the next release, 0.8.19, at which point "calibre WILL leave the indents from the input document alone." if you set the indent size to zero.

Last edited by DoctorOhh; 09-13-2011 at 02:24 PM.
DoctorOhh is offline   Reply With Quote
Old 09-13-2011, 04:40 PM   #20
GeorgieV
Junior Member
GeorgieV began at the beginning.
 
GeorgieV's Avatar
 
Posts: 6
Karma: 10
Join Date: Sep 2011
Device: Kindle
Quote:
Originally Posted by dwanthny View Post
This change will not be effective until the next release, 0.8.19, at which point "calibre WILL leave the indents from the input document alone." if you set the indent size to zero.
Ahhh....I should have guessed that.

Can't wait for the change, it's excellent that the developer listens to his users. A nice donation is forthcoming.
GeorgieV is offline   Reply With Quote
Advert
Old 09-13-2011, 05:55 PM   #21
alansplace
Grand Sorcerer
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 5,886
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
Cool er...

Quote:
Originally Posted by dwanthny View Post
This change will not be effective until the next release, 0.8.19, at which point "calibre WILL leave the indents from the input document alone." if you set the indent size to zero.
.....er....not that i do want this but 'what if' the user wants all the paragraphs to be non-indented (i can't actually think of an instance where i'd use such a setting)? maybe a minus 1 [-1] setting for 'don't change anything' would be more appropriate? just a thought.

Last edited by alansplace; 09-13-2011 at 05:58 PM. Reason: fixing typos
alansplace is offline   Reply With Quote
Old 09-13-2011, 06:59 PM   #22
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,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you are removing spacing between *all* paragraphs and also removing indenting then your book becomes one giant block of text. Still if you really, really must have your book be one giant block of text, you can use extra css.
kovidgoyal is online now   Reply With Quote
Old 09-13-2011, 08:27 PM   #23
alansplace
Grand Sorcerer
alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.alansplace ought to be getting tired of karma fortunes by now.
 
alansplace's Avatar
 
Posts: 5,886
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
Cool sorry

Quote:
Originally Posted by kovidgoyal View Post
If you are removing spacing between *all* paragraphs and also removing indenting then your book becomes one giant block of text. Still if you really, really must have your book be one giant block of text, you can use extra css.
ahhhh, now i see the logic. sorry i interjected my 2 cents.
alansplace is offline   Reply With Quote
Old 09-14-2011, 02:34 AM   #24
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
I have my default options set to remove spaces, 0 indent and insert blank line.

Will this no longer work as before?

Thanks
Helen
speakingtohe is offline   Reply With Quote
Old 09-14-2011, 02:51 AM   #25
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by speakingtohe View Post
I have my default options set to remove spaces, 0 indent and insert blank line.

Will this no longer work as before?

Thanks
Helen
Currently this looks like it will leave all indents alone. You can try .1 and see how noticeable that is or maybe Kovid will carve out a zero indent exemption somehow for your case use.

I too often have remove spaces between paragraphs and insert a blank line between paragraphs set, but I always have a 1.1 indent set in these cases.
DoctorOhh is offline   Reply With Quote
Old 09-14-2011, 11:31 AM   #26
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
Currently this looks like it will leave all indents alone. You can try .1 and see how noticeable that is or maybe Kovid will carve out a zero indent exemption somehow for your case use.

I too often have remove spaces between paragraphs and insert a blank line between paragraphs set, but I always have a 1.1 indent set in these cases.
Thanks
I actually tried the 0.1 indent last night and it seems to have no indent in calibre's viewer so keeping my fingers crossed.

I really like this style and more and more books seem to be published this way so I can't be the only one.

Helen
speakingtohe is offline   Reply With Quote
Old 09-14-2011, 12:46 PM   #27
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,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you set the indent size to zero and also have insert blank line enabled, then it will work as before. i.e. calibre will special case indent size = 0 only if insert blank line is not set.
kovidgoyal is online now   Reply With Quote
Old 09-14-2011, 12:51 PM   #28
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Well I was wrong 0.1 seems to leave the indent the same as it or change the line spacing so that the lines are all overwritten.

I converted 25 books 20 are very ugly.

Changing the indent back to 0.0 fixed the problem.

Would be nice to keep an option for no indent. A tweak perhaps?

Helen
speakingtohe is offline   Reply With Quote
Old 09-14-2011, 12:52 PM   #29
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
If you set the indent size to zero and also have insert blank line enabled, then it will work as before. i.e. calibre will special case indent size = 0 only if insert blank line is not set.
Sorry I did not see this before posting.

Thank you very much
speakingtohe is offline   Reply With Quote
Old 09-15-2011, 08:16 PM   #30
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
So once again a small proble.
Was converting a book with 2 or more line spaces between paragraphs.

Generally in this case I convert with indent 0 and remove blank spaces, and do not have insert blank line enabled which generally works. I end up with one line between paragraphs and no indent which is what I want.

Probably a stupid sugestion but could you not leave the zero indent as is and use another number like 0.1 which makes a bit of a mess anyways or a checkbox?

Sorry to be a pest

Helen
speakingtohe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Old Thread] PDF to Epub conversion (spaces between letters) mastroalex Conversion 8 10-09-2011 10:39 PM
Huge Sentence and Paragraph Spaces EPub to Mobi Dasha Amazon Kindle 10 06-06-2011 06:43 PM
Can't get rid of paragraph spaces converting to Mobi vanpelten Conversion 7 03-10-2011 05:00 PM
TXT conversion to ePub or LRF - paragraph formatting Zapped Calibre 6 10-23-2009 05:06 PM
First Line indent for Mobi conversion tbergman Calibre 7 09-06-2009 09:09 AM


All times are GMT -4. The time now is 10:47 AM.


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