|
|
#16 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,464
Karma: 31000706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
No problems with cursory checks of Folder In and Out, Shady Characters and DOCX Import.
Nothing more to add to the child windows window mgt issue. Except, I suspect many users would move the non-modal child window to a second monitor if it was in the way. The handful of people I know who edit books for a living have multiple monitors on their desks. BR |
|
|
|
|
|
#17 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,413
Karma: 6733754
Join Date: Nov 2009
Device: many
|
Quote:
But, fwiw, I think I have found a way to auto close stale minimized windows after changing books. I will try that first before tossing in the towel. Thanks Update: With my most recent commit, old minimized non-modal dialogs are now properly closed upon loading a new book preventing the stale dialog problem. I have pushed this change to master. So as it stands, people on Windows and Mac can easily use their own supplemental tools to add in titlebar and window resizing abilities if they so desire. Windows and Linux users (depending on window manager used) can use the Minimize if desired. It just will not work on MacOS without making the window being created as a top-level window (parent = nullptr) which I am not willing to do. People who do not like allowing dialogs to minize need not use that feature. Hope this is enough. Last edited by KevinH; 02-10-2026 at 10:25 AM. |
|
|
|
|
|
|
#18 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,464
Karma: 31000706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I remember a time when OS/X would roll up a window if you double clicked the title bar, not sure if there was a stay on top. And, I can't recall which one, but one of the GUI OS's from the 80s had roll up, stay on top, minimise to desktop etc - wasn't Lisa, might have been VisiOn or Gem. BR |
|
|
|
|
|
|
#19 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,413
Karma: 6733754
Join Date: Nov 2009
Device: many
|
Quote:
|
|
|
|
|
|
|
#20 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 17648
Join Date: Jun 2011
Location: Lima, Peru
Device: Kindle 10Gen / Kobo Aura HD / Nook STR
|
Hi.
Windows 11, tried the plugins: Access-Aide CSSValidator DOCXImport EnvVarEditor Epub2LegacyMetaData Epub2Text FixHeadStyles InsertImageSVG KindleImport QuickPrefsEdit SubsetFonts No issues so far.
|
|
|
|
|
|
#21 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,413
Karma: 6733754
Join Date: Nov 2009
Device: many
|
|
|
|
|
|
|
#22 |
|
Connoisseur
![]() Posts: 50
Karma: 10
Join Date: Aug 2018
Device: kobo Nia
|
Html import error still present
Hi,
running the 2.7.5 Beta3 Appimage on LinuxMint 22.3 (Ubuntu 24.04), i tried to import into the open EPUB file a HTML page containing a big <script> tag in the Head. Like before with 2.7.0, the very same error persists: > The following file(s) were not loaded due to invalid content or not well formed XML: > > /.../1_.html (line 128: Expected ';', but got '='.) The lines 127-129 in there read Code:
pushAppServerKey: '',
url: {
fullBase: 'https://www.alternatehistory.com/forum/',
The builtin Ebook editor of Calibre on import of this file sometimes presents the same error, sometimes just imports it, so that i can remove the <script>.*</script>. |
|
|
|
|
|
#23 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,413
Karma: 6733754
Join Date: Nov 2009
Device: many
|
Your script tag contains xhtml reserve characters such as '<', '&', or '>' that confuses the parser because it is not protected by a CDATA tag pair:
'<![CDATA[' and ']]>' So edit that file before import and add that cdata tag pair inside that script tag or alternatively you could edit that html file and extract that script and paste that script into its own file and just properly link to it. Sigil will not allow you to import it until it is fixed mainly for security reasons. If this is something you run into often, then the best solution is to use a Sigil plugin to add selected files after removing their broken script tags. Sorry. Last edited by KevinH; 03-06-2026 at 07:42 AM. |
|
|
|
|
|
#24 |
|
Connoisseur
![]() Posts: 50
Karma: 10
Join Date: Aug 2018
Device: kobo Nia
|
Hi,
as indeed it does, to my chagrin, in the 2nd and last line of this excerpt: <code> <script> XF.ready(() => { XF.extendObject(true, XF.config, { // userId: 0, enablePush: false, pushAppServerKey: '', url: { fullBase: 'https://www.alternatehistory.com/forum/', basePath: '/forum/', css: '/forum/css.php?css=__SENTINEL__&s=14&l=1&d=1771704368', </code> Since i'm trying to import multiple (about 50 to 100) HTML files like this, i'd very much prefer a warning instead of an error, so that i then can automatically remove the `<script>.*</script>` from all of them, instead of painstakingly for every single file. Since the Calibre ebook editor finally consented to the import, that's what i was allowed to do, in the end. |
|
|
|
|
|
#25 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,413
Karma: 6733754
Join Date: Nov 2009
Device: many
|
Again, if you need custom import of non-well formed html, using a plugin is the way to go in Sigil. Importing not well formed code into an existing epub is generally not a good idea, especially those containing large javascripts directly in a script tag.
It is relatively trivial to create a plugin to strip out script tags in the head from html using regex. You could easily multi-select as many files to process at the same time and import them simultaneously. It would be a good first project for learning how to create plugins. Happy to provide hints if you get stuck. Otherwise as you said, you can use calibre. Last edited by KevinH; Yesterday at 10:59 AM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Closed] Please help beta test calibre 7 | kovidgoyal | Calibre | 228 | 12-16-2023 03:29 PM |
| Odyssey Firmware beta test | EowynCarter | Bookeen | 16 | 02-28-2016 07:23 AM |
| Copia beta test - Get Your Invite Now! | Nate the great | Announcements | 34 | 11-18-2010 07:48 PM |
| Beta Beta Test of Major New Features | Starson17 | Calibre | 45 | 05-17-2010 10:55 AM |
| Mobile Forum Beta Test Here! | Alexander Turcic | Announcements | 12 | 03-10-2004 05:38 PM |