Fonts & Character SetsWriting in Chinese

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
thatwasafreebie
Posts: 1
Joined: Mon Aug 01, 2011 2:44 am

Writing in Chinese

Post by thatwasafreebie »

I'm running MikTeX 2.8 on Windows 7 and I'm trying to input some Chinese characters into my Latex document. My file currently looks like this:

Code: Select all

\documentclass{article}
\usepackage{CJKutf8}

\begin{document}
Who are you?
\begin{CJK}{UTF8}{bsmi}你是誰?\end{CJK}
\end{document}
But when I run that I get this:

Code: Select all

Trying to make PK font bsmiuff at 600 DPI...
Running miktex-makemf.exe...
miktex-makemf: The bsmiuff source file could not be found.

Running ttf2pk.exe...
miktex-makepk: PK font bsmiuff could not be created.
 )
!pdfTeX error: miktex-pdftex (file bsmiuff): Font bsmiuff at 600 not found
 ==> Fatal error occurred, no output PDF file produced!
I've been trouble shooting for a couple hours scouring multiple boards and such and
haven't found much to solve this problem

Thanks in adavance

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
justdeath
Posts: 69
Joined: Mon Sep 05, 2011 10:27 am

Writing in Chinese

Post by justdeath »

It works. I am using TeX Live 2011 on Windows XP.

Created new file in Notepad++ with UTF-8 (without BOM) and copyed your code, Notepad++ displays squares, not the characters themselves (because I haven't installed Chinese fonts), but it compiles correctly.
Clipboard02.jpg
Clipboard02.jpg (2.26 KiB) Viewed 4348 times
Post Reply