04-08-2012, 06:04 AM | #1 |
Member
Posts: 14
Karma: 10
Join Date: Jun 2011
Device: PRS-T1
|
Curving text layout
I have a copy of Alice in Wonderland that in chapter three has a paragraph where the text curves like a puff of smoke.
I have tried to replicate this??? The code uses widows and orphans but it dosent seem to do anything in Sigil. Not having any success I tried saving the original Alice file in Sigil as a new file without changing a thing but this altered the layout of the curved text and it no longer curves. How did this work on the original file? Does anyone know how to replicate this in Sigil? |
04-08-2012, 06:23 AM | #2 |
Well trained by Cats
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Something seems to have broken the right margin on that paragraph and the text no longer wraps
|
04-08-2012, 09:09 AM | #3 |
Grand Sorcerer
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sigil seems to be removing all of the self-contained span tags like:
Code:
<span style="display:inline-block;width:3.75em;"/> This seems to happen whether HTMLTidy is on or off. Perhaps it's a violation of epub or (x)html specs? Someone else may be able to answer that. Either way... it doesn't look like you'll be able to use Sigil to create a similar effect. EDIT: I tried changing all instances of Code:
<span style="display:inline-block;width:x.xxem;"/> Code:
<span style="display:inline-block;width:x.xxem;"></span> Last edited by DiapDealer; 04-08-2012 at 09:36 AM. |
04-08-2012, 07:37 PM | #4 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
This is an issue with Tidy. Tidy is still used for formatting text. Unfortunately, even when only used for formatting it still does some processing such as stripping what it feels are empty tags.
|
04-09-2012, 06:53 AM | #5 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
"inline-block" is not a supported value in ePub 2.1, so you shouldn't expect it to work.
Have you checked my copy of "Alice's Adventures in Wonderland" in the library forum? (it's not a puff of smoke, but a mouse tail...) |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to make Amazon Kindle Text to Speech skip over some text | xsaero00 | Kindle Developer's Corner | 3 | 06-18-2011 07:09 PM |
Column layout | SmellySkunk | Calibre | 9 | 04-03-2011 12:44 PM |
Drastic Difference in Text Layout: KDX vs K for iPad/PC app | poohbear_nc | Amazon Kindle | 3 | 06-03-2010 06:59 PM |
Layout format? | Seligman | Sony Reader Dev Corner | 9 | 06-19-2008 05:29 AM |
Good text to java midlet, to read text in phones | sucahyo | Workshop | 1 | 02-18-2005 12:56 PM |