Monday, May 20, 2002 "[EMAIL PROTECTED]" wrote:
vdli> Enough experienced with latex I'm now having a go at context under
vdli> linux.
vdli> My debian linux installation supports Italian under context. Therefore,
vdli> after having read every piece of docs I suppose I've selected every
vdli> option i nthe many configuration files to have context speak Italian to
vdli> no avail:
vdli> when I run "texexec test" I don't get "Capitolo" but still "Chapter",
vdli> the hyphenation is the english one and no chance of seeing the accented
vdli> vowels (I know that all these are different packages and options under
vdli> latex!).
\mainlanguage[it]
would turn on italian as the main language (and thus select both
section texts and hyphenations patterns). This is more or less the
equivalent of \usepackage[italian]{babel} for LaTeX. To ensure
that ConTeXt knows about the Italian hyphenation patterns, have a
look at cont-usr.tex in your texmf/tex/context/user directory and
make sure that the line
\installlanguage [\s!it] [\c!status=\v!start] % italian
is uncommented. If it's not, change the file and recreate the
cont-en format (assuming that's what you're using). You should not
need any other change.
To enable automatic recognition of the accented letters, you need
to use
\enableregime[il1]
(assuming that your text editor saves the extended characters in
ISO-Latin-1 format). This is more or less the equivalent of
\usepackage[latin1]{inputenc} for LaTeX.
(BTW, there is a cont-it format (texexec --make it) with
pre-selected italian hyphenation patterns and where italian is
the main language; this format also has most ConTeXt commands
translated to italian, so that for example you use \iniziatesto
... \terminatesto instead of \starttext ... \stoptext --you may
want to give it a try.)
--
Giuseppe "Oblomov" Bilotta