Code: Select all
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
Code: Select all
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Well, you can't have accented characters in URLs, only ASCII. The rest of Unicode can be encoded into ASCII according to some weird "IDNA" scheme, but (a) you can only have those names in certain top-level domains, and (b) LaTeX doesn't have any way to do the encoding automatically [AFAIK].Cham wrote:There are some URL with French accents that I want to use, as clickable links in the PDF file. I'm currently using the hyperref package with the unicode option, and my LaTeX file is also using the following packages in its preamble :Is there a way to make clickable the URLs with French accents ? Currently, they are correctly shown in the PDF file but they can't be clicked (the link doesn't react to the mouse click).Code: Select all
\documentclass[12pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[french]{babel}
Code: Select all
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage[unicode]{hyperref}
\usepackage{url}
\begin{document}
\tableofcontents
\chapter{Schr\"{o}dinger}
A URL with an umlaut: \url{http://en.wikipedia.org/wiki/Erwin_Schr\"{o}dinger}
\chapter{Poincar\'{e}}
A URL with an accent: \url{http://en.wikipedia.org/wiki/Henri_Poincar\'{e}}
\end{document}
Yes, it's clickable for me, both as the chapter name in the table of contents and in the URL to the wikipedia page. I'm using Acrobat Reader to view the pdf.Cham wrote:The Schrödinger link is non-clickable. That's the problem I'm concerned with.
Is it clickable for you ?
Code: Select all
\href{http://fr.wikipedia.org/wiki/Vall\%C3\%A9e_sacr\%C3\%A9e_des_Incas}{\tt http://fr.wikipedia.org/wiki/Vallée\_sacrée\_des\_Incas}
NEW: TikZ book now 40% off at Amazon.com for a short time.