... OK, thank you.
I also found your piece of code at http://www.mail-archive.com/ntg-context@ntg.nl/msg62816.html where usage is shown.
But I still have a question:
Is it possible to create a "point" (or anchor) which would know about the current section, so to retrieve this information later?
See the code:
----
\setupinteraction[state=start]
\starttext
See: \at[MyRef1]
\about[MyRef1]
\getreference[page][MyRef1]
\getreference[title][MyRef1]
\getreference[text][MyRef1]
\getreference[number][MyRef1]
\page
\section{Sec1}
\subsection{SSec1}
\reference[MyRef1]{MyRef1} This is the first reference.
\stoptext
----
Gives:
"
See: 2 “” 2 MyRef1
"
And I'm looking for a way to obtain:
See: ... SSec1 ... - the current deepest (current) section name,
or
See: ... "SSec1" ... - quoted current deepest (current) section name, like \about does,
and
See: ... 1.1 ... - the current section number.
How to achieve this?
Best regards,
Lukas
On Thu, 12 Apr 2012 13:53:05 +0200, Wolfgang Schuster
In MkIV you can use the \getreference command for this, see this mail for the arguments.
The \ref command is now only a synonym for \getreference and needs the same arguments.
Wolfgang
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038