01-26-2012, 10:57 AM | #46 | ||
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
|
Quote:
Quote:
The dictionary I was using is unicode compatible, but to make the spellchecker recognise the curly quotes, em-dashes, etc, you also need the GB English hyphen .dic file. For some reason it wasn't in the file I downloaded so I went to the LibreOffice site and downloaded their latest English language .oxt file and extracted the following files: en_GB.aff, en_GB.dic and hyph_en_GB.dic. After installing all three of them into Sigil's dictionary folder, they now seem to be working correctly. |
||
01-26-2012, 12:05 PM | #47 |
Addict
Posts: 302
Karma: 185297
Join Date: Sep 2009
Location: Ankh Morpork
Device: calibre
|
Due to a hardware problem I just re installed my Linux 64 box and just in time for the 'fun' of getting all my stuff back as I want it I saw there was a new version of Sigil.
Download and install seemed to go as expected, Sigil folder in /opt and a menu entry to start it, but that does nothing. So try CLI so I can get some feedback, initial error message is sigil: command not found. Running ./sigil.sh from within /opt/sigil folder produces error /opt/sigil/./sigil: error while loading shared libraries: libaudio.so.2: cannot open shared object file: No such file or directory . So I have obviously not got a required library, but where do I get it from? Searching repositories does not help and searching online sends me to a very iffy site for downloading babylon translation software, I certainly do not want that. |
Advert | |
|
01-26-2012, 12:21 PM | #48 | |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
|
|
01-26-2012, 12:22 PM | #49 | |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Quote:
|
|
01-26-2012, 12:44 PM | #50 |
Colonel Mustard
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
|
Thanks a lot for the info. I don't really understand why a global find/replace acts like that, but knowing this will surely help me do the job correctly. I was getting quite confused and didn't think about the cursor placement.
|
Advert | |
|
01-26-2012, 12:52 PM | #51 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
If you go to code view and do a replace all then cursor placement is not considered - it replaces from the top to bottom, and across all files. If you don't think this is the case, try a small test ( and if it doesn't work in your test please post details! )
Its possible that your replacement modifed some text that still matches after the replacement - replacement only goes through the document once. |
01-26-2012, 01:26 PM | #52 |
Colonel Mustard
Posts: 90
Karma: 1426
Join Date: Feb 2010
Location: Montreal
Device: iPhone 6, Kindle Paperwhite 2, iPad 2
|
Well, as I was trying to explain here, sometimes replace all doesn't find occurences of said string on the open file, I mean the file open when I launch fhe global find/replace. I see it. I re-launch the find/replace and it doesn't find anything, even if I can see the string with my eyes. But when I switch and open another file (in the same ePub I mean), I repeat the exact same find/replace and it finds the occurences it didn't find a second ago.
I don't know how to replicate this, I will try to note what I did exactly next time it happens, but it doesn't seem like a very stable problem. And I seem to be the only one with the problem, so I'm more than willing to admit that I'm doing something wrong but I just can't see what. But first, I will try anyway, as Serpentine suggested, to always put the cursor at the start of the file and see if the problem still occurs. |
01-26-2012, 02:59 PM | #53 | |
Zealot
Posts: 114
Karma: 5246
Join Date: Jul 2010
Device: none
|
Quote:
Code:
ldd libQtGui.so.4 | grep audio ldd: warning: you do not have execution permission for `./libQtGui.so.4' libaudio.so.2 => /usr/lib/libaudio.so.2 (0x00dee000) |
|
01-26-2012, 03:28 PM | #54 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
A suggestion for the Find/Replace - any chance the tab order could be changed, so that when you hit tab from the Find box you are taken to the Replace box? That is the "convention" in every other Find/Replace dialog I can think of (and previous Sigil), hitting tab 3 times to get through buttons is ummm... undesirable
|
01-26-2012, 03:41 PM | #55 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Just had a Sigil crash. Opened an ePub, opened a page in code view, selected some text to do a Find/Replace, typed my replace expression, clicked All and it said replaced 17 occurrences. Opened a different page in code view to find to my surprise that Replace All didn't actually Replace All, and had left an occurrence (so that is one bug).
Thinking to try to replicate it, I chose File->epub name to discard my previous changes. Without opening any pages (just the default titlepage open) clicked on "All" and this time it said it replaced 18 occurrences. Hmmm. So wondering if something about my selection/sequences of page open makes a difference, I again chose File->epub name. However as soon as I clicked on Discard, Sigil died with the "Sigil has stopped working". This is Sigil 64-bit on Win 7. Haven't been able to replicate either problem since in several attempts - looks like intermittent hard to reproduce issues are with us for a while longer sadly... |
01-26-2012, 04:07 PM | #56 |
Evangelist
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
Did you make sure that your cursor was positioned at the start of the code view - matches are now dependent on the location of it... and I still have no idea why you'd want that for doing any 'all' type thing. That and the result numbers being hidden after a while... for some unknown reason.
|
01-26-2012, 04:19 PM | #57 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@Serpentine - not explicitly that I can recall - I think I opened the file, switched to code view, selected the text, hit Ctrl+F, replaces the spaces with \s+ (it was multiline expression), hit Tab, found I wasn't on Replace so came on here to whine about that , flicked back to Sigil, put the replace expression I wanted (of blank), and clicked All (and it "didn't"). Yet repeating those same steps since then it is working, so there must have been some other random click I now can't remember...
|
01-26-2012, 04:30 PM | #58 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Hmmm... is there a keyboard shortcut for Replace All - I can't see one...? I used to be able to hit Alt+A on the old dialog, now it seems you are forced to use multiple tabs or the mouse?
|
01-26-2012, 05:10 PM | #59 | |
Addict
Posts: 302
Karma: 185297
Join Date: Sep 2009
Location: Ankh Morpork
Device: calibre
|
Quote:
Internet search shows no such deb package as nas-libs. Only links to download other unwanted crap. Why can Sigil not produce a proper installer (deb and rpm) that resolves dependencies? |
|
01-26-2012, 05:23 PM | #60 |
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
|
|
|
Similar Threads | ||||
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 |