How do you create a url which includes a section symbol '§'?
I'm trying to create a link to this following url using the url-package:
https://lovdata.no/lov/1997-02-28-19/§20-20
Notice the section symbol '§'. This symbol is not printed to the output.
Consider the following example:
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{url}
\urldef{\mydefinedurl}\url{https://section_symbol_§_not_printed}
\begin{document}
\url{https://works_without_section_symbol}
\mydefinedurl
\url{https://section_symbol_§_not_printed}
% Real world-example: § is not printed.
\url{https://lovdata.no/lov/1997-02-28-19/§20-20}
\end{document}
This is the result. I have marked the places where the '§' is missing.
Thanks!
{\catcode`_=12\texttt{https://section_symbol_§_not_printed}}