![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Calibre footnote viewer missing out words
I noticed a curious thing inspecting footnotes in the footnotes panel. Some words are missed out, usually book titles done with a span class italic. The missing words are still missing when the footnote panel is undocked. But when the footnote is viewed in the main view the missing words are back and everything is fine. The EPUB validates and there is nothing wrong with the code at these points. The problem is also sporadic, not consistent. Similar text might be displayed fine.
Is this a known issue? I wish I had a Kindle Paperwhite to see whether it also happened there. Edit: This is in v 2.52. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,242
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to attach a sample book showing the issue.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Unfortunately, I can't as it's copyrighted. Would a screenshot be of use?
|
![]() |
![]() |
![]() |
#4 |
Bookaholic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
|
|
![]() |
![]() |
![]() |
#5 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,656
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
You could scramble it with Scramble Ebook and post it here Or you could post here as bug and mark the post private Bugs : calibre BR |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Kovid: This sounds like something that was discussed earlier in the year. Some strange things happen if the id the footnote refers to is not at the top level of tags. If the id is in a nested tag, then the text in tags that are further nested is lost. The thread this was discussed in is https://www.mobileread.com/forums/sho...d.php?t=270041.
|
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
I've scrambled the EPUB and deleted unscrambled text manually (Chinese).
Check for example Chapter III (DEU in Table of contents) notes 9 and 18 at the end of 18 in the footnote pane: (Bsud, , Jyp. SE, x 219). But same note in main view: (Bsud, vc. kqv, Jyp. SE, x 219). In note 9: Footnote pane: (Ywlfh, ) Zdeyh Ohkvrt opgfhgoeci ttp rmjc bwkg: ‘Ple ahiqfsn kz gzo qt uiu scbvotilz, gyhi vke xdfck cvxyx uzvvbqgb?’ (Pcosod, , h 616.) but in main view as it should be: (Ywlfh, Zxmt Imt: T Ihsowpp Neor oc Dpqzmke.) Zdeyh Ohkvrt opgfhgoeci ttp rmjc bwkg: ‘Ple ahiqfsn kz gzo qt uiu scbvotilz, gyhi vke xdfck cvxyx uzvvbqgb?’ (Pcosod, Nwb Lkpsv ym nta Ovsxf, h 616.) For some reason it seems to happen to italic text. There are quite a few notes where such things occur. Sometimes the note number is missing in the footnote pane, but there in the main view, as in note 23 of same chapter. |
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,242
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@davidfor: The way it works is the tag on which the id is defined and all its children are included, upto the next page break. Also all its parents, but not its siblings. If you see behavior different than that I'd appreciate a sample showing that behavior.
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,242
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@bookman156: Your scrambled book does not match what you are posting. There is nothing named DEU in the table fo contents and footnote number 9 is
9 Viaoigsnnvm, ‘Pfy Gphnwrhvblx ak xvd Ffdvfi,’ o 2. which appears as exactly that, minus the number on the popup. |
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
I meant in the print version of the table of contents. In the other TOC Chapter III is SEG.
The actual chapter is: Eaxeaws ZGD |
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,242
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Again, I dont see what you are saying, footnote 9 in that chapter is
Quni, rt. osr, Vnz. R, ne 209–012. Oix Tythu ajpffcq bgmb bevsn lh xcvqgdfcup u agwx me Uvfaiyd 04 cg dde Nivxvmjtk: ‘Jyicjz yrx erbck hl hhmi cn gy dfeetkvnyjtka.’ Rsxphy igq drrmq oeqkl mqd fgev gk ‘rrymrvf qsv azbcy’, cdrhm zm zcnbzjshiq iowz fehjihfy 86/5 by lno Szile Nivwlcim, Emvl QU, Eoywlrd J, Lqimu 96. Xz slr Klsurnu-Yrztld (7ku ajlvexa) twm w 71 xfk q 326. Fqrtbfg gtlq knn ‘roipldlxyrtib rsvfrxuq pr pnnlh asmvcz’ gq stcgrjbj 06/6 (lm 450–476); ‘owz rlkdqwvl dlervshbe jd pcrtw pgi lcfwfjoxwtzlm vqkvmg’ wg 48/0 (c 871); ‘tywfvxqros rrx znsth th lcfzfh ciysem’ ij 9/5 (q 73). Frdmnlr 97 rx zvm twblt hamu lpympdp chyry. Lwejfvv Idplk jbd olrjcizii ncfy aen xyebe js jdm Jfczonou qb Zw ufq yaw qzilf xezn-zygsny nyrufmdb .04 qp oqj , v zjauem hwcdfvg bhof vl ioglcre, hhidn qg fcvhrxdolv vm: ‘Jyz ibdemnjgg yi mdq fgl, ifs iti lq uvycggpxtk?’ (Ywlfh, ) Zdeyh Ohkvrt opgfhgoeci ttp rmjc bwkg: ‘Ple ahiqfsn kz gzo qt uiu scbvotilz, gyhi vke xdfck cvxyx uzvvbqgb?’ (Pcosod, , h 616.) |
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Clicking footnote 1 one shows: Code:
[1] Note 1. Note 2.Note 2a.Note 2b. Code:
Note 2.[2]Note 2a.Note 2b. Note 2c. Note 3. |
|
![]() |
![]() |
![]() |
#13 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
(Ywlfh, ) Zdeyh Ohkvrt opgfhgoeci ttp rmjc bwkg: ‘Ple ahiqfsn kz gzo qt uiu scbvotilz, gyhi vke xdfck cvxyx uzvvbqgb?’ (Pcosod, , h 616.) After Ywlfh, and after Pcosod,. There is italic text there that is absent here, as you will see in the actual footnote as seen in the main view.
|
|
![]() |
![]() |
![]() |
#14 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,242
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@bookman156: That happens because you have anchors *inside* the footnote that are pointed to by links in the main text. For example in footnote 9 you have <a id='page170'> Remove that and you will be fine.
The heuristic used to detect footnotes stops on anchors that are pointed to by other links in the text, on the theory that they could be the start of the next footnote. That said, I have changed the heuristic to only regard the anchor as a breaking point if it is not styled as an inline element. @davidfor: I committed a fix for your issue, you should be fine now. |
![]() |
![]() |
![]() |
#15 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing spaces between words | giwqnbha | Calibre | 2 | 10-18-2015 05:24 AM |
Missing/incorrect words in fetched news | Universe Man | Calibre | 5 | 06-17-2013 07:18 AM |
Calibre 0.8.7: E-Book viewer is missing search field | DrChiper | Calibre | 20 | 07-01-2011 09:51 AM |
ePub fine in Calibre viewer, but on iPod extra spacing between words | Amalthea | Calibre | 6 | 03-30-2011 11:58 AM |
Functions missing in Calibre viewer? | amannuc | Calibre | 3 | 04-10-2010 06:28 PM |