Georg Baum schrieb:
Am Dienstag, 20. Februar 2007 16:44 schrieb Daniel Lohmann:
OK, the second line is responsible for inserting the dot (".") between
the
second and the third parameter. However, while I successfully managed to
replace it with almost any character, I have not been able to use "#" for
this purpose. This is probably because "#" is a magic character for LaTeX
that must not be used inside names.
I have the slight feeling that I am out of luck here :-(
I don't think so. The # is a special character in macros. If you replace it
with ## it should produce a single #. See also
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hash.
Thanks Georg!
However, even with numerous variants of #, ##, #### and so on I am just not
able to replace the "." in line 2 by a single "#" symbol.
\def\@@hyperref#1#2#3{%
[EMAIL PROTECTED]
[EMAIL PROTECTED]@one\\{#1}%
}
I always get:
! Illegal parameter number in definition of \x.
<to be read again>
The only form I have so far found to be kind of working is:
\def\@@hyperref#1#2#3{%
[EMAIL PROTECTED]
[EMAIL PROTECTED]@one\\{#1}%
}
Well, 32 hash symbols... However, it generates *two* hash symbols in the
output, labels look like "Page##8" instead of "Page#8". If I use only 16
hash symbols in the definition, I get (again) an "! Illegal parameter
number" error :-/
Daniel