11-20-2014, 04:19 AM | #16 |
Member
Posts: 18
Karma: 10
Join Date: Oct 2014
Device: Kindle
|
Here is a direct copy paste from one of the books:
prologue.xhtml: Code:
<p>Sfârşitul culesului vaniliei atrage întotdeauna o mulţime de vizitatori. Sunt negustorii, apoi reprezentanţii reginei, bineînţeles, care vin să stabilească preţurile, dar mai sunt şi cei care vin să vadă zburătorii. Copacul a fost ales, doborât şi aşezat în piaţa oraşului, iar preoţii de toate confesiunile şi-au spus rugăciunile asupra lui, l-au tămâiat şi l-au stropit cu sânge de pui. Funiile au fost încercate şi ultimele amănunte, adăugate la pelerinele cu pene şi bonete. Dorm prost zilele astea şi m-am trezit de dimineaţă înainte de răsărit, bântuită de cântecul îndrăzneţ, singuratic al unui caporal <sup><a href="../Text/footnotes.xhtml#note-1" id="note-1-loc">1</a></sup> , care exersa la flaut sus, pe platforma sa, aplecat sub greutatea cerului şi a vânturilor.</p> Code:
<p class="fn"><a href="../Text/prologue.xhtml#note-1-loc" id="note-1">1</a> - Şef de echipă – în lb. sp. în orig. (n. tr.).</p> Code:
.fn {page-break-after:always} P.S. The language is Romanian, in case anyone's curious. |
11-20-2014, 01:43 PM | #17 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
You got me. Anyone else see anything? Anything not the same as what my company is doing? Or...I wonder. eFTy, have you tried styling the footnote with the same indents we use? Just out of curiosity? (Oddly enough, I recognized the language; we did a book in Romanian, a while back. I kid thee not!) Hitch |
|
Advert | |
|
11-21-2014, 07:15 AM | #18 |
Member
Posts: 18
Karma: 10
Join Date: Oct 2014
Device: Kindle
|
Hm, why not? I'll try it on the next book I'm working on right now and post the result, today or on Monday.
|
11-21-2014, 11:20 AM | #19 |
Member
Posts: 18
Karma: 10
Join Date: Oct 2014
Device: Kindle
|
Hitch, I love you.
I don't understand why, but that indent code worked... Now I have to go through the 50 other books I made and change it. |
11-21-2014, 12:50 PM | #20 | ||
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Gosh. I'm glad.
Quote:
Quote:
Hitch |
||
Advert | |
|
12-05-2014, 10:07 AM | #21 |
Member
Posts: 18
Karma: 10
Join Date: Oct 2014
Device: Kindle
|
Yeah, it took less than a day to go through all of them, and definitely less time than I'd spent trying to solve the damned issue.
Now I have a new one - it's about the '&' symbol. If I use & or & I get no errors but the symbol simply doesn't show in the pop-up. If I use &, in the pop-up it doesn't show AND it creates errors on every end tag (like </i> and </p>): ERR: expected: / . Both types of code work we Any ideas? Right now all I can think of is replacing it with 'and'. edit: And while I'm at it - I found I can't make pop-ups work if the footnote link is inside a header tag. Any ideas on that? Last edited by eFTy; 12-05-2014 at 11:29 AM. |
01-08-2015, 05:47 PM | #22 |
Member
Posts: 22
Karma: 116
Join Date: Jul 2010
Device: none
|
One thing I noticed that hasn't been mentioned in this thread - the difference in behaviour between kf8 (AZW3) and mobi.
I was trying to get the blasted things to work following this thread with no luck. As soon as I converted the file to mobi instead of kf8, it worked fine. Anyone know if the feature works in kf8/AZW3? If so, how? |
01-08-2015, 09:43 PM | #23 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
I'm sorry--what do you mean? How were you converting a book to "KF8?" Do you mean Calibre? Hitch |
|
01-09-2015, 11:58 AM | #24 |
Member
Posts: 22
Karma: 116
Join Date: Jul 2010
Device: none
|
Yes - with Calibre. And I examined the coding in the resulting kf8/AZW3 file, and it still seems to follow the above conventions. But conversion from the epub to mobi via Calibre works fine, as I said
|
01-09-2015, 02:06 PM | #25 |
Member
Posts: 22
Karma: 116
Join Date: Jul 2010
Device: none
|
For reference, here is the original epub code:
<sup><a href="9780465004980_Part17.xhtml#lp_B1" id="p_A1">1</a></sup></span></p> Target: <p><a href="9780465004980_Part11.xhtml#p_A1" id="lp_B1">1</a> Footnote Text Here</p> And here is the resulting AZW3 code (which fails to work): <sup class="calibre12"><a class="calibre3" href="part0017.html#lp_B1" id="p_A1">1</a></sup> <p class="calibre10"><a class="calibre3" href="part0010.html#p_A1" id="lp_B1">1</a> Footnote Text Here</p> |
01-09-2015, 02:44 PM | #26 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
{sigh}. What's the CSS for the classes Calibre12, Calibre3, Calibre10? Hitch Last edited by Hitch; 01-09-2015 at 02:46 PM. Reason: Added my sighing. |
|
01-16-2015, 12:59 PM | #27 | |
Member
Posts: 22
Karma: 116
Join Date: Jul 2010
Device: none
|
Quote:
.calibre3 { text-decoration: none } .calibre10 { display: block; font-size: 1em; line-height: 1; text-align: left; text-indent: 1.5em; margin: 0 } .calibre12 { font-size: 0.75em; line-height: 1; vertical-align: super } I removed the classes from the footnote (used just plain <a href> and plain <p> tags - no difference. I have another book that the footnotes preview works in AZW3 has this formatting: <a class="hlink" href="part0019.html#c03-nts1" id="c03-nts1a"><sup class="frac">1</sup></a> <p class="footnote" id="c01-nts1"><a class="hlink" href="part0007.html#c01-nts1a">**1.</a> footnote text here</p> .frac { font-size: 0.7em; line-height: normal; vertical-align: 4px } .footnote { display: block; text-align: left; text-indent: -1.5em; margin: 0.3em 0 0.3em 1.5em } the only difference that sticks out is: the link has the <a href> tag outside the <sup> tag - not inside, as previously recommended. However, I tried that with the other book, and it did not change the footnotes behaviour. |
|
01-16-2015, 02:39 PM | #28 |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Sorry:
I don't use Calibre for MOBI conversions, so I'm not the person to help you. I wouldn't know an AZW3 if it ran over my foot. You might try asking about this on the Calibre forum. Have you considered simply converting your ePUB with KindleGen? And seeing if your output performs properly? I assume you're doing this for yourself, to have footnotes you can read, as AZW3 is only viable for Calibre and sideloaded MOBIs? Hitch |
01-23-2015, 07:03 PM | #29 | |
Member
Posts: 22
Karma: 116
Join Date: Jul 2010
Device: none
|
Quote:
It would be nice if amazon would document how it needs to be coded in their publishing guidelines! http://kindlegen.s3.amazonaws.com/Am...Guidelines.pdf I'll play with the resulting azw file when I have some time and see if I can figure out what exactly it's looking for in order to work. |
|
01-23-2015, 08:52 PM | #30 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Footnote pop-up example | dcmst | ePub | 7 | 09-22-2014 10:33 PM |
Pop ups/Panels/Overlays | p_nut33 | Kindle Formats | 21 | 10-02-2013 06:00 PM |
42nd & Lex, a vampire novel for grown-ups | 42nd&Lex | Self-Promotions by Authors and Publishers | 2 | 01-05-2013 10:20 PM |
DR800 Future GUI enhancements: pop-ups, fly-outs, toolbars & more | jm35 | iRex | 3 | 05-25-2010 01:41 PM |
ESV bible concept - footnote & hack ideas | DoctorBri | Sony Reader | 8 | 03-09-2009 02:36 AM |