5
votes
2answers
187 views

How to select a font for the main Chinese character and another font for its Furigana?

The objective is to make a list of Japanese vocabularies with Kanji stroke order for the main characters, its furigana (small kana characters placed above the main characters), and its meaning (in ...
7
votes
4answers
323 views

Why doesn't my Chinese character display properly?

I'm trying to produce the character 𡰞, which is in unicode and as far as I'm able to ascertain included in my font HanaMinA. The character displays properly in Firefox as well as when I copy it into ...
6
votes
1answer
114 views

Allow/force word wrapping at ideographic spaces

I am making a set of flashcards to help me practice my kanji, and the format I want is quite simple: On the front, I'll have the character, and on the back I will have its meanings and readings (with ...
3
votes
1answer
111 views

fontspec and xeCJK conflict: tie (\t{}) over Latin character displaced one position

I want to create a tie over ng by typing: \t{ng}: The following minimal example causes the tie over ng to be displaced one position to the right, so that it appears over the g and empty space. The ...
2
votes
1answer
153 views

Problem with XeTeX input and output encoding

As we all known, the TeX engine XeTeX takes UTF-8 as its default input and output encoding format. However, it provides two new primitive control sequences that could define input encoding: ...
3
votes
1answer
333 views

What packages are required for “setmainfont” and “setCJKmainfont”?

I've searched for this extensively but couldn't find anything that could help me, but if you know of some previous question that might help, feel free to point me to it. I have a document with ...
1
vote
0answers
72 views

Why xeCJK cannot work?

I tried to use LaTeX with the package xeCJK to typeset Chinese chars. But when I was compiling my .tex document, I got a lot of errors. The code and the screenshot of error msg are showed below. ...
5
votes
1answer
99 views

Spacing only works in xeCJK for Chinese and Japanses but not Korean

\documentclass{article} \usepackage{xeCJK} \setCJKmainfont{Batang} \CJKspace \begin{document} 一二三四五 一 二 三 四 五 あいうえお あ い う え お 일이삼사오 일 이 삼 사 오 \end{document} I'm trying to write something ...
4
votes
2answers
127 views

The package zhnumber without xeCJK

I need to use the function zhdigits from the package zhnumber to typeset a counter the way I want, i.e. convert 235 to 二三五. This package requires the package xeCJK to work properly, but xeCJK messes ...
5
votes
3answers
268 views

Convert numbered pinyin to pinyin with tone marks

Is there any package which can convert numbered pinyin (e.g. dian4 nao3) to UTF-8 pinyin with tone marks (e.g. diàn​ nǎo)? I found this (http://stackoverflow.com/a/8200388/2421048) Python script, so ...
8
votes
1answer
252 views

Old Korean han'gŭl in XeLaTeX?

Does anybody know if it's possible to typeset old han'gŭl (Korean alphabet) in XeLaTeX? I'm referring to these letters: http://en.wikipedia.org/wiki/Old_Hangul It is not possible to type outright ...
4
votes
1answer
289 views

Vertical Chinese text that contains characters in a “CJK fallback family font”

I am having trouble with vertical (i.e. rotated) Chinese text that contains characters in two different fonts. Rare characters requiring the "CJK fallback family font" are not displaying in the ...
4
votes
1answer
183 views

Can xeCJK be used with the font Times?

The following minimal example fed into xelatex: \documentclass{article} \usepackage{xeCJK} \setCJKmainfont{MingLiU} \usepackage{times} \begin{document} Test 汉语 \end{document} typesets the CJK ...
3
votes
1answer
607 views

Typesetting furigana above and below original text

I have followed Japanese Problem using MacTeX 2011 to set up Ruby Furigana with TeX. I'm wondering if it is possible to set up Furigana both above and below the original character?
2
votes
1answer
190 views

CJK spacing suddenly no longer works

I have been using CJK script in my documents successfully for some time, but today it suddenly stopped working properly. I did update some packages through TeX Live today, and recently I reinstalled a ...
0
votes
0answers
54 views

xeCJK and Chinese Characters [duplicate]

Possible Duplicate: Displaying pinyin over Chinese characters, without impacting word spacing I'm trying to use xeCJK and I'm having some issues. This is my code; it comes out very ...
5
votes
2answers
342 views

Fix for CJK punctuation kerning in xetex?

When using xelatex with xeCJK to typeset a document in English with Japanese quotations, I get rather unsightly kerning with Japanese punctuation. In general, punctuation is shifted to the left, so ...
3
votes
1answer
316 views

What does this warning “** WARNING ** TrueType post table name index 32768 > 32767” mean?

I'm new to TeX and trying to compile this code: \documentclass{article} \usepackage{xeCJK} \setCJKmainfont{WenQuanYi Zen Hei Mono} \begin{document} 你好,\TeX! \end{document} I get the pdf fine, but ...
6
votes
1answer
842 views

Combining Chinese, Japanese and Korean text with xeCJK

When combining Chinese, Japanese and Korean text in a document, is there a way to define individual fonts for the respective characters? Especially for Korean, since few fonts support Cn/Jp AND ...
4
votes
1answer
478 views

Zhuyin fuhao tone marks ignoring \setCJKmainfont

My documents usually contain an equal amount of Chinese and English. Here is my preamble, which I found in a manual somewhere: \documentclass{ctexbook} \setmainfont{Minion Pro} ...
1
vote
2answers
999 views

Getting xeCJK package to work with MikTeX

I am trying to write Chinese in LaTeX with MikTeX 2.9, and at the moment I am using fontspec, something like the below. However, I have heard good things about xeCJK, and I am considering switching to ...
5
votes
2answers
277 views

Finding and displaying UTF-8 characters with xesearch

The xesearch package allows one to replace text with other text. E.g.: \documentclass{ctexbook} \usepackage{fontspec} \usepackage{xesearch} \SearchList{list1}{newspaper}{book} \begin{document} ...
9
votes
1answer
872 views

Getting started with Chinese in ConTeXt

I am trying to setup a basic document with ConTeXt, but I am having difficulty even getting started. First, I tried the documentation at ConTeXt wiki: Chinese. I tried the sample code on that page: ...
11
votes
4answers
1k views

Displaying pinyin over Chinese characters, without impacting word spacing

I want to display pinyin (romanized form) over Chinese characters. However, the two methods I know (using stackrel or tabular both change the spacing between characters. This demonstrates the problem: ...
6
votes
1answer
220 views

Temporarily changing the spacing between Chinese text and numerals

When mixing Chinese text and non-math mode numbers together within a sentence, narrow numbers are given the same amount of space as characters: \documentclass{article} \usepackage{ctexcap} ...
4
votes
2answers
203 views

Translating titles with ctex

As best as I can understand, there are two ways to load the ctex package: as a document class (i.e. \documentclass{ctexbook} or as a package (i.e. \usepackage{ctex}). As I am using another document ...
8
votes
2answers
579 views

xeCJK messes with punctuation

Neither a question nor really a complain, but I find I cannot use xeCJK in multilingual documents (in the present case French + English + Chinese), simply because it messes with the punctuation in the ...
4
votes
1answer
567 views

How to write spaces between Korean words with XeCJK?

I'm just trying to get LaTeX output spaces between Korean words. At the moment all it can do is to give long chains of syllables just like in Chinese or in Japanese, ignoring all the spaces I set. ...