ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: [NTG-context] Re: \in, \at, and labletext
Date: Wed, 28 Feb 2024 13:45:12 +0100	[thread overview]
Message-ID: <182faeed-74c9-42a0-ef19-37ab3e88e945@gmx.es> (raw)
In-Reply-To: <e0b7dd84398049b5b735ce1038653685@univie.ac.at>

On 2/28/24 13:05, Ursula Hermann wrote:
> Dear List,
>
> In the Documentation IntroCTX_eng_s.pdf at page 170 , I found the two
> examples with \in and \at, and also the label.

Dear Uschi,

I guess you mean (a link may be simpler than attaching a single page):

https://raw.githubusercontent.com/contextgarden/not-so-short-introduction-to-context/main/en/introCTX_eng_p.pdf#page=170

https://raw.githubusercontent.com/contextgarden/not-so-short-introduction-to-context/main/en/introCTX_eng_s.pdf#page=170

Sorry, but I don’t know which is the difference between both documents
(hashes are different, but diffpdf is not able to distinguish between
them [in appearance]).

> The Problem is, that in the following sentence only the number (3.1)  is
> a placed formula in an example, should have a link. Without the
> brackets. The sentence says:
>
> Task  1: Formulate equivalents according to rule (3.1):

If the link is missing, you may have missed to enable interaction (see
first line of sample below).

If parentheses (brackets are []) is what you want to remove, please
modify the sample below to display them (I simply don’t get them [sorry,
but this is my first document with a theorem]).

Other than that, I must confess I cannot imagine what is the issue you
might be facing.

But don’t hesitate to ask with a more verbose description.

> Sorry, I have no example.

Here you have one:

  \setupinteraction[state=start, focus=standard]
  \defineenumeration[theorem][text=Theorem, alternative=right]
  \starttext
  \starttheorem[was-noch]
  This theorem has one paragraph.
  \stoptheorem

  \theorem[whatever]
  This theorem has other paragraph.

  In \in{theorem}[whatever] on \at{page}[was-noch].
  \stoptext

I hope it might help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2024-02-28 12:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 12:05 [NTG-context] " Ursula Hermann
2024-02-28 12:45 ` Pablo Rodriguez via ntg-context [this message]
2024-02-29  8:36 ` [NTG-context] " Ursula Hermann

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=182faeed-74c9-42a0-ef19-37ab3e88e945@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /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).