Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 12-04-2014, 04:01 PM   #16
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Jellby View Post
Mind you, neither "visibility" nor "overflow" are in the required CSS set for ePub 2.0.1, so there could be a spec-compliant reader which ignores them both, and then your h2 would be visible.
Oh, that would suck, if that happened. Is there any other, alternative way of accomplishing what I'm trying to do here?
Psymon is offline   Reply With Quote
Old 12-04-2014, 06:06 PM   #17
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Psymon View Post
Oh, that would suck, if that happened. Is there any other, alternative way of accomplishing what I'm trying to do here?
Is there some reason you're not just using an empty header, with the alt attribute used to create a matching NCX/TOC item in Sigil? Instead of all the hidden this and that? is it because you don't want to repeat the text, in terms of the work, or...?

Hitch
Hitch is offline   Reply With Quote
Old 12-04-2014, 06:17 PM   #18
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Hitch View Post
Is there some reason you're not just using an empty header, with the alt attribute used to create a matching NCX/TOC item in Sigil? Instead of all the hidden this and that? is it because you don't want to repeat the text, in terms of the work, or...?
Because I'm incredibly stupid, that's why -- seriously, I honestly can't believe that never occurred to me! I haven't tested it out in ADE or iBooks yet, but just in Sigil it seems to have done the trick, and, as you say, is pretty much all I needed to do.

I really can't think of why that never occurred to me -- it seems so simple and obvious!

I do have on question, though, regarding that. I wanted all the various poems to show up in the ToC as they do in the original book, with curly quotes around them. Within the title attribute within the <h2> tag, is there any issues that anyone knows of with having curly quotes within the regular quotes for that title attribute? Like, this is kinda what I end up with (for example)...

<h2 class="hidhead" id="respectable" title="“The respectable folks”"></h2>

In the title attribute, I've got basically two sets of quotes -- one curly, one regular. Should I be using character entities instead there? Or is it fine like that?

Thanks, Hitch -- for making me feel so stupid! Seriously, thank you for that!
Psymon is offline   Reply With Quote
Old 12-04-2014, 10:04 PM   #19
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Psymon View Post
Because I'm incredibly stupid, that's why -- seriously, I honestly can't believe that never occurred to me! I haven't tested it out in ADE or iBooks yet, but just in Sigil it seems to have done the trick, and, as you say, is pretty much all I needed to do.

I really can't think of why that never occurred to me -- it seems so simple and obvious!

I do have on question, though, regarding that. I wanted all the various poems to show up in the ToC as they do in the original book, with curly quotes around them. Within the title attribute within the <h2> tag, is there any issues that anyone knows of with having curly quotes within the regular quotes for that title attribute? Like, this is kinda what I end up with (for example)...

<h2 class="hidhead" id="respectable" title="“The respectable folks”"></h2>

In the title attribute, I've got basically two sets of quotes -- one curly, one regular. Should I be using character entities instead there? Or is it fine like that?

Thanks, Hitch -- for making me feel so stupid! Seriously, thank you for that!
It's all right--it's one of the first Sigil tricks I learned. Only works auto-magically in Sigil, mind you. It saves our bacon regularly for things like..."Dedication" "Epigraph," etc.--pages where you mayn't want an actual "chapter title" but want it on the NCX. As far as the curlies, I'd have to go look myself to remember if there are any issues.

Hitch
Hitch is offline   Reply With Quote
Old 12-04-2014, 10:10 PM   #20
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Hitch View Post
It's all right--it's one of the first Sigil tricks I learned. Only works auto-magically in Sigil, mind you. It saves our bacon regularly for things like..."Dedication" "Epigraph," etc.--pages where you mayn't want an actual "chapter title" but want it on the NCX.
I still can't believe I didn't just think of your solution on my own -- even worse, I can't believe Jellby didn't think of it! Ha ha

Quote:
As far as the curlies, I'd have to go look myself to remember if there are any issues.
That would be great, if it's not too much trouble (assuming you did come across this scenario before). Thanks, Hitch!
Psymon is offline   Reply With Quote
Old 12-06-2014, 04:43 AM   #21
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,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Psymon View Post
I still can't believe I didn't just think of your solution on my own -- even worse, I can't believe Jellby didn't think of it! Ha ha
He he, I did at some point . You'd still have the problem that it would take space, and some renderers are too eager to discard empty tags, so you may have to add a &nbsp; inside. That's why I didn't suggest it at first (when the problem was the spacing), and then just forgot about it.
Jellby is offline   Reply With Quote
Old 12-06-2014, 05:24 AM   #22
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Jellby View Post
You'd still have the problem that it would take space, and some renderers are too eager to discard empty tags, so you may have to add a &nbsp; inside. That's why I didn't suggest it at first (when the problem was the spacing), and then just forgot about it.
Well, if that was the case, though, then I might as well just do it the way that we/you came up with before -- I mean, if I'm going to put an &nbsp; in there, then I might as well just put the text itsef (and skip the "title" attribute), right?
Psymon is offline   Reply With Quote
Old 12-06-2014, 06:08 AM   #23
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,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
It works, there's no practical difference, but if some renderer does not obey "visibility" or "overflow", the difference is that the &nbsp; will still be invisible, while the text won't.

Anyway, my preferred solution is to add the "id" to the <p> or <div> and completely removed the <h2>. That's perfectly OK with the final book, but it will break Sigil's automatic TOC generation.
Jellby is offline   Reply With Quote
Old 12-06-2014, 08:34 AM   #24
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Jellby View Post
Anyway, my preferred solution is to add the "id" to the <p> or <div> and completely removed the <h2>. That's perfectly OK with the final book, but it will break Sigil's automatic TOC generation.
Yeah, I suppose I could do that, but there's about 50 poems that are listed in the ToC, and I'd hate to have a reason to run Sigil's auto thingie again come up, and then have to re-do it all manually -- on the other hand, though, as it is I do have to go back and manually change each and every one of those headings/links, and so maybe I can just leave that for the very last thing to do (and just hope that I remember to do so, at the end!).

Thanks! Thanks everybody, that is -- I might just leave this for now, work on other things that still need doing, and backburner those headings. And hopefully remember later.
Psymon is offline   Reply With Quote
Old 12-07-2014, 01:23 PM   #25
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Jellby View Post
It works, there's no practical difference, but if some renderer does not obey "visibility" or "overflow", the difference is that the &nbsp; will still be invisible, while the text won't.
I was thinking about this, what you wrote earlier, that hiding (or not displaying -- however you want to word it, and code it) may not display in "some" devices. Do you know what devices that might be? I mean, if it was only going to "break" in, like 5% of the devices (or apps) out there, and then the worst that happens is that there's a bit more space inserted between the poem and the text before it (little more than as though there were an extra blank line in there), well, that's no big deal. If it works just fine the vast majority of the time, then I can certainly live with that.
Psymon is offline   Reply With Quote
Old 12-07-2014, 02:18 PM   #26
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,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I have no idea, sorry. But to me, that the links don't work in iBooks is no big deal, to start with
Jellby is offline   Reply With Quote
Old 12-07-2014, 03:00 PM   #27
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by Jellby View Post
I have no idea, sorry. But to me, that the links don't work in iBooks is no big deal, to start with
Hardy har har
Psymon is offline   Reply With Quote
Old 12-07-2014, 03:05 PM   #28
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: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Psymon View Post
Hardy har har
One of these days Alice. Pow! Right to the moon.

To be honest, iBooks really doesn't matter as it makes up a very very small part of the eBook market.
JSWolf is offline   Reply With Quote
Old 12-07-2014, 03:15 PM   #29
Psymon
Chief Bohemian Misfit
Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.Psymon ought to be getting tired of karma fortunes by now.
 
Psymon's Avatar
 
Posts: 571
Karma: 462964
Join Date: May 2013
Device: iPad, ADE
Quote:
Originally Posted by JSWolf View Post
To be honest, iBooks really doesn't matter as it makes up a very very small part of the eBook market.
I know, I keep hearing that, but nevertheless it's what I have, what all of my family and friends have, and NONE of them have/use anything other than that -- so we all might be a minority (as far as general statistics go), but in my own life we are certainly the majority.

OUR DAY WILL COME! IPAD SEEN THE PROMISE LAND!
Psymon is offline   Reply With Quote
Old 12-07-2014, 03:39 PM   #30
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I thought the promised land came after death, so if you mean iPad will die ..... YEAH
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub to mob-both: links don't work AlexBell Conversion 6 02-16-2013 01:55 AM
MOBI conversion- links don't work russ5260 Conversion 1 08-02-2011 04:30 PM
Links to URLs work, internal links don't? NewDay ePub 36 10-27-2010 04:09 AM
Links don't work ragdoll iRex 3 02-21-2008 01:47 PM
Plucker: Why these links don't work? javierdl Reading and Management 0 09-07-2006 09:02 PM


All times are GMT -4. The time now is 09:57 PM.


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