|
|
#31 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,073
Karma: 6361556
Join Date: Nov 2009
Device: many
|
Yes the IDPF use the word "obsolete" to describe epub2, but "deprecated" is more correct since it is still used by older readers.
https://idpf.org/epub/201 |
|
|
|
|
|
#32 |
|
Member
![]() Posts: 24
Karma: 10
Join Date: Jul 2022
Location: France
Device: Kobo Clara
|
Nnoe of them work on Ubuntu 22:
Code:
ImportError: cannot import name 'QtWebEngineCore' from 'PyQt5' (/usr/lib/python3/dist-packages/PyQt5/__init__.py) |
|
|
|
| Advert | |
|
|
|
|
#33 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,073
Karma: 6361556
Join Date: Nov 2009
Device: many
|
You are missing pieces. You need to install pyqt5.
Here is a link I found by a websearch that explains how to get the qtwebengine piece of pyqt5. And something similar should work on the main pyqt5 itself. https://installati.one/ubuntu/22.04/...5.qtwebengine/ There are probably better links but that was the first I found. Update: Try the following: sudo apt-get install python3-pyqt5 sudo apt-get install python3-pyqt5.qtwebengine Both macOS and Windows builds of Sigil come with these installed. I truly have no idea why various Linux distributions treat these packages as "optional" when full plugin support is part of Sigil, has been for a long time, and will continue to be. Last edited by KevinH; 09-05-2022 at 03:27 PM. |
|
|
|
|
|
#34 |
|
Member
![]() Posts: 24
Karma: 10
Join Date: Jul 2022
Location: France
Device: Kobo Clara
|
Thank you @KevinH
Weird because synaptic said it was installed and apt-install still installed it. Maybe I needed a force re-install. Never mind, they are working now but not displaying my epub, and Foliate too. I'll check format and content tomorrow. |
|
|
|
|
|
#35 |
|
Member
![]() Posts: 24
Karma: 10
Join Date: Jul 2022
Location: France
Device: Kobo Clara
|
Okay,
So far, I found that: - <img> doesn't work in Sigil readers (Bibi, EPUBJS, Readium), but embedding it in <svg> works. Very surprising - tables and SVG are not implemented in SumatraPDF, others? - height in <svg> looks like it means "visible height of the image relative to its width". A 1920x1080 at 100% for width and height will be a white square with the image in the center, while height="56%" (1080/1920) is enough to fully display it. It's not like HTML. Is there any other mine I should be aware of?
|
|
|
|
| Advert | |
|
|
|
|
#36 | |||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,880
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
Quote:
Quote:
Quote:
https://jenkov.com/tutorials/svg/index.html And regarding the viewbox property, read: https://jenkov.com/tutorials/svg/svg...-view-box.html |
|||
|
|
|
|
|
#37 |
|
Member
![]() Posts: 24
Karma: 10
Join Date: Jul 2022
Location: France
Device: Kobo Clara
|
Thanks for following up, your doc and links RbnJrg!
SumatraPDF works under Linux with Wine, it's even a snap package: https://snapcraft.io/sumatrapdf It's the only one I found that automatically reload the epub file when I save in Sigil so it can sit there while I work on Sigil. I forgot to say, I'm working on epub 2 now, just to check what is working for old e-readers. I expect my result to work in epub3
|
|
|
|
|
|
#38 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,880
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
|
It also must work under epub2. Open the epub2 I attach in Readium, Bibi and EpubJS; the svg should display ok also in your linux.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can epub file images be centered using Sigil | provlima | Workshop | 2 | 04-23-2022 09:34 AM |
| Sigil can't open my Epub file | Siegfried | Sigil | 2 | 05-27-2020 07:36 AM |
| error from Sigil when loading particular epub file | JohnNC | Sigil | 15 | 08-08-2017 05:52 AM |
| Vexing error in EPUB file created in Sigil | pstjmack | ePub | 7 | 08-02-2016 01:47 PM |
| sigil doesn't open epub file | cyberbaffled | Sigil | 8 | 11-10-2009 04:28 PM |