<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br></div>the best way is to use the polyglossia package. Define the fonts by \newfontfamily\tamilfont{...}, set the languages by<br></div>\setdefaultlanguage{tamil}<br></div>\setotherlanguage{english}<br><br></div>Then the default text will be in Tamil in the Tamil font and you will use either \textenglish{a few words} or<br><br></div>\begin{english}<br></div>Longer English text, may contain several paragraphs<br></div>\end{english}<br><br></div>I have prepared a bokk in Hindi+Czech and another book in Czech+Hindi+Urdu exactly this way.<br><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Zdeněk Wagner<br><a href="http://ttsm.icpf.cas.cz/team/wagner.shtml" target="_blank">http://ttsm.icpf.cas.cz/team/wagner.shtml</a><br><a href="http://icebearsoft.euweb.cz" target="_blank">http://icebearsoft.euweb.cz</a></div></div>
<br><div class="gmail_quote">2016-01-28 14:37 GMT+01:00 Shakthi Kannan <span dir="ltr"><<a href="mailto:shakthimaan@gmail.com" target="_blank">shakthimaan@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have the following input.tex file:<br>
<br>
<a href="https://gist.github.com/shakthimaan/3dcfa64c3bd92ab2378d" rel="noreferrer" target="_blank">https://gist.github.com/shakthimaan/3dcfa64c3bd92ab2378d</a><br>
<br>
The content has more Tamil text than English.<br>
<br>
Is there a way I can set the default font as Tamil, and use \english<br>
whenever required, instead of having to specify \lohit everywhere?<br>
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888"><br>
SK<br>
<br>
--<br>
Shakthi Kannan<br>
<a href="http://www.shakthimaan.com" rel="noreferrer" target="_blank">http://www.shakthimaan.com</a><br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" rel="noreferrer" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</font></span></blockquote></div><br></div>