Giter Club home page Giter Club logo

macdicconversion's Introduction

MacDicConversion

日本語

Convert macOS dictonary data to handy html.

How To

Basic

If you don't know what EBStudio is ...

  1. copy Body.data from somewhare to unzip/
  2. run convert.bat
    unzip/out/ contains bunch of html files. But it may need to be processed.
  3. cut unzip/out/ to convert/*/.
  4. copy DefaultStyle.css and Images/ (if exist) to convert/*/
  5. run MacDic2html.exe.
  6. You get out.html.

New dictionary

If you couldn't find matching folder in convert/ in Basic

  1. make a directory and name it dictionary/ (or whatever).
  2. copy MacDic2html.exe and unzip/out/ to dictionary/ from any of convert/*/.
  3. make DictionaryStyle.css in dictionary/.
  4. 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/

  1. go to #4 of Basic

EBStudio

If you use EBStudio ...

  1. copy Body.data from somewhare to unzip/
  2. run convert.bat
  3. cut unzip/out/ to convert/*/.
  4. copy DefaultStyle.css and Images/ (if exist) to convert/*/
  5. run convert.bat.
  6. you may need extra work. read readme.txt(Japanese) if exist.
  7. open EBStudio and convert!

Tools

Tools used

Caution

If you fork and operate, be very careful not to publish actual dictionary file by accident.

macdicconversion's People

Contributors

kurema avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

macdicconversion's Issues

Macos 12

Is batch file works with Macos 12?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.