ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: russian
       [not found]           ` <44D2E013.3000506@gmail.com>
@ 2006-08-05 15:45             ` Mojca Miklavec
  0 siblings, 0 replies; 3+ messages in thread
From: Mojca Miklavec @ 2006-08-05 15:45 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Russian
  2005-04-13  9:44       ` Russian Albrecht Kauffmann
@ 2005-04-13 15:03         ` Albrecht Kauffmann
  0 siblings, 0 replies; 3+ messages in thread
From: Albrecht Kauffmann @ 2005-04-13 15:03 UTC (permalink / raw)




On Wed, 13 Apr 2005, Albrecht Kauffmann wrote:

> Hi all,
>
> I've tried to typeset in Russian with utf-8 fonts, like explained at
> contextgarden.net/Russian. cm-super-fonts are installed, included tfm-,
> enc- and map-files. Running the example
>
> \enableregime[utf]
> \useencoding[cyr]
>
> \definetypeface [russian]
>   [rm] [serif] [computer-modern] [default] [encoding=t2a]
>
> \setupbodyfont[russian]
> \starttext
> ???? ? ???? % Some Russian characters
> \stoptext
>
> I got error messages (see the attached logfile): the font larm1000 was not
> found.
>
> Have I to edit some lines in type-map.tex? Or what could be wrong?

If I add to type-map.tex:
\starttypescript [map] [computer-modern] [t2a]
   \loadmapfile[cm-super-t2a.map]
\stoptypescript

I get russian fonts, but these are not the right ones.

I would be very glad, if anyone could help me to solve the problem.

Thanks
Albrecht


>
> With many thanks for any hint
> Albrecht
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Russian
  2005-04-13  8:17     ` Eckhart Guthöhrlein
@ 2005-04-13  9:44       ` Albrecht Kauffmann
  2005-04-13 15:03         ` Russian Albrecht Kauffmann
  0 siblings, 1 reply; 3+ messages in thread
From: Albrecht Kauffmann @ 2005-04-13  9:44 UTC (permalink / raw)


[-- Attachment #1: Type: TEXT/PLAIN, Size: 589 bytes --]

Hi all,

I've tried to typeset in Russian with utf-8 fonts, like explained at
contextgarden.net/Russian. cm-super-fonts are installed, included tfm-,
enc- and map-files. Running the example

\enableregime[utf]
\useencoding[cyr]

\definetypeface [russian]
  [rm] [serif] [computer-modern] [default] [encoding=t2a]

\setupbodyfont[russian]
\starttext
???? ? ???? % Some Russian characters
\stoptext

I got error messages (see the attached logfile): the font larm1000 was not
found.

Have I to edit some lines in type-map.tex? Or what could be wrong?

With many thanks for any hint
Albrecht


[-- Attachment #2: Type: TEXT/PLAIN, Size: 5639 bytes --]

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.3) (format=cont-en 2005.4.13)  13 APR 2005 11:22
entering extended mode
**&cont-en bsp.tex
(./bsp.tex

ConTeXt  ver: 2005.01.28  fmt: 2005.4.13  int: english  mes: english

language        : language en is active
<protectionstate 0>
system          : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex!
color           : palette rollover is available
system (E-TEX) : [line 878] 
system (E-TEX) : [line 933] 
)
system          : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys loaded
(/var/lib/texmf/tex/context/config/cont-sys.tex)
bodyfont        : 12pt rm is loaded
language        : patterns en->default:default->1->2:2 uk->default:default->2->
2:2 de->default:default->3->2:2 fr->default:default->4->2:2 es->default:default
->5->2:2 it->default:default->6->2:2 nl->default:default->7->2:2 loaded
specials        : tex,postscript,rokicki loaded
\openout2 = `bsp.tui'.

system          : bsp.top loaded
(./bsp.top)
\openout0 = `bsp-mpgraph.mp'.

\openout0 = `mpgraph.mp'.

Missing character: There is no ^^ef in font cmr12!
Missing character: There is no ^^bb in font cmr12!
Missing character: There is no ^^bf in font cmr12!

specials        : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials        : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex <unprotect 3>
system (E-TEX) : [line 2280] \ifcsname 
<protect 3>)
specials        : fdf loaded
)
specials        : fdf,tpd loaded
encoding        : coding cyr is loaded
(/usr/share/texmf/tex/context/base/enco-cyr.tex
encoding        : coding t2a
encoding        : coding t2b
encoding        : coding t2c
encoding        : coding x2
encoding        : coding lcy
) (/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex)
(/usr/share/texmf/tex/context/base/type-buy.tex)
(/usr/share/texmf/tex/context/base/type-syn.tex)
(/usr/share/texmf/tex/context/base/type-enc.tex)
(/usr/share/texmf/tex/context/base/type-dis.tex)
(/usr/share/texmf/tex/context/base/type-siz.tex)
(/usr/share/texmf/tex/context/base/type-map.tex)
(/usr/share/texmf/tex/context/base/type-spe.tex)
(/usr/share/texmf/tex/context/base/type-exa.tex)
(/usr/share/texmf/tex/context/base/type-akb.tex)
(/usr/share/texmf/tex/context/base/type-buy.tex) (./bsp.tuo
systems         : possible problem with 8 bit output
) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo)
(./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo) (./bsp.tuo)
fonts           : using map file: texnansi-public-lm.map
fonts           : using map file: original-public-vnr.map
fonts           : using map file: original-public-csr.map
fonts           : using map file: original-public-plr.map
fonts           : using map file: original-public-lm.map
fonts           : using map file: original-ams-euler.map
fonts           : using map file: original-ams-cmr.map
fonts           : using map file: texnansi-base.map
fonts           : using map file: t5-base.map
fonts           : using map file: qx-base.map
fonts           : using map file: 8r-base.map
fonts           : using map file: ec-base.map
fonts           : using map file: ec-public-lm.map
fonts           : using map file: original-base.map
systems         : begin file bsp at line 9
[1.1{/usr/share/texmf/fonts/map/pdftex/context/original-empty.map}{/usr/share/t
exmf/fonts/map/pdftex/context/texnansi-public-lm.map}{/usr/share/texmf/fonts/ma
p/pdftex/context/original-public-vnr.map}{/usr/share/texmf/fonts/map/pdftex/con
text/original-public-csr.map}{/usr/share/texmf/fonts/map/pdftex/context/origina
l-public-plr.map}{/usr/share/texmf/fonts/map/pdftex/context/original-public-lm.
map}{/usr/share/texmf/fonts/map/pdftex/context/original-ams-euler.map}{/usr/sha
re/texmf/fonts/map/pdftex/context/original-ams-cmr.map}{/usr/share/texmf/fonts/
map/pdftex/context/texnansi-base.map}{/usr/share/texmf/fonts/map/pdftex/context
/t5-base.map}{/usr/share/texmf/fonts/map/pdftex/context/qx-base.map}{/usr/share
/texmf/fonts/map/pdftex/context/8r-base.map}{/usr/share/texmf/fonts/map/pdftex/
context/ec-base.map}{/usr/share/texmf/fonts/map/pdftex/context/ec-public-lm.map
}{/usr/share/texmf/fonts/map/pdftex/context/original-base.map}]
systems         : end file bsp at line 11
 ) 
Here is how much of TeX's memory you used:
 2361 strings out of 63947
 38888 string characters out of 682543
 4491092 words of memory out of 5554700
 36116 multiletter control sequences out of 10000+50000
 18699 words of font info for 55 fonts, out of 500000 for 1000
 62 hyphenation exceptions out of 1000
 44i,17n,54p,224b,370s stack positions out of 1500i,500n,5000p,200000b,5000s
PDF statistics:
 5 PDF objects out of 300000
 0 named destinations out of 131072
 1 words of extra memory for PDF output out of 65536

Warning: pdfetex (file larm1000): Font larm1000 at 86 not found
Output written on bsp.pdf (1 page, 1157 bytes).

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-05 15:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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             ` russian Mojca Miklavec
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

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).