Re: [NTG-context] Howto add a # sign to a \button URL?
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? ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Hans Hagen
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
Am 13.05.2009 um 19:40 schrieb Oliver Heins:
Hans Hagen
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}):
Did \letterhash work? Wolfgang
Hallo Wolfgang,
Wolfgang Schuster
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:
Did \letterhash work?
Yes, thank you. I tried to figure out where \letterhash is defined, but couldn't find it out grepping through the sources.
______________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
I think so, but don't know where. The \button function seems not to be mentioned at all but within the context of hiding layers. Best regards, olli -- 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
On Wed, May 13, 2009 at 9:02 PM, Oliver Heins
Hallo Wolfgang,
Wolfgang Schuster
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:
Did \letterhash work?
Yes, thank you. I tried to figure out where \letterhash is defined, but couldn't find it out grepping through the sources.
maybe in catc-sym.tex at line 27 ? .catcode `.# 12 .xdef .letterhash B.string#E -- luigi
participants (4)
-
Hans Hagen
-
luigi scarso
-
Oliver Heins
-
Wolfgang Schuster