Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2013, 04:00 PM   #1
bigcloudsmiling
Junior Member
bigcloudsmiling began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: kindle, all.
.txt file loses paragraphs when opening in sigil.

I converted an .odt file from libreoffice to a UT-8 text file. (.txt)

When I open the file in notepad it has kept all its returns.

But when I open it in sigil it has reduced 2 returns to one and one to none.

?

Last edited by bigcloudsmiling; 09-29-2013 at 04:12 PM. Reason: typos
bigcloudsmiling is offline   Reply With Quote
Old 09-29-2013, 04:12 PM   #2
theducks
Well trained by Cats
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: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by bigcloudsmiling View Post
I converted form libreoffcie to UT-8 text file.

When i open the file in notepad it has kept all its returns.

But when i opne it in sigil it has reduced 2 returns to one and one to none.

?
Try the Writer2Epub PI for Libre Office (see next forum down) fo a direct EPUB out

BTW many browsers discard 'doubles' of the white space kind or empty returns.

A Paragraph has only 1 return (an a margin-botom or margin-top to set space between P's)
theducks is offline   Reply With Quote
Advert
Old 09-29-2013, 04:25 PM   #3
bigcloudsmiling
Junior Member
bigcloudsmiling began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: kindle, all.
Ok thanks, maybe i will look at that another time.

It is the normal paragraphs with one returns that are lost, anyone know why / how to fix ?
bigcloudsmiling is offline   Reply With Quote
Old 09-29-2013, 05:43 PM   #4
bigcloudsmiling
Junior Member
bigcloudsmiling began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: kindle, all.
I found out why it doesn't work in the manual:

Quote:
Text Files

It is not strictly necessary to convert text files to HTML. Sigil can directly open .txt files.

Text files must have a blank line between paragraphs so that Sigil can split them into separate paragraphs.

Text files are not an ideal source, but they can still be better than some formats as they will have fewer unnecessary HTML tags. They may be worth using if you have lots of issues with other formats. Sometimes it is faster to add styles to a clean document than to try to clean up a converted file.
It sounded like you were recommending that other program instead of sigil but maybe you mean use it to get a file ready for sigil.
bigcloudsmiling is offline   Reply With Quote
Old 09-29-2013, 06:22 PM   #5
theducks
Well trained by Cats
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: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by bigcloudsmiling View Post
I found out why it doesn't work in the manual:



It sounded like you were recommending that other program instead of sigil but maybe you mean use it to get a file ready for sigil.
Writer2epub does a pretty good job by itself in making a EPUB with the basic Metadata.

It does not cost a bundle to try, so why not?
theducks is offline   Reply With Quote
Advert
Old 09-30-2013, 08:56 AM   #6
bigcloudsmiling
Junior Member
bigcloudsmiling began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2013
Device: kindle, all.
Sigil is well documented and a good choice to learn a bit more than the basics.
And like i said i may try it some time.

Last edited by bigcloudsmiling; 09-30-2013 at 09:01 AM.
bigcloudsmiling is offline   Reply With Quote
Old 10-01-2013, 01:46 PM   #7
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 697
Karma: 150000
Join Date: Feb 2010
Device: none
I use either the writer2epub or writer2xhtml plugins to produce a basic epub from LibreOffice.

If the .odt document is well-formated (i.e. use of styles rather than "direct formatting") the above will produce an epub container with relatively clean xhtml code inside. By itself it is usually good enough for home use, if you're not too picky. I wouldn't offer it for sale as is, though.

Then I use sigil to tweak and polish the epub into the final form I want. (E.g. adding the cover, extensive metadata, an in-line TOC, variants for kindlegen conversion, etc.)

In other words, use LibreOffice to produce the input to sigil, not to replace sigil.

Albert
st_albert is offline   Reply With Quote
Reply

Tags
lost paragrpah, returns, text file


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text file lose its previous format (paragraphs and blank lines) when converting Haim_gds Conversion 5 09-26-2013 08:06 AM
Scannable pdf file loses data converting to mobi Rich Gibson Conversion 3 01-18-2013 10:01 PM
Sigil loses all text after an html error grumbles Sigil 3 05-13-2010 10:28 AM
"PK": Only text when I open in Sigil an ePub file generated with Calibre Terisa de morgan Sigil 3 12-14-2009 11:24 AM
Text to LRF loses spacings adfrad Calibre 1 02-02-2009 02:33 PM


All times are GMT -4. The time now is 01:34 AM.


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