ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: References and formulae numbers in upshape
Date: Sat, 15 Mar 2008 08:28:54 +0100	[thread overview]
Message-ID: <20080315082854.2caecd0c.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <200803142230.30269.morgan.brassel@free.fr>

On Fri, 14 Mar 2008 22:30:30 +0100
Morgan Brassel <morgan.brassel@free.fr> wrote:

> Le Friday 14 March 2008 09:00:49 Wolfgang Schuster, vous avez écrit :
> > What do you want seems to be not possible but you could use the
> > following solution although it is better to define a new command.
> >
> > \let\normalin\in
> >
> > \definereferenceformat
> >   [figref]
> >   [left=\normal,
> >    text=\normal Figure,
> >    command=\normalin]
> >
> > \let\in\figref
> >
> > \starttext
> >
> > \placefigure
> >   [here][fig:det]
> >   {Example}
> >   {\blackrule[width=3cm,height=3cm]}
> >
> > \it See \in[fig:det] for details.
> >
> > \stoptext

> Thank you for your help, Wolfgang! I think I'll define a new \ref command 
> similar to the one in LaTeX, with upshape number. But maybe a new option 
> would be welcome? (just as for numberstyle=normal in \setupformulae). What do 
> you think? Is it a bad idea? I'm just curious...

A new command to set the style for the number is OK but you need also
one for the text but this need to be done by Hans because it is not
possible to change the style for the predefined command in, at ... with
the current implementation.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-03-15  7:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13  0:39 Morgan Brassel
2008-03-13 12:03 ` Aditya Mahajan
2008-03-13 17:50   ` Morgan Brassel
2008-03-13 20:00     ` Aditya Mahajan
2008-03-13 18:16   ` Wolfgang Schuster
2008-03-13 18:44     ` Morgan Brassel
2008-03-13 19:13       ` Wolfgang Schuster
2008-03-13 19:59         ` Aditya Mahajan
2008-03-14  2:49           ` Morgan Brassel
2008-03-14  8:00             ` Wolfgang Schuster
2008-03-14 21:30               ` Morgan Brassel
2008-03-15  7:28                 ` Wolfgang Schuster [this message]
2008-03-15  8:17                   ` Jan-Erik Hägglöf
2008-03-15  8:45                     ` Johan Sandblom
2008-03-15  9:10                       ` Jan-Erik Hägglöf
2008-03-15 14:33                         ` Wolfgang Schuster
2008-03-15 15:15                           ` Jan-Erik Hägglöf

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=20080315082854.2caecd0c.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).