On Wed, Nov 21, 2012 at 9:52 AM, Wolfgang Schuster <wolfgang.schuster@gmail.com> wrote:

Am 21.11.2012 um 09:42 schrieb luigi scarso <luigi.scarso@gmail.com>:




On Wed, Nov 21, 2012 at 9:36 AM, Wolfgang Schuster <wolfgang.schuster@gmail.com> wrote:

Am 03.09.2012 um 13:08 schrieb Daniel Schopper <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.