[OS X TeX] url in Hungarian

Alain Schremmer schremmer.alain at gmail.com
Wed Sep 3 15:27:55 CEST 2014


On Sep 3, 2014, at 8:07 AM, Herbert Schulz wrote:

>
> On Sep 3, 2014, at 7:02 AM, Herbert Schulz <herbs at wideopenwest.com>  
> wrote:
>
>>
>> On Sep 3, 2014, at 6:49 AM, Alain Schremmer <schremmer.alain at gmail.com 
>> > wrote:
>>
>>>
>>> On Aug 29, 2014, at 6:14 PM, Ross Moore wrote:
>>>
>>>>
>>>> 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}
>>>
>>> (1) As always, your suggestions certainly work. I am going to have  
>>> to study them.
>>>
>>> (2) You should never give somebody a hand because you are then  
>>> likely to be asked for your arm:
>>>
>>> Why is it that none of:
>>>
>>> \href{http://en.wikipedia.org/wiki/Zoltán_Pál_Dienes}{http://en.wikipedia.org/wiki/Zolt 
>>> \'an\_P\'al\_Dienes}{Z. P. Dienes}
>>>
>>> \href{http://en.wikipedia.org/wiki/Zolt\%C3\%A1n_P\%C3\%A1l_Dienes} 
>>> {http://en.wikipedia.org/wiki/Zolt\'an\_P\'al\_Dienes}{Z. P. 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}
>>> }{Z. P. Dienes}
>>>
>>> show Z. P. Dienes as a link with the address hidden as with, for  
>>> instance,   \href{http://en.wikipedia.org/wiki/Dynamics}{Dynamics}?
>>>
>>> Grateful regards.
>>> --schremmer
>>
>> Howdy,
>>
>> Are you saying that
>>
>> \url{http://en.wikipedia.org/wiki/Zolt\%C3\%A1n_P\%C3\%A1l_Dienes}
>>
>> doesn't work?
>>
>> <test.tex>
>>
>> <test.pdf>
>> Good Luck,
>>
>> Herb Schulz
>> (herbs at wideopenwest dot com)
>
> Howdy,
>
> Your \hrefs have three arguments (first two identical). Here's one  
> that works for me
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/octet-stream
Size: 349 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20140903/60feb38e/attachment.obj>
-------------- next part --------------
>


Indeed, just

\href{http://en.wikipedia.org/wiki/Zolt\%C3\%A1n_P\%C3\%A1l_Dienes}{Z.  
P. Dienes}

is what I wanted. (Now I have to figure out what is going on.)

Grateful regards
--schremmer



More information about the macostex-archives mailing list