Hi, I'm the maintainer of the spelling package for LuaTeX, <URL:https://github.com/sh2d/spelling>, which can highlight spelling errors in LuaTeX's PDF output. The package writes a text file containing most of the text of the TeX document and relies on an external spell-checking application to check that text file and to write out a plain list of words with incorrect spelling to a file. That file, in turn, is read-in in the next LuaTeX run and spelling errors are then highlighted (currently by colour only, but underlining is on the agenda).
Hunspell and Aspell provide command-line options/commands to write plain lists of bad words (-l and list). On Windows, installing spell-checkers and dictionaries can be a major pain. Getting LanguageTool up and running, on the other hand, is rather trivial. So, I think using LanguageTool as a spell-checker could considerably lower the barrier for Windows users. To get LanguageTool and the spelling package together, I have the following requests/questions: 1. I noticed that LanguageTool provides an option -u to 'print a summary of words from the input that LanguageTool doesn't know.' Great! Unfortunately, the list format is rather non-standard. Hunspell and Aspell write the list as one word per line and I wouldn't like to support a variety of list formats in the spelling package. Could you please provide a way (a command-line option) so that LanguageTool writes the list of misspelled words as one word per line? 2. Is there a way to use LanguageTool as a spell-checker only on the command-line? So that messages about grammar errors etc. don't get in the way of the list of misspelled words? Side note: I am considering parsing LanguageTool's XML output and emphasizing other errors then misspellings, too. In one way that would solve the issue. But that required a very, very much more elaborated machinery in the spelling package to keep track of the current character positions in the text file. Highlighting and text file writing (paragraph breaking) are currently completely decoupled. Unfortunately, due to time constraints, development of the spelling package is currently stalled, so I won't get to XML support any time soon. :/ Best regards, Stephan Hennig ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel