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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2012, 09:16 AM   #1
xmlgirl
Member
xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.
 
Posts: 20
Karma: 496864
Join Date: Mar 2012
Location: Virginia
Device: none
Figures that contain text

I have some figures in which I would like to make the text within them searchable. If I put text from the image in an image attribute will it be searchable? Or is there some other way I can make it searchable by putting invisible text in the document after the figure?
Thanks
xmlgirl is offline   Reply With Quote
Old 05-07-2012, 01:27 PM   #2
DSpider
Addict
DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.DSpider ought to be getting tired of karma fortunes by now.
 
DSpider's Avatar
 
Posts: 370
Karma: 298951
Join Date: Nov 2009
Location: Romania
Device: iPod touch 2G (16 GB)
SVG can have selectable text (and searchable, I think).

Inkscape can help you out. Search "inkscape text" on Youtube to learn more about it. The "figures" themselves can also be vectorized for a smoother look.
DSpider is offline   Reply With Quote
 
Enthusiast
Old 05-08-2012, 06:08 AM   #3
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 55,156
Karma: 27556397
Join Date: Nov 2006
Location: UK
Device: Kindle Touch, PW, Fire HD, iPad 3, iPhone 4, Samsung Tab 2 7 + More
Does using the "Alt" attribute of the <img> tag not work?
__________________
Harry

Currently proofreading The Poison Belt, by Sir Arthur Conan Doyle.
HarryT is offline   Reply With Quote
Old 05-08-2012, 10:09 AM   #4
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: 5,195
Karma: 2508097
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
I don't think alt text should be searchable, unless it is being displayed, and it should only be displayed if the image isn't. I guess you could have some text with the image overlaying it (put the text in a 0-height, div before the figure, for instance.
Jellby is offline   Reply With Quote
Old 05-08-2012, 12:16 PM   #5
dwig
Guru
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 893
Karma: 1089705
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Kindle 3/WiFi Retired:Clie - UX50, T415, ...
Quote:
Originally Posted by HarryT View Post
Does using the "Alt" attribute of the <img> tag not work?
This didn't seem to work in my quick test.

I created an ePub in Sigil with unique ALT text in the <IMG> tag. Neither ADE/Windows nor my Kindle3 (calibre conversion to MOBI from the ePub) found anything when I searched for the text in the ALT attribute.
__________________
-----
dwig
dwig is offline   Reply With Quote
Old 05-08-2012, 04:10 PM   #6
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 8,793
Karma: 3644259
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Search is a feature of the application and how it works is not defined in the database format. Thus you can't really depend on it. You might try some text outside the image with the display set to none. The latest KindleGen claims to honor this setting, even in CSS.
__________________
Dale DePriest
http://pages.suddenlink.net/dalede or http://daledepriest.wikispaces.com
currently using an EZ Reader or a Literati or my iPad.
DaleDe is offline   Reply With Quote
Old 05-10-2012, 05:07 AM   #7
SBT
Addict
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 332
Karma: 518246
Join Date: Sep 2010
Location: Norway
Device: prs-t1, phone/Cool Reader, tablet/BlueFire
Would it be possible to add a line of hidden text immediately after the image?
Set font-size/lineheight to 0, font colour to white, text box width to 0, or something like that?
SBT is offline   Reply With Quote
Old 05-10-2012, 09:48 AM   #8
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: 5,195
Karma: 2508097
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
Have you tried this?:

Code:
<div class="hidden_searchable">Find me</div>
<div><img src="image.jpg" alt=""/></div>
with:

Code:
div.hidden_searchable { height: 0; }
Jellby is offline   Reply With Quote
Old 05-11-2012, 02:13 AM   #9
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: 2,170
Karma: 1000593
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
You could try SVG as DSpider already suggested. According to the ePUB 2 specs this must be searchable.

Quote:
Text in SVG images should be selectable and searchable. SVG images may contain links (a elements) and thus may be used for navigation. If a Reading System supports "tabbing" through links, SVG links must be included.
__________________
Creator and maintainer of the e-Book Tools Word add-in. Also see thread here on Mobileread.
Creator and maintainer of the Clean HTML macro for MS Word.
Toxaris is offline   Reply With Quote
Old 05-11-2012, 11:22 AM   #10
xmlgirl
Member
xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.xmlgirl ought to be getting tired of karma fortunes by now.
 
Posts: 20
Karma: 496864
Join Date: Mar 2012
Location: Virginia
Device: none
Lots of great ideas, thanks. I'm converting from PDF, so SVG is out on these older documents, but I'd certainly like to play around with it some day. I'm going to try the "invisible" text and see if it works.
xmlgirl 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
Figures in Brackets stonemason Calibre 3 05-24-2011 08:46 AM
Shadowy figures lurked... billyray Sony Reader 12 11-04-2010 07:33 PM
Periodicals and PDF on the DX - Where are the figures? markMDR Amazon Kindle 6 08-16-2009 12:17 AM
Comparable sales figures?? jonf Which one should I buy? 13 08-03-2007 07:42 PM
large pdf files with many figures jakeluck Sony Reader 8 10-03-2006 09:37 AM


All times are GMT -4. The time now is 07:40 AM.


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