ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: Hans Hagen <pragma@wxs.nl>,
	General mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Computer Modern Unicode fonts
Date: Fri, 1 Oct 2010 13:05:06 +0900	[thread overview]
Message-ID: <20101001040506.GD17803@smoon> (raw)
In-Reply-To: <4CA480A0.8090104@wxs.nl>

Hi.

** Hans Hagen [2010-09-30 14:20:48 +0200]:

> this shows me some cyrilic
> 
> \starttypescript [serif,sans,mono] [computer-modern-unicode]
>     \definefontsynonym [Serif]           [file:cmunrm] [features=default]
>     \definefontsynonym [SerifItalic]     [file:cmunti] [features=default]
>     \definefontsynonym [SerifSlanted]    [file:cmunsl] [features=default]
>     \definefontsynonym [SerifBold]       [file:cmunbx] [features=default]
>     \definefontsynonym [SerifBoldItalic] [file:cmunbi] [features=default]
>     \definefontsynonym [Sans]            [file:cmunss] [features=default]
>     \definefontsynonym [SansItalic]      [file:cmunsi] [features=default]
>     \definefontsynonym [SansBold]        [file:cmunsx] [features=default]
>     \definefontsynonym [SansBoldItalic]  [file:cmunso] [features=default]
>     \definefontsynonym [Mono]            [file:cmuntt] [features=default]
>     \definefontsynonym [MonoItalic]      [file:cmunit] [features=default]
>     \definefontsynonym [MonoSlanted]     [file:cmunst] [features=default]
>     \definefontsynonym [MonoBold]        [file:cmuntb] [features=default]
>     \definefontsynonym [MonoBoldItalic]  [file:cmuntx] [features=default]
> \stoptypescript
> 
> \starttypescript[computer-modern-unicode]
> 
> \definetypeface[computer-modern-unicode][rm][serif][computer-modern-unicode][default]
>     \definetypeface[computer-modern-unicode][ss][sans]
> [computer-modern-unicode][default]
>     \definetypeface[computer-modern-unicode][tt][mono]
> [computer-modern-unicode][default]
>     \definetypeface[computer-modern-unicode][mm][math] [modern]
> [default]
> \stoptypescript
> 
> \usemodule[fnt-29]
> 
> \setupbodyfont[computer-modern-unicode,tt,9pt]
> 
> \setuplayout
>   [backspace=1cm,
>    topspace=1cm,
>    footer=1cm,
>    header=0cm,
>    height=middle,
>    width=middle]
> 
> \starttext
>     \ctxlua{fonts.tracers.shapes()}
> \stoptext
> 
> \endinput

1. If I comment '\usemodule[fnt-29]' (seems that I don't have it) and
'\ctxlua' line and add '\input ru_li2.tex' after it then I don't get
CM-U, but I see in output message that 'cmunrm not found'.

2. If I move fonts (or link) from
$CONTEXT_MINIMAL/tex/texmf-fonts/opentype/public/cm-unicode
to
$CONTEXT_MINIMAL/tex/texmf-local/fonts/opentype/public/cm-unicode
and run context on the same document it will work. As well as if fonts are in
$CONTEXT_MINIMAL/tex/texmf-fonts/fonts/opentype/public/cm-unicode
the document will be ok.

My first place to put fonts was incorrect.

-- 
Eagleson's Law:
	Any code of your own that you haven't looked at for six or more
	months, might as well have been written by someone else.  (Eagleson
	is an optimist, the real number is more like three weeks.)
___________________________________________________________________________________
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
___________________________________________________________________________________


  parent reply	other threads:[~2010-10-01  4:05 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30  8:05 Vladimir Lomov
2010-09-30  8:14 ` Willi Egger
2010-09-30  8:34 ` Hans Hagen
2010-09-30  8:40   ` Khaled Hosny
2010-09-30  9:00     ` Vladimir Lomov
2010-09-30  9:18       ` Khaled Hosny
2010-09-30  9:45         ` Hans Hagen
2010-09-30 11:09           ` Vladimir Lomov
2010-09-30 11:12             ` Hans Hagen
2010-09-30 11:18               ` Vladimir Lomov
2010-09-30 12:00                 ` Hans Hagen
2010-09-30 12:26                   ` Wolfgang Schuster
2010-09-30 13:22                     ` Vladimir Lomov
2010-09-30 13:46                       ` Wolfgang Schuster
2010-10-01  2:50                         ` Vladimir Lomov
2010-10-01  3:03                           ` Mojca Miklavec
2010-10-01  3:53                             ` Vladimir Lomov
2010-10-01 11:29                               ` Mojca Miklavec
2010-09-30 14:10                       ` Hans Hagen
2010-09-30 13:14                   ` Vladimir Lomov
2010-09-30 12:20                 ` Hans Hagen
2010-09-30 13:37                   ` Vladimir Lomov
2010-09-30 14:12                     ` Hans Hagen
2010-10-01  2:44                       ` Vladimir Lomov
2010-10-01  4:05                   ` Vladimir Lomov [this message]
2010-09-30 11:24           ` Khaled Hosny
2010-09-30 11:43             ` Vladimir Lomov
2010-09-30  9:02     ` Hans Hagen
2010-09-30  9:36       ` Vladimir Lomov

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=20101001040506.GD17803@smoon \
    --to=lomov.vl@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).