[tex-eplain] Error

Philip Taylor P.Taylor at Rhul.Ac.Uk
Mon Jul 4 00:14:28 CEST 2016



Rodolfo Medina wrote:
> 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
>
No, \ifcsname is not undefined (unless you are using pure Knuthian TeX); e-TeX, PdfTeX and XeTeX all support \ifcsname.  And using \ifcsname, my XeTeX test yields "Yes", not "No".  Of course, you have to run it twice to get "Yes" -- e-Plain's cross-referencing requires a minimum of two passes.

** Phil.
-- 

Philip Taylor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-eplain/attachments/20160703/7be872c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signature.jpg
Type: image/jpeg
Size: 12104 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-eplain/attachments/20160703/7be872c3/attachment.jpg>


More information about the tex-eplain mailing list