Hi Hans and Wolfgang,
I have tried your suggestions and it seems to work.
Thank you so much.
Fabrice

Le sam. 17 avr. 2021 à 19:04, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> a écrit :
Fabrice Couvreur schrieb am 17.04.2021 um 16:30:
Hi,
This is going to be difficult to explain because the code below works but in a project with many components does not. Actually the macro does not work in the definition environment in my project but in the same environment of this simple code yes. Thank you for your possible help.

Without more information or a better example there is nothing which can be done.

It's possible you have multiple definitions for the command in your style file,
you can also try if adding \usebodyfont[stixtwo] (or \definebodyfont[...pt] when
you use a unconventional font size) to your setups.

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