02-14-2012, 07:18 AM | #1 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Smart Quotes
Hi everybody,
I know this is an older issue, but I thought I would share what I have found - hopefully not covering old ground. I am using the UK English Dictionary from Sigil, and like a number of others found that even after adding a word to the dictionary, smart quotes still had a red line under them. (Tried adding hyph_en_GB.dic - didn't solve the issue) However if you replace the smart quote with a straight quote (Don’t / Don't) then add to the dictionary it will be accepted. Then undo until the smart quote reappears and I found the red underline had gone and any future occurance of the selected word either with a smart quote or straight quote was recognised. Hope this helps? |
02-14-2012, 10:05 AM | #2 |
Connoisseur
Posts: 54
Karma: 37363
Join Date: Aug 2011
Location: Istanbul
Device: EBW1150, Nook STR
|
@Paxman53: Or you can try converting the words with smart quotes in the user dictionary(not the ones in your document) to straight quotes. You can do that either one by one in Sigil, or you can run a replace all operation with your favorite text editor in the user_dict.txt file.
|
02-14-2012, 10:18 AM | #3 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
02-14-2012, 10:23 AM | #4 |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
|
02-14-2012, 10:42 AM | #5 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Quote:
My dictionary location is currently: C:\Users\name\AppData\Local\Strahinja Markovic\Sigil\dictionaries I copy dictionaries into that as I cannot seem to get Sigil to look anywhere else. I have tried deleting this folder but it just re-instates itself. I think it should it be: C:\Program Files (x86)\Sigil\dictionaries And if so how do I point it in the right direction? |
|
02-14-2012, 10:45 AM | #6 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Hmmm. I certainly don't have to jump through any special hoops for Sigil to recognize curly quotes... and I don't have any quote characters (straight or curly) added to my user dictionary. I just tested using both the US and GB dictionaries.
What version of Sigil are you using? EDIT: The appdata location is for user-supplied dictionaries and the program file location is for the dictionaries that come with Sigil. But Sigil will recognize the dictionary (all three files) that you place in the Program Files location just as easily. What I don't know is what would happen if there were different versions of the same dictionary in both locations. Which might be what you have going on. Last edited by DiapDealer; 02-14-2012 at 11:00 AM. |
02-14-2012, 11:27 AM | #7 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Quote:
All I have in current location is: en_GB.aff en_GB.dic hyph_en_GB.dic user_dict These taken from Sigil Dictionary File - C:\Program Files (x86)\Sigil\dictionaries The Sigil dictionary file still has all the dictionary files in it fr, de, es, en-US, en-GB + the hyph files. I still get the odd word with quotes that the dictionary doesn't recognise |
|
02-14-2012, 11:45 AM | #8 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
If you have the newest versions of en_GB.aff, en_GB.dic, and hyph_en_GB.dic in the C:\Program Files (x86)\Sigil\dictionaries location, then you simply don't need them in the the AppData location. Get them out of there (leave the "user_dict.txt" file all by itself). The only quote issue I run into is when a word that doesn't exist in the built-in dictionary has an apostrophe (closing single curly quote ) in it. Spell-check won't recognize that single-quote/apostrophe even after I add the word to the user dictionary. Last edited by DiapDealer; 02-14-2012 at 11:47 AM. |
|
02-14-2012, 01:59 PM | #9 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Quote:
However to answer your point the files in the AppData are a direct copy of the most recent Sigil dictionary file. As per my first message your quote issue is resolved by changing it to a straight quote adding it to the built-in dictionary and then undoing your changes backs to a curly quote. |
|
02-14-2012, 02:13 PM | #10 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Edit->Preferences->Spell Check. The Dictionary combo box (top of the window) should list any valid dictionaries that are in the Appdata user folder AND in the Program Files System Folder. There should be no need to have the same ones in two different places. Perhaps you should do full uninstall (deleting the local user data, Program Files stuff and removing all registry entries) and then reinstall. Did you ever have one of the 0.4.9xx beta versions installed? Last edited by DiapDealer; 02-14-2012 at 02:19 PM. |
|
02-14-2012, 06:38 PM | #11 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Quote:
I have also done full uninstall as well no change - As soon As I re-install the Appdata folder reappears. |
|
02-14-2012, 09:09 PM | #12 | ||
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Quote:
Last edited by DiapDealer; 02-14-2012 at 09:11 PM. |
||
02-15-2012, 03:08 AM | #13 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Quote:
|
|
02-15-2012, 03:38 AM | #14 | |
Connoisseur
Posts: 55
Karma: 10
Join Date: Jan 2011
Device: 7" Tablet - Aldiko Reader Premium
|
Quote:
Test ran a file putting underlined words in user-dict. Checked Appdata folder - only user-dict in there. I misunderstood earlier threads thinking I had to copy desired dictionaries into Appdata folder. Now only the user-dict is in there - albeit starting from scratch again. Everything is now working fine. Many thanks for your help/advice and of course your patience Everything seems to be working fine now |
|
02-15-2012, 08:25 PM | #15 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
The user dictionaries take precedence. If you have a dictionary in your user dictionary directory with the same name as a dictionary (filename) in the install directory the user will be used.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preserving smart quotes | petkusj | Writers' Corner | 3 | 05-10-2011 02:49 AM |
Calibre and Smart Quotes | salasnet | Calibre | 9 | 09-27-2010 04:32 AM |
Smart Quotes | Toxaris | ePub | 2 | 05-31-2010 10:32 AM |
Removing smart quotes | horseyride | Workshop | 8 | 03-06-2008 12:08 PM |
Smart quotes in RTF? | ogghead | Sony Reader | 8 | 01-23-2007 06:38 PM |