<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Jim Diamond wrote:
<pre wrap="">
</pre>
</div>
<blockquote type="cite" cite="mid:20191018171519.GA13736@tux3.acadiau.ca">
<pre wrap="">
I might agree.  But I think anything with \expandafter\noexpand ups
the lack of clarity considerably.
</pre>
</blockquote>
<br>
<span class="moz-smiley-s1"><span>:-)</span></span>   In which case I fear that you would think that an \afterassignment which launches an \aftergroup is also not entirely transparent ...<br>
<br>
<blockquote type="cite">\def \imagebox #1{\csname newbox\endcsname #1\imagehacks {#1}\setbox #1}
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;">
\def \imagehacks #1%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;">
     {%</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;">
        \advance \imagecount by 1 </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;">
         \def \aftergrouphacks {\advance \imagewidth by \wd #1}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;">
         \def \afterimagehacks {\aftergroup \aftergrouphacks}</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;">
         \afterassignment \afterimagehacks</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;">
    }</p>
<p style="-qt-paragraph-type:empty; margin-top:0px;
        margin-bottom:0px; margin-left:0px; margin-right:0px;
        -qt-block-indent:0; text-indent:0px;">
<br>
</p>
</blockquote>
<blockquote type="cite">\imagebox \logobox = \hbox {\XeTeXpdffile ../../Logos/PT-Logo.pdf height \imageheight}
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
        margin-right:0px; -qt-block-indent:0; text-indent:0px;">
\imagebox \flagbox = \hbox {\XeTeXpdffile ../../Flags/St-Piran.pdf height \imageheight}<br>
...<br>
</p>
</blockquote>
<br>
<i>Philip Taylor</i><br>
</body>
</html>