![]() |
#76 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You have to copy all three dictionary files together. You can't just toss the hyphen file in with the two pre-existing dictionary files (that came with Sigil). After unzipping the oxt file... copy the en_US.aff, en_US.dic and hyph_en_US.dic files (or en_GB.aff, en_GB.dic and hyph_en_GB.dic) to Sigil's dictionary directory.
Make sure not to mix and match with the older files. I still can't get it to work with the curly apostrophe and a user-added dictionary word though. But if the word is in the dictionary proper... everything behaves as I would expect it to. My emdashes are happy. Last edited by DiapDealer; 01-27-2012 at 10:36 AM. |
![]() |
![]() |
![]() |
#77 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 718
Karma: 1085610
Join Date: Mar 2009
Location: Bristol, England
Device: PRS-T1, 1825PT, Galaxy Tab, One X, TF700T, Aura HD, Nexus 7
|
Other than the suggestion that DiapDealer has given, I'm not sure what's happening with you ElMiko, all my hyphens and em-dashes are being correctly recognised.
With the files from LibreOffice. I did completely remove all of the previous files I attempted to use, deleted my user dictionary (luckily if only had a few words in it) and restarted Sigil before adding the new files. |
![]() |
![]() |
![]() |
#78 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618
Karma: 1164945
Join Date: Jan 2012
Location: SF Bay Area, California, USA
Device: iPhone 7+, iPad Mini4, Kindle Voyage
|
I tried to install this update today and received the following message:
Sigil-0.5.0-Windoes-x64-Setup.exe is unsafe to download and was blocked by SmartScreen Filter I has no such issue installing the previous version so have no idea is there truly is a problem with the file or not and how to proceed in either case. |
![]() |
![]() |
![]() |
#79 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#80 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 451
Karma: 65460
Join Date: Jun 2011
Device: Kindle
|
@ghosty & DD - thanks for your enthusiastic efforts. I've done all those things and it's still the same story. (And as DD noted, custom words also don't work). As I said, It's obviously an international conspiracy. Or there are Gremlins in my computer. Or both.
Anyway, it's not ideal but it's still way, way better than what it was before! EDIT: well it seems I uncovered the plot/found the gremlin -- when i was inserting em/en dashes (Alt+0151/0150), it was inserting some kind of hidden character (something like a blankspace). It just means going through and removing it via S/R. Again thanks guys for slogging it out with me. Last edited by ElMiko; 01-27-2012 at 05:31 PM. |
![]() |
![]() |
![]() |
#81 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
I gave up on 0.5, gone back to 0.4.2. Too many find/replace issues - apart from the ones already mentioned I had other scenarios like for instance a regex find expression which works in 0.4.2 did not work for me in 0.5:
<style type="text/css">.*</style> Maybe that is the new regex engine, but with a blank replace expression all that happens is the (existing 0.4.2 bug) of a blank line being inserted within the style section every time you click replace (and the style section *not* being replaced). Loaded the same book up in 0.4.2 with the exact same expression and it worked first time. It wasn't isolated - I had another major fail of Find All so my confidence is just lost with it. Fingers crossed for 0.5.1... ![]() |
![]() |
![]() |
![]() |
#82 |
Member
![]() Posts: 12
Karma: 10
Join Date: Aug 2009
Location: Australia
Device: Sony PRS-505; PRS-300; Kindle 3
|
Installaton problem
I seem to be having a problem installing 0.5 on my Ubuntu 11.10 64 bit system.
Code:
economix@economix-desktop:~$ cd Desktop/ economix@economix-desktop:~/Desktop$ chmod +x Sigil-0.5.0-Linux-x86_64-Setup.bin economix@economix-desktop:~/Desktop$ sudo ./Sigil-0.5.0-Linux-x86_64-Setup.bin [sudo] password for economix: This will install Sigil on your computer. Continue? [n/Y] Y Where do you want to install Sigil? [/opt/sigil] Installing Sigil... Extracting setup files... Error in action ExecuteAction Error in action InstallSelectedFiles couldn't execute "/tmp/ijtmp_84209F33-EC37-7AFC-88F6-CAB27A5AB209/installkit": permission denied while executing "open $cmd" (procedure "::InstallJammer::actions::InstallSelectedFiles" line 129) invoked from within "::InstallJammer::actions::$component $this" while executing "$obj execute" (procedure "::InstallJammer::ExecuteActions" line 69) invoked from within "::InstallJammer::ExecuteActions $action -parent $id -conditions $eval" (procedure "::InstallJammer::actions::ExecuteAction" line 35) invoked from within "::InstallJammer::actions::$component $this" while executing "$obj execute" (procedure "::InstallJammer::ExecuteActions" line 69) invoked from within "::InstallJammer::ExecuteActions Console" (procedure "::InstallJammer::InstallMain" line 11) invoked from within "::InstallJammer::InstallMain" (procedure "ThemeMain" line 2) invoked from within "ThemeMain " invoked from within "if {![info exists ::InstallJammer]} { ThemeMain }" (file "/installkitvfs/main2.tcl" line 28407) invoked from within "source [file join $::installkit::root main2.tcl]" (file "/installkitvfs/main.tcl" line 3) economix@economix-desktop:~/Desktop$ |
![]() |
![]() |
![]() |
#83 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#84 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Ahmad - thx for the link. So is it the case now that every time you want to do a multiline regex you have to put (?s) at the front of it? If so, that's... ummm, nasty.
The other find/replace operations I did of things like this: <p class="xxx"> </p>\s+<p class"xxx"> </p> worked without any (?s) so clearly I am missing something. Most of the regex operations I do in Sigil are multiline - in particular repairing broken paragraphs but also stripping repeated blank lines, replacing <br><br> separated text with proper paragraphs etc. However I also tend to rip out those horrific giant <style> sections with hundreds of lines of utterly pointless font declarations. Or <script> sections containing javascript from html conversions that early Sigil versions couldn't cope with. I'm not clear on when you need (?s) versus when you don't? |
![]() |
![]() |
![]() |
#85 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
IIUC, what (?s) does is make "." match anything including newlines.
So, this will work: <p class="xxx"> </p>\s+<p class"xxx"> but this won't work without (?s): <p class="xxx"> </p>.*<p class"xxx"> Quoting from http://perldoc.perl.org/5.8.9/perlrecharclass.html: Quote:
|
|
![]() |
![]() |
![]() |
#86 | ||
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#87 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 302
Karma: 185297
Join Date: Sep 2009
Location: Ankh Morpork
Device: calibre
|
My love / hate relationship over the years with Sigil is now getting to a hate / hate relationship.
Every so called 'update' has forced me to change my work process and I see very little in the way of useful features, split view horizontal is about the only positive thing I have found in this version. Search and replace is now docked at the bottom of the screen instead of floating, and wildcard search seems to have disappeared, Sigil still insists on adding unwanted sgc styles to text files and still adds dozens of blank lines between the <style type="text/css"> and /*<![CDATA[*/ lines in the head section and I still cannot delete multiple files in the book browser, all this in addition to the clunky method of moving around within files. To be honest I do not have time to relearn how to use Sigil every update and I will probably ditch it and go back to my manual method which I know how to do simply, Sigil did seem promising as a streamlined, one stop solution but it is not worth the hassle. As user_none is not interested in Linux he will not miss me. |
![]() |
![]() |
![]() |
#88 | |||||
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||
![]() |
![]() |
![]() |
#89 |
Calibre Plugins Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,729
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Ahmad/John - thx for the further clarification. I guess I just preferred the simplicity of the "old" regex engine - I like quick, fast editing, not faffing learning more regex syntax that is crippling to type repeatedly. Any chance of what I have seen often done with other regex dialogs of a "multiline" checkbox for those of us happy to do things the way we always did?
@Weedfreak - I feel your pain and concur with some of your points (not having a separate Find dialog wouldn't bother me, if functionally the replacement was complete). I'll email John with my thoughts rather than publicly here, so he doesn't have to worry about publicly slapping me for the ones he disagrees with ![]() |
![]() |
![]() |
![]() |
#90 | |||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 302
Karma: 185297
Join Date: Sep 2009
Location: Ankh Morpork
Device: calibre
|
Quote:
Quote:
Quote:
Last edited by Jellby; 01-28-2012 at 08:12 AM. Reason: Fixed markup |
|||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KINDLE DEAL: Released: A Story of God’s Power Released in Pro Baseball ($ | gospelebooks | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 07-14-2011 09:12 PM |
calibre 0.6.0 released! | kovidgoyal | News | 86 | 08-12-2009 04:57 PM |
2.7.1 released | design256 | iRex | 8 | 10-25-2006 10:19 AM |
Debian 3.1 Released | Chaos | Lounge | 3 | 06-08-2005 09:01 AM |