[tex-eplain] Error
Rodolfo Medina
rodolfo.medina at gmail.com
Mon Jul 4 01:47:25 CEST 2016
Philip Taylor <P.Taylor at Rhul.Ac.Uk> writes:
> 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.
In plain TeX it yelds `No' (two passes of course): with \ifcsname converted in
\ifx\csname. But also with pdftex and etex, and \ifcsname. Cannot try xetex.
Rodolfo
More information about the tex-eplain
mailing list