Thank you very much, Wolfgang and Luigi, that was exactly what I was looking for!
Footnotes disable the rule with the \resetallattributes command but it’s up to Hans to add it to the margin notes.
Maybe there could be parameter like \setupmarginframed[resetfeatures=(yes|no|underbar|color|…)] …
(I know that underbar is controversial feature, unfortunately in this special case it's a requirement which I can't change…) Best, Daniel Am 21.11.12 10:02, schrieb luigi scarso:
On Wed, Nov 21, 2012 at 9:52 AM, Wolfgang Schuster
mailto:wolfgang.schuster@gmail.com> wrote: Am 21.11.2012 um 09:42 schrieb luigi scarso
mailto:luigi.scarso@gmail.com>: On Wed, Nov 21, 2012 at 9:36 AM, Wolfgang Schuster
mailto:wolfgang.schuster@gmail.com> wrote: Am 03.09.2012 um 13:08 schrieb Daniel Schopper
mailto:daniel.schopper@aon.at>: > Hi, > I have to typeset some underlined text with margin notes by its side. Is there a way to prevent the notes themself to get underlined? I tried putting the note-command in a group, simplifying its content etc. (In my real file I use \defineinmargin, btw.) > > \starttext > \underbar{Test Test Test\footnote{footnote}~Test Test Test\par > Test\inleft{marginal} Test Test Test Test Test \par} > \stoptext > > (As one can see, there’s also an issue with the footnote-sign breaking the continued line, which is not urgent for me, at least by now.)
Footnotes disable the rule with the \resetallattributes command but it’s up to Hans to add it to the margin notes.
but you can add by hand \starttext \underbar{%
Test Test Test\footnote{footnote}~Test Test Test\par Test\inleft{\resetallattributes \color[red]{\overbar{marginal}}} Test Test Test Test Test \par }
\stoptext
and disable features which rely on attributes :)
\starttext Test\inleft[color=blue]{\resetallattributes marginal} Test \stoptext
exactly, that's the meaning of my prev. line \inleft{\resetallattributes \color[red]{\overbar{marginal}}}
"reset all attributes and turn on some of them." Can help in some situations.
___________________________________________________________________________________ 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 ___________________________________________________________________________________