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?



Insert->URL... uses the url.sty package, with which I'm not familiar. The way I do it is as follows:

1. In the preamble, add \usepackage{hyperref} (and, of course, install the hyperref package if you don't already have it).

2. In the document, type \href{mailto:[EMAIL PROTECTED] Name} either with everything in ERT or with everything except My Name in ERT (so two ERT insets, the first one ending with an opening brace and the second containing just a closing brace). I prefer the latter, since it leaves My Name accessible for easy editing, spell checking etc., but either approach should work.

/Paul



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?

Reply via email to