On Thu, Mar 5, 2009 at 2:52 PM, Wolfgang Schuster
<schuster.wolfg...@googlemail.com> wrote:
>
> Am 05.03.2009 um 14:23 schrieb luigi scarso:
>
>>> http://texblog.net/latex-archive/plaintex/expandafter/
>>
>> hey, this is not a "moderate use of expandafter" as I intended ..
>> I dropped latex for similar examples .
>> In this situation
>> "please, grep setvalue base/*"
>
> ??? I can't understand the relation between \setvalue and the expandafter
> trick in the example on the webpage, setvalue hides the csname ... endcsname
> part but the example tries to avoid the \let\oldmacro\macro
> \def\macro{\oldmacro...}
> redefinition.
I don't like the
\let\oldmacro\macro  \def\macro{\oldmacro...}
construct
because sometimes the \def\macro{\oldmacro...}
can cause unexpected behaviour

I prefear

\setvalue{quote small}{\quote\small}
{\getvalue{quote small} foo }


-- 
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to