ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Albrecht Kauffmann <alkauffm@rz.uni-potsdam.de>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Re: Russian
Date: Thu, 14 Apr 2005 10:04:44 +0200 (CEST)	[thread overview]
Message-ID: <Pine.GSO.4.58.0504140957290.7970@persius.rz.uni-potsdam.de> (raw)
In-Reply-To: <d5fddde005041308591a78e1f7@mail.gmail.com>

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

Dear Mikael,

thank you very much for your interest. tfm-files I have generated, and the
tex-file is really saved in utf-8-encoding (I proved this with yudit).
After editing the lines

\starttypescript [map] [computer-modern] [t2a]
  \loadmapfile[cm-super-t2a.map]
\stoptypescript

in type-map.tex, the interpreter finds the font sfrm1000; but the
characters are wrong. I send you the log- and pdf-file attached.

Thanks again
Albrecht


On Wed, 13 Apr 2005, Mikael Persson wrote:

> On 4/13/05, Albrecht Kauffmann <alkauffm@rz.uni-potsdam.de> wrote:
>
>
> 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
>
>

Hello Albrecht,

Are you sure that you have saved your file in the utf-8 encoding and
not in koi8r or something? The problem of getting the wrong characters
can come from that. Moreover, the example:

%%%%%%%%%%%%%%%%%%
\enableregime[utf]
\useencoding[cyr]

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

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

from the wiki page works here. (Ok, since I wrote the page it would be
kind of weird if it did not). Have you generated the tmf files?

Have anyone else tried if it works for them?

Regards, Micke P

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

\setupoutput[pdftex]
\enableregime[utf]
\useencoding[cyr]

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

\setupbodyfont[russian]
\starttext
Мама и Папа  Some Russian characters


\stoptext

[-- Attachment #3: Type: APPLICATION/PDF, Size: 17453 bytes --]

[-- Attachment #4: Type: TEXT/PLAIN, Size: 5810 bytes --]

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.3) (format=cont-en 2005.4.13)  14 APR 2005 10:02
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: cm-super-t2a.map
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/dvips/cm-super/cm-super-t2a.map}{/usr/share/texmf/fonts/map/pdft
ex/context/texnansi-public-lm.map}{/usr/share/texmf/fonts/map/pdftex/context/or
iginal-public-vnr.map}{/usr/share/texmf/fonts/map/pdftex/context/original-publi
c-csr.map}{/usr/share/texmf/fonts/map/pdftex/context/original-public-plr.map}{/
usr/share/texmf/fonts/map/pdftex/context/original-public-lm.map}{/usr/share/tex
mf/fonts/map/pdftex/context/original-ams-euler.map}{/usr/share/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/pd
ftex/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 13
 ) 
Here is how much of TeX's memory you used:
 2364 strings out of 63479
 38949 string characters out of 672845
 4499507 words of memory out of 5554717
 36587 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:
 7 PDF objects out of 300000
 0 named destinations out of 131072
 1 words of extra memory for PDF output out of 65536
{/usr/share/texmf/fonts/enc/dvips/cm-super/cm-super-t2a.enc}</usr/share/texmf
/fonts/type1/public/cm-super/sfrm1000.pfb>
Output written on bsp.pdf (1 page, 17453 bytes).

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

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

  reply	other threads:[~2005-04-14  8:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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-12 20:20     ` Hans Hagen
2005-04-12 20:35       ` Henning Hraban Ramm
2005-04-12 21:01         ` Hans Hagen
2005-04-12 20:49     ` Hans Hagen
2005-04-13  1:25       ` 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
2005-04-13 15:59           ` Russian Mikael Persson
2005-04-14  8:04             ` Albrecht Kauffmann [this message]
2005-04-14  8:57               ` Mikael Persson
2005-04-14 12:00                 ` mswintex.zip Lutz Haseloff
2005-04-14 12:44                   ` AW: mswintex.zip Michael Fuchs
2005-04-14 12:51                   ` mswintex.zip Patrick Gundlach
2005-04-14 13:44                     ` mswintex.zip Lutz Haseloff
2005-04-14 18:43                       ` Willi Egger
2005-04-14 19:16                       ` mswintex.zip Patrick Gundlach
2005-04-14 19:26                         ` mswintex.zip 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=Pine.GSO.4.58.0504140957290.7970@persius.rz.uni-potsdam.de \
    --to=alkauffm@rz.uni-potsdam.de \
    --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).