[tex-eplain] Treat \refn as a number?

Rodolfo Medina romeomedina at libero.it
Thu Aug 12 18:13:40 CEST 2004


Hi, all.

Using plain TeX, and eplain macros for cross references. If I say:

\definexref{label}{1}{}

and, some lines below, I try to compare the result of \refn{label}, which is
the nuber 1,
with a number, say 2, using \ifnum, I have troubles: if I say, e.g.,

\ifnum2=\refn{label2}yes\else no\fi

I get the error message

! Missing number, treated as zero.

I'd need to compare the result of \refn{label} with a number.
Is there a way to achieve this purpose?

Thanks in advance,
        		Rodolfo



More information about the tex-eplain mailing list