<div dir="auto"><div>Hi, this is a MetaPost limitation; s41p actually means s[41].p in MetaPost, not a simple variable name.<br><br>M.<br><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 14, 2024, 20:54 Rodrigo Severo via Therion <<a href="mailto:therion@speleo.sk">therion@speleo.sk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:Arial,sans-serif;font-size:14px">Hi,</div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px">Just trying to set a "line u:s41p" symbol on latest Therion and getting strange metapost errors:</div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px"><span style="font-family:Menlo,Consolas,Courier New,monospace">! Missing `=' has been inserted.</span><div><span style="font-family:Menlo,Consolas,Courier New,monospace"><to be read again> </span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"> 51</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">l.6846 let l_u_s51</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"> p = l_u;</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">You should have said `let symbol = something'.</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">But don't worry; I'll pretend that an equals sign</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">was present. The next token I read will be `something'.</span></div><div><br></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">! Missing symbolic token inserted.</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"><inserted text> </span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"> INACCESSIBLE</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">l.6846 let l_u_s51</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"> p = l_u;</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">Sorry: You can't redefine a number, string, or expr.</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">I've inserted an inaccessible symbol so that your</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">definition will be completed without mixing me up too badly.</span></div><div><br></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">! Extra tokens will be flushed.</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"><to be read again> </span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"> p</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">l.6846 let l_u_s51p</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"> = l_u;</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">I've just read as much of that statement as I could fathom,</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">so a semicolon should have been next. It's very puzzling...</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">but I'll try to get myself back together, by ignoring</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">everything up to the next `;'. Please insert a semicolon</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">now in front of anything that you don't want me to delete.</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">(See Chapter 27 of The METAFONTbook for an example.)</span></div><div><br></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">! Missing `=' has been inserted.</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"><to be read again> </span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"> 51</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">l.6847 def l_u_s51</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace"> p_legend = l_u_s51p(((-.3,0.5) .. (.3,.3) .. (.7,.7) .. (1...</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">The next thing in this `def' should have been `=',</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">because I've already looked at the definition heading.</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">But don't worry; I'll pretend that an equals sign</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">was present. Everything from here to `enddef'</span></div><div><span style="font-family:Menlo,Consolas,Courier New,monospace">will be the replacement text of this macro.</span></div><span></span></div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px">I believe that subtypes aren´t supporting all chars allowed by <keyword> as defined in THBook page 13 (Data types).</div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px">Is it a bug or am I misreading something?</div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px">Regards,</div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div><div style="font-family:Arial,sans-serif;font-size:14px">Rodrigo</div><div style="font-family:Arial,sans-serif;font-size:14px"><br></div>
<div style="font-family:Arial,sans-serif;font-size:14px">
<div>
</div>
<div>
</div>
</div>
_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank" rel="noreferrer">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div></div></div>