Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-14-2010, 01:37 PM   #1
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Straaaaaange happenings

I have been chasing this anomoly for a while. Sigil is adding stuff to image calls. Epub and MOBI (via kindlegen) display fine. When the epub is converted to LRF, the Frontpiece does not display.

Here's what I have.


HTML titlepage call:
Code:
<h2 title="TITLE PAGE"><IMG title=  alt=  src="Images/TitlePage.jpg"></h2>
Sigil titlepage call:
Code:
<h2 id="heading_id_2" title="TITLE PAGE"><img alt="" src="../Images/TitlePage.jpg" title="alt=" /></h2>
HTML frontpiece call:
Code:
<h2 title=
  "FRONTPIECE: &quot;I GOT A CALL—A LAND CALL THAT I HAD TO ANSWER.&quot;">
  <img title="" alt='"I GOT A CALL—A LAND CALL THAT I HAD TO ANSWER."' src=
  "Over%20Paradise%20Ridge_files/image1.jpg" /></h2>
Sigil frontpiece call:
Code:
  <h2 title="FRONTPIECE: &quot;I GOT A CALL—A LAND CALL THAT I HAD TO ANSWER.&quot;"><img alt="&quot;I GOT A CALL—A LAND CALL THAT I HAD TO ANSWER.&quot;" src="../Images/image1.jpg" title="" /></h2>
I dont seem to be able to get rid of the title="alt=" in the code.

The html, epub, and LRF files are contained in the attached zip file.
Would you set me straignt?
Charlie
crutledge is offline   Reply With Quote
Old 12-14-2010, 01:52 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Hi,

Your original html is simply not correct. You specified a title= and alt= in the img tag but never provided either the title text or the alt text. The code that parses that bad html gets confused and ends up thinking that "alt=" is the title you did not specify.

Solution: fix your html before loading it into Sigil.

title="" alt=""

is one way to fix this or better yet, remove the title= completely and put some valid alt="a text description of the image here".

The latter is important for reading software for the blind and others who can not actually see the image.
KevinH is online now   Reply With Quote
Advert
Old 12-14-2010, 01:52 PM   #3
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: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Remove the alt= in the HTML code. Just do alt="" or alt="any text" and it should work. In you're second example you used double quotes inside single quotes. That's why the inner quotes are translated to "&quot;xxxx&quot;".
Toxaris is offline   Reply With Quote
Old 12-14-2010, 03:13 PM   #4
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,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
my 2cents
Heading_id comes from Sigils TOC build
Alt="" (empty string) is not a good HTML practice.
The Alt tag is used by Accessibility compliant" devices in lieu of pictures.
you should describe the image called "Book cover", "M" (for a Initial Capital "M" image" ...
I believe Flightcrew squawks about these tags Missing
theducks is offline   Reply With Quote
Old 12-14-2010, 04:48 PM   #5
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
WoW!!!

I feel like a dunce.

Thanks a lot, Gentlemen and/or Ladies.
crutledge is offline   Reply With Quote
Advert
Old 12-15-2010, 04:21 AM   #6
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
Quote:
Originally Posted by theducks View Post
Alt="" (empty string) is not a good HTML practice.
The Alt tag is used by Accessibility compliant" devices in lieu of pictures.
you should describe the image called "Book cover", "M" (for a Initial Capital "M" image" ...
An empty "alt" is OK whenever an image is purely ornamental or even if there is already a descriptive caption for the image: in these cases you wouldn't want a text-to-speech program to "read" anything instead of the image, for instance.
Jellby is offline   Reply With Quote
Old 12-16-2010, 06:18 PM   #7
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
More strange happenings

What's wrong with this call? Works fine in ePub and MOBI but not in LRF generated by Calibre from the ePub.

Code:
<h2 id="heading_id_2" title="FRONTPIECE: &quot;You don't need another vine,&quot; I answered mutinously">
<img 
alt="&quot;You don't need another vine&quot;, I answered mutinously." src="../Images/image01.jpg" 
title="&quot;You don't need another vine,&quot; I answered mutinously." /></h2>
crutledge is offline   Reply With Quote
Old 12-17-2010, 05:15 PM   #8
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: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Looks fine, but I think the LRF doesn't like the &quot; in the text.
Toxaris is offline   Reply With Quote
Old 12-18-2010, 06:38 AM   #9
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16071131
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
Quote:
Originally Posted by Toxaris View Post
Looks fine, but I think the LRF doesn't like the &quot; in the text.
You may well be correct. I removed the alt and title and LRF displays the image.
crutledge is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird happenings with new Sony software Dusty Sony Reader 0 06-02-2010 04:14 PM
Weird epub happenings tech_au Sony Reader 5 08-07-2009 12:46 AM
Happenings over at Sony's ebooks.connect.com Stuart Young Sony Reader 13 09-26-2006 02:12 PM


All times are GMT -4. The time now is 09:19 AM.


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