![xunicode&xeCJK TeX の容量を超えました。申し訳ありません [入力スタック サイズ = 5000]。\begin{document}](https://rvso.com/image/410317/xunicode%26xeCJK%20TeX%20%E3%81%AE%E5%AE%B9%E9%87%8F%E3%82%92%E8%B6%85%E3%81%88%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%E7%94%B3%E3%81%97%E8%A8%B3%E3%81%82%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%20%5B%E5%85%A5%E5%8A%9B%E3%82%B9%E3%82%BF%E3%83%83%E3%82%AF%20%E3%82%B5%E3%82%A4%E3%82%BA%20%3D%205000%5D%E3%80%82%5Cbegin%7Bdocument%7D.png)
moderncv で中国語の履歴書を作成していますが、問題が発生しています。午後中ずっと解決策を探していましたが、うまくいきませんでした。Win10 で texlive2019 を使用しています。助けてください。よろしくお願いします。
\documentclass[14pt,a4paper]{moderncv}
\usepackage{xunicode}
\usepackage{xeCJK}
\name 啊啊
\begin{document}
啊啊啊
\end{document}
さらに、次のような警告もいくつか表示されました。
Unknown slot number of character(microtype) `\`A'(microtype) in font encoding `TU' in inheritance list(microtype) `microtype.cfg/376(protrusion)'.
Unknown slot number of character(microtype) `\'A'(microtype) in font encoding `TU' in inheritance list(microtype) `microtype.cfg/376(protrusion)'.
Unknown slot number of character(microtype) `\^A'(microtype) in font encoding `TU' in inheritance list(microtype) `microtype.cfg/376(protrusion)'.
これは xunicode または xeCJK の問題だと思います。また、マイクロタイプが更新されていることを確認します。
overleaf.comでは動作しませんでした。
更新: xunicode を使用しない場合は動作します。ただし、ドキュメントで itemize を使用すると、別の問題が発生します。
\documentclass[14pt,a4paper]{moderncv}
\moderncvstyle{classic}
\usepackage{xeCJK}
\name {啊}{}
\begin{document}
\section{}
\cventry{}{}{}{}{}{
\begin{itemize}
\item 啊
\end{itemize}}
\end{document}
そして、次のような情報が得られます。
name = umvs, rootname = umvs, pointsize = mktexmf: empty or non-existent rootfile!
Cannot find font umvs in map file(s).
kpathsea: Running mktexmf umvs.mf The command name is C:\texlive\2018\bin\win32\mktexmf Cannot find umvs.mf . I try ps2pk --> gsftopk --> ttf2pk --> hbf2gf. ps2pk cannot be used. I try gsftopk. gsftopk.exe umvs 600 gsftopk cannot be used. Next I try ttf2pk. ttf2pk.exe -q umvs 600 ttf2pk failed. Finally I try hbf2gf. hbf2gf.exe -q -p umvs 600 All trials failed. kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 umvs The command name is C:\texlive\2018\bin\win32\mktexpk kpathsea: Appending font creation commands to missfont.log. xdvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output... No output PDF file written.
答え1
xunicode パッケージは使用しないでください。現在は廃止されています。
これはコンパイルされます (ただし、名前を正しく設定する方法がわかりません)。
\documentclass[14pt,a4paper]{moderncv}
\usepackage{xeCJK}
\name{啊啊}{}
\begin{document}
啊啊啊
\end{document}