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

Rodolfo Medina romeomedina at libero.it
Sun Aug 15 11:05:03 CEST 2004

Rodolfo Medina wrote:

>Suppose I'm editing 'myfile.tex'. I say:
>and, some lines below,
>. This gives 'myfile'. Fine. Now I try with:
>\ifx\jobname\refn{label}yes\else no\fi
>and I get 'no', whereas I would like 'yes'. Is there a way to achieve this?

The solution was suggested by Hartmut Henkel in the texhax mailing list.
Here's the hack:



\ifx\tempa\tempb yes\else no\fi.

Thanks to all, indeed.

More information about the tex-eplain mailing list