![](https://secure.gravatar.com/avatar/d4db251f6da966f841fc5b1a9822eb56.jpg?s=120&d=mm&r=g)
Hi, It looks like textext.dflt is undefined in the latest lmtx because it is now renamed to textext.dlft :)
On 21 May 2021, at 14:03, Floris van Manen
wrote: Using the example from the wiki https://wiki.contextgarden.net/textext_positioning
then using the latest version of lmtx
$ context --version mtx-context | ConTeXt Process Management 1.04 mtx-context | mtx-context | main context file: /home/vm/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv mtx-context | current version: 2021.05.20 16:06 mtx-context | main context file: /home/vm/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl mtx-context | current version: 2021.05.20 16:06
it will produce an error (and an empty page)
metapost > initializing instance 'metafun:1' using format 'metafun' and method 'default' metapost > loading 'metafun' as 'metafun.mpxl' using method 'default' metapost > initializing number mode 'scaled' metafun > log > metafun > log > error: Unknown relation will be considered false metafun > log > metapost > log > metapost > log > <to be read again> metapost > log > ) metapost > log > thetextext->...FIX2)(rawtextext(ddecimal(EXPR3)),(EXPR4))else:if.anchortextexts>0:image(draw(EXPR3)withprescript"tx_anchor="&ddecimal(EXPR4))else:(EXPR3)fi.if(mfun_labtype(SUFFIX2)>=10) metapost > log > :shifted(0,y... metapost > log > thetextext->begingroup.if.string(EXPR3):thetextext(SUFFIX2)(rawtextext((EXPR3)),(EXPR4)) metapost > log > elseif.numeric(EXPR3):thetextext(SUFFIX2)(rawtextext(decimal(EXPR3)),(EXPR4))elseif.pair(EXPR3):thetextext(SU... metapost > log > textext->begingroup.thetextext(SUFFIX2)((EXPR3),origin) metapost > log > endgroup metapost > log > <*> ...A; draw PA withpen pencircle scaled 1.5mm withcolor red; pair PB ; PB := PA shifted decal ; draw textext.drt ("DRT-" & MonTexte) shifted PB; draw textext.dflt("DFLT-" & MonTexte) metafun > log > metafun > log > Oh dear. I can't decide if the expression above is positive, negative, or zero. So this comparison test won't be 'true'.
As in most of the cases with software, there is (probably) a reason to it ;-)
.F ___________________________________________________________________________________ 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 ___________________________________________________________________________________
— Taco Hoekwater E: taco@bittext.nl genderfluid (all pronouns)