Re: [NTG-context] missing "{ }" in metafun.

2021-03-14 Thread Jeong Dal
Dear Hans,

> \$ \_ \& \{ \}
> 
> become letters when we flush a mp graphic, so use
> 
> \lbrace \rbrace instead
> 

It works well.
Thank you so much.

Best regards,

Dalyoung


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] add more blank space when using \starteffect[hidden]

2021-03-14 Thread Jeong Dal
Dear Hans,

Thank you for your answer.

> 
> \framedtext[empty=yes]
> 

Yes, it clears everything in the frame.
But the frame is also clean when I disable \hideSolution. In that case, texts 
should be appeared.
What I want is the following:

If \hideSolution then
hide text and add more blank spaces
else
show full text and no more space.
endif

The full text  for the students another for the lecture.

Is there a way not using \framedtext?

Thank you again.
Best regards,

Dalyoung

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] getnonfreefonts with LMTX

2021-03-14 Thread Hans Hagen

On 3/14/2021 2:18 PM, Philipp A. wrote:

Hi!

The LMTX distribution comes with few binaries, texlua being none of them.

The getnonfreefonts  script 
seems simple enough, but it relies on a global “kpse” which it uses to 
get kpse variables. Therefore luametatex --luaonly can’t execute it.


I suppose we can make it work (because lmtx can call out to kpse if 
needed) but it's not worth the trouble because afaiks it depends on 
perl, does all kind of map things, probably donwloads more than one 
needs and I actually prefer to be explicit when it comes to fonts.



Is there a way to get those fonts with the standalone LMTX distribution?

(1) make a tree:

tex/texmf-fonts/fonts/data/nonfree

(2) download the fonts you want (only opentype I guess) and put them there

(3) mtxrun --generate
(4) mtxrun --script font --reload

The texmf-fonts tree is never overwritten and there is no need to figure 
out paths (just use /data/vendor). We're not talking of many fonts.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] missing "{ }" in metafun.

2021-03-14 Thread Jeong Dal
Hi,

Set notation “{}” is OK in TeX mode.
But it is missing in the output of the metafun code.
Here is an MWE.

It is same in two different versions.
ConTeXt  ver: 2021.01.17 21:42 LMTX  fmt: 2021.2.4  int: english/english
ConTeXt  ver: 2021.03.13 11:22 LMTX  fmt: 2021.3.14  int: english/english

\startbuffer[test]
label(textext("$\{a,b\}$"),origin);
\stopbuffer
\starttext
Let $A = \{a,b\}$.

\processMPbuffer[test]
\stoptext


Thanks.

Best regards,

Dalyoung___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] getnonfreefonts with LMTX

2021-03-14 Thread Philipp A.
Hi!

The LMTX distribution comes with few binaries, texlua being none of them.

The getnonfreefonts  script
seems simple enough, but it relies on a global “kpse” which it uses to get
kpse variables. Therefore luametatex --luaonly can’t execute it.

Is there a way to get those fonts with the standalone LMTX distribution?

Best, Phil
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] missing "{ }" in metafun.

2021-03-14 Thread Hans Hagen

On 3/14/2021 10:22 AM, Jeong Dal wrote:

Hi,

Set notation “{}” is OK in TeX mode.
But it is missing in the output of the metafun code.
Here is an MWE.

It is same in two different versions.
ConTeXt  ver: 2021.01.17 21:42 LMTX  fmt: 2021.2.4  int: english/english
ConTeXt  ver: 2021.03.13 11:22 LMTX  fmt: 2021.3.14  int: english/english

\startbuffer[test]
label(textext("$\{a,b\}$"),origin);
\stopbuffer
\starttext
Let $A = \{a,b\}$.

\processMPbuffer[test]
\stoptext

\$ \_ \& \{ \}

become letters when we flush a mp graphic, so use

\lbrace \rbrace instead

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___