On Sat, Oct 31, 2009 at 1:40 AM, Bruno Voisin <span dir="ltr"><<a href="mailto:bvoisin@me.com">bvoisin@me.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Does this mean hunspell can now be installed and work with TeXworks on the Mac? I thought that was still on the TODO list for the future.<br>
<br>
Or do you mean hunspell must be installed separately using Fink or Mac Ports?<br>
<br>
Last question: this is all separate from CocoAspell, I imagine? Too bad, as CocoAspell integration within OS X (as a system preference panel fully configurable via a GUI and usable by any Mac application) is really top-of-the-range.<br>
<font color="#888888">
<br>
Bruno Voisin<br>
<br>
</font></blockquote></div><br><div>Yes-- I built hunspell from source and compiled TeXworks against it. It was a little tricky for to force a i386 build on Snow Leopard as lots of things like to default to x86_64 no matter what you set for --arch in CFLAGS or CPPFLAGS. I had to resort to dirty tricks such as setting the architecture in the name of the compiler:</div>
<div><br></div><div> CXX='g++ --arch i386'</div><div><br></div><div>I would imagine that Fink or MacPorts could provide a ready-made library-- also I think the Mac binaries available from the TeXworks project site include a version of hunspell.</div>
<div><br></div><div><br></div><div>As for a different spell checking system-- I recently stumbled across the Enchant library:</div><div><br></div><div> <a href="http://www.abisource.com/projects/enchant/">http://www.abisource.com/projects/enchant/</a></div>
<div><br></div><div>It looks like a spell checking library that can use multiple back ends-- such as Aspell or Apple's spell checking system. It would be interesting to see if the spell checker in TeXworks could be rebased on Enchant.</div>
<div><br></div><div>I personally have zero time for hacking projects at the moment but maybe I will be able check it out in a few months.</div><div><br></div><div>-Charlie</div>