[NTG-context] \quad in pdf author

Hans Hagen pragma at wxs.nl
Tue May 9 19:52:30 CEST 2006


nico wrote:
> On Tue, 9 May 2006 12:50:05 -0400 (EDT), Aditya Mahajan  
> <adityam at umich.edu> wrote:
>
>   
>> Hi,
>>
>> \setupinteraction
>>    [
>>     author={Author 1 \quad Author 2},
>>    ]
>>
>> gives me "Author 1 hskip 1em" in pdf info. Is there some way to ensure
>> that \quad is ignored when used in \setupinteraction[...].
>>     
>
> As Hans said once, you can do this:
>
> \appendtoks
>    \def\quad{}%
> \to \simplifiedcommands
>
> \setupinteraction
>     [state=start,
>      author={Author 1 \quad Author 2}]
>
> \starttext
> bla
> \stoptext
>   
actually, in the title it should be:

Author 1\quad Author 2


\def\MyQuad{\removeunwantedspaces\quad\ignorespaces}

\appendtoks \let\MyQuad\empty \to \simplifiedcommands

Author 1 \MyQuad Author 2


-- 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list