Re: URL mit doppeltem Zirkumflex

Dirk Hünniger (via tex-d-l Mailing List) <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
Hallo Ulrike,

vielen Dank für die Erklärung. Ich habe jetzt schon Niklas Methode 
implementiert und sie läuft. Aber trotzdem Danke für den Hinweis auf 
\string.

Viele Grüße Dirk

On 31.01.24 18:35, Ulrike Fischer wrote:
> 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}
>
>
>
>

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