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 05-21-2013, 07:10 AM   #1
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,486
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
Bird display on the side of a text page

Hi

From time to time, I bump on these kinds of things. I'd like to find a practical solution for this one:

As you can see, It's a bird (head + tail) placed in the green area and standing on the left side of a page. My dream would be to know how to wrap the text around (intended light blue display).

I even cut the bird in two pieces and tried to stick the pieces together but I failed miserably (it worked for one font-size, but increase it and the tail goes away... )

Would somebody accept to publish here the relevant code?
Attached Thumbnails
Click image for larger version

Name:	intended display .jpg
Views:	67
Size:	17.6 KB
ID:	106077   Click image for larger version

Name:	bird.jpg
Views:	66
Size:	43.3 KB
ID:	106078   Click image for larger version

Name:	head.jpg
Views:	69
Size:	63.5 KB
ID:	106079   Click image for larger version

Name:	tail.jpg
Views:	65
Size:	20.5 KB
ID:	106080  

Last edited by roger64; 05-21-2013 at 07:17 AM.
roger64 is offline   Reply With Quote
Old 05-21-2013, 08:19 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I know in the Alice in Wonderland book these kind of things are done. However, I never got it to work and validate.
Toxaris is offline   Reply With Quote
Old 05-21-2013, 10:10 AM   #3
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,486
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
mistake

Last edited by roger64; 05-21-2013 at 05:33 PM. Reason: double post
roger64 is offline   Reply With Quote
Old 05-21-2013, 10:35 AM   #4
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,486
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
@Toxaris

Thanks. Indeed, there are two images of this kind in this book (numbered 23 et 41). I will try to copy from them. If I succeed, I will post the code here with some comments. I said: "If"...
roger64 is offline   Reply With Quote
Old 05-21-2013, 10:56 AM   #5
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,241
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by roger64 View Post
Hi

From time to time, I bump on these kinds of things. I'd like to find a practical solution for this one:

As you can see, It's a bird (head + tail) placed in the green area and standing on the left side of a page. My dream would be to know how to wrap the text around (intended light blue display).

I even cut the bird in two pieces and tried to stick the pieces together but I failed miserably (it worked for one font-size, but increase it and the tail goes away... )

Would somebody accept to publish here the relevant code?
There is a whole thread that is playing with things like this down in EPUB format:
http://www.mobileread.com/forums/sho...9&postcount=11
If yo look at the attachment in the linked message , it can be done
theducks is offline   Reply With Quote
Old 05-21-2013, 11:21 AM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Yes, I know that thread. However, I do not get it to work and keep it validated though.
Toxaris is offline   Reply With Quote
Old 05-21-2013, 11:35 AM   #7
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
I wonder if it was a Sony quirk.
mrmikel is offline   Reply With Quote
Old 05-21-2013, 12:57 PM   #8
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,241
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by mrmikel View Post
I wonder if it was a Sony quirk.
Sony use MRSDK (ADE) which is known to be quirky
The question is:'Do you wish to leave a large audience in the lurch?"
theducks is offline   Reply With Quote
Old 05-21-2013, 06:56 PM   #9
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 482
Karma: 318996
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Something like this:?

http://www.mobileread.com/forums/att...1&d=1369173498

I made it with the following classes:

Code:
p {
  text-align: justify;
  margin: 0;
}

.parrot {
  background: url(../Images/bird.jpg) no-repeat top left;
  background-size: 183px 307px; /* the half of 366px and 614px*/
}

.box1 {
  float: left;
  top: 0;
  left: 0;
  width: 183px; /* the half of the original width: 366px;*/
  height: 195px; /* the half of the original height: 390px; (for the square section of the img */
}

.box2 {
  clear: left;
  float: left;
  top: 0;
  left: 0;
  width: 60px; /*120px;*/
  height: 100px; /*200px;*/
}
In the .xhtml file the text goes in the following way:

Code:
<p>...something...</p>
<div class="parrot">
<p class="box1"></p>
<p class="box2"></p>
<p>...something...</p>
</div>
Maybe that code can help you.

Regards
Rubén
Attached Thumbnails
Click image for larger version

Name:	screen_shot-4941.gif
Views:	128
Size:	48.7 KB
ID:	106099  
Attached Files
File Type: epub Parrot.epub (11.5 KB, 49 views)

Last edited by RbnJrg; 05-21-2013 at 10:29 PM.
RbnJrg is offline   Reply With Quote
Old 05-21-2013, 07:19 PM   #10
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
This is what happens in the Sony Reader Library.

It bleeds over.
Attached Thumbnails
Click image for larger version

Name:	parrot.jpg
Views:	77
Size:	276.6 KB
ID:	106104  
mrmikel is offline   Reply With Quote
Old 05-21-2013, 08:08 PM   #11
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 482
Karma: 318996
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by mrmikel View Post
This is what happens in the Sony Reader Library.

It bleeds over.
Maybe it's a problem of the Sony Reader and in the Sony device works fine. Let's wait for the answer of roger64 to know if it works for him.
RbnJrg is offline   Reply With Quote
Old 05-21-2013, 08:42 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,474
Karma: 19300555
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2), Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
It does not work in ADE 1.7.2 or ADE 2.0.
JSWolf is online now   Reply With Quote
Old 05-21-2013, 08:54 PM   #13
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 482
Karma: 318996
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by mrmikel View Post
This is what happens in the Sony Reader Library.

It bleeds over.
Well, the problem in the Sony Reader is that the reader doesn't resize the image. The original image was 366px x 614px and in the css code I used the half of that size. But Sony Reader still uses the original size so it ignores the property background-size. I resized the image manually before using it in the .epub and I got the following results in Sony Reader:
Attached Thumbnails
Click image for larger version

Name:	Parrot.jpg
Views:	54
Size:	139.7 KB
ID:	106107  
Attached Files
File Type: epub Parrot.epub (11.5 KB, 30 views)

Last edited by RbnJrg; 05-21-2013 at 10:30 PM.
RbnJrg is offline   Reply With Quote
Old 05-21-2013, 09:03 PM   #14
RbnJrg
Evangelist
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 482
Karma: 318996
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by JSWolf View Post
It does not work in ADE 1.7.2 or ADE 2.0.
Hi JSWolf;

After resizing manually the original image before using in the .epub (see my last version of it), I got the following result in ADE 2.0.67532. So the solution is to use an image of the desired size and not to use css in order to resize it (in Kindle works with any size of image).
Attached Thumbnails
Click image for larger version

Name:	Parrot2.jpg
Views:	50
Size:	180.3 KB
ID:	106109  
Attached Files
File Type: epub Parrot.epub (11.5 KB, 48 views)

Last edited by RbnJrg; 05-21-2013 at 10:31 PM.
RbnJrg is offline   Reply With Quote
Old 05-22-2013, 02:55 AM   #15
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 1,486
Karma: 846401
Join Date: Jan 2009
Device: KoboGlo
@RbnJrg

Hi Jorge

Thanks so much for your help. I have really spent hours trying to do it and had given up. Your EPUB looks good. I will study it closely and look how it displays on Kobo and later how it goes to PDF with Prince.

ADE is OK. Prince too. The only thing, Kobo does not agree (text mixes with image), but Kobo is backward on so many fields with formatting, I find it hardly surprising.

The code cannot be more compact and clearer. Use of background, background-size (I noted for this one to be careful) and boxes is really very convenient.

Last edited by roger64; 05-22-2013 at 03:52 AM.
roger64 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
Need help w/very simple task: page of Word text > Kindle text I can share w/friends kearnine Conversion 1 10-17-2012 09:25 PM
Problems with cover display for side-loaded books Cameronpaterson Kobo Tablets 7 02-01-2012 08:18 AM
Using table side as secondary display for laptop mduijkers enTourage Archive 4 12-15-2010 05:44 PM
K1 and K2 text side-by-side via scanner daffy4u Amazon Kindle 40 03-05-2009 10:55 AM
PRS-500 What should the Total Page Count text display? Nogg Sony Reader Dev Corner 8 09-07-2007 08:04 PM


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


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