Hi Karl, and others.
On May 17, 2018, at 8:57 AM, Karl Berry mailto:karl@freefriends.org> wrote:
Doing a grep on /usr/local/texlive/2018/texmf-dist/tex/, I see \expanded
is used in a couple oberdiek packages, context, and mathspec. I did not
try to figure out if the mathspec usage is compatible. It might be worth
notifying its author at some point as a courtesy. FWIW ...
Is \expanded really equivalent to that xelatex definition below:
xelatex/mathspec/mathspec.sty:129:\providecommand\expanded[1]{\edef\@tempa{#1}\@tempa}
It seems to me that it should be, but maybe there is actually a slight difference.
So it would be nice to see some practical applications;
e.g., where a package author had a specific desire, or absolute need (?),
to avoid going via a temporary container-like macro such as \@tempa above.
Otherwise, why the need for this as a primitive?
Convenience only, is not normally a good enough reason to add a primitive.
..
generic/oberdiek/etexcmds.sty:235:\edef\x{\string\expanded}%
generic/oberdiek/etexcmds.sty:236:\edef\y{\meaning\expanded}%
generic/oberdiek/etexcmds.sty:239: \let\etex@expanded\expanded
generic/oberdiek/etexcmds.sty:272: Could not find \string\expanded.\MessageBreak
generic/oberdiek/etexcmds.sty:275: that some package has redefined \string\expanded.%
generic/oberdiek/hobsub-generic.sty:3641:\edef\x{\string\expanded}%
generic/oberdiek/hobsub-generic.sty:3642:\edef\y{\meaning\expanded}%
generic/oberdiek/hobsub-generic.sty:3645:\let\etex@expanded\expanded
generic/oberdiek/hobsub-generic.sty:3678: Could not find \string\expanded.\MessageBreak
generic/oberdiek/hobsub-generic.sty:3681: that some package has redefined \string\expanded.%
..
xelatex/mathspec/mathspec.sty:129:\providecommand\expanded[1]{\edef\@tempa{#1}\@tempa}
xelatex/mathspec/mathspec.sty:132: \expanded{\noexpand\setkeys*[eu]{#2}{\expandonce#3\@empty}}}
xelatex/mathspec/mathspec.sty:134: \expanded{\noexpand\zf@fontspec{\expandonce#1\@empty}{\expandonce#2\@empty}}}
..
Grep finished at Tue May 15 10:18:14
_______________________________________________
ntg-pdftex mailing list
ntg-pdftex@ntg.nlmailto:ntg-pdftex@ntg.nl
https://mailman.ntg.nl/mailman/listinfo/ntg-pdftex
Cheers,
Ross
Dr Ross Moore
Mathematics Dept | 12 Wally’s Walk, 734
Macquarie University, NSW 2109, Australia
T: +61 2 9850 8955 | F: +61 2 9850 8114tel:%2B61%202%209850%209695
M:+61 407 288 255tel:%2B61%20409%20125%20670 | E: ross.moore@mq.edu.aumailto:rick.minter@mq.edu.au
http://www.maths.mq.edu.auhttp://mq.edu.au/
[cid:image001.png@01D030BE.D37A46F0]http://mq.edu.au/
CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.http://mq.edu.au/
This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University.http://mq.edu.au/