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 12-10-2012, 10:00 AM   #1
rockster
Member
rockster began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Sep 2012
Device: kindle
How to remove any space between sentences?

I saw that there is a option to "Remove spacing between paragraphs" but even if i check it it still leaves space between sentences after conversion. I am converting .txt to .mobi

Is there any way to remove any space that is between sentences?
rockster is offline   Reply With Quote
Old 12-10-2012, 12:24 PM   #2
MartyTX
Dedicated
MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.
 
MartyTX's Avatar
 
Posts: 196
Karma: 666666
Join Date: Jun 2012
Location: Amarillo, TX
Device: Nook ST, iPad Mini
Hi rockster,

Here's something to try. BUT FIRST: make a backup copy of your TXT file and keep it out of calibre. (This is just to play it safe and can be deleted if these instructions work for you.)

1. Convert TXT to TXT with "Remove spacing between paragraphs" selected.

2. On the "Remove Books" icon, use the down arrow to select "Remove files of a specific format" and delete "Original_TXT".

3. Convert TXT to MOBI.

This has worked for me ...
MartyTX is offline   Reply With Quote
Old 12-10-2012, 01:54 PM   #3
rockster
Member
rockster began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Sep 2012
Device: kindle
Thanks, for the suggestion but this didn't make a difference.
I guess this is the best result i can get with calibre.
rockster is offline   Reply With Quote
Old 12-10-2012, 03:05 PM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,054
Karma: 5936659
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by rockster View Post
Thanks, for the suggestion but this didn't make a difference.
I guess this is the best result i can get with calibre.
Use the property inspector in the book viewer to get the clues how the paragraphs are coded.
Then attack the cause
theducks is offline   Reply With Quote
Old 12-10-2012, 03:23 PM   #5
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 667
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300 (R.I.P.), PW2, Nexus7
@rockster:

Can you make a small sample .TXT file which demonstrates the problem and upload it to this thread? It may be that the extra spaces are in your source file rather than a result of the conversion.

(You may get more responses if you post in calibre's conversion sub-forum rather than in the main forum. There is also a helpful 'sticky' in the conversion sub-forum which describes the best way to ask a question about conversion. See http://www.mobileread.com/forums/sho...d.php?t=186697)

Last edited by Agama; 12-10-2012 at 03:26 PM.
Agama is offline   Reply With Quote
Old 12-10-2012, 03:32 PM   #6
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,054
Karma: 5936659
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Moderator Notice
Moved

Agama
theducks is offline   Reply With Quote
Old 12-10-2012, 03:58 PM   #7
rockster
Member
rockster began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Sep 2012
Device: kindle
This is the file. The text is not on english.

[mod: Attachment deleted, as it was a book that's still in copyright.]

Last edited by pdurrant; 12-11-2012 at 03:56 AM.
rockster is offline   Reply With Quote
Old 12-10-2012, 04:06 PM   #8
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 667
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300 (R.I.P.), PW2, Nexus7
I'm struggling a bit with that file - it's a tricky character set to read in my editor. Could you make a cut-down version in English, just a couple of paragraphs would be fine? A corresponding image showing the mobi problem would also be useful. I'm not quite sure what you mean by spaces between sentences as calibre usually compresses multiple consecutive spaces into a single space. Are you talking about horizontal or vertical spacing?

Still using the cut-down sample: Do you get the extra spaces if you convert to ePub?

An after-thought
Perhaps you are not talking about "extra" spaces but rather than you don't even want a single space betweeen any sentences?

This might look a bit odd.Rather like the sentences in this paragraph?Is this what you actually want to achieve?This paragraph has no spaces between sentences.It's not so easy to read!

Last edited by Agama; 12-10-2012 at 04:14 PM. Reason: After Thought
Agama is offline   Reply With Quote
Old 12-10-2012, 04:24 PM   #9
MartyTX
Dedicated
MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.
 
MartyTX's Avatar
 
Posts: 196
Karma: 666666
Join Date: Jun 2012
Location: Amarillo, TX
Device: Nook ST, iPad Mini
Quote:
Originally Posted by Agama View Post
An after-thought
Perhaps you are not talking about "extra" spaces but rather than you don't even want a single space betweeen any sentences?

This might look a bit odd.Rather like the sentences in this paragraph?Is this what you actually want to achieve?This paragraph has no spaces between sentences.It's not so easy to read!
rockster,

As suggested by Agama, are you talking about ALL the space?

Is the attached file still incorrect?

[mod: Attachment deleted, as it was a book that's still in copyright.]

Last edited by pdurrant; 12-11-2012 at 03:56 AM.
MartyTX is offline   Reply With Quote
Old 12-10-2012, 05:03 PM   #10
rockster
Member
rockster began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Sep 2012
Device: kindle
Yes, i am talking about no space between single sentences or at least to shrink the space more. But i guess it is not possible.
rockster is offline   Reply With Quote
Old 12-11-2012, 02:32 AM   #11
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: 8,885
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by rockster View Post
Yes, i am talking about no space between single sentences or at least to shrink the space more. But i guess it is not possible.
You may get what you want by adjusting the Minimum line height under Look & Feel area.
DoctorOhh is offline   Reply With Quote
Old 12-11-2012, 03:47 AM   #12
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 667
Karma: 436517
Join Date: Jul 2010
Location: UK
Device: PRS-300 (R.I.P.), PW2, Nexus7
@rockster: I still think we need some clarification:

For example:if you remove spaces betweeen sentences:your text will be awkward to read.Like this paragraph.This has no spaces between sentences.It does not look right.I have never come across a book which does this.

Is this really what you want? If so then you are going to have to apply some regexes to your source document.
Agama is offline   Reply With Quote
Old 12-11-2012, 02:18 PM   #13
MartyTX
Dedicated
MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.MartyTX ought to be getting tired of karma fortunes by now.
 
MartyTX's Avatar
 
Posts: 196
Karma: 666666
Join Date: Jun 2012
Location: Amarillo, TX
Device: Nook ST, iPad Mini
Quote:
Originally Posted by MartyTX View Post
rockster,

Is the attached file still incorrect?

[mod: Attachment deleted, as it was a book that's still in copyright.]
pdurrant,

Thank you for deleting my attachment. I realized my mistake right after the post, but I don't know how to "un-attach".

Marty
MartyTX 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
How to remove white space between paragraphs for iPad? kabloooie Conversion 4 05-28-2012 06:11 AM
Want double-space between sentences GrannyGrump Sigil 11 05-28-2011 11:47 AM
Is there any way to remove space between paragraphs? kabloooie Calibre 6 11-03-2010 09:32 AM
remove space between paragraphs-yes the box is checked Blurr Calibre 1 12-23-2009 07:34 AM


All times are GMT -4. The time now is 09:42 AM.


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