Convert macOS dictonary data to handy html.
If you don't know what EBStudio is ...
- copy
Body.data
from somewhare tounzip/
- run convert.bat
unzip/out/
contains bunch of html files. But it may need to be processed. - cut
unzip/out/
toconvert/*/
. - copy
DefaultStyle.css
andImages/
(if exist) toconvert/*/
- run
MacDic2html.exe
. - You get
out.html
.
If you couldn't find matching folder in convert/
in Basic
- make a directory and name it
dictionary/
(or whatever). - copy
MacDic2html.exe
andunzip/out/
todictionary/
from any ofconvert/*/
. - make
DictionaryStyle.css
indictionary/
. - edit
DictionaryStyle.css
.
it will typically be
span.hg{headWordGroup:true;}
span.hw{key:headword;}
span.hg span.hv{key:headword;}
It depends on html structure to convert, so check some files in /out/
- go to #4 of Basic
If you use EBStudio ...
- copy
Body.data
from somewhare tounzip/
- run convert.bat
- cut
unzip/out/
toconvert/*/
. - copy
DefaultStyle.css
andImages/
(if exist) toconvert/*/
- run
convert.bat
. - you may need extra work. read
readme.txt
(Japanese) if exist. - open EBStudio and convert!
Tools used
- MacDic2html
- table2image
- EBStudioUtf8ToolkitSharp aka FontDumpK
If you fork and operate, be very careful not to publish actual dictionary file by accident.