Le 04 août à 15:38:11 Wolfgang Schuster <schuster.wolfg...@googlemail.com> écrit notamment:
| Provide a *minimal working*, otherwise there is no way to tell what’s wrong. sure Here are 4 files: TEst.tex: ......................... \startproduct Test \environment env_test \startfrontmatter \component bla \stopfrontmatter \startbodymatter \component test1 \component test2 \stopbodymatter \stopproduct .......................... env_test.tex: ......................... \startenvironment env_test \setupcolors [state=start] \setupcaptions[way=bysection,prefixsegments=chapter] \setupformulae[way=bysection,prefixsegments=section] \setupinteraction[state=start] \definereferenceformat[ineq] [left=(,right=),text=équation] \definereferenceformat[graph][left={graphique },right=] \stopenvironment .......................... test1.tex: .......................... \startcomponent \chapter{ch 1} This file has been typeset on \currentdate{} at \currenttime, with \doifmodeelse{mkiv}{mkiv, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp)}{mkii}, ConTeXt version \contextversion, using the command: \starttyping context test.tex \stoptyping \stopcomponent .......................... test2.tex: .......................... \startcomponent \chapter{ch 2} \section{un} \startuseMPgraphic{kdj} pickup pencircle scaled 1.5mm ; draw (origin -- dir(45) -- dir(0) -- cycle) scaled sqrt(2) scaled 3cm withcolor .625red ; draw (origin -- dir(angle(1,1)) -- dir(angle(1,0)) -- cycle) scaled sqrt(2) scaled 3cm shifted (4.5cm,0) withcolor .625yellow ; draw (origin -- (1,1) -- (1,0) -- cycle) scaled 3cm shifted (9cm,0) withcolor .625white ; label.lft(btex quid? $\alpha$ etex, (1,3)); \stopuseMPgraphic \placefigure[][fig:un]{Un}{\useMPgraphic{kdj}} \section{deux} \placeformula[eq:pythagoras] \startformula a^2+b^2=c^2 \stopformula This is explained in \ineq[eq:pythagoras]. Et dans le \graph[fig:un] \stopcomponent ............................ "context TEst" produces a different result in the caption with these files and when replacing (start-stop)component by (start-stop)text (files test1 and test2). -- Jean ___________________________________________________________________________________ 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 ___________________________________________________________________________________