Re: \Includegraphics

Ulrike Fischer <[email protected]>
Newsgroups gmane.comp.tex.miktex
Message-ID <[email protected]>
Am Wed, 20 Jul 2016 15:28:18 +0200 schrieb Daniele Giorgio Degiorgi:

> Unless all other accented letters (like éèàöüä), the direct use of ã (and ñ)
> as utf-8 character works in \includegraphics but fails in \href, as it
> expands as ~a (and ~n) in the latter

urls can contain tildes ~ and the support of \href for this tilde
clash with the support for ñ which internally is defined as \~n.

You can try something like this. But be aware that the fact the link
now looks okay, doesn't imply that you get a working link -- it
depends on the encoding of the file names the OS - if it e.g. uses
composites instead of single glyphs it probably won't work. 



\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[colorlinks,pagebackref,citecolor=blue]{hyperref}

\let\mytildeaccent\~
\DeclareUnicodeCharacter{00F1}{\mytildeaccent n}

\begin{document}
\href{äöüñ}{äöüñ}
\end{document}


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


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Q: How can I leave the mailing list?
A: See http://docs.miktex.org/faq/support.html#leavingml
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.