Installation
------------
-0. Please make sure that your TeX distribution is up-to-date.
- Needed (additional) packages are:
- - xunicode.sty v0.981
- - filehook.sty
+0. Please make sure that your TeX distribution is up-to-date.
+ LuaTeX-ja (luatexja-fontspec.sty) requires xunicode.sty v0.981.
1. If you use TeX Live 2011 or later, you can install LuaTeX-ja via tlmgr.
2. If you must/want to install manually:
a. Download the source archive from CTAN, or HEAD in the Git repository by
;a=snapshot;h=HEAD;sf=tgz>
b. Extract the archive and put src/ into your TEXMF tree.
An example location is TEXMF/tex/luatex/luatexja.
- c. Files in src/no_runtime/ are not used in the regular use,
+ c. Files in src/no_runtime/ are not used in the regular use,
so you can remove them.
d. You may need to update the filename database, by 'mktexlsr' or something.
LuaTeX-ja supports both the plain format and LaTeX2e.
Simply loading luatexja.sty by \input or \usepackage does the minimal setting.
-- If you want to create Japanese-based documents, you can consider the use of
+- If you want to create Japanese-based documents, you can consider the use of
ltj{article,book,report}.cls or ltjs{article,book}.cls.
- If you want to use the fontspec package, please load luatexja-fontspec.sty.
- It defines control sequences such as \setmainjfont, setsansjfont and
+ It defines control sequences such as \setmainjfont, setsansjfont and
\jfontspec, which can be used for specifying Japanese fonts.
-
\item \LuaTeX-ja のソースアーカイブ(もちろん \texttt{:)}).
%</ja>
%<*en>
-\item The \Pkg{filehook} package.
-%</en>
-%<*ja>
-\item \Pkg{filehook} パッケージ.
-%</ja>
-%<*en>
\item The \Pkg{xunicode} package, which version is \emph{just v0.981 (2011/09/09)}.\\
If you have the \Pkg{fontspec} package, this \Pkg{xunicode} package must be exist.
But be careful about the version; other versions may not work correctly with \LuaTeX-ja.
%<*en>
\item Copy all the contents of \texttt{src/} into one of your \texttt{TEXMF} tree.
- \texttt{TEXMF/tex/luatex/luatexja/} is an example location.
+ \texttt{TEXMF/tex/luatex/luatexja/} is an example location.
If you cloned entire Git repository, making a symbolic link of \texttt{src/}
instead copying is also good.
%</en>