From: Vladimir Lomov <lomov.vl@gmail.com>
To: Hans Hagen <pragma@wxs.nl>, ntg-context@ntg.nl
Subject: Re: Computer Modern Unicode fonts
Date: Thu, 30 Sep 2010 22:37:41 +0900 [thread overview]
Message-ID: <20100930133741.GC8731@smoon> (raw)
In-Reply-To: <4CA480A0.8090104@wxs.nl>
** 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
You sure? Because I got LuaTeX error:
==============================================================================
systems : begin file ex_ru2.tex at line 41
! LuaTeX error <main ctx instance>:1: attempt to call field 'shapes' (a
nil value)
stack traceback:
<main ctx instance>:1: in main chunk.
system > error on line 42 in file ex_ru2.tex: LuaTeX
error ...
32
33 \setuplayout
34 [backspace=1cm,
35 topspace=1cm,
36 footer=1cm,
37 header=0cm,
38 height=middle,
39 width=middle]
40
41 \starttext
42 >> \ctxlua{fonts.tracers.shapes()}
43 \stoptext
44
45 \endinput
l.42 \ctxlua{fonts.tracers.shapes()}
==============================================================================
$ luatex --version
This is LuaTeX, Version beta-0.63.0-2010090921
Execute 'luatex --credits' for credits and version details.
There is NO warranty. Redistribution of this software is covered by
the terms of the GNU General Public License, version 2. For more
information about these matters, see the file named COPYING and
the LuaTeX source.
Copyright 2009 Taco Hoekwater, the LuaTeX Team.
$ context --version
MTXrun | main context file:
/usr/local/opt/texlive/context/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2010.09.29 23:37
(Don't look that my context minimal resides in directory
/usr/local/opt/texlive)
---
WBR, Vladimir Lomov
--
Dorothy: But how can you talk without a brain?
Scarecrow: Well, I don't know... but some people without brains
do an awful lot of talking.
-- The Wizard of Oz
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-09-30 13:37 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 [this message]
2010-09-30 14:12 ` Hans Hagen
2010-10-01 2:44 ` Vladimir Lomov
2010-10-01 4:05 ` Vladimir Lomov
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=20100930133741.GC8731@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).