[tex-eplain] Error

Philip Taylor P.Taylor at Rhul.Ac.Uk
Sun Jul 3 13:29:34 CEST 2016


Because the expansion of \refn requires information that is not available at the time that you attempt to expand it using \edef; you need to defer the expansion, as below.

\input eplain                
\message {\string \refn: \meaning \refn}
\def \mytest
    {
        \edef \tempa {\noexpand \refn {f}}
    }                                                 
\mytest                      
\end 

-- 

Philip Taylor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-eplain/attachments/20160703/b4ecc080/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/b4ecc080/attachment.jpg>


More information about the tex-eplain mailing list