\documentclass{jarticle} \begin{document} % How to see the errors or unexpected result: % Uncomment the each line of \section macro and enable % preview-latex with C-c C-p C-d. Answer with n to "Cache preamble?" % question. Then the error or unexpected result described on its next % line will occur. % The chars 表, 予 and 能 contain 0x5c backslash in the shift jis encoding. %\section{表(1)} % error in process sentinel: Invalid regexp: "Unmatched ( or \\(" %\section{予{a}} % error in process sentinel: Invalid regexp: "Invalid content of \\{\\}" %\section{(能)} % error in process sentinel: Invalid regexp: "Unmatched ) or \\)" %\section{能\|} % No error, but the image covers the text only partially. %\section{あ} %表 % error in process sentinel: Invalid regexp: "Trailing backslash" % The char ー contains 0x5b [ in the shift jis encoding. %\section{アース} % error in process sentinel: Invalid regexp: "Unmatched [ or [^" % The char 型 contains 0x5e ^ in the shift jis encoding. %\section{型} % No error, but the text is misplaced far rightward to the image. \end{document} %%% Local Variables: %%% coding: japanese-shift-jis %%% mode: japanese-latex %%% TeX-master: t %%% TeX-engine: ptex %%% End: