|  02-08-2013, 03:13 AM | #76 | 
| Wizard            Posts: 2,841 Karma: 5843878 Join Date: Oct 2010 Location: UK Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura | 
			
			If I understood correctly, that is done for the device to "remember" where you left off and for bookmarking.
		 | 
|   |   | 
|  02-08-2013, 04:40 AM | #77 | |
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | Quote: 
 kobo1.1 and so on are actually unique identifiers (rather than classes) that go easily into the hundreds. So it is no real surprise that there is no corresponding declaration in the css file. (Edit: I seems that in some books (or only in books from Rakuten?) there is also a class defined (class="koboSpan").) Last edited by tshering; 02-08-2013 at 06:51 AM. | |
|   |   | 
| Advert | |
|  | 
|  02-08-2013, 06:24 AM | #78 | 
| Wizard            Posts: 1,824 Karma: 9503859 Join Date: Dec 2012 Location: France Device: (Sony (J) PRS 650), Kobo Mini, Kobo Glo HD (broken), Kobo Clara BW | 
			
			I tried the double extension on one book. Maybe my choice wasn't the wisest because it adds a lot of room for errors since it was originally from Amazon (so .azw -> .epub -> .kepub.epub). I did was davidfor recommended in the comment #15 so the eReader can display the cover. Then I manually changed the extension to add .kepub and drag-and-dropped the file into (onto???) the Mini. So far, the cover, the pages per chapter, the estimated time are working. The highlights are not working (as expected). For remembering the last page read, it's working if I read only this book. If I open other books, when coming back to the kepub.epub one I will be brought back to the first page of the chapter. I'm glad I gave it a try, though   | 
|   |   | 
|  02-08-2013, 11:39 AM | #79 | |
| Grand Sorcerer            Posts: 6,686 Karma: 12595249 Join Date: Jun 2009 Location: Madrid, Spain Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2 | Quote: 
 And that same file, if I rename it as epub, renders ok the chapter paragraphs. | |
|   |   | 
|  02-08-2013, 03:27 PM | #80 | 
| Generally Awesome Person            Posts: 1,100 Karma: 2191133 Join Date: Jan 2013 Location: /dev/kmem Device: Kobo Clara HD, Kindle Oasis | 
			
			The plugin adds the koboSpan class and adds the "kobo.X.Y" ID. These are used by the kepub system to remember where you were last at and I believe also for annotations. There would be no CSS entry for these since they're only used by the Kobo device.
		 | 
|   |   | 
| Advert | |
|  | 
|  02-08-2013, 03:28 PM | #81 | 
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | 
			
			span id="kobo.1.1" and so on is added by the plugin. This is the main point that makes an epub to an kepub. Those elements are used as reference points for highlights, annotations, etc.  The interesting point is how the "special class for chapter title paragraphs" is declared in the css. There seems to be something that the epub rendering engine honors and the kepub rendering engine does not. Maybe you can change this in the calibre settings in a way both engines can deal with. | 
|   |   | 
|  02-08-2013, 03:51 PM | #82 | 
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | 
			
			jgoguen, may I ask you whether your plugin sets the kobo tags only in dependence of other elements (for instance p, h1 and so on) or also at other points like punctuation marks? | 
|   |   | 
|  02-08-2013, 04:50 PM | #83 | |
| Grand Sorcerer            Posts: 6,686 Karma: 12595249 Join Date: Jun 2009 Location: Madrid, Spain Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2 | Quote: 
  . Because the declaration is quite standard: text-align:center;margin-top: 15% | |
|   |   | 
|  02-08-2013, 05:09 PM | #84 | 
| Grand Sorcerer            Posts: 6,686 Karma: 12595249 Join Date: Jun 2009 Location: Madrid, Spain Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2 | 
			
			Got it. The problem is that it doesn't honor text-align:center in a paragraph, only in h?. I think it's a big mistake.
		 | 
|   |   | 
|  02-08-2013, 05:19 PM | #85 | |
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | Quote: 
 I take from what you and jgoguen say that the tags look something like <span class="koboSpan" id="kobo.1.1"> and that the class koboSpan is not declared in the css. Since I do not use the class koboSpan (I have only <span id="kobo.1.1">) and my epub.kepubs honor the text-align declaration, I guess that this makes the difference. Maybe it helps if you add the class koboSpan to the css and define the text-align as inherit. Something like Code: .koboSpan
{
	text-align:		inherit;
}Last edited by tshering; 02-08-2013 at 05:30 PM. | |
|   |   | 
|  02-08-2013, 05:29 PM | #86 | |
| Generally Awesome Person            Posts: 1,100 Karma: 2191133 Join Date: Jan 2013 Location: /dev/kmem Device: Kobo Clara HD, Kindle Oasis | Quote: 
  I only set the kobo tags on p and h? elements. I'm not aware of the tags needing to be anywhere else. If I'm wrong, a bug report would be appreciated so I can correct the issue. | |
|   |   | 
|  02-08-2013, 05:32 PM | #87 | |
| Generally Awesome Person            Posts: 1,100 Karma: 2191133 Join Date: Jan 2013 Location: /dev/kmem Device: Kobo Clara HD, Kindle Oasis | Quote: 
 | |
|   |   | 
|  02-08-2013, 06:10 PM | #88 | 
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | 
			
			It is not a bug report. Since I do not use calibre and therefore also not your plugin I have  of course not experienced any bugs. I just would like to share some thoughts. I have observed in some kobo preview files that there are also kobo tags at the end of sentences, provided they are not at the end of a paragraph and so on, increasing thereby the second index. In some books the kobo tags are also set whenever there is a style tag. The purpose of this, so I guess, is to prevent that the distance between kobo tags becomes to large. I asked myself: How much distance is to much? My next guess is that at each screen page there should at least be one kobo tag. I believe that the kobo remembers the kobo id of the last opened page without using any offset. If there is no kobo tag at the last openened page (because there is a very long paragraph or the user uses a very large font size) the device is unable to open the book at the correct page the next time.
		 | 
|   |   | 
|  02-08-2013, 06:15 PM | #89 | |
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | Quote: 
 | |
|   |   | 
|  02-09-2013, 02:45 AM | #90 | |
| Grand Sorcerer            Posts: 6,686 Karma: 12595249 Join Date: Jun 2009 Location: Madrid, Spain Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2 | Quote: 
 | |
|   |   | 
|  | 
| Tags | 
| epub, kepub, kobo | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Downloading kepub to ADE | scr212 | Kobo Reader | 14 | 10-14-2012 02:37 PM | 
| KePub Toolbox | Thasaidon | Kobo Reader | 1 | 08-08-2012 07:49 AM | 
| What will happen/I gain if I forced an ePub book to a KePub book? | andsoitgoes | Kobo Reader | 4 | 04-04-2012 04:33 PM | 
| Touch Any hack/work-around to sync bookmarks of non Kobo ePub (kepub) | andsoitgoes | Kobo Reader | 3 | 04-03-2012 03:56 PM | 
| Kobo Adobe Epub is a Kepub instead | rashkae | Kobo Reader | 61 | 01-13-2012 06:15 AM |