Giter VIP home page Giter VIP logo

bezierinfo-2's Introduction

BezierInfo-2

Dev repository for https://Pomax.github.io/bezierinfo

Working on the code

  • To run this dev version: npm start, then view in the browser on http://localhost:8080
  • To compile for production: npm run build.

Both operations run continuous linting. Also note that there are specific requirements for development, see the section on dev requirements below.

Dev location

Dev requirements

Fonts required for proper LaTeX typesetting

  • en-GB LaTeX fonts: TeX Gyre Pagella and TeX Gyre Pagella Math fonts (installable through TeXLive and MiKTeX)
  • ja-JP LaTeX font: IPAex Mincho (installable through TeXLive and MiKTeX)
  • zh-CN LaTeX font: Arhpic gbsn (installable through TeXLive and MiKTeX)

All fonts come with TeXLive and MiKTeX, and should be easy to install. Note that you will need the modern OpenType (otf/ttf) fonts, not the obsolete type1 fonts.

Running a build

As mentioned up top, run a build using npm run build.

If you have all the prerequisites installed, this should "just work", although I can't make any guarantees on how long it will take: on my rather beefy workstation it takes around 85 seconds to run a build for all locales (en-GB, zh-CN, and ja-JP) when there are no new SVG images to generate.

Main site location

Localization

Interested in (helping with) localizing the Primer to your own language? That's awesome! Please read the instructions on how to start localizing and please file issues if anything is unclear.

Additional information

Interested in the actual architecture and tech stack? Read the blog post on how Webpack's sync processing and MathJAx's async processing were made to work together:

http://pomax.github.io/1451617530567/react-with-latex-without-needing-client-side-mathjax

And read about the tech choices made to enable localization in:

http://pomax.github.io/1489108158510/localization-is-hard

bezierinfo-2's People

Contributors

caryoscelus avatar dpt avatar gabyx avatar hite avatar hpmachining avatar hrldcpr avatar koshroy avatar krofna avatar lbebber avatar mashabow avatar mstange avatar pomax avatar s-w avatar saniul avatar ssteve avatar tearsofphoenix avatar

Watchers

 avatar  avatar

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.