3

Whereas there are certain rules for how a URL is to be formed (where non ascii letters are not really allowed). How about \path? I happend to try \path{æøå}, saved in latin1 this gives the expected result, whereas in utf8 it gives six letters.

\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
%\usepackage[latin1]{inputenc} % remember to convert file into latin1
\usepackage{url}
\begin{document}
\path{æåø}

\texttt{æåø}
\end{document}
  • url.sty has the comment % lots more to add, but I should later link into inputenc which translates as: this doesn't work yet.... – David Carlisle May 11 '14 at 17:32
  • No problem, just wanted to be sure and make sure it was in the archive – daleif May 11 '14 at 22:00
  • I was going to add a fix but got pulled away and when I looked it's a bit tricky:-) You could just ask Donald to fix his package:-) – David Carlisle May 11 '14 at 22:14
  • Or at least note it in the manual. – daleif May 12 '14 at 7:19
  • You know that you can compile with xelatex, dont you? XeTeX natively supports uft8, so you don't need (remove it) inputenc package. – JLDiaz May 13 '14 at 8:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.