Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2012, 07:04 AM   #1
RKEP71
Member
RKEP71 began at the beginning.
 
Posts: 13
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, 07:23 AM   #2
theducks
Grand Sorcerer
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: 15,098
Karma: 5939999
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Something seems to have broken the right margin on that paragraph and the text no longer wraps
theducks is offline   Reply With Quote
 
Advertisement
Old 04-08-2012, 10: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: 9,424
Karma: 43260000
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 10:36 AM.
DiapDealer is online now   Reply With Quote
Old 04-08-2012, 08: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,465
Karma: 986493
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, 07: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: 6,259
Karma: 4801165
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:09 PM
Column layout SmellySkunk Calibre 9 04-03-2011 01:44 PM
Drastic Difference in Text Layout: KDX vs K for iPad/PC app poohbear_nc Amazon Kindle 3 06-03-2010 07:59 PM
Layout format? Seligman Sony Reader Dev Corner 9 06-19-2008 06:29 AM
Good text to java midlet, to read text in phones sucahyo Workshop 1 02-18-2005 01:56 PM


All times are GMT -4. The time now is 08:49 AM.


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