[texhax] A problem about \jobname

520011141241-0001 at t-online.de 520011141241-0001 at t-online.de
Mon Aug 16 17:26:35 CEST 2004

On Sat, 14 Aug 2004, Rodolfo Medina wrote:

> The problem you helped me with, though, was just the first step of a
> final problem I want to work out in the end, which is using the above
> \ifx... \else... \fi condition with the eplain commands \refn{} and
> \definexref{}{}{} for cross references. My final purpose is to say
> first: \definexref{label}{\jobname}{}
> and then achieve something like (trying to applying your indications):
> \edef\tempa#1{\refn{#1}}
> \edef\tempb{\jobname}
> \edef\tempa#1{\meaning\tempa{#1}}
> \edef\tempb{\meaning\tempb}

You can always check the weird contents of definitions by \meaning... or

I don't know what you want to achieve but maybe this hack keeps you

\input eplain



See \ifx\tempa\tempb this file\else \ref{label}\fi.

Regards, Hartmut

TeX FAQ: http://www.tex.ac.uk/faq
TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
Mailing list archives: http://tug.org/pipermail/texhax/
More links: http://tug.org/begin.html

Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster at tug.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2#Mime.822
Type: application/octet-stream
Size: 3601 bytes
Desc: not available
Url : http://tug.org/pipermail/texhax/attachments/20040816/01d3dce6/2Mime.obj
-------------- next part --------------

More information about the texhax mailing list