<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">Rodolfo Medina wrote:<br>
</div>
<blockquote cite="mid:87y45iz921.fsf@gmail.com" type="cite">
<pre wrap="">
</pre>
<pre wrap="">Thanks.
\ifcsname turns to be undefined, so I guess you meant:
\def \refn #1%
{%
\ifx\csname \xrlabel {#1}\endcsname
\csname \xrlabel {#1}\endcsname
\else
{\tt #1}%
\fi
}
But the output is `no' where it is supposed to be yes...
Thanks,
Rodolfo
</pre>
</blockquote>
No, <tt>\ifcsname</tt> is not undefined (unless you are using pure
Knuthian TeX); e-TeX, PdfTeX and XeTeX all support \ifcsname. And
using <tt>\ifcsname</tt>, my XeTeX test yields "<tt>Yes</tt>", not
"<tt>No</tt>". Of course, you have to run it twice to get "Yes" --
e-Plain's cross-referencing requires a minimum of two passes.<br>
<br>
** Phil.<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.01010106.04000109@Rhul.Ac.Uk"><br>
Philip Taylor</div>
</body>
</html>