ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: ntg-context@ntg.nl
Subject: Re: non-interactive underlining
Date: Wed, 06 Jun 2007 14:22:17 -0400	[thread overview]
Message-ID: <20070606142217.xwvb0gf02s0k8o00@web.mail.umich.edu> (raw)
In-Reply-To: <7CA631B3-0EEF-4195-9336-9EFF92E6D057@princeton.edu>

Quoting Alan Bowen <acbowen@princeton.edu>:

> How do I turn off interaction when using \startunderline...
> \stopunderline. Currently the underlining shows in blue, but I need
> it in the same color as the typeface (black). Is there something
> equivalent to \setupunderlining[interaction=off]?

Depends on how you define \startunderline. The usual way is to

\definetextbackground[underline]  
[location=text,alternative=1,background=,frame=off]

\definestartstop [underline]
  [before={\starttextbackground[underline]},
   after=\stoptextbackground]

which does not introduce any interaction (interaction means that 
something should happen when you click the screen). It does have a blue 
underline, because of framecolor=blue in \setuptextbackgrounds. To have 
black color you can add
framecolor=black, if you want typeface color (which can be different 
from black) add framecolor=\maintextcolor, to either 
\definetextbackground or to \setuptexttextbackground.

Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2007-06-06 18:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06 18:01 Alan Bowen
2007-06-06 18:22 ` Aditya Mahajan [this message]
2007-06-06 18:47   ` Alan Bowen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070606142217.xwvb0gf02s0k8o00@web.mail.umich.edu \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).