Re: [NTG-context] Computer Modern Unicode fonts

2010-10-01 Thread Mojca Miklavec
On Fri, Oct 1, 2010 at 05:53, Vladimir Lomov wrote:
 Hi Mojca.

 source.contextgarden.net: 2010-03-30: not sure what this means.

This means that source browser for ConTeXt dates back to the times
when Hans was releasing a new current version of ConTeXt every few
days. Now he started distributing the betas on a regular basis and
current ConTeXt simply hasn't been updated since March. The source
browser only shows the current version of ConTeXt.

 minimals.contextgarden.net: Last modified - 2010-09-30 - setup .

This one might be an indicator of last update, yes.
But then it's best to check

http://minimals.contextgarden.net/current/context/beta/tex/context/base/context.tex
or maybe the files you are interested in:

http://minimals.contextgarden.net/current/modules/t-typescripts/tex/context/third/typescripts/
which date to
30-Sep-2010 14:19

Mojca

PS: I will try to remember to add these font to minimals in a month or so
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Willi Egger
This is probably due to the fact that Context MKIV uses a database for its info 
on fonts. I would suggest, that you copy the font from TeXlive directly into 
the tree where the minimals reside an run context --generate to update the 
database.

Willi
On 30 Sep 2010, at 10:05, Vladimir Lomov wrote:

 Hi.
 
 I want to use Computer Modern Unicode fonts in my document. I made a
 link from $TEXLIVE2010/texmf-dist/fonts/opentype/public/cm-unicode to
 $CONTEXT_MINIMAL/tex/texmf-fonts/opentype/public but couldn't get CM-U
 font in the document. What should I do to use them?
 
 I'm using MkIV.
 
 ---
 WBR, Vladimir Lomov
 ex_ru.texru_li2.tex___
 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
 ___

___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen

On 30-9-2010 10:05, Vladimir Lomov wrote:

Hi.

I want to use Computer Modern Unicode fonts in my document. I made a
link from $TEXLIVE2010/texmf-dist/fonts/opentype/public/cm-unicode to
$CONTEXT_MINIMAL/tex/texmf-fonts/opentype/public but couldn't get CM-U
font in the document. What should I do to use them?


you have to make typescript for them as they are not supported out of 
the box; we use lm fonts (which are unicode)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Khaled Hosny
On Thu, Sep 30, 2010 at 10:34:36AM +0200, Hans Hagen wrote:
 On 30-9-2010 10:05, Vladimir Lomov wrote:
 Hi.
 
 I want to use Computer Modern Unicode fonts in my document. I made a
 link from $TEXLIVE2010/texmf-dist/fonts/opentype/public/cm-unicode to
 $CONTEXT_MINIMAL/tex/texmf-fonts/opentype/public but couldn't get CM-U
 font in the document. What should I do to use them?
 
 you have to make typescript for them as they are not supported out
 of the box; we use lm fonts (which are unicode)

LM have no Cyrillic, but CM-U have, and I think that is why he wants to
use them, and IMHO it deserves including a typescript for it and may be
including the fonts in minimals too since there seem not to be any
Cyrillic CM fonts there.

Regards,
 Khaled

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi.

2010/9/30 Khaled Hosny khaledho...@eglug.org:
 On Thu, Sep 30, 2010 at 10:34:36AM +0200, Hans Hagen wrote:
 On 30-9-2010 10:05, Vladimir Lomov wrote:
 Hi.
 
 I want to use Computer Modern Unicode fonts in my document. I made a
 link from $TEXLIVE2010/texmf-dist/fonts/opentype/public/cm-unicode to
 $CONTEXT_MINIMAL/tex/texmf-fonts/opentype/public but couldn't get CM-U
 font in the document. What should I do to use them?

 you have to make typescript for them as they are not supported out
 of the box; we use lm fonts (which are unicode)

 LM have no Cyrillic, but CM-U have, and I think that is why he wants to
 use them, and IMHO it deserves including a typescript for it and may be
 including the fonts in minimals too since there seem not to be any
 Cyrillic CM fonts there.
Yes, exactly. CM-U has Cyrillic while LM not.
And I fount 'type-cmu.mkiv' but couldn't get it to work.

@Willi:
VL Not sure about how 'context --generate'' works but I didn't that. May
VL be it doesn't like links?

I meant that I ran (several times) 'context --generate' after I made a
link to cm-unicode.

---
WBR, Vladimir Lomov
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen

On 30-9-2010 10:40, Khaled Hosny wrote:

On Thu, Sep 30, 2010 at 10:34:36AM +0200, Hans Hagen wrote:

On 30-9-2010 10:05, Vladimir Lomov wrote:

Hi.

I want to use Computer Modern Unicode fonts in my document. I made a
link from $TEXLIVE2010/texmf-dist/fonts/opentype/public/cm-unicode to
$CONTEXT_MINIMAL/tex/texmf-fonts/opentype/public but couldn't get CM-U
font in the document. What should I do to use them?


you have to make typescript for them as they are not supported out
of the box; we use lm fonts (which are unicode)


LM have no Cyrillic, but CM-U have, and I think that is why he wants to
use them, and IMHO it deserves including a typescript for it and may be
including the fonts in minimals too since there seem not to be any
Cyrillic CM fonts there.


If these are the huge traced cm supers I'd rather not have them in the 
minimals but as extra as they consume a log of space.


If it's just cyrillic .. maybe it's more interesting to use fallbacks, 
given that we have a cyrillic only variant available for that (there are 
type ones as we have support for the t2* encodings in mkii).


Btw, one of the reasons why lm/gyre have no cyrillic (or had cyrilic 
removed) is that in spit of all efforts to locate people, no one is 
willing to check them and do some quality control. It has been discussed 
before: if there is a group of volunteers the glyphs might show up again 
in the fonts.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Khaled Hosny
On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote:
 Hi.
 
 VL Not sure about how 'context --generate'' works but I didn't that. May
 VL be it doesn't like links?
 
 I meant that I ran (several times) 'context --generate' after I made a
 link to cm-unicode.

You actually need `mtxrun -script fonts --reload` to update font
database.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi.
2010/9/30 Hans Hagen pra...@wxs.nl:

 If these are the huge traced cm supers I'd rather not have them in the
 minimals but as extra as they consume a log of space.
No, it's otf fonts. For reference you could see this branch:
http://www.ctan.org/tex-archive/fonts/cm-unicode/fonts/otf/

 If it's just cyrillic .. maybe it's more interesting to use fallbacks, given
 that we have a cyrillic only variant available for that (there are type ones
 as we have support for the t2* encodings in mkii).
It's not the only way to get Cyrillic as any other language in ConTeXt.

 Btw, one of the reasons why lm/gyre have no cyrillic (or had cyrilic
 removed) is that in spit of all efforts to locate people, no one is willing
 to check them and do some quality control. It has been discussed before: if
 there is a group of volunteers the glyphs might show up again in the fonts.
If I not mistake part of work in cm-super was done by Vladimir
Volovich (or whole work?).

So, I should ask Wolfgang Schuster (author of type-cmu.mkiv) what
could be wrong with the document? May be I do completely wrong with
that typescript?

Khaled Hosny == KH:

KHYou actually need `mtxrun -script fonts --reload` to update font database.
I tried. Without success.

---
WBR, Vladimir Lomov
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen

On 30-9-2010 11:18, Khaled Hosny wrote:

On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote:

Hi.

VL  Not sure about how 'context --generate'' works but I didn't that. May
VL  be it doesn't like links?

I meant that I ran (several times) 'context --generate' after I made a
link to cm-unicode.


You actually need `mtxrun -script fonts --reload` to update font
database.


the database is not needed when filenames are used

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi.
2010/9/30 Hans Hagen pra...@wxs.nl:
 On 30-9-2010 11:18, Khaled Hosny wrote:

 On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote:

 Hi.

 VL  Not sure about how 'context --generate'' works but I didn't that.
 May
 VL  be it doesn't like links?

 I meant that I ran (several times) 'context --generate' after I made a
 link to cm-unicode.

 You actually need `mtxrun -script fonts --reload` to update font
 database.

 the database is not needed when filenames are used
Ok. Suppose that I place in currect directory the file 'type-cmu.mkiv'
(attached, sorry Wolfgang, I don't mention in the file that I changed
it, I need it for test only) and run as usual
$ context ex_ru.tex
(and I also change '\usetypescriptfile' to '\usetypefile' because then
I see in terminal output that local 'type-cmu.mkiv' is used) but again
I don't get CM-U fonts.

---
WBR, Vladimir Lomov


type-cmu.mkiv
Description: Binary data
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen

On 30-9-2010 1:09, Vladimir Lomov wrote:

Hi.
2010/9/30 Hans Hagenpra...@wxs.nl:

On 30-9-2010 11:18, Khaled Hosny wrote:


On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote:


Hi.

VLNot sure about how 'context --generate'' works but I didn't that.
May
VLbe it doesn't like links?

I meant that I ran (several times) 'context --generate' after I made a
link to cm-unicode.


You actually need `mtxrun -script fonts --reload` to update font
database.


the database is not needed when filenames are used

Ok. Suppose that I place in currect directory the file 'type-cmu.mkiv'
(attached, sorry Wolfgang, I don't mention in the file that I changed
it, I need it for test only) and run as usual
$ context ex_ru.tex
(and I also change '\usetypescriptfile' to '\usetypefile' because then
I see in terminal output that local 'type-cmu.mkiv' is used) but again
I don't get CM-U fonts.


how does your test file look

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi Hans.

2010/9/30 Hans Hagen pra...@wxs.nl:

 how does your test file look
Ok. Second shoot :)

[file name=ex_ru.tex]
%\usetypescriptfile[cmu]
\usetypefile[cmu]
\setupbodyfont[computer-modern-unicode, rm, 10pt]

\mainlanguage[ru]

\starttext
\input ru_li2.tex
\stoptext
[/file]

The ru_li2.tex is attached (text borrowed from ru.wikipedia.ru, about
Alexandrov P.S. mathematician)

---
WBR, Vladimir Lomov


ru_li2.tex
Description: TeX document
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Khaled Hosny
On Thu, Sep 30, 2010 at 11:45:15AM +0200, Hans Hagen wrote:
 On 30-9-2010 11:18, Khaled Hosny wrote:
 On Thu, Sep 30, 2010 at 06:00:37PM +0900, Vladimir Lomov wrote:
 Hi.
 
 VL  Not sure about how 'context --generate'' works but I didn't that. May
 VL  be it doesn't like links?
 
 I meant that I ran (several times) 'context --generate' after I made a
 link to cm-unicode.
 
 You actually need `mtxrun -script fonts --reload` to update font
 database.
 
 the database is not needed when filenames are used

But type-cmu.mkiv is loading fonts by name: not file:

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi Khaled.

2010/9/30 Khaled Hosny khaledho...@eglug.org:
[...]
 You actually need `mtxrun -script fonts --reload` to update font
 database.

 the database is not needed when filenames are used

 But type-cmu.mkiv is loading fonts by name: not file:
I modify type-cmu.mkiv to use 'file:' syntax (extension should be
avoided in order to context find OTF fonts, as I understand) and
posted it eariler.

---
WBR, Vladimir Lomov
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen

On 30-9-2010 1:18, Vladimir Lomov wrote:

Hi Hans.

2010/9/30 Hans Hagenpra...@wxs.nl:


how does your test file look

Ok. Second shoot :)

[file name=ex_ru.tex]
%\usetypescriptfile[cmu]
\usetypefile[cmu]
\setupbodyfont[computer-modern-unicode, rm, 10pt]


So where is the typeface computer-modern-unicode defined?

Maybe Wolfgang had a another file?



\mainlanguage[ru]

\starttext
\input ru_li2.tex
\stoptext
[/file]

The ru_li2.tex is attached (text borrowed from ru.wikipedia.ru, about
Alexandrov P.S. mathematician)

---
WBR, Vladimir Lomov



--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen

On 30-9-2010 1:18, Vladimir Lomov wrote:

Hi Hans.

2010/9/30 Hans Hagenpra...@wxs.nl:


how does your test file look

Ok. Second shoot :)

[file name=ex_ru.tex]
%\usetypescriptfile[cmu]
\usetypefile[cmu]
\setupbodyfont[computer-modern-unicode, rm, 10pt]

\mainlanguage[ru]

\starttext
\input ru_li2.tex
\stoptext
[/file]

The ru_li2.tex is attached (text borrowed from ru.wikipedia.ru, about
Alexandrov P.S. mathematician)


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


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Wolfgang Schuster

Am 30.09.2010 um 14:00 schrieb Hans Hagen:

 So where is the typeface computer-modern-unicode defined?
 
 Maybe Wolfgang had a another file?

The typescripts used a tex and a mark file which fails in newer version but i 
uploaded a new version of them.

@Vladimir: With the new typescript \setupbodyfont[cmu] is enough to use the 
font.

Wolfgang

___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** Hans Hagen [2010-09-30 14:00:12 +0200]:

 On 30-9-2010 1:18, Vladimir Lomov wrote:
Hi Hans.

2010/9/30 Hans Hagenpra...@wxs.nl:

how does your test file look
Ok. Second shoot :)

[file name=ex_ru.tex]
%\usetypescriptfile[cmu]
\usetypefile[cmu]
\setupbodyfont[computer-modern-unicode, rm, 10pt]
 
 So where is the typeface computer-modern-unicode defined?
Your onther message explains where.
Thank you Hans. Now I know about context a little more :)

---
WBR, Vladimir Lomov

-- 
Never commit yourself!  Let someone else commit you.
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** Wolfgang Schuster [2010-09-30 14:26:24 +0200]:

 
 Am 30.09.2010 um 14:00 schrieb Hans Hagen:
 
 So where is the typeface computer-modern-unicode defined?
 
 Maybe Wolfgang had a another file?
 
 The typescripts used a tex and a mark file which fails in newer version but i 
 uploaded a new version of them.
 
 @Vladimir: With the new typescript \setupbodyfont[cmu] is enough to use the 
 font.
Excuse my obtuseness, it is late here, but what/where is 'new typescript'?
In next beta or in hg repo?

Thank you.

P.S. As I understand from Hans example I need to define how serfi/rm
related with computer-modern-unicode. Is it right?

---
WBR, Vladimir Lomov

-- 
I always say beauty is only sin deep.
-- Saki, Reginald's Choir Treat
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** 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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Wolfgang Schuster

Am 30.09.2010 um 15:22 schrieb Vladimir Lomov:

 @Vladimir: With the new typescript \setupbodyfont[cmu] is enough to use the 
 font.
 Excuse my obtuseness, it is late here, but what/where is 'new typescript'?
 In next beta or in hg repo?

I uploaded the new typescript to the garden, you can get them in the minimals 
with

first-setup.sh/bat --extras=t-typescripts

or

first-setup.sh/bat --extras=all

Wolfgang

___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen

On 30-9-2010 3:22, Vladimir Lomov wrote:

** Wolfgang Schuster [2010-09-30 14:26:24 +0200]:



Am 30.09.2010 um 14:00 schrieb Hans Hagen:


So where is the typeface computer-modern-unicode defined?

Maybe Wolfgang had a another file?


The typescripts used a tex and a mark file which fails in newer version but i 
uploaded a new version of them.

@Vladimir: With the new typescript \setupbodyfont[cmu] is enough to use the 
font.

Excuse my obtuseness, it is late here, but what/where is 'new typescript'?
In next beta or in hg repo?

Thank you.

P.S. As I understand from Hans example I need to define how serfi/rm
related with computer-modern-unicode. Is it right?


I've added a the typescript to the next beta. For more advanced support 
you need Wolfgangs variant


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Hans Hagen

On 30-9-2010 3:37, Vladimir Lomov wrote:


You sure? Because I got LuaTeX error:


then you miss that style


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** Hans Hagen [2010-09-30 16:12:40 +0200]:

 On 30-9-2010 3:37, Vladimir Lomov wrote:
 
You sure? Because I got LuaTeX error:
 
 then you miss that style
 
 
 Hans
Hi Hans.

Even google couldn't find it :)

I tried to find this module on my machine (freshly updated minimal and
./first-setup.sh --extras=all) but didn't find anything.

Is fnt-29 a special (private) module?

--
WBR, Vladimir Lomov

-- 
manic-depressive, adj.:
Easy glum, easy glow.
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
** Wolfgang Schuster [2010-09-30 15:46:39 +0200]:

 
 Am 30.09.2010 um 15:22 schrieb Vladimir Lomov:
 
 @Vladimir: With the new typescript \setupbodyfont[cmu] is enough to use the 
 font.
 Excuse my obtuseness, it is late here, but what/where is 'new typescript'?
 In next beta or in hg repo?
 
 I uploaded the new typescript to the garden, you can get them in the minimals 
 with
 
 first-setup.sh/bat --extras=t-typescripts
 
 or
 
 first-setup.sh/bat --extras=all
 
 Wolfgang
Hi Wolfgang.

Do you know the usual delay time betweeen upload and when fresh files
will be in minimal?

P.S. Seems that uploads not go to minimal.contextgarden.net or
source.contextgarden.net immediately or automatically.

-- 
An atom-blaster is a good weapon, but it can point both ways.
-- Isaac Asimov
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Mojca Miklavec
On Fri, Oct 1, 2010 at 04:50, Vladimir Lomov wrote:
 ** Wolfgang Schuster [2010-09-30 15:46:39 +0200]:

 Do you know the usual delay time betweeen upload and when fresh files
 will be in minimal?

Only god knows that, I think. Delay for updating ConTeXt is 15
minutes, but only if something changes then everything else will be
updated as well. The rest is updated at least once per day, but there
are some other triggers ...

 P.S. Seems that uploads not go to minimal.contextgarden.net or
 source.contextgarden.net immediately or automatically.

They do go automatically, but not immediately (given the frequency of
updates of modules, I never considered this to be a problem so far;
but we could add a trigger on modules website, so that the update
would happen automatically; just not now since the modules might
change).

Mojca
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
Hi Mojca.

** Mojca Miklavec [2010-10-01 05:03:51 +0200]:

 On Fri, Oct 1, 2010 at 04:50, Vladimir Lomov wrote:
 ** Wolfgang Schuster [2010-09-30 15:46:39 +0200]:

 Do you know the usual delay time betweeen upload and when fresh files
 will be in minimal?
 
 Only god knows that, I think. Delay for updating ConTeXt is 15
 minutes, but only if something changes then everything else will be
 updated as well. The rest is updated at least once per day, but there
 are some other triggers ...
I thought that some daemon makes updates: after someon upload new file
on garden daemon updates files for context minimal, so I assume that
daemon do it once a day. I'll wait.
 
 P.S. Seems that uploads not go to minimal.contextgarden.net or
 source.contextgarden.net immediately or automatically.
 
 They do go automatically, but not immediately (given the frequency of
 updates of modules, I never considered this to be a problem so far;
 but we could add a trigger on modules website, so that the update
 would happen automatically; just not now since the modules might
 change).
source.contextgarden.net: 2010-03-30: not sure what this means.
minimals.contextgarden.net: Last modified - 2010-09-30 - setup . 

Never mind, I'll wait.
---
WBR, Vladimir Lomov

-- 
I dote on his very absence.
-- William Shakespeare, The Merchant of Venice
___
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
___


Re: [NTG-context] Computer Modern Unicode fonts

2010-09-30 Thread Vladimir Lomov
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
___