Eric DÉTREZ schrieb: > Hello > > When I use a inframed command at the start of a line it doesn't allow > to be continued by text : > > ****************************************************** > \starttext > blabla \inframed{essai} blabla > > > \inframed{essai} blabla > \stoptext > ****************************************************** > gives > > ------------------ > blabla framed{essai} blabla > framed{essai} > blabla > ------------------ > > I expected > ------------------ > blabla framed{essai} blabla > framed{essai} blabla > ------------------ > > Is it anything to do ? > \dontleavehmode\inframed
A \framed at the beginning of a paragraph starts in vertical mode (stuff is ordered vertically). The macro \dontleavehmode ensures, that the horizontal mode is used. Best wishes, Peter > ___________________________________________________________________________________ > 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 : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________