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: A trouble with setupbodyfontenvironment
Date: Fri, 1 Mar 2013 10:51:08 +1100	[thread overview]
Message-ID: <CAPGiC76uJg1UNMNc1XFKwiKFhsrwLs0j6T2JXrxMppisM1KoJQ@mail.gmail.com> (raw)
In-Reply-To: <20130228134046.GA29684@homerow>


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

Actually, maybe my version is a bit old: context --version
returns 2011.05.18 18:04.  I'll try to update it.  (I'm using Ubuntu 12.04,
but when I tried to update using apt-get the system told me that I had the
latest version).  In the meantime I'll try your alternative.

Thanks!


On Fri, Mar 1, 2013 at 12:40 AM, Marco Patzer <homerow@lavabit.com> wrote:

> On 2013–03–01 Alasdair McAndrew wrote:
>
> > Do I have to include a special module here?
>
> No. I tested some versions between 2011.11.29 23:11 and 2013.02.26
> 00:17 and it worked for me. Which version are you using?
> \definehighlight is nothing which was recent added.
>
> \setupbodyfontenvironment
>   [default]
>   [em=slantedred]
>
> \definehighlight
>   [slantedred]
>   [style=slanted,
>    color=red]
>
> \starttext
>   foo {\em bar}
> \stoptext
>
> You cannot update, you can try this instead of \definehighlight:
>
> \definealternativestyle
>   [slantedred]
>   [{\slanted\color[red]}]
>
>
> Marco
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2378 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:[~2013-02-28 23:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-28 11:46 Alasdair McAndrew
2013-02-28 12:02 ` Marco Patzer
2013-02-28 13:25   ` Alasdair McAndrew
2013-02-28 13:40     ` Marco Patzer
2013-02-28 23:51       ` Alasdair McAndrew [this message]
2013-03-01  0:01         ` Aditya Mahajan
2013-03-01  9:47           ` Alasdair McAndrew
2013-03-01  9:54             ` Marco Patzer
2013-03-01 10:27               ` Alasdair McAndrew
2013-03-01 14:10                 ` Hans Hagen
2013-03-01 14:11                 ` Hans Hagen
2013-03-01 19:18         ` Bill Meahan
2013-03-01 23:24           ` Alasdair McAndrew

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=CAPGiC76uJg1UNMNc1XFKwiKFhsrwLs0j6T2JXrxMppisM1KoJQ@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).