Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-13-2023, 09:48 AM   #121
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
And I just removed the 32bit version of python and installed the 64bit version, but, alas!, no avail.
Leonatus is offline   Reply With Quote
Old 02-13-2023, 11:23 AM   #122
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
Can someone on Windows who knows how to show the dlls linked with the 64 bit version of the "tidy.dll" file from this plugin, please post a list of its dependencies here so we can track down what is missing?
KevinH is offline   Reply With Quote
Advert
Old 02-13-2023, 07:17 PM   #123
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,498
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by KevinH View Post
Can someone on Windows who knows how to show the dlls linked with the 64 bit version of the "tidy.dll" file from this plugin, please post a list of its dependencies here so we can track down what is missing?
Running Dependencies on the x64 tidy.dll shows it as using:

C:\WINDOWS\sytems32\kernel32.dll

C:\WINDOWS\sytems32\kernelbase.dll

C:\WINDOWS\sytems32\ntdll.dll

C:\WINDOWS\sytems32\MSVCR100.dll

C:\WINDOWS\sytems32\rpcrt4.dll

Dependencies also showed a mass of DLLs that are stored with it's executable.
Attached Thumbnails
Click image for larger version

Name:	Dependencies_tidy_dll.png
Views:	50
Size:	309.3 KB
ID:	199729  
DNSB is offline   Reply With Quote
Old 02-13-2023, 07:24 PM   #124
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
@Leonatus...I'm sorry but I am a little bit unclear on your responses. Please could you do the following:
  • In Sigil, please click Plugins > Manage Plugins and check that "Use Bundled Python" is selected. If "Use Bundle Python" isn't selected then select it. Do not select an external Python path.
  • In post #110 you said "However, I installed the latest version of Visual C++, but the error message is still the same." This is worrying because that is not what we asked you to do. KevinH has advised you to download and install a specific service pack for Windows -- Windows Visual C++ 2010 Service Pack 1 -- which is a necessary and critical dependency for the plugin to work properly. So please could you make absolutely sure that you install Windows Visual C++ 2010 Service Pack 1, which you can download and install from this link:
    https://www.microsoft.com/en-us/down....aspx?id=26999
After completing the above can you please retry using the plugin again.

Last edited by slowsmile; 02-13-2023 at 07:55 PM.
slowsmile is offline   Reply With Quote
Old 02-13-2023, 07:24 PM   #125
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
Thank you David!

Based on earlier posts from DiapDealer, the culprit may be MSVCR100.dll
KevinH is offline   Reply With Quote
Advert
Old 02-13-2023, 08:15 PM   #126
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
Update(v0.5.2):

Fixed a meta "name" attribute problem in the xml namespace of the cover file.(thanks to Leonatus).

Last edited by slowsmile; 02-13-2023 at 08:33 PM.
slowsmile is offline   Reply With Quote
Old 02-13-2023, 08:16 PM   #127
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Leonatus View Post
Well, as I said in #110, the python version is 32bit; that has worked without issues generally, although the OS being 64bit. And how to check the 64 or 32bit version of tidy, I ignore, and do not know if I have all the runtime files and dlls needed by tidy; I can only say that I installed the latest 64bit version of Visual C++.
You keep saying that you've installed the latest version of The c++ runtime files, when in fact, it is a very old version of the runtime that you need to install to get MSVCR100.dll (the dependency that libtidy needs). It no longer ships with Windows 10, so the only way it gets on a Windows 10 machine is if a) some other software includes it as part of there it's installation, or b) you specially install the version of the runtime distributable that includes it.

Last edited by DiapDealer; 02-13-2023 at 08:22 PM.
DiapDealer is offline   Reply With Quote
Old 02-14-2023, 03:43 AM   #128
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 1,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Quote:
Originally Posted by slowsmile View Post
[*]In Sigil, please click Plugins > Manage Plugins and check that "Use Bundled Python" is selected. If "Use Bundle Python" isn't selected then select it. Do not select an external Python path.
"Use Bundled python" did appear, as far as I remember, in older versions of Sigil. Now, there is a box called: "Use integrated python-interpreter", and that is checked. It is needed by other plugins as well.
Quote:
[*]In post #110 you said "However, I installed the latest version of Visual C++, but the error message is still the same." This is worrying because that is not what we asked you to do. KevinH has advised you to download and install a specific service pack for Windows -- Windows Visual C++ 2010 Service Pack 1 -- which is a necessary and critical dependency for the plugin to work properly. So please could you make absolutely sure that you install Windows Visual C++ 2010 Service Pack 1, which you can download and install from this link:
https://www.microsoft.com/en-us/down....aspx?id=26999
Yes, this has been my error; I retried, and it seems to work (the plugin closes without a success note).
So, thank you very much, you and all the others offering support so gently!
Leonatus is offline   Reply With Quote
Old 05-02-2023, 06:33 PM   #129
alastortenebris
Junior Member
alastortenebris began at the beginning.
 
alastortenebris's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2023
Device: Android
Is there any way to disable the line-height cleaning option? If not, can it be added?
alastortenebris is offline   Reply With Quote
Old 05-02-2023, 08:05 PM   #130
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
@alastortenebris...I'll have a look and maybe just create a ""Remove line-height" option instead.
slowsmile is offline   Reply With Quote
Old 05-02-2023, 10:16 PM   #131
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,498
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Is the removal of empty spans deliberate since there appears to be no menu option to enable/disable removing them.
DNSB is offline   Reply With Quote
Old 05-02-2023, 10:47 PM   #132
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
@DNSB...Yes it was deliberate, since empty span tags serve no real purpose in any ebook, that's really why the plugin automatically removes them.

And if you are referring to ebooks destined for Apple Macs -- I believe that their old problem regarding the odd requirement and necessity of surrounding all centered text/images/links with empty span tags was fixed several years ago.

Last edited by slowsmile; 05-03-2023 at 07:35 AM.
slowsmile is offline   Reply With Quote
Old 05-03-2023, 12:59 PM   #133
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Are you guys talking about truly empty spans (<span></span>) or just naked spans (<span>some text here</span>) with content, but no attributes?

I ask because right, wrong, or indifferent ... blindly removing the latter (naked span pairs) CAN affect the rendering of validly styled xhtml in an epub.
DiapDealer is offline   Reply With Quote
Old 05-03-2023, 01:08 PM   #134
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 35,498
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I was talking about the <span>bla de bla de bla</span>. And yes, it did make a change which surprised me until I checked the CSS stylesheet where there was an entry for span which applied a style which applied to any span.
DNSB is offline   Reply With Quote
Old 05-03-2023, 01:16 PM   #135
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,099
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by slowsmile View Post
@DNSB...Yes it was deliberate, since empty span tags serve no real purpose in any ebook, that's really why the plugin automatically removes them.
Not trying to get in an argument about this...I think we may have actually discussed this a few years ago??

Also, definitely not trying to argue for you to change your plugin, but I just wanted to clarify to anyone else reading this that there can be perfectly legitimate uses of an empty naked span tag (and not even referencing the atrocities imposed by some devices that require spans around everything) in valid ebook html.

A <span> simply delineates a section of text from the surrounding text. Most often that span is given a specific class so that it can by styled differently than other <span>s. However, you can define a <span> without using a class or ID just fine. Here is an example:

Code:
<h3>Chapter 1 <span>This is the title of the chapter</span></h3>
The CSS would look something like this:
Code:
h3 {font-weight:bold; text-align:center; font-size:1.2em}
h3 span {display:block; font-weight:normal; font-size:.8em; font-style:italic; font-family:serif}
This very specifically defines which <span> is being styled (any <span> within an <h3>). It also minimizes code bloat (no need to say <span class="chaptertitle"> on every chapter).

It is certainly not required to do it this way...you can add extensively defined spans to every letter if you want...but having an empty naked <span> does not automatically mean it is wrong.


edit: changed "empty" to "naked" to clarify terminology defined by Diap.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2023-05-03 125237.png
Views:	44
Size:	59.1 KB
ID:	201376   Click image for larger version

Name:	Screenshot 2023-05-03 125520.png
Views:	40
Size:	57.4 KB
ID:	201377   Click image for larger version

Name:	Screenshot 2023-05-03 131622.png
Views:	42
Size:	79.9 KB
ID:	201378  

Last edited by Turtle91; 05-03-2023 at 01:23 PM.
Turtle91 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FileType Plugin] YVES Bible Plugin ClashTheBunny Plugins 27 01-16-2023 01:25 AM
Problem with my ScrambleEbook plugin and the Plugin Updater tool jackie_w Development 14 01-19-2017 10:49 PM
Plugin not customizable: Plugin: HTML Output does not need customization flyingfoxlee Conversion 2 02-24-2012 02:24 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM
New Plugin Type Idea: Library Plugin cgranade Plugins 3 09-15-2010 12:11 PM


All times are GMT -4. The time now is 03:35 AM.


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