Re: [OS X TeX] Kanbun (漢文) and French...

Jean-Christophe Helary fusion at mx6.tiki.ne.jp
Sat Jan 3 20:37:37 EST 2009


On dimanche 04 janv. 09, at 06:26, Peter Dyballa wrote:

> Am 03.01.2009 um 03:12 schrieb Jean-Christophe Helary:
>
>> It looks like I need special packages, according to:
>> http://www.geocities.co.jp/HeartLand-Icho/9917/tex.htm
>>
>> For example, if you check the lower third of this page:
>> http://www.klavis.info/tategaki.html

>> So it is not really only about having to select a font, but rather  
>> about having specific commands that properly display the 4 elements  
>> combination.
>
> More on the subject: this all might be true for writing in "normal"  
> 7-bit or 8-bit *latex. I don't understand why it needs to be so  
> complicated in a ripe environment where you can use Unicode and the  
> characters as they are contained as glyphs in the font.

I promise I'll investigate and report here...

Besides, I could not find ptex in MacTex. Am I missing something ?

>> But I am still struggling to property display French...
>
> I'll send you privately a file that *will* do!

I received the file (this morning). Thank you very much.

Currently here is what I am using. I suppose that is the smallest  
preamble possible for my text, and I'm fine with it for the moment:

\documentclass{article}
\usepackage{fontspec}
\usepackage[french]{babel}
\setmainfont{Times}
\newcommand{\cjk}[1]{{\fontspec[Scale=0.8]{Hiragino Mincho Pro}#1}}

I decided to set Times as the main font because I needed to have  
italics in the text and I could not find a way to do that when I set a  
Hiragino font to main.

I took the \cjk command from XeteX' sample.

I found that using {babel} gave me much better hyphenation, except  
where the visial line ends with a Japanese string, but I am not going  
to be picky on that one, unless somebody has a solution for me :)

With that, I am almost done with the first part of the book. There are  
a few things that should be trivial to fix, like specify a cover etc,  
and there is a list of reference books at the end of the preface that  
I'll need to properly typeset.

Then I'll have to seriously investigate the column setting I mentioned  
in my first post, where there is a mix of French and kanbun.





Jean-Christophe Helary




More information about the MacOSX-TeX mailing list