I want to have one section of my work with whole Chinese with lualatex but the other sections are in English.
I found this question is very useful, How to use Chinese with lualatex?.
However, when I use the first answer in that question (copy code from the answer). I get a lot of errors with this pattern
Font \JT3/mc/m/n/10=IPAExMincho:jfm=ujisv at 9.62219pt not loadable: metric da
ta not found or bad.
The second answer is work but has the problem as Leo Liu mentioned. The line break is make no sense.
I also tried this solution from How does one type Chinese in LaTeX?
\documentclass{article}
\usepackage[UTF8]{ctex}
...
but I get font-not-fount, "SimHei" and "Kaiti"
Another solution I've tried is
\documentclass{article}
\usepackage{CJK}
\begin{document}
\begin{CJK}{UTF8}{gbsn}
你好
\end{CJK}
\end{document}
There is no problem with compilation but I get the empty pdf file. If I put some English characters, only English characters are shown.
How to solve this problem?
Thanks.
Edited: Many people suggested that this question might be the same as How to use Chinese with lualatex?. As I mentioned in the context, I get some errors from the solution in that question and it didn't work for me. So, my question here is to find another solution for typing Chinese in latex with lualatex which leads to no errors. I hope that someone can give me new solutions or how to avoid those errors in the context.
\fontspecto specify a different font if you have one that you know has the proper Chinese characters. – Ryan Mar 13 '17 at 15:08\usepackage[utf8]{inputenc}which I am not sure is it satisfy your first suggestion. For\fontspec, as I mentioned in the question, the line breaking is make no sense. – NaC Mar 13 '17 at 15:39Font \JT3/mc/m/n/10=IPAExMincho:jfm=ujisv at 9.62219pt not loadable. It works well on TeX Live 2016. – Leo Liu Mar 30 '17 at 02:58\usepackage{luatexja-fontspec}). – TeXnician Mar 30 '17 at 07:40