On 11/21/2012 9:36 AM, Wolfgang Schuster wrote:

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

so we would have (in typo-mar):

\appendtoks
    \forgetall
    \tf
\resetallattributes % \deactivatecolor % needed, but maybe we should switch to maintextcolor: \onlyinheritmaintextcolor
\to \everymargindatacontent

we can try that for a while and see where it spoils the game


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to