-
Notifications
You must be signed in to change notification settings - Fork 10
EN:Installation
谢耳朵 edited this page Jan 27, 2026
·
4 revisions
English | 中文版
This page describes how to install the luatex-cn package.
Install using your TeX distribution's package manager:
# TeX Live (Windows/Linux)
tlmgr install luatex-cn
# MiKTeX
# Open MiKTeX Console → Packages → Search for luatex-cn
⚠️ Note: The CTAN version may lag behind GitHub. We recommend using GitHub Release.
-
Download: Go to GitHub Releases and download the latest
luatex-cn-tex-v*.zip -
Locate texmf directory:
-
Windows:
C:\Users\<username>\texmf -
macOS/Linux:
~/texmf
-
Windows:
-
Place files: Put the contents of
tex/into:texmf/tex/latex/luatex-cn/ -
Refresh database:
texhash
Place the contents of tex/ in the same directory as your .tex file and compile directly.
Create a test file test.tex:
\documentclass[四库全书]{ltc-guji}
\begin{document}
\begin{正文}
天地玄黄,宇宙洪荒。
\end{正文}
\end{document}Run:
lualatex test.texIf compilation succeeds, installation is complete.
- LuaTeX (TeX Live 2024+ recommended)
-
luaotfloadandfontspec
We recommend installing these fonts for best results:
- Noto Serif CJK SC (Source Han Serif)
- FangSong or KaiTi (for traditional book effects)
📜 LuaTeX-CN | Licensed under Apache License 2.0