Longman Dictionary of Contemporary English 5th Edition(LDOCE) with emacs
- Install ftp.sra.co.jp/pub/misc/freepwing/freepwing-1.6.1.tar.bz2
- never install emerge app-text/freepwing
emerge app-emacs/lookup app-dicts/eblook cp /dvd/ldoce5.data /tmp/ cd /tmp wget http://www.geocities.jp/taka_depo/ldoce5-fpw-20120906.zip unzip ldoce5-fpw-20120906.zip cd ldoce5-fpw-20120906
nano ldoce5-fpw.conf
$ldoce5dir = "/tmp/ldoce5.data/"; ... $font = '/usr/share/fonts/corefonts/arial.ttf'; ... $sound_type = 0; # 0: disable, 1: sound(MP3)
fpwmake package
cp ldoce5-fpw.zip ~/Dicts/
cd ~/Dicts/
unzip ldoce5-fpw.zip
(require 'lookup) (autoload 'lookup "lookup" nil t) (autoload 'lookup-pattern "lookup" nil t) (global-set-key "\C-cL" 'lookup-pattern) ;(define-key ctl-x-map "l" 'lookup) (define-key ctl-x-map "y" 'lookup-region) (define-key ctl-x-map "\C-y" 'lookup-pattern) (setq lookup-search-agents '((ndeb ;"/usr/local/dict/epwing" "~/Dicts/LDOCE5" ) (ndspell)))
Reference
- http://practical-scheme.net/wiliki/wiliki.cgi?aka%3A%E8%BE%9E%E6%9B%B8%2F%E8%BE%9E%E5%85%B8
- http://www.math.s.chiba-u.ac.jp/~matsu/emacs/emacs21/lookup.html
- http://skalldan.wordpress.com/2011/06/13/emacs-%E3%81%A7-epwing/
- http://d.hatena.ne.jp/kuma-tetsu/20100208/1265575576
- http://miyazakikenji.wordpress.com/2013/05/30/ubuntu-%E3%81%AE-emacs-%E3%81%AB-lookup/comment-page-1/