Dear Hans, dear Wolfgang, dear Dalyoung,

Thank you very much to all of you for sharing your insights ! 
I am always amazed at how Hans and this community solve the questions so fast 
and beyond my wildest expectations !

A question to Hans: Is the module « meta-imp-logicsymbols.mkxl » going to be 
included in future uploads ?

Best regards: Otared

> On 2 Feb 2026, at 00:55, Jeong Dal via ntg-context <[email protected]> wrote:
> 
> Dear Wolfgang,
> 
> Thank you for your code.
> 
> I copied  and run it. And, I got an “undefined control sequence”, 
> I commented out 
>  %\useMPlibrary[logicsymbols]
> 
> And replace it by 
> 
> \usemodule[meta-imp-logicsymbols.mkxl] .
> 
> Then it draw a nice picture.
> 
> I’ll try more.
> 
> Thanks again.
> 
> Best regards,
> 
> Dalyoung
> 
> 
> 
> 
>> Am 01.02.2026 um 15:33 schrieb Jeong Dal via ntg-context:
>>> Dear Wolfgang,
>>> Thank you for your clear explanation.
>>> It will help me to figure out how to locate the connecting points.
>>> It may not be easy for me, but I’ll try.
>> 
>> \useMPlibrary[logicsymbols]
>> 
>> \startMPpage[offset=.25ex]
>> 
>> u := BodyFontSize ;
>> 
>> drawoptions(withpen pencircle scaled 1) ;
>> 
>> draw (0, .25u) -- (u, .25u) withcolor "red" ;
>> draw (0,-.25u) -- (u,-.25u) withcolor "green" ;
>> 
>> draw textext("\lNAND") xysized (2u,u) shifted (2u,0) withcolor "orange" ;
>> 
>> draw (3u,0) -- (4u,0) withcolor "blue" ;
>> 
>> \stopMPpage
>> 
>>> In that case, I may try another way.
>>> Drawing logic gates by borrowing the  Hans’ code and using them as pictures 
>>> not fonts in the MetaFun.
>>> I am not sure that it is a better way.
>> 
>> This seems to be the better way to include the gates in the graphic.
>> 
>> Wolfgang
>> 
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to 
>> the Wiki!
>> 
>> maillist : [email protected] / 
>> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
>> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
>> archive  : https://github.com/contextgarden/context
>> wiki     : https://wiki.contextgarden.net
>> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : [email protected] / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________

Otared Kavian
e-mail: [email protected]
Phone: +33 6 88 26 70 95




___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to