<div dir="ltr">Wish everyone a very happy 2013<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 December 2012 17:55, Sasi Kumar <span dir="ltr"><<a href="mailto:sasi.fsf@gmail.com" target="_blank">sasi.fsf@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks to everyone for the quick response in spite of the Christmas season. I have not tried any of the solutions suggested, but feel certain that one of them or all of them will work.<br>
<br>Thanks and regards,<br>
Sasi<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 26 December 2012 16:30,  <span dir="ltr"><<a href="mailto:xetex-request@tug.org" target="_blank">xetex-request@tug.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send XeTeX mailing list submissions to<br>
        <a href="mailto:xetex@tug.org" target="_blank">xetex@tug.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:xetex-request@tug.org" target="_blank">xetex-request@tug.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:xetex-owner@tug.org" target="_blank">xetex-owner@tug.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of XeTeX digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Font change (Zdenek Wagner)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 25 Dec 2012 16:35:01 +0100<br>
From: Zdenek Wagner <<a href="mailto:zdenek.wagner@gmail.com" target="_blank">zdenek.wagner@gmail.com</a>><br>
To: Unicode-based TeX for Mac OS X and other platforms <<a href="mailto:xetex@tug.org" target="_blank">xetex@tug.org</a>><br>
Subject: Re: [XeTeX] Font change<br>
Message-ID:<br>
        <CAC1phyYD_E-COaXh_pMd8ZKDyjCb5FLCi=XxgzZh=CA5=-<a href="mailto:JPAQ@mail.gmail.com" target="_blank">JPAQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="ISO-8859-2"<br>
<br>
2012/12/25 Theodore M Rolle, Jr. <<a href="mailto:stercor@gmail.com" target="_blank">stercor@gmail.com</a>>:<br>
> Um...like this?<br>
><br>
> \documentclass{article}<br>
> \usepackage{fontspec}<br>
> \begin{document}<br>
> \setmainfont{Linux Biolinum}<br>
> This is Linux Biolinum.\\<br>
> \setmainfont{Linux Biolinum Keyboard}<br>
> This is Linux Biolinum Keyboard.<br>
> \end{document}<br>
><br>
> I just tried it with a minimal example.  It worked.<br>
><br>
Of course it works, but there are better ways, see below.<br>
<br>
> On 12/24/2012 10:11 PM, Sasi Kumar wrote:<br>
>> Dear friends,<br>
>><br>
>> As a relatively new user of XeTeX, I have a number of doubts. But right<br>
>> now, let me ask you two of them. I would be thankful if someone could point<br>
>> out a good tutorial on xelatex.<br>
>><br>
>> My doubts are:<br>
>> 1. How can I change the font inside a document? For instance, let me say I<br>
>> have a document such as this:<br>
>><br>
>>     The fox and the dog<br>
>> The quick brown fox jumped over the lazy dog. The quick brown fox jumped<br>
>> over the lazy dog. The quick brown fox jumped over the lazy dog.<br>
>><br>
\setmainfont{FreeSerif}<br>
<br>
{\fontspec{FreeSans}  The fox and the dog} ...<br>
<br>
Another way: you can also define \setsansfont{FreeSans} and then<br>
\textsf{The fox and the dog} should work. It is worth to read the<br>
fontspec documentation. The manual is quite long because the package<br>
is very powerful.<br>
<br>
>> I want "The fox and the dog" in the font, let us say, "FreeSans" and the<br>
>> rest of the text in the font "FreeSerif". How do I do that?<br>
>><br>
>> 2. I am creating a document in two languages, let us say, English and<br>
>> Malayalam, with both languages appearing intermixed. Now, how do I set the<br>
>> fonts for each language? I have a font for Malayalam, but the English text<br>
>> does not appear very beautiful in that font, so I would like the English<br>
>> text to appear in some other font.<br>
>><br>
The best way would be to translate all the captions into Malayalam and<br>
send them to Arthur Reutenauer to include them to the polyglossia<br>
package. You can them define separate fonts for English and Malayalam.<br>
The fonts will be changed automatically when the language is changed.<br>
If you have basically an English text with a few Malayalam words, you<br>
can take advantage of the ucharclasses package. You will then use:<br>
<br>
\usepackage[Malayalam]{ucharclasses}<br>
\setTransitionTo{Malayalam}{\fontspec[Script=Malayalam]{MalayalamFont}}<br>
<br>
Now the font will be changed automatically whenever a character from<br>
the Malayalam block is encountered.<br>
<br>
>> Thanking for any help that may be forthcoming and wishing everyone a Merry<br>
>> Christmas and a Very Happy 2013 and beyond.<br>
>><br>
I wish the sam to all of you, my greeting card is on my web page<br>
<a href="http://icebearsoft.euweb.cz/" target="_blank">http://icebearsoft.euweb.cz/</a> and you can see the archive of the cards<br>
from previous years.<br>
<br>
>> Regards,<br>
>> Sasi<br>
>><br>
>><br>
>><br>
>> Dear friends,<br>
>><br>
>> As a relatively new user of XeTeX, I have a number of doubts. But right<br>
>> now, let me ask you two of them. I would be thankful if someone could<br>
>> point out a good tutorial on xelatex.<br>
>><br>
>> My doubts are:<br>
>> 1. How can I change the font inside a document? For instance, let me say<br>
>> I have a document such as this:<br>
>><br>
>>     The fox and the dog<br>
>> The quick brown fox jumped over the lazy dog. The quick brown fox jumped<br>
>> over the lazy dog. The quick brown fox jumped over the lazy dog.<br>
>><br>
>> I want "The fox and the dog" in the font, let us say, "FreeSans" and the<br>
>> rest of the text in the font "FreeSerif". How do I do that?<br>
>><br>
>> 2. I am creating a document in two languages, let us say, English and<br>
>> Malayalam, with both languages appearing intermixed. Now, how do I set<br>
>> the fonts for each language? I have a font for Malayalam, but the<br>
>> English text does not appear very beautiful in that font, so I would<br>
>> like the English text to appear in some other font.<br>
>><br>
>> Thanking for any help that may be forthcoming and wishing everyone a<br>
>> Merry Christmas and a Very Happy 2013 and beyond.<br>
>><br>
>> Regards,<br>
>> Sasi<br>
>><br>
>> --<br>
>> V. Sasi Kumar<br>
>> Free Software Foundation of India<br>
>> Please see: <a href="http://swatantryam.blogspot.com/" target="_blank">http://swatantryam.blogspot.com/</a><br>
>><br>
>><br>
>><br>
>><br>
>> --------------------------------------------------<br>
>> Subscriptions, Archive, and List information, etc.:<br>
>>   <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
>><br>
><br>
><br>
><br>
> --------------------------------------------------<br>
> Subscriptions, Archive, and List information, etc.:<br>
>   <a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br>
<br>
<br>
--<br>
Zden?k Wagner<br>
<a href="http://hroch486.icpf.cas.cz/wagner/" target="_blank">http://hroch486.icpf.cas.cz/wagner/</a><br>
<a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
XeTeX mailing list<br>
<a href="mailto:XeTeX@tug.org" target="_blank">XeTeX@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
<br>
<br>
------------------------------<br>
<br>
End of XeTeX Digest, Vol 105, Issue 32<br>
**************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>V. Sasi Kumar<br>Free Software Foundation of India<br>Please see: <a href="http://swatantryam.blogspot.com/" target="_blank">http://swatantryam.blogspot.com/</a>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>V. Sasi Kumar<br>Free Software Foundation of India<br>Please see: <a href="http://swatantryam.blogspot.com/">http://swatantryam.blogspot.com/</a>
</div>