ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: new language and hyphenation
Date: Wed, 20 Jan 2010 17:10:33 +0100	[thread overview]
Message-ID: <6faad9f01001200810q23c94fddm49000bafce4848fa@mail.gmail.com> (raw)
In-Reply-To: <c86049a21001200007j6702c76dg4201270b35212f0f@mail.gmail.com>

On Wed, Jan 20, 2010 at 09:07, Marius wrote:
>
> The hyphenation patterns for lithuanian language are missing. So, how
> does one add a new language and hyphenation patterns for ConTeXt?

In scripts/context/lua/mtx-patterns.lua Hans needs to add

    { "la",  "hyph-la.tex",            "latin" },
[after this line]
    { "lt",  "hyph-lt.tex",            "lithuanian" },
    { "lv",  "hyph-lv.tex",            "latvian" },

and regenerate the patterns (and double-checking that nothing broke in
the meantime). [You can also take hyph-lt.tex and copy it to
tex/context/patterns/lang-lt.pat as a temporary solution.]

Apart from that you need to submit translation for your language (see
lang-ger.tex and lang-bal.tex), or at least that would be very nice.
Some settings there are necessary if you want to enable the extra
patterns. There are some more things to be done, but you may start by
translating the strings and filling other holes in lang-bal.tex.

The main question is: do you need them only for MKIV/XeTeX or do you
also want them for MKII? In the latter case you'll have quite some
problems with encoding (that is: missing support for it in fonts).

In MKIV & XeTeX it should be no problem.

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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2010-01-20 16:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-20  8:07 Marius
2010-01-20 16:10 ` Mojca Miklavec [this message]
2010-01-20 16:23   ` Hans Hagen
2010-01-20 17:12     ` Mojca Miklavec
2010-01-20 21:24   ` Marius
2010-01-20 22:53     ` Mojca Miklavec
2010-01-21  5:33       ` Wolfgang Schuster
2010-01-22 14:09         ` Marius
2010-01-22 15:45           ` Wolfgang Schuster
2010-01-22 18:02             ` Mojca Miklavec
2010-01-23  9:51             ` Marius
2010-01-21  9:18       ` Marius
2010-01-22 11:16         ` Marius
2010-01-22 12:11           ` Hans Hagen
2010-01-22 13:08             ` Mojca Miklavec
2010-01-22 13:58               ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f01001200810q23c94fddm49000bafce4848fa@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).