Spell Catcher offers an HTML Terms dictionary to allow to check the spelling of documents that contain both the text-to-be-checked and HTML tags. I'd like to set-up a similar dictionary for LaTeX typesetter source text, where I have tags such as "\chapter{chapter heading}" (without the quotes). Can I "teach" Spell Catcher to accept 1) a backslash "\” as part of a term in the corresponding dictionary, and 2) to break words at "{" and "}"?
Besides not accepting the backslash when entering terms in my new LeTeX disctionary (which actually would be a minor problem which I can work around, though), Spell Catcher comes up with terms not found such as "chapter{chapter" (using the above example).
Thanks.
LaTeX Terms (like HTML)
Started by sbr, Aug 30 2004 10:53 AM
4 replies to this topic
#1
Posted 30 August 2004 - 10:53 AM
#2
Posted 30 August 2004 - 08:15 PM
sbr, on Aug 30 2004, 11:53 AM, said:
Spell Catcher offers an HTML Terms dictionary to allow to check the spelling of documents that contain both the text-to-be-checked and HTML tags. I'd like to set-up a similar dictionary for LaTeX typesetter source text, where I have tags such as "\chapter{chapter heading}" (without the quotes). Can I "teach" Spell Catcher to accept 1) a backslash "\” as part of a term in the corresponding dictionary, and 2) to break words at "{" and "}"?
Besides not accepting the backslash when entering terms in my new LeTeX disctionary (which actually would be a minor problem which I can work around, though), Spell Catcher comes up with terms not found such as "chapter{chapter" (using the above example).
Thanks.
Besides not accepting the backslash when entering terms in my new LeTeX disctionary (which actually would be a minor problem which I can work around, though), Spell Catcher comes up with terms not found such as "chapter{chapter" (using the above example).
Thanks.
I'll make sure it's possible in 10.2 though - you aren't the first to request this.
#3
Posted 09 September 2004 - 11:02 PM
sbr, on Aug 30 2004, 11:53 AM, said:
<snip>
2) to break words at "{" and "}"?
2) to break words at "{" and "}"?
1. Probably best to choose a keyboard layout and Quit the Spell Catcher application. You probably don't have to log out, but you never know...
2. Open the com.rainmaker.SpellCatcher.plist file that's in your home ~/Library/Preferences directory (best if you have PropertyListEditor, but if you don't have Apple's developer tools installed TextEdit will generally do as well).
3. Find the "SCExtraWordSeparatorChars" key. It will normally have a string value of "<>=".
4. Modify this value to include the braces - so "<>={}".
5. Save the plist file, fire up Spell Catcher, see if that helps.
Let me know the results...
#4
Posted 11 September 2004 - 04:30 AM
That worked to get the words (text and LaTeX commands) properly separated. (I also added "[" and "]" as separators, used for options in LaTeX). Then, to build a dictionary with the LaTeX commands and terms was easy with Spell Catchers "learn" command, as will be adding new ones as I go. And it turns out that it's not a problem that I cannot enter the backslash "\" as part of the LaTeX terms (eg. with "\chapter"): if the command is a normal English term, such as "chapter," it will not be flagged as error anyway, and if it's not an English term, such as "emph," I just add it to my LaTeX dictionary.
Result: Spell Catcher works nicely for my LaTeX documents!
Thanks for your support.
Result: Spell Catcher works nicely for my LaTeX documents!
Thanks for your support.
#5
Posted 25 March 2010 - 09:14 AM
I’m interested in obtaining the same result: creating a personal LaTeX terms dictionary for spell Catcher X. Should I presume that this work around is suitable for the latest version of spell catcher X (10.3.4)?
Greetings
delos
Greetings
delos





