From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: \quad in pdf author
Date: Tue, 9 May 2006 15:05:46 -0400 (EDT) [thread overview]
Message-ID: <Pine.WNT.4.63.0605091505170.3620@nqvgln> (raw)
In-Reply-To: <4460D6DE.7040907@wxs.nl>
On Tue, 9 May 2006, Hans Hagen wrote:
> nico wrote:
>> On Tue, 9 May 2006 12:50:05 -0400 (EDT), Aditya Mahajan
>> <adityam@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
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
prev parent reply other threads:[~2006-05-09 19:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-09 16:50 Aditya Mahajan
2006-05-09 17:05 ` Hans Hagen
2006-05-09 17:05 ` Peter Münster
2006-05-09 17:13 ` nico
2006-05-09 17:52 ` Hans Hagen
2006-05-09 19:05 ` Aditya Mahajan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.WNT.4.63.0605091505170.3620@nqvgln \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).