in 2008-9, with the kind and patient help of meho_r, I managed to make a Lyx file that could be nicely printed in pdf.
The file, made on a Ubuntu OS, had a lot of Japanese, using XeTex with the Hiragino Mincho Pro W3 odt font, and the Memois class, which covered more than what I needed for.
These days I have been trying to print again the file on the newer version of Lyx, installed in a Windows 7 PC, but unfortunately I could not manage.
The preamble at the time was:
Code: Select all
\usepackage[cm-default]{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\defaultfontfeatures{Mapping=tex-text}
\fontspec{Times Ext Roman}
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}
\setmainfont{Times Ext Roman}
%\headstyles{dowding}
\headstyles{default}
\chapterstyle{crosshead}
\frenchspacing
\makeatother
\usepackage{babel}
\usepackage{xeCJK}
%\CJKlanguage{Japanese}
\setCJKmainfont{HiraMinPro-W3}
\usepackage{array}
I decided therefore to remove those parts, leaving only:
Code: Select all
\headstyles{default}
\chapterstyle{crosshead}
\frenchspacing
\makeatother
\usepackage{babel}
\usepackage{array}
I tried taking these parts off and I do get the pdf, but with no Japanese, instead the empty rectangles typical of the missing characters.
I believe it probably has some relation to the font settings but cannot figure out what it is. I also tried changing the name of the font Hiragino Mincho Pro W3 since the way it is called in Linux (the OS I was using at the time) HiraMinPro-W3, and the way it is called in Windows (the OS at the moment) is slightly different, but I could not manage and I am not sure I got the names right.