Hello,I am trying, somewhat in vain, to create a nice vertical typeset document in Japanese and English using XeTeX and xCJK. I am having the darnedest time trying to do this. I guess it adds complication that I want add Hiragana ruby elements. I am using Palatino Linotype for the English and Kozuka Gothic Pr6N M for the Japanese. I tried to adapt some of the methods in the provided CJK examples with some of those in the fontspec handbook, but I am failing miserably. For starters, the punctuation is all messed up. Also, ruby doesn't seem to work quite right. I've attached a sample that I have been working on before I actually write the real thing. BTW, shouldn't xCJK be updated to automatically use the +ruby feature of fonts if ruby is used and Style=VerticalKana when CJKvert is used?
Cheers, Nicholas
\documentclass[notitlepage]{article}
\usepackage[english]{babel}%
\usepackage{graphicx}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage[CJK, overlap]{ruby}
\usepackage[boldfont,slantfont]{xCJK}
\usepackage{CJKulem}
\usepackage{CJKvert}
\usepackage[letterpaper,dvipdfm]{geometry}
\setmainfont[Mapping=tex-text]{Palatino Linotype}
\setCJKmainfont{Kozuka Mincho Pr6N}
\setCJKfamilyfont{Japanese}{Kozuka Mincho Pr6N}
\renewcommand{\rubysep}{-0.3ex}
\begin{document}
\begin{CJK*}{UTF8}{song}
\rotatebox[origin=c]{-90}{
\begin{minipage}[c]{8cm}
\CJKfamily{Japanese}
\addfontfeature{Style=VerticalKana}
\addfontfeature{CJKShape=Expert}
\CJKvert
ãã®~FAQ~ãªã¹ãã¯ããããã質åã¨ãã®çãéããå½¹ã«ç«ã¤ããã«ãããã®ã§ãã
\uline{ãã®~FAQ~ãªã¹ãã®æ§é ã¯ã以åã®ãã®ã¨æ¯ã¹ã¦å¤§å¹
ã«å¤æ´ããã¦ãã¾ãã}
\textbf{\ruby{æ°}{\addfontfeature{Style={Ruby}}ããã}ããæ§é ã«é¢ãã¦ã¯ãï¹ãã®ã®èªã¿æ¹ã¨ãã®æ§é ï¹ã®é
ç®ã}
\textbf{\ruby{å}{\addfontfeature{Style={Ruby}}ãã}\ruby{ç
§}{\addfontfeature{Style={Ruby}}ããã}ãã¦ä¸ããã}
\end{minipage}
}
\end{CJK*}
\end{document}
article2.pdf
Description: Adobe PDF document
_______________________________________________ Cjk maillist - [email protected] https://lists.ffii.org/mailman/listinfo/cjk
