ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: russian
Date: Sat, 5 Aug 2006 17:45:14 +0200	[thread overview]
Message-ID: <6faad9f00608050845r52b09cc6ub221e2a03f67355@mail.gmail.com> (raw)
In-Reply-To: <44D2E013.3000506@gmail.com>

I'm CC-ing this checklist about making new (Russian) hyphenation
patterns work to the mailing list (also because a while ago I didn't
manage to make them work either).

Arkady Shraer wrote:
> Yes, I replaced files from previous mail. While texexec --make --all I
> saw, that lang-ru.* processed by ConTeXt. But in the log file (I
> attached the full log) I cannot see if the "ru" language is loaded.
>
> In the output file text just ragged right as before -- no hypenation.

OK, so once more a checklist for you. From the fact that you're a
gmail user too I can imagine that you also got the files "garbled"
just as I did (I mean: written inline instead of getting attachments
unless you downloaded your mail with some program):

0. not necessary [texmfstart] ctxtools --update
(although I had problems downloading the latest beta)

1. check if all the files are OK:
- tex/context/patterns/lang-ru.hyp
- tex/context/patterns/lang-ru.pat
- new version of tex/context/base/lang-ctx.tex, has to include:

\installlanguage [\s!ru] [\s!mapping=t2a,\s!encoding=t2a]

(If you didn't get the files right, get them from a temporary location
http://pub.mojca.org/tex/russian/lang-ru.zip)

2. I don't know when this is needed and when not, but it might be that
you have to copy cont-usr.ori to cont-usr.tex and uncomment the
following line:

    \installlanguage [\s!ru] [\c!state=\v!start] % russian

(before I did that I couldn't make the Slovenian hyphenation work)

3. run mktexlsr (or I-forgot-the-synonym/other-command-if-this-doesn't-work)

4. [texmfstart] texexec --make --all
> after "texmfstart texexec --make --all" I have
> ConTeXt  ver: 2006.07.24 10:49  fmt: 2006.7.27  int: english  mes: english
> Is it right?

It's surely better than in one of the posts that you sent before this
one ;) "fmt:" has to bear the date when you ran "texmfstart texexec
--make --all". If that is older, the format file wasn't written to the
right place.

You seem to use Ubuntu. I don't know how things are configured there,
but I had numerous problems under MikTeX. The reason was that "texexec
--make --all" didn't have any influence there since a whole lot of
environmental variables were missing (the standalone distribution
doesn't have those problems).

In general I would suggest you to put the content of
scripts/context/stubs/unix to some "visible place", so that "texexec"
will execute "texmfstart texexec", you can surely google a bit for it,
there was also a discussion about installation on Ubuntu recently on
the mailing list.

5. Here's what I did to get antykwa torunska (if you don't have it you
can download it from here:
http://www.janusz.nowacki.strefa.pl/torunska-e.html):

\enableregime[utf]
\mainlanguage[ru]
\definetypeface [russian]
  [rm] [serif] [antykwa-torunska] [default] [encoding=t2a]
\setupbodyfont[russian]

(for computer modern it should be similar, but you need more than one
line to set it properly; however if you managed to make it work
already, your old file should already be OK)

I hope that you'll find some hint in this,
    Mojca

       reply	other threads:[~2006-08-05 15:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <44CD4601.4010900@wxs.nl>
     [not found] ` <6faad9f00607311503jf2efe3fp7911923ffd6b875f@mail.gmail.com>
     [not found]   ` <44CF3C8E.6070908@wxs.nl>
     [not found]     ` <6faad9f00608011606kec04b11r90f9d55864955bf@mail.gmail.com>
     [not found]       ` <44D0230D.9040609@gmail.com>
     [not found]         ` <44D065A7.9040607@wxs.nl>
     [not found]           ` <44D2E013.3000506@gmail.com>
2006-08-05 15:45             ` Mojca Miklavec [this message]
2005-04-12  1:50 border widths with TABLE Paul Tremblay
2005-04-12 11:05 ` Eckhart Guthöhrlein
2005-04-12 19:54   ` Paul Tremblay
2005-04-13  8:17     ` Eckhart Guthöhrlein
2005-04-13  9:44       ` Russian Albrecht Kauffmann
2005-04-13 15:03         ` Russian Albrecht Kauffmann

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=6faad9f00608050845r52b09cc6ub221e2a03f67355@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).