Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 09-26-2019, 11:41 PM   #301
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by gbm View Post
Background image in order to change the image I had to clear the image then close the viewer before the image would change.
Thanks, fixed.
kovidgoyal is offline  
Old 09-26-2019, 11:43 PM   #302
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by gbm View Post

On svg images inside an epub it has to be one image per html file and there can not be any other elements in the file e.g. an empty paragraph or div.
<div></div>
You mean for full screen image detection? Yes currently the heuristic is fairly simple. If you have examples of markup where it fails I can make it more robust.
kovidgoyal is offline  
Old 09-27-2019, 01:15 AM   #303
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@rjwse thanks was able to reproduce and fix the issue.
kovidgoyal is offline  
Old 09-27-2019, 04:53 AM   #304
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
Dear Kovid,

1) I can't tap, using Chrome for Android, to move to the next xhml/html file (any epub). Moving to the previous file (chapter) is ok. On PC, using mouse-clicking, everything works fine. (Edit: this happens even in version 3.48)

2) Is it possible to support @namespace now (I'd like to hide epub:type="footnote")

3) Is it possible "long tap to select multiple texts" on Chrome for Android now?
nqk is offline  
Old 09-27-2019, 05:36 AM   #305
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@nqk

1) Send me a file that shows this behavior

2) Should be try it and see

3) no
kovidgoyal is offline  
Old 09-27-2019, 06:01 AM   #306
nqk
Fanatic
nqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beautynqk does all things with Zen-like beauty
 
Posts: 564
Karma: 32228
Join Date: Feb 2012
Device: Onyx Boox Leaf
1) Please see this file.

2) [epub|type~="footnote"] {display: none;} and @namespace epub "http://www.idpf.org/2007/ops"; works in the Editor (the content is hidden), but not on the Viewer (content shown).

Last edited by nqk; 09-27-2019 at 06:04 AM.
nqk is offline  
Old 09-27-2019, 06:30 AM   #307
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,228
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by nqk View Post
2) [epub|type~="footnote"] {display: none;} and @namespace epub "http://www.idpf.org/2007/ops"; works in the Editor (the content is hidden), but not on the Viewer (content shown).
It would be great to have namespaced selectors.
thiago.eec is offline  
Old 09-27-2019, 06:22 PM   #308
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,820
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Left/Right margin settings not being properly honoured

See attachments, the zip contains the EPUB and the originating DOCX.

The images show the problem when viewed in order

I also note that the left and right edge widgets with the previous and next arrows are not the same width - left is wider than the right.

BR
Attached Thumbnails
Click image for larger version

Name:	page layout settings.jpg
Views:	137
Size:	91.1 KB
ID:	173753   Click image for larger version

Name:	click on EPUB in Book Details .jpg
Views:	147
Size:	326.6 KB
ID:	173754   Click image for larger version

Name:	Press page down.jpg
Views:	122
Size:	380.1 KB
ID:	173755   Click image for larger version

Name:	Press page down again.jpg
Views:	126
Size:	199.3 KB
ID:	173756   Click image for larger version

Name:	Press page up.jpg
Views:	135
Size:	380.1 KB
ID:	173757   Click image for larger version

Name:	Press page up - again.jpg
Views:	125
Size:	326.6 KB
ID:	173758  
Attached Files
File Type: zip Where Do We Stand on the Exclamation (3).zip (42.4 KB, 122 views)
BetterRed is offline  
Old 09-27-2019, 06:31 PM   #309
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,820
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
On reflection, I suspect that the new viewer is treating the first page of my EPUBs as covers, none of my epubs have covers, I remove them with the Modify plugin.

Does that explain why I am not seeing the margins on the 'real' pages ?

BR

Last edited by BetterRed; 09-27-2019 at 06:38 PM.
BetterRed is offline  
Old 09-27-2019, 11:09 PM   #310
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@BR: Yes if there is no cover in the EPUB, as per the EPUB spec, the first page of the EPUB has to be treated as the cover. The viewer is designed to always show a cover, so a rendering of the first page will be shown as the cover, in such cases. It's not quite ideal and I would actually prefer to show an autogenerated cover in such cases, but its complicated for technical reasons having to do with how awful format EPUB is, so will probably get to it sometime later.
kovidgoyal is offline  
Old 09-27-2019, 11:12 PM   #311
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by nqk View Post
2) [epub|type~="footnote"] {display: none;} and @namespace epub "http://www.idpf.org/2007/ops"; works in the Editor (the content is hidden), but not on the Viewer (content shown).
Use the inspect tool to see what that attribute actually looks like and write a selector to match it. As far as I know the viewer reserves namespaces when processing HTML. Or send me a file showing this behavior and I will take a look.
kovidgoyal is offline  
Old 09-28-2019, 12:14 AM   #312
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,820
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
@BR: Yes if there is no cover in the EPUB, as per the EPUB spec, the first page of the EPUB has to be treated as the cover. The viewer is designed to always show a cover, so a rendering of the first page will be shown as the cover, in such cases. It's not quite ideal and I would actually prefer to show an autogenerated cover in such cases, but its complicated for technical reasons having to do with how awful format EPUB is, so will probably get to it sometime later.
The old viewer had no trouble with coverless epubs, just started at the first page of text.

The Check Book tool in the calibre editor doesn't complain nor does the Epubcheck plugin in the Sigil editor. If a cover is mandatory would have expected one or both of them to complain.

I discovered what happened to the margins, they got reset to default settings - I must have clicked wrong button at sometime.

I really miss font resize buttons, and search.

BR

Last edited by BetterRed; 09-28-2019 at 12:24 AM.
BetterRed is offline  
Old 09-28-2019, 12:34 AM   #313
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A cover is not mandatory, if there is no cover, the rendered first page must be used as a cover, which is what the viewer is doing.

And there is both search and font size changing controls so not sure what you are missing.
kovidgoyal is offline  
Old 09-28-2019, 01:13 AM   #314
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,820
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kovidgoyal View Post
And there is both search and font size changing controls so not sure what you are missing.
Sight of them mainly

I used to get an idea of how far I was into a book from the scroll bar button, Now I occasionally see a % read in the 'status' line but most of the time I don't. So that's another thing I miss.

BR
BetterRed is offline  
Old 09-28-2019, 01:51 AM   #315
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,438
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by kovidgoyal View Post
Use the inspect tool to see what that attribute actually looks like and write a selector to match it. As far as I know the viewer reserves namespaces when processing HTML. Or send me a file showing this behavior and I will take a look.
In fact, IIRC epub:type="footnote" gets mapped to role="doc-footnote" as in anycase the EPUB committee at some point deprecated the epub namespace and replaced it with role. God knows if they rolled it back again or not, I gave up on them a while ago.
kovidgoyal is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Android App] Calibre Companion 1.7 Beta testing Adoby Devices 31 09-07-2012 10:13 PM
Kobo Wifi beta testing mdclements Kobo Reader 0 10-15-2011 03:49 PM
Beta testing libprs500's new GUI kovidgoyal Calibre 409 01-07-2009 12:33 PM


All times are GMT -4. The time now is 04:37 PM.


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