# Conflict between luatex-ja and fontspec [closed]

I am using LuaLaTeX to write my thesis, because LuaLaTeX has better compatibility. However, now I found that there seems to be conflict between the package luatex-ja (which provides neccessary CJK support) and the package fontspec. I think maybe it could be worked around, but I don't know how. Here is a mini example.

\documentclass{article}
\usepackage{luatexja-fontspec}
\setmainjfont{HanaMinA}
\newfontfamily\diacritics{FreeIdgSerif}
\newcommand\dc[1]{{\diacritics #1}}
\begin{document}
The diacritic symbol \dc{ḱe^^^^e548^^^^e535}  included in FreeIdgSerif has not been printed.
\end{document}


Compiling it, the following result will be printed out:

However, if I change to xelatex and use the package xeCJK:

\documentclass{article}
\usepackage{xeCJK}
%\usepackage{luatexja-fontspec}
%\setmainjfont{HanaMinA}
\newfontfamily\diacritics{FreeIdgSerif}
\newcommand\dc[1]{{\diacritics #1}}
\begin{document}
The diacritic symbol \dc{ḱe^^^^e548^^^^e535}  included in FreeIdgSerif has not been printed.
\end{document}


The correct result will be printed out like this:

So, there seems to be conflict between luatex-ja and fontspec. My question: how can I get the same result like with XeLaTeX? Any idea?

• Actually, the [][] have been inputted correctly. If I change them, I'm afraid that the source code would be not correct then. They are not shown on the website due to lack of the diacritic symbols in the browser, I think ... – insight Jan 28 '13 at 22:13
• They are U+1E31 U+0065 U+E548 U+E535, so a valid input would be ḱe^^^^e548^^^^e535. Where is it possible to see that font? – egreg Jan 28 '13 at 22:34
• Ok, I corrected the input. Thanks! These symbols are not available in usual fonts like times new roman. In FreeIdgSerif (a linguistic font) provided here, for example, the symbols are available. It is possible to see them, for example, in normal office programms, like libreoffice. The problem is that \newfontfamily of fontspec does not work with luatexj, seemingly because that it was somewhat redefined in luatexj. – insight Jan 28 '13 at 23:00
• luatexja has been updated in the meantime; does the new version work? – egreg Sep 7 '13 at 21:07
• This question appears to be off-topic because it is about a problem solved with a software update – egreg Oct 7 '13 at 22:38