> > - label(textext("\letterbackslash\letterampersand"),origin); > > - label(textext("\letterbackslash\&"),origin); > > > > This is because the commands are interpreted with TeX before they > > are written to mpgraph.mp. The \letterampersand or \& generates the > > character & alone: you need to preceed it with backslash, so that > > metapost finally knows what to do. > > So, should all the \letter... commands (basically anything generated > from char-def.lua) be unexpandable? What are the disadvantages of unexpandable commands? I'm not an expert. Why is this not done by default if it works better?
> You can also try \noexpand\letterampersand Produces compile error. Marco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : firstname.lastname@example.org / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________