03-01-2011, 08:55 PM | #1 |
Junior Member
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. |
03-01-2011, 09:09 PM | #2 |
Bah, humbug!
Posts: 39,073
Karma: 157049943
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindle Oasis, iPad Pro, & a Samsung Galaxy S9.
|
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 09:18 PM. |
Advert | |
|
03-01-2011, 09:10 PM | #3 |
Wizard
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.
|
03-02-2011, 01:54 PM | #4 |
Enthusiast
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.
|
03-02-2011, 03:01 PM | #5 |
Junior Member
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. |
Advert | |
|
03-02-2011, 06:34 PM | #6 |
Sigil & calibre developer
Posts: 2,487
Karma: 1063785
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.
|
03-03-2011, 08:45 AM | #7 |
Guru
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;} |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
poetry | cian | ePub | 2 | 01-23-2011 02:56 PM |
Sigil Inserting hard line wraps at ~100 characters | ldolse | Sigil | 6 | 08-07-2009 11:00 AM |
Convert TXT to anything - simply wraps with < html > < body > ? | jmurphy | Calibre | 7 | 08-06-2009 06:50 AM |
Digitimes wraps up electronic paper | TadW | News | 1 | 07-21-2007 09:35 AM |