comparison doc/interpreter/mk_doc_cache.m @ 10791:3140cb7a05a1

Add spellchecker scripts for Octave and run spellcheck of documentation interpreter/doccheck: New directory for spelling/grammar scripts. interpreter/doccheck/README: Instructions for using scripts. interpreter/doccheck/spellcheck: Script to spellcheck a Texinfo file. interpreter/doccheck/aspell.conf: GNU Aspell configuration file for Octave documentation. interpreter/doccheck/aspell-octave.en.pws: Private Aspell dictionary. interpreter/doccheck/add_to_aspell_dict: Script to add new Octave-specific words to private Aspell dictionary. interpreter/octave.texi: New @nospell macro which forces Aspell to ignore the word marked by the macro. interpreter/mk_doc_cache.m: Skip new @nospell macro when building doc_cache.
author Rik <octave@nomad.inbox5.com>
date Sat, 17 Jul 2010 19:53:01 -0700
parents 1506a17832c9
children c7475803e0c0
comparison
equal deleted inserted replaced
10790:01f1643dfbb1 10791:3140cb7a05a1
56 endif 56 endif
57 endfor 57 endfor
58 text = [text{:}, doc_delim]; 58 text = [text{:}, doc_delim];
59 59
60 text = regexprep (text, "@seealso *{([^}]*)}", "See also: $1."); 60 text = regexprep (text, "@seealso *{([^}]*)}", "See also: $1.");
61 text = regexprep (text, "@nospell *{([^}]*)}", "$1");
61 text = regexprep (text, "-\\*- texinfo -\\*-[ \t]*[\r\n]*", ""); 62 text = regexprep (text, "-\\*- texinfo -\\*-[ \t]*[\r\n]*", "");
62 text = regexprep (text, "@", "@@"); 63 text = regexprep (text, "@", "@@");
63 64
64 [fid, name, msg] = mkstemp ("octave_doc_XXXXXX", true); 65 [fid, name, msg] = mkstemp ("octave_doc_XXXXXX", true);
65 66