ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: \quad in pdf author
Date: Tue, 09 May 2006 19:52:30 +0200	[thread overview]
Message-ID: <4460D6DE.7040907@wxs.nl> (raw)
In-Reply-To: <ops9ang52e9niby6@localhost>

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


-- 

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

  reply	other threads:[~2006-05-09 17:52 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 [this message]
2006-05-09 19:05     ` Aditya Mahajan

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=4460D6DE.7040907@wxs.nl \
    --to=pragma@wxs.nl \
    --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).