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-01-2011, 09:55 PM   #1
PhotoMatt
Junior Member
PhotoMatt began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2011
Device: iPad
Calibre re-wraps poetry

Even though I have poetry indented several spaces, Calibre insists on re-wrapping it.

Is there anything I can do about it? Is there something in preferences that I have missed?

Thanks for help.

I am attempting to convert .txt to .ePub.
PhotoMatt is offline   Reply With Quote
Old 03-01-2011, 10:09 PM   #2
WT Sharpe
Grand Muckity-Muck
WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.WT Sharpe ought to be getting tired of karma fortunes by now.
 
WT Sharpe's Avatar
 
Posts: 33,145
Karma: 99551794
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindle Paperwhite, iPad Air, iPod Nano, & a PC running Windows 9.
I've used a trick in Microsoft Word to allow indents where I want them. I use a series of characters like "%" or "$" at the beginnings of the lines and from "Font Color" I select the white background. Then I save the document as HTML (.htm) and from there use calibre to convert it to whatever format I like. The result is that the lines are indented as I want (the white characters don't show), but there surely must be an easier, less "messy" way.

I also use Word to indent entire paragraphs before sending it to calibre.

Last edited by WT Sharpe; 03-01-2011 at 10:18 PM.
WT Sharpe is offline   Reply With Quote
Old 03-01-2011, 10:10 PM   #3
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
You need to set your paragraph structure in text input. Try setting single line paragraphs.
ldolse is offline   Reply With Quote
Old 03-02-2011, 02:54 PM   #4
MamaSylvia
Enthusiast
MamaSylvia doesn't litterMamaSylvia doesn't litter
 
Posts: 27
Karma: 124
Join Date: Mar 2011
Device: Droid 1, Kindle 3
If you're not married to the .txt format, I've had good results from scanning into an HTML file (which also allows links from the TOC to the actual poem) and using Calibre to convert to Kindle format. It held the poem formatting just fine.
MamaSylvia is offline   Reply With Quote
Old 03-02-2011, 04:01 PM   #5
PhotoMatt
Junior Member
PhotoMatt began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2011
Device: iPad
I need to make .epub from both versions. Yeah, I have tried the html and it converts great.

Thank you.
PhotoMatt is offline   Reply With Quote
Old 03-02-2011, 07:34 PM   #6
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,473
Karma: 1053245
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
I would recommend using something like Markdown or Textile formatting. Set the formatting to the one you use and then set the paragraph style to off. That is your best bet for poetry. Otherwise no matter what setting you choose for conversion the lines will either be indented or have an empty line between them. The non-markdown and non-textile conversion treats blocks as: heading, subheading, or paragraph.
user_none is offline   Reply With Quote
Old 03-03-2011, 09:45 AM   #7
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
I'd recommend using Textile, you can then add a paragraph style (poem) to the paragraph, and when converting, in the extra CSS, add a poem style.

Put this in a txt file, convert with
Txt-Input -> Paragraph style - Off
Txt-Input -> Formatting style - Textile
And use the ExtraCSS in the Look and Feel->Extra CSS

Code:
Here's a few lines of a poem in a 'poem' style.

p(poem). 'Twas brillig, and the slithy toves 
Did gyre and gimble in the wabe; 
All mimsy were the borogoves, 
And the mome raths outgrabe. 

And now back to normal.
Code:
.poem {padding-left:10%; padding-right:10%; text-indent:0; text-align: left; font-style: italic;}
Adjust extra css to suiit.
Perkin 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
poetry cian ePub 2 01-23-2011 03:56 PM
Sigil Inserting hard line wraps at ~100 characters ldolse Sigil 6 08-07-2009 12:00 PM
Convert TXT to anything - simply wraps with < html > < body > ? jmurphy Calibre 7 08-06-2009 07:50 AM
Digitimes wraps up electronic paper TadW News 1 07-21-2007 10:35 AM


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


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