03-30-2017, 10:19 AM | #46 |
Grand Sorcerer
Posts: 27,545
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
One thing I might be willing to do is to have the plugin (after the conversion is complete) automatically insert Sigil split markers in front of tags with certain user designatable attributes (hx tags of class "xxx" or just hx for that matter). Would that be useful to anyone?
|
03-30-2017, 07:31 PM | #47 | |
null operator (he/him)
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I quite like the fact that the PI is 'just' a wrapper around Mammoth. If you start adding functionality beyond that then when something doesn't work I have to work out where the problem lies - the DOCX, my style mapping, Mammoth, or your added functionality? And suppose Mammoth were to add equivalent functionality . . . ? Mammoth isn't my only source of monolithic xhtml epubs, and being what I am I want deal with similar issues consistently. So, for me it's thanks, but no thanks BR |
|
Advert | |
|
03-30-2017, 08:08 PM | #48 |
Grand Sorcerer
Posts: 27,545
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
03-30-2017, 08:37 PM | #49 |
null operator (he/him)
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
03-30-2017, 09:59 PM | #50 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Hi
I would concur with BetterRed. I think putting more weight on the plugin author (DiapDealer) would only increase entropy since it could lead to duplicate existing or planned Sigil features. If the plugin gets extra features from the author (mamooth?), all the best, they're most welcome. If not, I think it makes more sense here to concentrate on providing more features to the main program, i.e. Sigil., like - availability for Linux users (nearly done) - breakdown report for group searches (I said that?) - ... and Last edited by roger64; 03-30-2017 at 10:01 PM. |
Advert | |
|
04-05-2017, 10:25 AM | #51 |
Guru
Posts: 653
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Great plugin! Nice and clean code.
Would it be possible to have the option to add what's imported as a new .xhtml-file (keeping the current files)? Would save me quite some time (now I'm manually doing the merge via cut'n'paste between epubs, could also use the calibre-plugin but would prefer not using calibre at this stage). Thanks! |
04-05-2017, 10:49 AM | #52 | |
Grand Sorcerer
Posts: 27,545
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I could possibly create an Edit Plugin that reuses this plugin's code to add docx files to existing epubs as new files, but I don't know how soon I could get around to it. In the meantime, you could always use Sigil's Export/Save as (I forget, offhand, the exact terminology used when right-clicking on a file in Sigil's Book Browser) to save the xhtml file being imported to an external location. After which, you wouldn't even have to save the newly-created epub. Then you can import that xhtml file into an existing epub. |
|
04-05-2017, 06:15 PM | #53 | |
null operator (he/him)
Posts: 20,544
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
04-08-2017, 03:45 AM | #54 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2012
Device: iPad
|
It doesn't seem to work on MacOS
Hi,
the plugin doesn't seem to work on MacOS. I am getting the error: This application failed to start because it could not find or load the Qt platform plugin "cocoa" in "". Reinstalling the application may fix this problem. Launcher process crashed. I am using Sigil's bundled python 3.5.2 and have the recommended ActiveState tcl installed. Do I have anything else missing? |
04-08-2017, 04:41 AM | #55 |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
IIRC, there were some Python issues with the latest macOS Sigil build. As a workaround try the following:
Spoiler:
Last edited by Doitsu; 04-08-2017 at 04:47 AM. |
04-08-2017, 05:53 AM | #56 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2012
Device: iPad
|
Hi Doitsu,
thank you indeed, that worked! (The python rocket didn't show up.) CGF. |
04-08-2017, 06:55 AM | #57 |
Grand Sorcerer
Posts: 27,545
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Wait. This is the first I've heard of PyQt in plugins failing on Macs. The only Python issue I'm aware of RE Sigil 0.9.8 was the issue that kept Sigil from running on Macs older than 12.12 (which Kevin fixed).If there's a missing platform plugin in the bundled Python on Macs, we'll need to look into it.
|
04-08-2017, 07:25 AM | #58 |
Sigil Developer
Posts: 7,630
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Yes, if we are missing a Qt plugin on Mac OSX, I really need to know.
|
04-08-2017, 08:16 AM | #59 |
Grand Sorcerer
Posts: 27,545
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
After ensuring that the cocoa.dylib file is physically present in the 'platforms' directory of Sigil's Qt framework (and I have no doubt it is), it'll probably boil down to the bundled python executable (or PyQt5's QtWidgets module) looking at a system path for Qt's platform plugins rather than the bundled framework.
A qt.conf file in the bundled python executable's directory should quickly rule out that possibility (if dropping it in makes the problem go away). strace (if available on Macs) grepping should also reveal which locations are being searched for platform plugins when a pyqt5 plugin runs. |
04-08-2017, 08:33 AM | #60 |
Sigil Developer
Posts: 7,630
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Yes libqcocoa.dylib is present and in the location the framework requires it to be in. Inside Sigil.app/Contents/Plugins.
Normally with framework builds, the relative location of Plugins within the app is set and if you stick with convention no qt.conf file is needed. So something is funny. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 01:25 AM |
[Plugin] KindleImport Sigil plugin | DiapDealer | Plugins | 187 | 07-04-2022 10:11 AM |
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 |