Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-19-2019, 06:42 PM   #1
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,684
Karma: 12617198
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Plugins

I've run into a 'con' regarding the removal of BookView.

I have been having a look at Doitsu's proselint plugin, and I quite like it. However I dislike editing 'content' in Sigil's CodeView - i.e the text that people read as opposed to the code that renderer's process. The sort of checks this plugin performs can lead to the re-writing of many sentences and even several contiguous paragraphs.

Given proselint is a content evaluator, it would be much better to have it available in PageEdit. Are there any plans to port Sigil's plugin capabilities to PageEdit?

Meantime I could install an older version of Sigil and use Book View. Can anyone offer any guidance on the best way of having two versions of Sigil installed simultaneously on Windows - preferably sharing the same settings.

If I could I'd rename the thread "PageView Plugins"

BR

Last edited by BetterRed; 09-19-2019 at 06:46 PM.
BetterRed is online now   Reply With Quote
Old 09-19-2019, 09:48 PM   #2
KevinH
Wizard
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: 3,698
Karma: 2219304
Join Date: Nov 2009
Device: many
No, PageEdit will not support Plugins as that would mean having to copy a huge body of code that enables plugins as well as adding a complete Python 3 interpreter.

That said, if proselint highlights a point in CodeView as most validator plugins do, why not launch PageEdit on that one xhtml file using the pencil icon and use the Find built into PageEdit to navigate to where you want to fix. Do all your long prose fixes in PageEdit and Save and Exit back to Sigil and rinse and repeat.

Alternatively you could add a bunch of FIXME strings in Sigil first and then search for and fix each in PageView all at once.
KevinH is offline   Reply With Quote
Old 09-19-2019, 09:57 PM   #3
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: 21,055
Karma: 115443362
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There are no plans to add plugin support to PageEdit that I'm aware of.

Two different installations of Sigil will inherently use the same settings. I'm not entirely certain that would be wise with a pre-0.9.15 version and 0.9.15+ version. But I could be wrong. It wouldn't hurt to try, though, as long as you make good backups of your preferences before-hand.
DiapDealer is offline   Reply With Quote
Old 09-20-2019, 02:00 AM   #4
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,684
Karma: 12617198
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
No, PageEdit will not support Plugins as that would mean having to copy a huge body of code that enables plugins as well as adding a complete Python 3 interpreter.
Fair 'nuff

Quote:
Originally Posted by KevinH View Post
That said, if proselint highlights a point in CodeView as most validator plugins do, why not launch PageEdit on that one xhtml file using the pencil icon and use the Find built into PageEdit to navigate to where you want to fix. Do all your long prose fixes in PageEdit and Save and Exit back to Sigil and rinse and repeat.

Alternatively you could add a bunch of FIXME strings in Sigil first and then search for and fix each in PageView all at once.
If I pasted FIXME's in the code the by the time I got to PageEdit I'd forget what the problem was :lol:

Thinking about it a bit more, even with Sigil 0.9.14, proselint errors would still throw me into CodeView rather than Book View, so I'd be flipping from CV to BV, back to CV... ad-infinitum. I think I'd rather run PageView alongside Sigil and keep them in synch manually - until someone can come up with an interprocess CodeView->PageView real-time synch button

One of the factors that makes me dislike editing content in CodeView is the limitation to monotype fonts (Consolas, Lucinda etc). That's fine for examining and editing 'code', but for me at least it's not fine for reading and editing 'content' - how many users have Preview set to a fixed width font.

Are there any technical reasons for this restriction. The calibre book editor has no such restriction - but it doesn't have a proselint plugin



Minor irritant I've been meaning to mention 'forever' - the 'Plugin' item in the menu has no accelerator key, Alt+P would seem to be available.

Quote:
Originally Posted by DiapDealer View Post
There are no plans to add plugin support to PageEdit that I'm aware of.

Two different installations of Sigil will inherently use the same settings. I'm not entirely certain that would be wise with a pre-0.9.15 version and 0.9.15+ version. But I could be wrong. It wouldn't hurt to try, though, as long as you make good backups of your preferences before-hand.
On thinking about it, sharing preferences wouldn't be critical or maybe not even desirable. But I'm going to try running Sigil and PageEdit and doing the synch manually. For reasons I can't comprehend I imagined proselint would interact with BV in Sigil 0.9.15. Whilst I haven't tried it, its London to a brick on it doesn't.

Thanks - BR
BetterRed is online now   Reply With Quote
Old 09-20-2019, 02:26 AM   #5
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,679
Karma: 15356663
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by BetterRed View Post
One of the factors that makes me dislike editing content in CodeView is the limitation to monotype fonts (Consolas, Lucinda etc).
You can specify any font, by changing the following line in sigil.ini.

code_view_font_family_standard=Consolas
Doitsu is offline   Reply With Quote
Old 09-20-2019, 02:45 AM   #6
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,684
Karma: 12617198
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doitsu View Post
You can specify any font, by changing the following line in sigil.ini.

code_view_font_family_standard=Consolas
Would be irritating when I want to switch back to monotype. I don't mind flipping a font in preferences - but having to close the program. edit a file, save it, and restart the program to change fonts would be a PITA.

A proselint plugin for calibre would be a better solution

BR

Last edited by BetterRed; 09-20-2019 at 02:52 AM.
BetterRed is online now   Reply With Quote
Old 09-20-2019, 07:59 AM   #7
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: 1,851
Karma: 12128092
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone X/6/iPad 1,2 & Air/Surface Pro/Kindle PW
There must be a way to change the font options for CV.... I just looked at the list in my version of Sigil (9.18 on Win64) and it includes the Barcode font I installed many moons ago.
I can't see someone including that as one of the limited standard fonts. Unfortunately, I can't recall doing anything special to add that font. Perhaps Diap or Kevin know how that could have been accomplished??
Turtle91 is offline   Reply With Quote
Old 09-20-2019, 11:34 AM   #8
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: 21,055
Karma: 115443362
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Turtle91 View Post
There must be a way to change the font options for CV.... I just looked at the list in my version of Sigil (9.18 on Win64) and it includes the Barcode font I installed many moons ago.
I can't see someone including that as one of the limited standard fonts. Unfortunately, I can't recall doing anything special to add that font. Perhaps Diap or Kevin know how that could have been accomplished??
You didn't do anything special. Sigil/Qt populates the Code View font choices with only system fonts that are identified as mono-space fonts. Just installing a new mono-spaced font on your OS is enough to have it show up in the Appearance prefs for Code View.
DiapDealer is offline   Reply With Quote
Old 09-20-2019, 07:14 PM   #9
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,684
Karma: 12617198
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DiapDealer View Post
You didn't do anything special. Sigil/Qt populates the Code View font choices with only system fonts that are identified as mono-space fonts. Just installing a new mono-spaced font on your OS is enough to have it show up in the Appearance prefs for Code View.
I appreciate the sentiment (nobody wants to code in TNR) - but apart from that is there any reason that all fonts shouldn't be available in the drop down?

BR
BetterRed is online now   Reply With Quote
Old 09-20-2019, 07:42 PM   #10
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: 21,055
Karma: 115443362
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Other than tradition and most coders' preferences, there's no functional reason that I know of (but I could be mistaken). Never really thought about it, I guess. I just assumed that like me, most coders would lose their minds using variable-width fonts for code/markup. *shrug*
DiapDealer is offline   Reply With Quote
Old 09-20-2019, 08:35 PM   #11
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,684
Karma: 12617198
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Seems to be OK if I change it in the ini file, but doing that whenever I want to change focus from editing code to content is a PITA (and therefore dangerous)

Added : oops: I'm not sure it is OK, after changing code_view_font_family_standard to Arial in the ini file, when I looked at Preferences it was showing Courier.

I'll run PageEdit alongside Sigil/proselint and eyeball synch

BR

Last edited by BetterRed; 09-20-2019 at 08:54 PM.
BetterRed is online now   Reply With Quote
Old 09-21-2019, 03:12 AM   #12
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,679
Karma: 15356663
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by BetterRed View Post
Added : oops: I'm not sure it is OK, after changing code_view_font_family_standard to Arial in the ini file, when I looked at Preferences it was showing Courier.
Think of the Sigil Code View font preference as a kind of Schrödinger's cat. Changing the code_view_font_family_standard value definitely works, but if you open the Preferences dialog box to double-check the setting, Sigil will reset it to the default monospaced font.

Quote:
Originally Posted by DiapDealer View Post
Other than tradition and most coders' preferences, there's no functional reason that I know of (but I could be mistaken). Never really thought about it, I guess. I just assumed that like me, most coders would lose their minds using variable-width fonts for code/markup. *shrug*
I also prefer monospaced fonts for European languages, however, Courier New (and other monospaced fonts) usually don't render non-Latin text well and I often have to edit sigil.ini to select a non-monospaced font. Also, users with dyslexia apparently often use Comic Sans (a sans-serif font), if no special dyslexic font, e.g. OpenDyslexic is available.

How about adding a "Monospaced fonts only" check box below the Code View Standard Font drop-down box or removing the monospaced fonts filter altogether?
Doitsu is offline   Reply With Quote
Old 09-21-2019, 05:55 AM   #13
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,684
Karma: 12617198
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doitsu View Post
How about adding a "Monospaced fonts only" check box below the Code View Standard Font drop-down box or removing the monospaced fonts filter altogether?
I was going to make a similar suggestion, even edited a screen shot, but I put it aside after the oops - I'll attach it anyway

I ran a 50K word document through proselint today, and did the corrections in PageEdit, wasn't as tedious as I thought it might have been, I'll post a couple of 'suggestions' in the proselint thread.

I tried to dock the Validation results window on the right edge, but it didn't want to dock there, I could only get it to dock on the bottom edge. I had no trouble docking/undocking the Preview panel on the right edge - so I don't think its me.

BR
Attached Thumbnails
Click image for larger version

Name:	Sig Pref.jpg
Views:	30
Size:	78.4 KB
ID:	173597  

Last edited by BetterRed; 09-21-2019 at 06:05 AM.
BetterRed is online now   Reply With Quote
Old 09-21-2019, 06:46 AM   #14
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: 21,055
Karma: 115443362
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The validation results widget is definitely restricted to the top/bottom dock areas.
DiapDealer is offline   Reply With Quote
Old 09-21-2019, 04:27 PM   #15
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,684
Karma: 12617198
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Good to know it wasn't my ineptitude - but why?

BR
BetterRed is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugins Help grumbleskin Plugins 5 04-08-2017 07:21 PM
What PlugIns Might I want/need? ShelaghDB Calibre 4 11-07-2015 07:16 PM
Plugins junkml Plugins 32 06-19-2009 06:43 AM
Plugins? Mitchll Plugins 0 12-27-2008 02:36 PM


All times are GMT -4. The time now is 05:43 PM.


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