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
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 -----------------------------------------------------------------
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/
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
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 -----------------------------------------------------------------
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