![]() |
#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? |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,046
Karma: 60358908
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
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,561
Karma: 204127028
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. |
![]() |
![]() |
![]() |
#4 |
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
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.
|
![]() |
![]() |
![]() |
#5 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
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...) |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
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 |