<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
There are various ways you can do this.<br>
<br>
If I were doing it, I would probably put something like the
following in the preamble:<br>
<br>
\setmainfont[Mapping=tex-text]{MainFont}<br>
\newfontfamily{\G}[Scale=1]{GreekFont}% <br>
\newfontfamily{\C}[Scale=1]{ChineseFont}% <br>
<br>
And then in the text I would put all Greek text in a {\G } and all
Chinese text in a {\C }, that way, if you want to change the font
later on, you can just toggle the fonts in the preamble. This gives
you the option of changing the main font independently of the Greek
font. Also, you may want to scale the fonts a bit so they look good
together.<br>
<br>
<br>
<br>
On 11/12/01 8:46, Matthew Overland wrote:
<blockquote
cite="mid:CA+K95Nyp+D2=u5NfS8fEK7Y-ewON7SSRD3JGB8rx6ozyJb9-ng@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
Dear all<br>
<br>
I am trying to learn xelatex after being given a large document
that has greek, english and simplified Chinese. I can get most
things working but am stuck on one point.<br>
<br>
I don't know how to get BOTH the greek and mandarin displayed in
the document<br>
<br>
When I use the <b>\setmainfont</b> command I can only specify one
type of font. The problem is that all of the greek fonts don't
contain fonts for the chinese characters, and the chinese fontns
don't contain all of the greek fonts (including capitals and
diacritic marks). I can't get both the chinese and greek
displayed at the same time.<br>
<br>
The Chinese and Greek is not in blocks, it alternates throughout
the document so I would prefer not to have to tag each instance
where I have to assign the font for the section. <br>
<br>
Is there a way to specify two types of fonts for the document?
i.e. one for the western (including Greek) character set and one
for the CJK character set. It is possible to do it in
libreoffice. Even better, is it possible to specify a font for a
set range of unicode characters?<br>
<br>
This is probably the first of a series of questions. Thanks in
advance.<br>
<br>
Matthew<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
<a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/xetex">http://tug.org/mailman/listinfo/xetex</a>
</pre>
</blockquote>
<br>
</body>
</html>