![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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[...]. I use variables and setups to create a title page and use doctitle and author information in pdf document properties. I need quad in the titlepage but not in pdf properties. Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Aditya Mahajan 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[...].
I use variables and setups to create a title page and use doctitle and author information in pdf document properties. I need quad in the titlepage but not in pdf properties.
\appendtoks \let\quad\space \to \simplifiedcommands wikifyable Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/cedc4d83943006afe3994fb0a0455f82.jpg?s=120&d=mm&r=g)
On Tue, 9 May 2006, Aditya Mahajan wrote:
\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[...].
\appendtoks \def\quad{}% \to \simplifiedcommands or \appendtoks \def\quad{\ \ \ \ }% \to \simplifiedcommands Cheers, Peter -- http://pmrb.free.fr/contact/
![](https://secure.gravatar.com/avatar/4e9e1d8d1a9e48815e89a0c42439fd82.jpg?s=120&d=mm&r=g)
On Tue, 9 May 2006 12:50:05 -0400 (EDT), Aditya Mahajan
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 Regards, BG
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
nico wrote:
On Tue, 9 May 2006 12:50:05 -0400 (EDT), Aditya Mahajan
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 9 May 2006, Hans Hagen wrote:
nico wrote:
On Tue, 9 May 2006 12:50:05 -0400 (EDT), Aditya Mahajan
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
Thanks. I'll add it to the wiki (in a day or two) Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008
participants (4)
-
Aditya Mahajan
-
Hans Hagen
-
nico
-
Peter Münster