* Re: Kannada
@ 2007-12-04 0:51 Mojca Miklavec
0 siblings, 0 replies; only message in thread
From: Mojca Miklavec @ 2007-12-04 0:51 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: gururaj
Hello,
Please post such questions to the list, not to me personally.
---------- Forwarded message ----------
From: gururaj <ms.gururaj@rediffmail.com>
Date: 3 Dec 2007 16:12:42 -0000
Subject: context
I couldn't configure TexnicCenter for ConTeXt. I am using SciTe
instead which works fine. I have another problem. When I had Miktex
installed on my machine I could use the macro package "kanlel" which
gives the output in Kannada, my native language. But with ConTeXt I
am unable to use the macro package. How can I make this package work
with ConTeXt?
%%%%
I would suggest you to use XeTeX or LuaTeX for Kannada, I don't see
any advantage in supporting pdfTeX to do that.
You need:
- the proper font
- perhaps hyphenation patterns
(http://www.ctan.org/tex-archive/macros/xetex/hyphenation/sanhyph/):
Hans would need to add support to ConTeXt somehow, but *if and only
if* you:
- are ready to test (to change files and regenerate formats)
- provide enough feedback (if you ask a question about TeXnicCenter
and people answer it on the list, it's polite to answer that it either
didn't work and what went wrong or that you managed to compile
successfully)
- provide enough information (what exactly doesn't work, where does
it fail, what's the error message)
- specify what you need (figure captions probably need to be
translated into semething as well)
This is a sample (which should be simplified):
% engine=xetex
% this ugly portion of code could be shorter, perhaps reduced to
% \definetypeface[myface][rm][Xserif][Devanagari MT]
% \setupbodyfont[myface]
\definefontfeature[devanagari][script=deva]
\starttypescript[serif][devanagari]
% replace "Devanagari MT" in "name:Devanagari MT" with the font you
have installed
\definefontsynonym[DevanagariMTRegular] [name:Devanagari MT]
[features=devanagari]
\definefontsynonym[DevanagariMTBold] [name:Devanagari MT/B]
[features=devanagari]
\stoptypescript
\starttypescript[serif][devanagari][name]
\definefontsynonym[Serif] [DevanagariMTRegular]
\definefontsynonym[SerifBold] [DevanagariMTBold]
\definefontsynonym[SerifItalic] [Serif]
\definefontsynonym[SerifBoldItalic] [SerifBold]
\definefontsynonym[SerifSlanted] [Serif]
\definefontsynonym[SerifBoldSlanted][SerifBold]
\stoptypescript
\starttypescript[devanagari]
\definetypeface [devanagari] [rm] [serif] [devanagari] [default]
\stoptypescript
% the ugly code ends here
\usetypescript[devanagari]
\setupbodyfont[devanagari,15pt]
\starttext
% no idea what this means, but it looks non-latin at least
नेपाल चार जात छत्तिस वर्णको साझा फूलवारी हो ।
\stoptext
Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-04 0:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-04 0:51 Kannada Mojca Miklavec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).