Re: URL mit doppeltem Zirkumflex

Ulrike Fischer <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
Am Wed, 31 Jan 2024 12:06:06 +0100 schrieb Marei Peischl:

> Spannend, ich war gerade irritiert, weil \url das normalerweise kann, so 
> wie Martin geschrieben hatte:  (siehe auch url-Doku)

url-\url und hyperref-\url sind nicht identisch. 

Versuche einfach mal 

\def\blub{abc}
\url{xxx\blub}

Mit url gibt das 

xxx\blub

und mit hyperref

xxxabc

Woran man sehen kann, dass hyperref nicht einfach in verbatim
umschaltet. Das hat den Vorteil, dass \url{xxx\#\%} xxx#% ergibt (in
und außerhalb von Argumenten), aber eben auch den Nachteil, dass ^^
weiterhin als Eingabemethode gilt und z.B. \url{xxx^^61} zu xxxa
wird.

Wenn du ^ escapen willst, kannst du \string nehmen:

\url{https://danishcharts.dk/showitem.asp?interpret=Basshunter\&titel=Lol+\%26lt\%3B\%28\string^\string^\%2C\%29\%26gt\%3B\&cat=a}



-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/

-- 
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l 
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.