diff options
| author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-08-09 23:14:41 +0000 |
|---|---|---|
| committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-08-09 23:14:41 +0000 |
| commit | 35c1df9cd5a587aec4f5d0a059f48ca4c40baa2a (patch) | |
| tree | a9feb272a3168532ef36dcf98b40e5cd507cbd62 | |
| parent | 55f4bf9dfd21b3cfb6cb933a9b16dfc099b7b90a (diff) | |
| download | rockbox-35c1df9cd5a587aec4f5d0a059f48ca4c40baa2a.zip rockbox-35c1df9cd5a587aec4f5d0a059f48ca4c40baa2a.tar.gz rockbox-35c1df9cd5a587aec4f5d0a059f48ca4c40baa2a.tar.bz2 rockbox-35c1df9cd5a587aec4f5d0a059f48ca4c40baa2a.tar.xz | |
Update spellcheck script.
- Fix wrong argument list for screenshot macro
- Add some more macros to the ignore list.
- Ignore tex files in platforms/
- Add a user wordlist with common Rockbox terms.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30276 a1c6a512-1295-4272-9138-f99709370657
| -rwxr-xr-x | manual/spellcheck.sh | 9 | ||||
| -rw-r--r-- | manual/spelldict.pws | 26 |
2 files changed, 32 insertions, 3 deletions
diff --git a/manual/spellcheck.sh b/manual/spellcheck.sh index 4808192..d869800 100755 --- a/manual/spellcheck.sh +++ b/manual/spellcheck.sh @@ -13,18 +13,21 @@ # This will invoke aspell interactively. MANDIR=$(dirname $0) +PERSONALDICT=$MANDIR/spelldict.pws if [ $# -gt 0 ]; then TEX_FILES="$1" else - TEX_FILES=$(find "$MANDIR" -name "*.tex" | sed -e "s/\S*preamble.tex//") + TEX_FILES=$(find "$MANDIR" -name "*.tex" | sed -e "s/\S*preamble.tex//;/platform\//d;") fi for file in $TEX_FILES; do aspell -t -l en_UK-ise --add-tex-command="opt pp" \ - --add-tex-command="nopt pp" --add-tex-command="screenshot ppo" \ + --add-tex-command="nopt pp" --add-tex-command="screenshot ppp" \ --add-tex-command="reference p" --add-tex-command="fname p" \ --add-tex-command="wikilink p" --add-tex-command="IfFileExists p" \ --add-tex-command="newcommand pp" --add-tex-command="renewcommand pp" \ - --add-tex-command="download p" \ + --add-tex-command="download p" --add-tex-command="begin ppp" \ + --add-tex-command="config p" \ + --personal=$PERSONALDICT \ -c $file done diff --git a/manual/spelldict.pws b/manual/spelldict.pws new file mode 100644 index 0000000..c1c301e --- /dev/null +++ b/manual/spelldict.pws @@ -0,0 +1,26 @@ +personal_ws-1.1 en 25 +Gapless +Rockbox +Codecs +Viewports +wiki +JPEG +filename +kbps +Lossless +Quickscreen +playlist +cuesheet +Plugins +ASF +FLAC +NES +realtime +Vorbis +Lossy +AAC +codec +viewport +plugin +WPS +metadata |