ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Oliver Heins <olli@sopos.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Howto add a # sign to a \button URL?
Date: Wed, 13 May 2009 19:40:55 +0200	[thread overview]
Message-ID: <87k54k52ag.fsf@sopos.org> (raw)
In-Reply-To: <4A09B771.5040308@wxs.nl> (Hans Hagen's message of "Tue\, 12 May 2009 19\:52\:49 +0200")

Hans Hagen <pragma@wxs.nl> writes:

> Oliver Heins wrote:
>> Hallo,
>>
>> I try to send a message from a pdf to a webserver.  This works fine,
>> unless the URL has a `#' in it.  Then TeX throws an error:
>
> does \# work?

No, this leads to the following error (which is the same I get when
doing a \noexpand\foochar{}, where \foochar is \edefed as {\char 35}):

,----
| ! Missing \endcsname inserted.
| <to be read again> 
|                    \#
| <argument> ...Form{http://mydomain.test/formular\#
|                                                   fdf,Shortline}
| \dodoexpandreferences ... \specialREFidentifier #1
|                                                   \endcsname \edef \expanded...
| 
| \doexpandreferences ...ences #1REF(\relax )\relax 
|                                                   \@EAEAEA \doexpandreferenc...
| 
| \expandreferences ...count \doexpandreferences #1,
|                                                   ],
| \doifreferencefoundelse ... \expandreferences {#1}
|                                                   \egroup \doresetgotowheree...
| ...
| l.17 ...://mydomain.test/formular\#fdf,Shortline}]
`----


Best regards,
 oll

-- 
Oliver Heins olli@sopos.org    F27A BA8C 1CFB B905 65A8
http://www.sopos.org/olli/     2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-05-13 17:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <39730.olli@sopos.org.1242143241.squirrel@mail.cryptix.de>
2009-05-12 17:52 ` Hans Hagen
2009-05-13 17:40   ` Oliver Heins [this message]
2009-05-13 17:47     ` Wolfgang Schuster
2009-05-13 19:02       ` Oliver Heins
2009-05-13 23:03         ` luigi scarso
2009-05-12 15:47 Oliver Heins

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=87k54k52ag.fsf@sopos.org \
    --to=olli@sopos.org \
    --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).