From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: References and formulae numbers in upshape
Date: Fri, 14 Mar 2008 09:00:49 +0100 [thread overview]
Message-ID: <20080314090049.fb43ade4.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <200803140349.19954.morgan.brassel@free.fr>
On Fri, 14 Mar 2008 03:49:19 +0100
Morgan Brassel <morgan.brassel@free.fr> wrote:
>
> > > \definereferenceformat
> > > [eqref]
> > > [left=\bgroup\normal(,
> > > right=)\egroup]
> >
> > This was my first attempt, but it gave some trouble. I need to go back and
> > check.
> >
> > Aditya
>
> I now realize that my first question was not very clear: what I need in fact
> is to typeset *all* references obtained by the \in command in upshape. For
> example, in {\it See \in{Figure}[fig:det] for details.}, I would like to
> see 'Figure 1' in upshape and the rest in italic. I tried:
>
> \setupreferencing
> [left=\bgroup\normal,
> right=\egroup]
>
> without success. Is there a way to achieve this without defining new reference
> formats?
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
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-03-14 8:00 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 [this message]
2008-03-14 21:30 ` Morgan Brassel
2008-03-15 7:28 ` Wolfgang Schuster
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=20080314090049.fb43ade4.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).