Code Monkey home page Code Monkey logo

babel-japanese's Introduction

babel-japanese

The package "babel-japanese" (or shortly, "japanese" package) provides japanese option for Babel package. It defines all the language definition macros in Japanese.

Currently this package works on pLaTeX, upLaTeX, XeLaTeX and LuaLaTeX.

Limitations

Note that this package is not perfect: the word order in Japanese is different from that in most Western languages including English, so the words like "Part" or "Chapter" cannot be replaced with Japanese counterpart. This limitation is due to the design of classes.dtx (article.cls etc), which has \chaptername in front of the numbering but no sequence behind the number.

The common Japanese classes including (u)jclasses in (u)pLaTeX, jsclasses, ltj(s)classes in LuaTeX-ja are well-supported.

Installation

  1. Process japanese.ins with some tex engine. For example, using lualatex:

     lualatex japanese.ins
    

When you use platex, give -kanji=utf8 option.

    platex -kanji=utf8 japanese.ins

You will get japanese.ldf (the main code) and japanese-sample.tex (sample document for pLaTeX).

  1. Process documentation, japanese.dtx and japanese-sample.tex, as you wish. japanese.dtx can be processed with pLaTeX, upLaTeX or LuaLaTeX. japanese-sample.tex is written for pLaTeX or LuaLaTeX.

If you use lualatex:

    lualatex japanese.dtx
    lualatex japanese-sample.tex

If you use platex:

    platex -kanji=utf8 japanese.dtx
    dvipdfmx japanese.dvi
    platex -kanji=utf8 japanese-sample.tex
    dvipdfmx japanese-sample.dvi
  1. Deploy the directory or files in an appropriate place under the TEXMF tree.

     * japanese.ldf
            => $TEXMF/tex/latex/japanese
     * japanese.dtx
            => $TEXMF/source/latex/japanese
     * japanese.pdf, japanese-sample.tex, japanese-sample.pdf
            => $TEXMF/doc/latex/japanese
    
  2. Execute mktexlsr.

Repository

The bundle is maintained on GitHub: https://github.com/texjporg/babel-japanese

If you have issues, please let us know from the above page.

License

Copyright (C) 1999-2007 by ING (Toru Inagaki) Copyright (C) 2016- by Japanese TeX Development Community

This package is free software that can be redistributed and/or modified under the terms of the LaTeX Project Public License 1.3.

Release Date

$RELEASEDATE

Japanese TeX Development Community

babel-japanese's People

Contributors

aminophen 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.