Re: [NTG-context] LuaTeX-plain File Database Problem

2014-05-15 Thread Aíre Funvake
On Thu May 15 23:07:40 2014, Aditya Mahajan wrote:
> On Thu, 15 May 2014, Aíre Funvake wrote:
>
>> Hi all,
>>
>> Never felt so incompetent in my life -- just cannot get LuaTeX to
>> find fonts or `*.tex` files for use with `\input `, or
>> `font\xxx = `. Even though, these commands were
>> executed (all I could find):
>>
>>   mktexlsr
>>   mtxrun --script base --generate
>>   luatools --generate
>>   context --generate
>>   mtxrun --script fonts --update --force
>>   mtxrun --script fonts --udpate --simple
>>
>> Tried putting files in (in the roots and subdirectories):
>>
>>   ~/texmf
>>   ~/ctx/tex/texmf-project
>>   ~/ctx/tex/texmf-local
>>   ~/ctx/tex/texmf-fonts
>>
>> Checked if the file could be found:
>>
>>   luatools --find-file .tex   <--- finds it
>>   luatools --find-file xxx.otf<--- finds it
>>   mtxrun --locate .tex<--- finds it
>>   mtxrun --locate xxx.otf <--- finds it
>>   kpsewhich/where <--- finds only if in `~/texmf`
>>
>> In .tex file (even when files are in `~/texmf` dir):
>>
>>   \input   or .tex<--- no luck
>>   \font\myfont = name:<--- no luck
>>   \font\myfont = file:.otf<--- no luck
>>
>> Sorry, but reading and searching for hours did not bring any solu-
>> tion. Not sure if there is a configuration file like `texmf.cnf` or
>> the `context.cnf` that must be modified, or and environment var-
>> iable like `TEXMFHOME` (default seems to be `~/texmf`, and that's
>> OK, if only it would only work).
>>
>> Sorry to spam this list with questions which may seem very
>> fundamental to you. Hope to be able to reciprocate sometime.
>> What am I missing?
>
> Read about TDS (TeX Directory Structure).
>
> You need to put files in $TEXMF/tex/plain/ subdirectory for Plain
> format to find it, or in $TEXMF/tex/generic/ subdirectory for all
> macro packages (plain, latex, context) to find it.
>
> Aditya
>
Thank you, will re-read it forthwith, must have missed something.
It just feels wrong to put re-usable project files inside the
distribution tree. Still feel like an idiot, if not more so.

Can anyone enlighten me then as to the purpose of `$HOME/texmf`,
`$TEXMF/tex/texmf-local`, `$TEXMF/tex/texmf-fonts`, etc.,
considering they are all, for example, configured in the file:
`$TEXMF/tex/texmf/web2c/texmf.cnf`? Which I assumed incorrectly
it seems, the name resolvers would use.

Thanks a lot again, I realise this must be beneath you all,
Aíre.
___
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] LuaTeX-plain File Database Problem

2014-05-15 Thread Aditya Mahajan

On Thu, 15 May 2014, Aíre Funvake wrote:


Hi all,

Never felt so incompetent in my life -- just cannot get LuaTeX to
find fonts or `*.tex` files for use with `\input `, or
`font\xxx = `. Even though, these commands were
executed (all I could find):

  mktexlsr
  mtxrun --script base --generate
  luatools --generate
  context --generate
  mtxrun --script fonts --update --force
  mtxrun --script fonts --udpate --simple

Tried putting files in (in the roots and subdirectories):

  ~/texmf
  ~/ctx/tex/texmf-project
  ~/ctx/tex/texmf-local
  ~/ctx/tex/texmf-fonts

Checked if the file could be found:

  luatools --find-file .tex   <--- finds it
  luatools --find-file xxx.otf<--- finds it
  mtxrun --locate .tex<--- finds it
  mtxrun --locate xxx.otf <--- finds it
  kpsewhich/where <--- finds only if in `~/texmf`

In .tex file (even when files are in `~/texmf` dir):

  \input   or .tex<--- no luck
  \font\myfont = name:<--- no luck
  \font\myfont = file:.otf<--- no luck

Sorry, but reading and searching for hours did not bring any solu-
tion. Not sure if there is a configuration file like `texmf.cnf` or
the `context.cnf` that must be modified, or and environment var-
iable like `TEXMFHOME` (default seems to be `~/texmf`, and that's
OK, if only it would only work).

Sorry to spam this list with questions which may seem very
fundamental to you. Hope to be able to reciprocate sometime.
What am I missing?


Read about TDS (TeX Directory Structure).

You need to put files in $TEXMF/tex/plain/ subdirectory for Plain format 
to find it, or in $TEXMF/tex/generic/ subdirectory for all macro packages 
(plain, latex, context) to find it.


Aditya
___
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] Bug with TikZ module ?

2014-05-15 Thread Aditya Mahajan

On Thu, 15 May 2014, Fabrice Couvreur wrote:


Hi,
Why the three words are not aligned on the baseline ?
Regards,
Fabrice

\usemodule[tikz]
\starttext
\starttikzpicture[level/.style={sibling distance=10mm}]
\node{}[grow=right]
child{node{J}}
child{node{R}}
child{node{B}
child{node{J}}
child{node{R}}
child{node{B}
child{node{J}}
child{node{R}}
child{node{B}}}
};
\node at (3,-0.75) {$\vdots$};
\node at (4.5,0.25) {$\vdots$};
\node at (1.5,-2.5) {toit};
\node at (3,-2.5) {fenêtre};
\node at (4.5,-2.5) {porte};
\stoptikzpicture
\stoptext


You have the same result with LaTeX, so the bug is not with ConTeXt. TikZ 
is aligning at the bottom of the box rather than at the baseline.


IIRC, there is an option to "align at baseline" in TikZ. Otherwise, you 
can try adding `\strut` in each of the labels, so:


\node at (...) {\strut ...} ;

etc.

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

[NTG-context] LuaTeX-plain File Database Problem

2014-05-15 Thread Aíre Funvake
Hi all,

Never felt so incompetent in my life -- just cannot get LuaTeX to
find fonts or `*.tex` files for use with `\input `, or
`font\xxx = `. Even though, these commands were
executed (all I could find):

   mktexlsr
   mtxrun --script base --generate
   luatools --generate
   context --generate
   mtxrun --script fonts --update --force
   mtxrun --script fonts --udpate --simple

Tried putting files in (in the roots and subdirectories):

   ~/texmf
   ~/ctx/tex/texmf-project
   ~/ctx/tex/texmf-local
   ~/ctx/tex/texmf-fonts

Checked if the file could be found:

   luatools --find-file .tex   <--- finds it
   luatools --find-file xxx.otf<--- finds it
   mtxrun --locate .tex<--- finds it
   mtxrun --locate xxx.otf <--- finds it
   kpsewhich/where <--- finds only if in `~/texmf`

In .tex file (even when files are in `~/texmf` dir):

   \input   or .tex<--- no luck
   \font\myfont = name:<--- no luck
   \font\myfont = file:.otf<--- no luck

Sorry, but reading and searching for hours did not bring any solu-
tion. Not sure if there is a configuration file like `texmf.cnf` or
 the `context.cnf` that must be modified, or and environment var-
iable like `TEXMFHOME` (default seems to be `~/texmf`, and that's
OK, if only it would only work).

Sorry to spam this list with questions which may seem very
fundamental to you. Hope to be able to reciprocate sometime.
What am I missing?

Thank you kindly,
Aíre.
___
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] [OT] Typographical quality of various engines

2014-05-15 Thread luigi scarso
On Thu, May 15, 2014 at 8:26 PM, Jan Tosovsky  wrote:

> On 2014-05-15 luigi scarso wrote:
> > On 5/14/2014 10:21 PM, Jan Tosovsky wrote:
> > >
> > > I've finished a rough comparision of various engines for
> > > their typographical quality: http://drifted.in/publishing/
> >
> > Another point could be the "server" property... the swiglib project is
> > an attempt to cover this side
> >
> > https://swiglib.foundry.supelec.fr/
>
> I am sad seeing lot of technical details without single sentence covering
> benefits for the end user...
>
> It depends on the "end user" term.
It's the other side of digital typography: high speed of "low quality" jobs,
where the core  is the automatic workflow and the "end user" is often a
"traditional programmer" .



-- 
luigi
___
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] [OT] Typographical quality of various engines

2014-05-15 Thread Jan Tosovsky
On 2014-05-15 luigi scarso wrote:
> On 5/14/2014 10:21 PM, Jan Tosovsky wrote:
> >
> > I've finished a rough comparision of various engines for
> > their typographical quality: http://drifted.in/publishing/ 
> 
> Another point could be the "server" property... the swiglib project is
> an attempt to cover this side
> 
> https://swiglib.foundry.supelec.fr/

I am sad seeing lot of technical details without single sentence covering 
benefits for the end user... 

Jan




___
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] [OT] Typographical quality of various engines

2014-05-15 Thread luigi scarso
On Thu, May 15, 2014 at 7:39 PM, Jan Tosovsky  wrote:

> On 2014-05-15 Hans Hagen wrote:
> > On 5/14/2014 10:21 PM, Jan Tosovsky wrote:
> > > Dear All,
> > >
> > > I've finished a rough comparision of various engines for their
> > > typographical quality: http://drifted.in/publishing/
> > >
> > > From my point of view the ConTeXt is the best offering in this
> > > field to date, so congratulation!
> > >
> > > If you find something inappropriate or misleading in my text, please
> > > comment or let me know.
> > >
> > > If my ConTeXt examples could be written more efficiently, I am open
> > > to fix it.
> >
> > Font expansion only, applied to a limited character subset
> >
> > Is that true? It is applied to any character that you want, of course
> > given that you associate expansion factors, but that happens for quite
> > some characters in context.
>
> Good point, it should be clarified it is a default vector set, which can be
> further customized (extended).
> My info is based on this Wiki http://wiki.contextgarden.net/Protrusion
> pointing to this source code:
> http://source.contextgarden.net/font-ext.lua
>
> By that subset I mean the table vectors['default']
>
>
> > Concerning homogenization, context has support for dynamically aplying
> > feature (alternates) to improve the look and feel but of course not
> > many fonts have multiple variants for glyphs grouped in stylistic
> > alternates so this mechanism is hardly used (only for some arabic).
>
> Yes, I am aware of this, but it is indeed not very obvious from the text.
>
> Thanks for your suggestions,
>
> Jan
>
> Another point could be the "server" property... the swiglib project is an
attempt to cover this side
https://swiglib.foundry.supelec.fr/
-- 
luigi
___
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] [OT] Typographical quality of various engines

2014-05-15 Thread Hans Hagen

On 5/15/2014 7:39 PM, Jan Tosovsky wrote:

On 2014-05-15 Hans Hagen wrote:

On 5/14/2014 10:21 PM, Jan Tosovsky wrote:

Dear All,

I've finished a rough comparision of various engines for their
typographical quality: http://drifted.in/publishing/

 From my point of view the ConTeXt is the best offering in this
field to date, so congratulation!

If you find something inappropriate or misleading in my text, please
comment or let me know.

If my ConTeXt examples could be written more efficiently, I am open
to fix it.


Font expansion only, applied to a limited character subset

Is that true? It is applied to any character that you want, of course
given that you associate expansion factors, but that happens for quite
some characters in context.


Good point, it should be clarified it is a default vector set, which can be
further customized (extended).
My info is based on this Wiki http://wiki.contextgarden.net/Protrusion
pointing to this source code:
http://source.contextgarden.net/font-ext.lua

By that subset I mean the table vectors['default']


yes but we also initialize all similar shapes


Concerning homogenization, context has support for dynamically aplying
feature (alternates) to improve the look and feel but of course not
many fonts have multiple variants for glyphs grouped in stylistic
alternates so this mechanism is hardly used (only for some arabic).


Yes, I am aware of this, but it is indeed not very obvious from the text.

Thanks for your suggestions,

Jan

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




--

-
  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] [OT] Typographical quality of various engines

2014-05-15 Thread Jan Tosovsky
On 2014-05-15 Hans Hagen wrote:
> On 5/14/2014 10:21 PM, Jan Tosovsky wrote:
> > Dear All,
> >
> > I've finished a rough comparision of various engines for their
> > typographical quality: http://drifted.in/publishing/
> >
> > From my point of view the ConTeXt is the best offering in this 
> > field to date, so congratulation!
> >
> > If you find something inappropriate or misleading in my text, please
> > comment or let me know.
> >
> > If my ConTeXt examples could be written more efficiently, I am open
> > to fix it.
> 
> Font expansion only, applied to a limited character subset
> 
> Is that true? It is applied to any character that you want, of course
> given that you associate expansion factors, but that happens for quite
> some characters in context.

Good point, it should be clarified it is a default vector set, which can be
further customized (extended).
My info is based on this Wiki http://wiki.contextgarden.net/Protrusion
pointing to this source code:
http://source.contextgarden.net/font-ext.lua 

By that subset I mean the table vectors['default']


> Concerning homogenization, context has support for dynamically aplying
> feature (alternates) to improve the look and feel but of course not
> many fonts have multiple variants for glyphs grouped in stylistic 
> alternates so this mechanism is hardly used (only for some arabic).

Yes, I am aware of this, but it is indeed not very obvious from the text.

Thanks for your suggestions,

Jan

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


[NTG-context] Bug with TikZ module ?

2014-05-15 Thread Fabrice Couvreur
Hi,
Why the three words are not aligned on the baseline ?
Regards,
Fabrice

\usemodule[tikz]
\starttext
\starttikzpicture[level/.style={sibling distance=10mm}]
\node{}[grow=right]
child{node{J}}
child{node{R}}
child{node{B}
child{node{J}}
child{node{R}}
child{node{B}
child{node{J}}
child{node{R}}
child{node{B}}}
};
\node at (3,-0.75) {$\vdots$};
\node at (4.5,0.25) {$\vdots$};
\node at (1.5,-2.5) {toit};
\node at (3,-2.5) {fenêtre};
\node at (4.5,-2.5) {porte};
\stoptikzpicture
\stoptext
___
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] LuaTeX-plain OpenType Features Select

2014-05-15 Thread Philipp Gesang
·
> On Wed May 14 00:16:54 2014, Philipp Gesang wrote:
> > That’s correct. The “color” key triggers a custom callback that
> > tints every glyph of the defined font. It’s part of Luaotfload
> > solely for compatibility for Xetex. IMO it’s not worth the
> > hassle; I recommend using a proper color package instead.
> >
> Thank you for the kind advice, Philipp. Is there a color package
> that works with ConTeXt's luatex-plain.fmt that you can suggest?

Never tried that, sorry. Have you searched CTAN? If that leads
nowhere I recommend asking on http://tex.stackexchange.com.

Best,
Philipp



pgpH4kKkkGkRF.pgp
Description: PGP signature
___
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
___

[NTG-context] Access to fonts in /usr/share/fonts/X11/

2014-05-15 Thread Michael Ash
ConTeXt is working fine,and I am pretty sure that OSFONTDIR is set correctly
I have recently run
mtxrun --script fonts --reload
and
context --generate


I am able to see/use fonts in the /usr/share/fonts/opentype and
/usr/share/fonts/truetype

I can see/use *some* of the fonts in the /usr/share/fonts/X11/ directory:

mtxrun --script fonts --list --all --pattern=Symbol*
symbol   symbol
/usr/share/fonts/X11/Type1/Symbol.afm
symbolbold   symbol
/usr/share/fonts/X11/Type1/Symbol.afm

ls -l /usr/share/fonts/X11/Type1/Symbol.*
/usr/share/fonts/X11/Type1/Symbol.afm -> ../../type1/mathml/Symbol.afm
/usr/share/fonts/X11/Type1/Symbol.pfb -> ../../type1/mathml/Symbol.pfb


But I can't see with mtxrun (or use in documents) *many* of the fonts in
this directory:

mtxrun --script fonts --list --all --pattern=Dorian*


ls -l /usr/share/fonts/X11/Type1/Dorian*
/usr/share/fonts/X11/Type1/DorianCLM-Book.afm
/usr/share/fonts/X11/Type1/DorianCLM-Book.pfa


I note that the fonts that I can  use appear to be symbolic links to a
different directory.




Thank you very much for advice.


Best,
Michael


I'm using
mtx-context | ConTeXt Process Management 0.60
mtx-context |
mtx-context | main context file:
/opt/context/tex/texmf-context/tex/context/base/context.mkiv
mtx-context | current version: 2014.04.28 23:24
on linux (ubuntu 14.04)




-- 
Michael Ash, Chair, Department of Economics
Professor of Economics and Public Policy
University of Massachusetts Amherst
Amherst, MA 01003
Email m...@econs.umass.edu
Tel +1-413-545-2590 Twitter https://twitter.com/michaelaoash
___
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] [OT] Turing award for Leslie Lamport

2014-05-15 Thread luigi scarso
On Thu, Mar 20, 2014 at 8:49 AM, Mojca Miklavec <
mojca.miklavec.li...@gmail.com> wrote:

> Now that both Kruth (TeX) and Leslie Lamport (LaTeX) won the Turing award
>  http://amturing.acm.org/award_winners/lamport_1205376.cfm
>


https://www.youtube.com/watch?v=pgWTmOyUjtM
-- 
luigi
___
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] LuaTeX-plain OpenType Features Select

2014-05-15 Thread Aíre Funvake
On Wed May 14 00:16:54 2014, Philipp Gesang wrote:
> ·
>
>> On 5/13/2014 8:16 PM, Aíre Funvake wrote:
>>> On Tue May 13 19:56:34 2014, Hans Hagen wrote:
 On 5/13/2014 7:48 PM, Aíre Funvake wrote:
> On Mon May 12 23:12:06 2014, Aíre Funvake wrote:
>> On 2014-05-12, 22:59 , Aíre Funvake wrote:
>>> On Mon May 12 22:52:43 2014, Hans Hagen wrote:
 On 5/12/2014 10:46 PM, Aíre Funvake wrote:
> On Mon May 12 22:01:04 2014, Hans Hagen wrote:
>> On 5/12/2014 9:48 PM, Aíre Funvake wrote:
>>> Hi all,
>>>
>>> Trying to select "slashed zero" and "lining figures" from a
>>> font. For Lucida Bright OT, as another example, +scmp works,
>>> but not for Charter ITC Pro. But the font that concerns me
>>> the most right now, is TheSansMono Condensed...
>>>
>>> Font URL:
>>> http://www.lucasfonts.com/fonts/thesansmono/thesansmono-condensed/features/
>>>
>>>
>>>
>>>
>>> PDF Info:
>>> https://dl.dropboxusercontent.com/u/6613992/TheSansMonoCd-info.pdf
>>>
>>> 8<---minimal example>8
>>> \newdimen\fntcodesz
>>> \fntcodesz = 11.5pt
>>> \font\kwr = name:thesansmonocdw5regular:+lnum;+zero at \fntcodesz
>>> \kwr
>>> 0123456789
>>> \bye
>>> 8<-->8
>>
>> sometimes you need to select a script/language combination too
>> or when
>> digits are concerned disable oldstyle
>
> I'm too inexperienced to know what that means, or how to apply that.

 there is some info in font manuals and the context wiki

> I've opened the font in FontForge, and can see the glyphs I'm
> looking for, but again, it does not carry much applicable meaning
> for me. For example, can I use this information?:
>
> Slash 0, Lining Figures: (0x10120) U+0030 "zero.lf.slashed" DIGIT
> ZERO
>  1, Lining Figures: (0x10121) U+0031 "one.lf" DIGIT ONE
>  ...
> Slash 0, "Basic": (0x1012b) U+0030 "zero.basic.slashed" DIGIT ZERO
>  1, "Basic": (0x1012c) U+0031 "one.basic" DIGIT ONE
>  ...

 so you need to select the lnum feature too

>>> Was this not it?:
>>> ...
>>> \font\kwr = name:thesansmonocdw5regular:+lnum;+zero at \fntcodesz
>>> ...
>>> But thanks; will keep on reading; if solution found, will add it here.
>>> Regards,
>>> Aíre
>>>
>> Solution:
>> \font\tt = name:thesansmonocdw5regular:script=latn;+lnum;+zero} at 12pt
>> Thank you!
>>
>
> Spoke too soon. The "zero.slashed" is selected, instead of
> "zero.lf.slashed",
> so that the zero is smaller than the rest of the lining figure numbers.
> In
> desperation, tried luatex with 'luaotfload.sty' under TeXLive2013, and
> it
> worked fine. `;color=XX` also works with `luaotfload`, but not with
> LuaTeX-plain from ConTeXt.

 no, and that is unlikely to show up in context as it makes no sense to
 specify colors that way .. just use the normal color commands

> Any ideas would be welcome. Exhausted Google query permutations and most
> font info if for LaTeX, pdfTeX, pdfLaTeX, LuaLaTeX or ConTeXt.
>
> Can I maybe as a hack switch the glyphs, or something?

 how about adding

mode=node

 in the plain setup (often not needed in context)

 Hans

>>> Thanks for the reply. Tried `mode=node`. Read about it, but never
>>> thought
>>> of putting it here!? The correct specification then is:
>>>
>>> \font\mono = {TheSansMonoCd-W5Regular:%
>>>   script=latn;+lnum;+zero;mode=node} at \fntsze
>>>
>>> Confused about the color though. Read most of luatexref-t.pdf, and may
>>> have missed it. The only reference (and it works in `luaotfload` under
>>> TeXLive2013) is like this:
>>>
>>> \font\mono = {TheSansMonoCd-W5Regular:%
>>>   script=latn;+lnum;+zero;mode=node;color=336699} at \fntsze
>>> 
>>
>> so it looks like oftload adds that (or maybe the latex font definition
>> code) but even then, it's probably implemented someplace else in the
>> latex code
>>
>>> Found no other reference to setting color on fonts in LuaTeX-plain (the
>>> ConTeXt version). Would love a pointer to the information though.
>>
>> it must be something latex i think (maybe to provide xetex
>> compatibility) but it's definitely not in luatex (nor will be) and also
>> not in context (which has more advanced color support than hex specs
>> anyway)
>
> That’s correct. The “color” key triggers a custom callback that
> tints every glyph of the defined font. It’s part of Luaotfload
> solely for compatibility