[texhax] CJK: Chinese and Polish characters in one document

Zygmunt Flisak zgf at uni.opole.pl
Thu Dec 12 15:50:05 CET 2013


Dear All,

I am struggling to have both Polish and Chinese characters in one document (Mac OS X 10.6.8). This is the example of my *.tex file:

\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{polski}
\usepackage[polish]{babel}
\usepackage{CJK}

\begin{document}

%[Here Polish text]

\begin{CJK}{UTF8}{gbsn}
%[Here Chinese text]
\end{CJK}

%[Here Polish text again]

\end{document}

Both the first instance of the Polish text and the Chinese characters are displayed correctly. However, in the second instance, the Polish fonts are broken. What am I doing wrong?

Best regards,
Zygmunt Flisak




More information about the texhax mailing list