Subject: mailing-list for TeXmacs Users
List archive
From : Vasily Golyshev <address@hidden>- To: address@hidden
- Subject: labeling/referencing user defined variables
- Date: Thu, 5 Feb 2004 17:09:57 +0300 (MSK)
In Latex, labels seem to label the last changed
counter, so when I write
\refstepcounter{mycounter}
\mysection{\themycounter . Myheading.} \label{here}
.....
\ref{here}
evrything works just fine, and the ref refers to the value of mycounter
that numbered my section. This is a flexible way of creating one's own
layout for someone who does not want to modify the standard
section/subsection definitions.
Now, in Texmacs, the literal translation of this trick might be something
like
assign mycounter + value mycounter 1
(I omit bracketing)
and then
My heading. assign thislabel value mycounter
......
text
......
as we saw in section value|thislabel
.....
which would work fine only if the 'reference' comes after the
'label', not before.
What would you do instead? Or, is there a way to label/ref
user-introduced values?
Best, Vasily.
- labeling/referencing user defined variables, Vasily Golyshev, 02/05/2004
- Re: [TeXmacs] labeling/referencing user defined variables, David Allouche, 02/09/2004
- Re: [TeXmacs] labeling/referencing user defined variables, Vasily Golyshev, 02/11/2004
- Re: [TeXmacs] labeling/referencing user defined variables, David Allouche, 02/12/2004
- Re: [TeXmacs] labeling/referencing user defined variables, Vasily Golyshev, 02/11/2004
- Re: [TeXmacs] labeling/referencing user defined variables, David Allouche, 02/09/2004
Archive powered by MHonArc 2.6.19.