[OS X TeX] url in Hungarian

Ross Moore ross.moore at mq.edu.au
Fri Aug 29 18:14:24 EDT 2014


On 30/08/2014, at 7:37 AM, Alain Schremmer wrote:

> Probably a bit off topic but I know some people here know the answer and I am deadly afraid of StackExchange---where "url in hungarian" returned 18 irrelevant answers..
> 
> How do I get
> 
> \url{http://en.wikipedia.org/wiki/Zolt%C3%A1n_P%C3%A1l_Dienes}
> \url{http://en.wikipedia.org/wiki/ZoltC3A1n_PC3A1l_Dienes}
> 
> to work?

You need to split up the representation of the URL characters
from what you need to display them in your PDF.
(Or use a UTF8 representation for both!)


Here are 3 ways to do it.

\documentclass[11pt]{article}
\usepackage{hyperref}
\begin{document}

%\url{http://en.wikipedia.org/wiki/Zolt%C3%A1n_P%C3%A1l_Dienes}
%\url{http://en.wikipedia.org/wiki/ZoltC3A1n_PC3A1l_Dienes}


\href{http://en.wikipedia.org/wiki/Zoltán_Pál_Dienes}{http://en.wikipedia.org/wiki/Zolt\'an\_P\'al\_Dienes}

\href{http://en.wikipedia.org/wiki/Zolt\%C3\%A1n_P\%C3\%A1l_Dienes}{http://en.wikipedia.org/wiki/Zolt\'an\_P\'al\_Dienes}

{\catcode`\% 11
\href{http://en.wikipedia.org/wiki/Zolt%C3%A1n_P%C3%A1l_Dienes}{http://en.wikipedia.org/wiki/Zolt\'an\_P\'al\_Dienes}
}

\end{document}  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.jpeg
Type: image/jpeg
Size: 42550 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20140830/4e4c8a55/attachment.jpeg>
-------------- next part --------------

> 
> Hopeful regards
> --schremmer



Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-206      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo.png
Type: image/png
Size: 5257 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20140830/4e4c8a55/attachment.png>
-------------- next part --------------



More information about the MacOSX-TeX mailing list