Pupeno wrote:
I use URLs a lot and I don't quite like how they are handled. On the text output (pdf, dvi) they are just put next to the name of the url, for example: "Jabber http://www.jabber.org".>
Is it possible to achieve something like "Jabber (http://www.jabber.org)" and a smaller font for the URL, or better, can the URL end up as a reference or footnote?
You don't need to use the URL box. You can use the command
\url{Your URL}
in ERT within a footnote and/or mark the url and set its characters to another size.
You can also create hyperlinks with underlying adress using the command
\href{Your URL}{displayed text}
in ERT.
You need to load the LaTeX-package "hyperref" to use these commands and to get real hyperlinks. I attached an example file.
My other concern is that when I turn it into HTML, it is not converted into an HyperLink, can that be done?
I remember that this is a known bug. But it will be converted, when you use the hyperref-package (also if you don't use \href but LyX's URL box).
regards Uwe
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage[colorlinks=true, urlcolor=blue, linkcolor=black, pdftitle={Your Title}, pdfauthor={Your Name}, bookmarksnumbered=true, pdfnewwindow=true, pdfstartview=XYZ, pdfpagelayout=OneColumn, bookmarksopen]{hyperref} \end_preamble \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize 12 \spacing single \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 4 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle empty \bullet 1 1 34 -1 \end_bullet \bullet 2 2 35 -1 \end_bullet \bullet 3 2 7 -1 \end_bullet
\layout Standard
smaller size:
\layout Standard
Jabber
\size scriptsize
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
url{
\end_inset
http://www.jabber.org
\begin_inset ERT
status Collapsed
\layout Standard
}
\end_inset
\layout Standard
as footnote:
\layout Standard
Jabber
\begin_inset Foot
collapsed true
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
url{
\end_inset
http://www.jabber.org
\begin_inset ERT
status Collapsed
\layout Standard
}
\end_inset
\end_inset
\layout Standard
as hyperlink with underlying adress:
\layout Standard
\begin_inset ERT
status Collapsed
\layout Standard
\backslash
href{http://www.jabber.org}{
\end_inset
Jabber
\begin_inset ERT
status Collapsed
\layout Standard
}
\end_inset
\the_end
newfile1.pdf
Description: Adobe PDF document
