>>Date: Wed, 18 Oct 2006 11:54:00 -0400
>>From: Richard Heck <[EMAIL PROTECTED]>
>>To: Timothy Reaves <[EMAIL PROTECTED]>
>>CC: lyx-users@lists.lyx.org
>>Subject: Re: URL question (also links, xref)
>>
>>Timothy Reaves wrote:
>>> Paul A. Rubin wrote:
>>>> Timothy Reaves wrote:
>>>>>     If I insert an URL, and make the URL mailto:[EMAIL PROTECTED] and 
>>>>> make 
>>>>> the name My Name, when I generate a PDF, the URL is displayed too.  
>>>>> Can I set it up to only display the Name field?
>>>> [deleted Paul's solution]
>>> Yes, that is what I had done as well.  But this makes me think that 
>>> the URL as supported by LyX is useless.  Not just because of the 
>>> e-mail, but cross references as well.
>>>
>>> I want to have arbitrary links in my document.  So for example, I 
>>> might have somewhere in my document 'see the section on blah', and 
>>> blah would be linked to that section.  When I use  Label & Reference, 
>>> it kinda works, but inserts a number at the reference.  I want the 
>>> text to be the link.  I can do this using the hyperref module.
>>>
>>> So am I not understanding something?
>>Perhaps. The url.sty package isn't intended for the sort of use for 
>>which you are trying to use it. Its purpose is to allow you to use URLs 
>>in a document without running into line-break problems, the issue being 
>>that URLs can be (i) long and (ii) spaceless. Indeed, the documentation 
>>describes the \url command as simply a special form of \verb. So, all of 
>>that said, hyperref is indeed what you need here and, at present, LyX 
>>has no special support for it.

I've posted an enhancement request, see
http://bugzilla.lyx.org/show_bug.cgi?id=2919
about external hyperlinks, I did not comment about internal targets, which 
should work.

I've suggested to use the Generate hyperlink button, which is local to the link,
but maybe I should have mentioned the possibility of a general setting: as the 
printed version
requires the url to be there, users would like to have it all with url printed, 
or
all with anchors.

Personnaly, I use html2latex, which allows to have the url in footnote when 
printed and under
an anchor in HTML, but I guess this can't really be interfaced in LyX. 

As for turning typographical croos-referencing automatically into internal 
target referencing,
currenly nothing exists to describe the anchor (unless prettyref does it ? 
never used it myself).

-- 
Jean-Pierre

Reply via email to