Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-22-2013, 06:53 AM   #16
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,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Still no joy in Mudville...increase the size to medium in the Sony Reader. It is ok on the original page, but it appears again on the following one over the text....Argh!
mrmikel is offline   Reply With Quote
Old 05-22-2013, 09:47 AM   #17
RbnJrg
Wizard
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: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by roger64 View Post
@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.
Hi Roger;

Many thanks for your words; nice to know that the code could help you. But maybe the code could be a bit simpler (and compact) If we work with an image in two sections, then we could get something like the following:

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

.float_left {
  clear: left;
  float: left;
}
And in the .xhtml file we could use:

Code:
<p>...something...</p>
<p><img class="float_left" alt="" src="../Images/bird1.jpg" /></p>
<p><img class="float_left" alt="" src="../Images/bird2.jpg" /></p>
<p>...something...</p>
Precaution: Apply the class "float_left" inside the <img> tags and not inside the <p> tags.

It works in ADE (with any font size) and maybe this solution also could work in Kobo

Regards
Rubén
Attached Thumbnails
Click image for larger version

Name:	Parrot2.jpg
Views:	191
Size:	161.2 KB
ID:	106131  
Attached Files
File Type: epub Parrot2.epub (12.5 KB, 163 views)
RbnJrg is offline   Reply With Quote
Advert
Old 05-22-2013, 09:55 AM   #18
RbnJrg
Wizard
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: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by mrmikel View Post
Still no joy in Mudville...increase the size to medium in the Sony Reader. It is ok on the original page, but it appears again on the following one over the text....Argh!
Try this alternative solution:
Attached Files
File Type: epub Parrot2.epub (12.5 KB, 186 views)
RbnJrg is offline   Reply With Quote
Old 05-22-2013, 10:04 AM   #19
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,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
This solution works, but introduces a line through the tail. No doubt an artifact from the rendering engine....
Attached Thumbnails
Click image for larger version

Name:	parrot2.jpg
Views:	222
Size:	230.1 KB
ID:	106136  
mrmikel is offline   Reply With Quote
Old 05-22-2013, 11:09 AM   #20
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: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by RbnJrg View Post
Try this alternative solution:
Jorge

This time, even Kobo agrees. And you're right, the code is even simpler. Just cut out the bird (or whatever) and serve. It's done.

Thanks for a masterful - and very useful lesson -. I really think that this is the way to go. I am pretty sure this trick will prove very popular!!

roger64 is offline   Reply With Quote
Advert
Old 05-22-2013, 02:36 PM   #21
RbnJrg
Wizard
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: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by roger64 View Post
Jorge

This time, even Kobo agrees. And you're right, the code is even simpler. Just cut out the bird (or whatever) and serve. It's done.

Thanks for a masterful - and very useful lesson -. I really think that this is the way to go. I am pretty sure this trick will prove very popular!!

You are welcome Glad to have been able to help you.
RbnJrg is offline   Reply With Quote
Old 06-14-2013, 07:07 AM   #22
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
Parrot invert

Jorge, or others.

Can you fix this?
Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	Parrot invert.jpg
Views:	248
Size:	148.8 KB
ID:	106962  
jbacelar is offline   Reply With Quote
Old 06-14-2013, 03:57 PM   #23
RbnJrg
Wizard
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: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jbacelar View Post
Jorge, or others.

Can you fix this?
Thanks in advance.
Hi jbacelar;

Very curious; it seems that is a bug (a new one?) of ADE. It works fine in Sigil, Azardi, EpubReader, and in my Kindle but not in Sony Reader and Nook Reader. Still I couldn't find a workaround for this issue
RbnJrg is offline   Reply With Quote
Old 06-14-2013, 07:48 PM   #24
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Okay, maybe it's not relevant, but it's such a good straight-line...

Just flip the bird!

On the other hand, if you get desperate, it just might work.
Sabardeyn is offline   Reply With Quote
Old 06-15-2013, 02:52 AM   #25
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
Do you have a negative height or something?
Jellby is offline   Reply With Quote
Old 06-15-2013, 05:44 AM   #26
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
Quote:
Originally Posted by Jellby View Post
Do you have a negative height or something?

It is the same Parrot2.epub, with the images reversed and changed order.
Attached Files
File Type: epub Parrot invert.epub (14.2 KB, 165 views)
jbacelar is offline   Reply With Quote
Old 06-15-2013, 09:43 AM   #27
RbnJrg
Wizard
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: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by jbacelar View Post
It is the same Parrot2.epub, with the images reversed and changed order.
Yes; but the problem is ADE. I can't understand why the first part of the image (the parrot's tail) is in the background.
RbnJrg is offline   Reply With Quote
Old 06-16-2013, 08:07 AM   #28
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Actually, both portions of the bird are in the background with the text overwriting the images. Carefully looking at the blue circle near the claws and tail reveals the circle is being overwritten by text.

As for the image and negative values... some programs will allow you to enter values which will cause images to flip without actually changing the image in an art program in any way. If the problem is a negative value, correcting it might at least have the bird right-side-up. This negative number could be an actual negative number (ie, -53) or a number that exceeds the max allowed (ie, Enter a number between 1-90: 127).

Last edited by Sabardeyn; 06-16-2013 at 08:11 AM.
Sabardeyn is offline   Reply With Quote
Old 06-16-2013, 11:17 AM   #29
jbacelar
Interested in the matter
jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.jbacelar ought to be getting tired of karma fortunes by now.
 
jbacelar's Avatar
 
Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
Sorry Sabardeyn. I recommend you read this thread from the beginning, so that you can understand that we are talking about here.
jbacelar is offline   Reply With Quote
Old 06-23-2013, 10:41 AM   #30
RbnJrg
Wizard
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: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by mrmikel View Post
Still no joy in Mudville...increase the size to medium in the Sony Reader. It is ok on the original page, but it appears again on the following one over the text....Argh!
Well, I found a solution that works in ADE with ANY FONT SIZE (in Sigil looks ugly but in ADE is great).

In the stylesheet:

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

.parrot {
  background: url(../Images/bird.jpg) no-repeat top left;
  background-size: 183px 307px; 
}

.box1 {
  float: left;
  width: 183px;
  height: 195px;
}

.box2 {
  clear: left;
  float: left;
  width: 60px;
  height: 100px;
}
And in the .html file:

Code:
  <p>...some text..</p>
  <div class="parrot">
    <p class="box1"></p>
    <p class="box2"></p>
    <p>...some text..</p> /* Very important: the paragraph must be short */
  </div>
The epub validates at FlightCrew and Epubcheck.

Still I couldn't find a solution (for ADE, in Kindle there is no problem) for the inverse case, when the small box is the first one. ADE has bugs with the float property and I couldn't find a workaround so far.

Regards
Attached Thumbnails
Click image for larger version

Name:	parrot1.jpg
Views:	206
Size:	97.2 KB
ID:	107253  
Attached Files
File Type: epub Parrot.epub (11.5 KB, 181 views)
RbnJrg is offline   Reply With Quote
Reply


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 08:25 PM
Problems with cover display for side-loaded books Cameronpaterson Kobo Tablets 7 02-01-2012 07:18 AM
Using table side as secondary display for laptop mduijkers enTourage Archive 4 12-15-2010 04:44 PM
K1 and K2 text side-by-side via scanner daffy4u Amazon Kindle 40 03-05-2009 09:55 AM
PRS-500 What should the Total Page Count text display? Nogg Sony Reader Dev Corner 8 09-07-2007 07:04 PM


All times are GMT -4. The time now is 02:37 AM.


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