ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: vim.unix@gmail.com, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: label, caption and eps in figures?
Date: Fri, 12 Jun 2009 23:33:57 +0200	[thread overview]
Message-ID: <4A32C9C5.7090909@wxs.nl> (raw)
In-Reply-To: <30c383e70906121340nfc920f7p2b1f0cabeb31befa@mail.gmail.com>

Pau wrote:
> Hello,
> 
> thanks for the hint. The legend worked very well.
> 
> Nevertheless, I still have not understood what the equivalent in
> ConTeXt of LaTeX \ref{} <---> \label{} is

label is always an optional arg

refs go like: \in{figure}[label] or \at{page}[label]


> ---------------------------------------------------------------------------
> \begin{equation}
> 1 + 1 = 2
> \label{eq.1}
> \end{equation}
> 
> In Eq. \ref{eq.1}, we show that one plus one equals two
> ----------------------------------------------------------------------------
> 
> How would you write that in ConTeXt?

\placeformula[label]
   \startformula
    .....
   \stopformula

> And for a figure?

\placefigure
     [here]           % location
     [fig.MyCaption]  % reference
     {My Caption}     % caption
     {\externalfigure[MyFigure.eps][factor=broad]}

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2009-06-12 21:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-12 15:43 Pau
2009-06-12 15:56 ` Hans Hagen
     [not found]   ` <6faad9f00906120859q1d7692aesc4bf1456c5a90405@mail.gmail.com>
2009-06-12 20:40     ` Pau
2009-06-12 21:33       ` Hans Hagen [this message]
2009-06-13 12:15         ` Pau
2009-06-13 12:21           ` Wolfgang Schuster
2009-06-13 12:24           ` Hans Hagen
2009-06-13 13:09             ` Pau
2009-06-24 11:25               ` Pau
2009-06-25 11:25                 ` Pau
2009-06-25 14:19                   ` Willi Egger
2009-06-25 15:06                     ` Pau
2009-06-26  6:33                       ` Willi Egger

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=4A32C9C5.7090909@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=vim.unix@gmail.com \
    /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).