Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2012, 06:04 AM   #1
RKEP71
Member
RKEP71 began at the beginning.
 
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?
RKEP71 is offline   Reply With Quote
Old 04-08-2012, 06:23 AM   #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: 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
theducks is offline   Reply With Quote
Old 04-08-2012, 09:09 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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;"/>
Which destroys the formatting needed to create the effect.
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;"/>
to
Code:
<span style="display:inline-block;width:x.xxem;"></span>
It makes no difference. Sigil seems to strip empty span tags, regardless.

Last edited by DiapDealer; 04-08-2012 at 09:36 AM.
DiapDealer is offline   Reply With Quote
Old 04-08-2012, 07:37 PM   #4
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,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.
user_none is offline   Reply With Quote
Old 04-09-2012, 06:53 AM   #5
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
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...)
Jellby is offline   Reply With Quote
Reply


Forum Jump

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


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


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