ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] \in, \at, and labletext
@ 2024-02-28 12:05 Ursula Hermann
  2024-02-28 12:45 ` [NTG-context] " Pablo Rodriguez via ntg-context
  2024-02-29  8:36 ` Ursula Hermann
  0 siblings, 2 replies; 3+ messages in thread
From: Ursula Hermann @ 2024-02-28 12:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Dear List,

In the Documentation IntroCTX_eng_s.pdf at page 170 , I found the two examples with \in and \at, and also the lable.

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):

Sorry, I have no example.

Uschi


[-- Attachment #1.2: Type: text/html, Size: 3553 bytes --]

[-- Attachment #2: introCTX_eng_s.pdf Seite 170.pdf --]
[-- Type: application/pdf, Size: 23767 bytes --]

[-- Attachment #3: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: \in, \at, and labletext
  2024-02-28 12:05 [NTG-context] \in, \at, and labletext Ursula Hermann
@ 2024-02-28 12:45 ` Pablo Rodriguez via ntg-context
  2024-02-29  8:36 ` Ursula Hermann
  1 sibling, 0 replies; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2024-02-28 12:45 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: \in, \at, and labletext
  2024-02-28 12:05 [NTG-context] \in, \at, and labletext Ursula Hermann
  2024-02-28 12:45 ` [NTG-context] " Pablo Rodriguez via ntg-context
@ 2024-02-29  8:36 ` Ursula Hermann
  1 sibling, 0 replies; 3+ messages in thread
From: Ursula Hermann @ 2024-02-29  8:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Dear List,


So I changed my sentence a little bit, now it works perfect, as I wanted it.


\setupinteraction[state=start]
\starttext
\reference[Rule:1]{Rule (3.1)}
Formulate equivalents according to rule (\goto {3.1} [Rule:1]).
\stoptext


Uschi

________________________________
Von: Ursula Hermann <ursula.hermann@univie.ac.at>
Gesendet: Mittwoch, 28. Februar 2024 13:05:25
An: mailing list for ConTeXt users
Betreff: [NTG-context] \in, \at, and labletext

Dear List,

In the Documentation IntroCTX_eng_s.pdf at page 170 , I found the two examples with \in and \at, and also the lable.

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):

Sorry, I have no example.

Uschi


[-- Attachment #1.2: Type: text/html, Size: 4625 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-29  8:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28 12:05 [NTG-context] \in, \at, and labletext Ursula Hermann
2024-02-28 12:45 ` [NTG-context] " Pablo Rodriguez via ntg-context
2024-02-29  8:36 ` Ursula Hermann

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).