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 12-07-2023, 10:18 AM   #1
codepoet
Junior Member
codepoet began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2023
Device: Kobo, HP TouchPad
[Plugin] PunctuationDumben

Requirements
Plugin Type: Edit
GPLv3 License
Python Requirements: 2.7+, 3.4+, Tkinter
- eg: sudo apt-get install python3-tk, or other platforms https://stackoverflow.com/a/74607246
OS Requirements: Windows, OSX or Linux

Description
This is a Punctuation dumbening plugin. It's basically the reverse of the PunctuationSmarten plug-in, by DiapDealer. It has minimal configuration -- just pick the files and run.

I read eBooks on older devices (webOS tablets, circa 2011) that can't render fancy new HTML entities for things like smart quotes. They just end up garbled. This plug-in replaces the entities for smart quotes, ellipsis, and other common modern niceties with their simpler equivalents, readying content for consumption on older devices.

** NOTE: this plugin periodically checks for updated versions by connecting to github (where the source is maintained) when run (at most once every 12 hours.) **

Installation
* Select Manage Plugins from the Plugins menu. In the dialog box, select either the Bundled Python or External Python (Python should be installed on your computer to run this plugin externally).

* Click Add Plugin and select PunctuationDumben_vx.x.x.zip . This will load and install the plugin into Sigil

The source for this plugin can be found here: https://github.com/codepoet80/punctu...n-sigil-plugin

Usage
* From the Sigil menus, choose Plugins > Edit > PunctuationDumben
* In the pop-up, select the files to simplify
* Press OK, and wait a few seconds -- that's it!
Attached Files
File Type: zip PunctuationDumben_v0.1.0.zip (17.9 KB, 414 views)

Last edited by DiapDealer; 12-08-2023 at 10:08 AM.
codepoet is offline   Reply With Quote
Old 12-07-2023, 05:50 PM   #2
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: 8,158
Karma: 5450818
Join Date: Nov 2009
Device: many
Just added this to our Sigil Plugin Index sticky thread.

Thank you for your contribution to making Sigil better.
KevinH is offline   Reply With Quote
Old 12-07-2023, 10:57 PM   #3
codepoet
Junior Member
codepoet began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2023
Device: Kobo, HP TouchPad
Thanks you!
Should have mentioned that the source is here:
https://github.com/codepoet80/punctu...n-sigil-plugin
codepoet is offline   Reply With Quote
Old 12-08-2023, 09:37 AM   #4
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: 8,158
Karma: 5450818
Join Date: Nov 2009
Device: many
As creator of the thread you can always edit the first post of your thread to add things, change links, update things etc. Plugin developers normally just update that first post as they desire and use the remainder of the thread to do support when questions are asked.
KevinH is offline   Reply With Quote
Old 12-08-2023, 09:39 AM   #5
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: 28,039
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
As a new member, they may not be able to edit their own past posts (after more than a couple of minutes) until they get a few more under their belt. It's an anti-spam measure.

Now I wish I'd updated my plugin to PyQt/PySide before it was used as a template for another.
DiapDealer is offline   Reply With Quote
Old 12-08-2023, 09:43 AM   #6
codepoet
Junior Member
codepoet began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2023
Device: Kobo, HP TouchPad
Ya, I seem to be lacking edit permissions. Not to worry. Thanks for the good work DiapDealer :-)
codepoet is offline   Reply With Quote
Old 12-08-2023, 10:09 AM   #7
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: 28,039
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You'll gain edit permissions soon enough, I'm sure. In the meantime, I've added the link to your github repo to the first post.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] LOI-Generator - edit] plugin to generate a List of Illustrations KevinH Plugins 1 01-19-2023 05:31 PM
Updating plugin fails because plugin file is in use by Calibre? ownedbycats Calibre 1 12-03-2022 09:34 PM
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 09:07 PM
[Plugin] QuickPrefsEdit - Edit plugin prefs json files. slowsmile Plugins 3 07-25-2018 09:14 PM
Goodread Perception Expander plugin not shown on plugin list (kobo h2o) www KOReader 4 09-28-2017 11:34 AM


All times are GMT -4. The time now is 12:44 PM.


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