ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alasdair McAndrew <amca01@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Colored text in \type?
Date: Sat, 3 Sep 2011 00:24:57 +1000	[thread overview]
Message-ID: <CAPGiC77s1TFND16hF06Cd1xWxVvfnbPSyAgJSsyRaiS7XH7b_Q@mail.gmail.com> (raw)
In-Reply-To: <E69D3696-A4CF-4953-9C92-F178356DB9A1@googlemail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1370 bytes --]

I'm using MkII - are there any particular advantages to using MkIV?

-Alasdair

On Fri, Sep 2, 2011 at 10:34 PM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:

>
> Am 02.09.2011 um 09:47 schrieb Peter Münster:
>
> > On Fri, Sep 02 2011, Alasdair McAndrew wrote:
> >
> >>
> >> \color[blue]{\type{%t^y_8*&}}
> >>
> >> doesn't seem to work; nor does
> >>
> >> {\blue \type{%t^y_8*&}}
> >
> > No problem with mkiv.
>
> You don’t even need \type in mkiv:
>
> \asciimode
>
> \starttext
>
> \definehighlight[one][color=red,  style=mono]
> \definehighlight[two][color=green,style=mono]
>
> \mono{%t^y_8*&}
>
> \one{%t^y_8*&}
>
> \two{%t^y_8*&}
>
> \stoptext
>
> Wolfgang
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>



-- 
Blog: http://amca01.wordpress.com
Web:  http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew

[-- Attachment #1.2: Type: text/html, Size: 2403 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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	other threads:[~2011-09-02 14:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-02  4:49 Alasdair McAndrew
2011-09-02  5:11 ` Jaroslav Hajtmar
2011-09-02  5:18   ` Alasdair McAndrew
2011-09-02  7:47 ` Peter Münster
2011-09-02 12:34   ` Wolfgang Schuster
2011-09-02 14:24     ` Alasdair McAndrew [this message]
2011-09-02 14:47       ` luigi scarso

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=CAPGiC77s1TFND16hF06Cd1xWxVvfnbPSyAgJSsyRaiS7XH7b_Q@mail.gmail.com \
    --to=amca01@gmail.com \
    --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).