Re: Creating an URL
I would like to have a link as HTML link (as above) upon export to HTML, but on the other hand the URL should be _printed_ when the document is converted to DVI/PS/PDF/... In other words: HTML should give a href=http://x.y.zMy Link/a DVI/PS should give My Link (http://x.y.z) (or a similar format) I'm sure that it can be done (in fact, I was expecting LyX to do that with Insert-URL), but how? Put the following in the preamble: \usepackage{html} \usepackage{url} \latex{\renewcommand{\htmladdnormallink}[2]{#1 (\url{#2})}} ... wonderful, it works like a charm! Thanks a lot -- !! - Joerg joerg.hau(at)dplanet.ch * Lausanne, Switzerland http://www.mysunrise.ch/users/joerg.hau/ All standard disclaimers apply.
Re: Creating an URL
I would like to have a link as HTML link (as above) upon export to HTML, but on the other hand the URL should be _printed_ when the document is converted to DVI/PS/PDF/... In other words: HTML should give a href=http://x.y.zMy Link/a DVI/PS should give My Link (http://x.y.z) (or a similar format) I'm sure that it can be done (in fact, I was expecting LyX to do that with Insert-URL), but how? Put the following in the preamble: \usepackage{html} \usepackage{url} \latex{\renewcommand{\htmladdnormallink}[2]{#1 (\url{#2})}} ... wonderful, it works like a charm! Thanks a lot -- !! - Joerg joerg.hau(at)dplanet.ch * Lausanne, Switzerland http://www.mysunrise.ch/users/joerg.hau/ All standard disclaimers apply.
Re: Creating an URL
> > I would like to have a link as "HTML link" (as above) upon export > > to HTML, but on the other hand the URL should be _printed_ when > > the document is converted to DVI/PS/PDF/... In other words: > > > > HTML should give > > http://x.y.z>My Link > > > > DVI/PS should give > > My Link (http://x.y.z) > > > > (or a similar format) > > > > I'm sure that it can be done (in fact, I was expecting LyX to do > > that with Insert->URL), but how? > > Put the following in the preamble: > > \usepackage{html} > \usepackage{url} > \latex{\renewcommand{\htmladdnormallink}[2]{#1 (\url{#2})}} ... wonderful, it works like a charm! Thanks a lot -- !! - Joerg joerg.hau(at)dplanet.ch * Lausanne, Switzerland http://www.mysunrise.ch/users/joerg.hau/ "All standard disclaimers apply".
Re: Creating an URL
On Fri, Oct 05, 2001 at 09:25:27AM +0200, [EMAIL PROTECTED] wrote: I would like to have a link as HTML link (as above) upon export to HTML, but on the other hand the URL should be _printed_ when the document is converted to DVI/PS/PDF/... In other words: HTML should give a href=http://x.y.zMy Link/a DVI/PS should give My Link (http://x.y.z) (or a similar format) I'm sure that it can be done (in fact, I was expecting LyX to do that with Insert-URL), but how? Put the following in the preamble: \usepackage{html} \usepackage{url} \latex{\renewcommand{\htmladdnormallink}[2]{#1 (\url{#2})}}
Re: Creating an URL
On Fri, Oct 05, 2001 at 09:25:27AM +0200, [EMAIL PROTECTED] wrote: I would like to have a link as HTML link (as above) upon export to HTML, but on the other hand the URL should be _printed_ when the document is converted to DVI/PS/PDF/... In other words: HTML should give a href=http://x.y.zMy Link/a DVI/PS should give My Link (http://x.y.z) (or a similar format) I'm sure that it can be done (in fact, I was expecting LyX to do that with Insert-URL), but how? Put the following in the preamble: \usepackage{html} \usepackage{url} \latex{\renewcommand{\htmladdnormallink}[2]{#1 (\url{#2})}}
Re: Creating an URL
On Fri, Oct 05, 2001 at 09:25:27AM +0200, [EMAIL PROTECTED] wrote: > I would like to have a link as "HTML link" (as above) upon export to HTML, > but on the other hand the URL should be _printed_ when the document is > converted to DVI/PS/PDF/... In other words: > > HTML should give > http://x.y.z>My Link > > DVI/PS should give > My Link (http://x.y.z) > > (or a similar format) > > I'm sure that it can be done (in fact, I was expecting LyX to do that with > Insert->URL), but how? Put the following in the preamble: \usepackage{html} \usepackage{url} \latex{\renewcommand{\htmladdnormallink}[2]{#1 (\url{#2})}}
Creating an URL
Hi there, what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? TIA Stephan NB: LyX 1.1.6fix3 on a SuSE Linux 7.0 -- Stephan E. Schlierf M.A. - chief concept design developer - speed2web GmbH Germany FON: +49 921 99 00 86 12 FAX: +49 921 99 00 86 70 http://www.speed2web.de
Re: Creating an URL
On Wed, 26 Sep 2001 13:03:38 +0200 wrote [EMAIL PROTECTED]: Hi there, what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? If I remember right, you had the chapters in individual files but all the files to link belong to the same book. Furthermore, if I remember right, latex2html does (can do) a splitting of several chapters to several html-files. (Look at the latex2html documentation/customization.) So you can try to have all the stuff in one file (or master file) and link as usual (mark and reference). (Not tested ;-() Guenter -- [EMAIL PROTECTED]
Re: Creating an URL
Hi Guenter, hm, you are right and not: my plans were modified so that I create one HTML-file for each window (concerning the online-help). Therefore I need to have references from one file to another (like see also: ...) The problem I have is that I don´t know how to create a valid HTML-link (something like url[linkname]{filename.html} The reported ways I tried (using Insert - URL or putting plain TaTeX code \url[linkname]{filename.html} in the text) didn´t show the effect I want to have. If I use document class book(koma-script) the only thing I see is linkname filename.html written in plain text and not as a hyperlink in the resulting html-file. Any more hints? TIA Stephan -- Stephan E. Schlierf M.A. - chief concept design developer - speed2web GmbH Germany FON: +49 921 99 00 86 12 FAX: +49 921 99 00 86 70 http://www.speed2web.de Guenter Milde [EMAIL PROTECTED]To: [EMAIL PROTECTED], [EMAIL PROTECTED] resden.de cc: Subject: Re: Creating an URL 09/26/01 02:14 PM Please respond to lyx-users On Wed, 26 Sep 2001 13:03:38 +0200 wrote [EMAIL PROTECTED]: Hi there, what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? If I remember right, you had the chapters in individual files but all the files to link belong to the same book. Furthermore, if I remember right, latex2html does (can do) a splitting of several chapters to several html-files. (Look at the latex2html documentation/customization.) So you can try to have all the stuff in one file (or master file) and link as usual (mark and reference). (Not tested ;-() Guenter -- [EMAIL PROTECTED]
Re: Creating an URL
[EMAIL PROTECTED] wrote: what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? \usepackage{html} and in text in tex(red) \htmladdnormallink{the text for the link}{the url for the link} for example: \htmladdnormallink{LaTeX Description}{file:///home/voss/brief.html} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Creating an URL
Hi Herbert, thank you very much This was the tip I was looking for! Best regards Stephan -- Stephan E. Schlierf M.A. - chief concept design developer - speed2web GmbH Germany FON: +49 921 99 00 86 12 FAX: +49 921 99 00 86 70 http://www.speed2web.de Herbert Voss Sent by: vossTo: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: Creating an URL 09/26/01 10:02 PM [EMAIL PROTECTED] wrote: what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? \usepackage{html} and in text in tex(red) \htmladdnormallink{the text for the link}{the url for the link} for example: \htmladdnormallink{LaTeX Description}{file:///home/voss/brief.html} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Creating an URL
Hi there, what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? TIA Stephan NB: LyX 1.1.6fix3 on a SuSE Linux 7.0 -- Stephan E. Schlierf M.A. - chief concept design developer - speed2web GmbH Germany FON: +49 921 99 00 86 12 FAX: +49 921 99 00 86 70 http://www.speed2web.de
Re: Creating an URL
On Wed, 26 Sep 2001 13:03:38 +0200 wrote [EMAIL PROTECTED]: Hi there, what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? If I remember right, you had the chapters in individual files but all the files to link belong to the same book. Furthermore, if I remember right, latex2html does (can do) a splitting of several chapters to several html-files. (Look at the latex2html documentation/customization.) So you can try to have all the stuff in one file (or master file) and link as usual (mark and reference). (Not tested ;-() Guenter -- [EMAIL PROTECTED]
Re: Creating an URL
Hi Guenter, hm, you are right and not: my plans were modified so that I create one HTML-file for each window (concerning the online-help). Therefore I need to have references from one file to another (like see also: ...) The problem I have is that I don´t know how to create a valid HTML-link (something like url[linkname]{filename.html} The reported ways I tried (using Insert - URL or putting plain TaTeX code \url[linkname]{filename.html} in the text) didn´t show the effect I want to have. If I use document class book(koma-script) the only thing I see is linkname filename.html written in plain text and not as a hyperlink in the resulting html-file. Any more hints? TIA Stephan -- Stephan E. Schlierf M.A. - chief concept design developer - speed2web GmbH Germany FON: +49 921 99 00 86 12 FAX: +49 921 99 00 86 70 http://www.speed2web.de Guenter Milde [EMAIL PROTECTED]To: [EMAIL PROTECTED], [EMAIL PROTECTED] resden.de cc: Subject: Re: Creating an URL 09/26/01 02:14 PM Please respond to lyx-users On Wed, 26 Sep 2001 13:03:38 +0200 wrote [EMAIL PROTECTED]: Hi there, what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? If I remember right, you had the chapters in individual files but all the files to link belong to the same book. Furthermore, if I remember right, latex2html does (can do) a splitting of several chapters to several html-files. (Look at the latex2html documentation/customization.) So you can try to have all the stuff in one file (or master file) and link as usual (mark and reference). (Not tested ;-() Guenter -- [EMAIL PROTECTED]
Re: Creating an URL
[EMAIL PROTECTED] wrote: what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? \usepackage{html} and in text in tex(red) \htmladdnormallink{the text for the link}{the url for the link} for example: \htmladdnormallink{LaTeX Description}{file:///home/voss/brief.html} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Creating an URL
Hi Herbert, thank you very much This was the tip I was looking for! Best regards Stephan -- Stephan E. Schlierf M.A. - chief concept design developer - speed2web GmbH Germany FON: +49 921 99 00 86 12 FAX: +49 921 99 00 86 70 http://www.speed2web.de Herbert Voss Sent by: vossTo: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: Creating an URL 09/26/01 10:02 PM [EMAIL PROTECTED] wrote: what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert - URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export - HTML. Both failed that means what I see in the HTML-file is not a link but the plain text linkname file.html For conversion I use latex2html with the switches - no_subdir -split 0 -show_section_numbers Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? \usepackage{html} and in text in tex(red) \htmladdnormallink{the text for the link}{the url for the link} for example: \htmladdnormallink{LaTeX Description}{file:///home/voss/brief.html} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Creating an URL
Hi there, what I want to do is to create a link from one file to another one. I use document class book(koma-script) and included package url by putting \usepackage{url} into the preamble. I already tried the following: - Insert -> URL - wrote \url[linkname{file.html} in plain LaTeX. Then I tried to export the file by running Export -> HTML. Both failed that means what I see in the HTML-file is not a link but the plain text "linkname file.html" For conversion I use latex2html with the switches "- no_subdir -split 0 -show_section_numbers" Can anybody tell me what to do to create an URL when using document class book (I really would like to avoid document class LinuxDoc) ? TIA Stephan NB: LyX 1.1.6fix3 on a SuSE Linux 7.0 -- Stephan E. Schlierf M.A. - chief concept & design developer - speed2web GmbH Germany FON: +49 921 99 00 86 12 FAX: +49 921 99 00 86 70 http://www.speed2web.de
Re: Creating an URL
On Wed, 26 Sep 2001 13:03:38 +0200 wrote [EMAIL PROTECTED]: > Hi there, > > what I want to do is to create a link from one file to another one. > I use document class book(koma-script) and included package url by putting > \usepackage{url} into the preamble. > I already tried the following: > - Insert -> URL > - wrote \url[linkname{file.html} in plain LaTeX. > Then I tried to export the file by running Export -> HTML. > Both failed that means what I see in the HTML-file is not a link but the > plain text "linkname file.html" > For conversion I use latex2html with the switches "- no_subdir -split 0 > -show_section_numbers" > > Can anybody tell me what to do to create an URL when using document class > book (I really would like to avoid document class LinuxDoc) ? If I remember right, you had the chapters in individual files but all the "files to link" belong to the same book. Furthermore, if I remember right, latex2html does (can do) a splitting of several chapters to several html-files. (Look at the latex2html documentation/customization.) So you can try to have all the stuff in one file (or master file) and link as usual (mark and reference). (Not tested ;-() Guenter -- [EMAIL PROTECTED]
Re: Creating an URL
Hi Guenter, hm, you are right and not: my plans were modified so that I create one HTML-file for each window (concerning the online-help). Therefore I need to have references from one file to another (like "see also: ...") The problem I have is that I don´t know how to create a valid HTML-link (something like url[linkname]{filename.html} The reported ways I tried (using Insert -> URL or putting plain TaTeX code "\url[linkname]{filename.html}" in the text) didn´t show the effect I want to have. If I use document class book(koma-script) the only thing I see is "linkname filename.html" written in plain text and not as a hyperlink in the resulting html-file. Any more hints? TIA Stephan -- Stephan E. Schlierf M.A. - chief concept & design developer - speed2web GmbH Germany FON: +49 921 99 00 86 12 FAX: +49 921 99 00 86 70 http://www.speed2web.de Guenter Milde <[EMAIL PROTECTED]To: [EMAIL PROTECTED], [EMAIL PROTECTED] resden.de> cc: Subject: Re: Creating an URL 09/26/01 02:14 PM Please respond to lyx-users On Wed, 26 Sep 2001 13:03:38 +0200 wrote [EMAIL PROTECTED]: > Hi there, > > what I want to do is to create a link from one file to another one. > I use document class book(koma-script) and included package url by putting > \usepackage{url} into the preamble. > I already tried the following: > - Insert -> URL > - wrote \url[linkname{file.html} in plain LaTeX. > Then I tried to export the file by running Export -> HTML. > Both failed that means what I see in the HTML-file is not a link but the > plain text "linkname file.html" > For conversion I use latex2html with the switches "- no_subdir -split 0 > -show_section_numbers" > > Can anybody tell me what to do to create an URL when using document class > book (I really would like to avoid document class LinuxDoc) ? If I remember right, you had the chapters in individual files but all the "files to link" belong to the same book. Furthermore, if I remember right, latex2html does (can do) a splitting of several chapters to several html-files. (Look at the latex2html documentation/customization.) So you can try to have all the stuff in one file (or master file) and link as usual (mark and reference). (Not tested ;-() Guenter -- [EMAIL PROTECTED]
Re: Creating an URL
[EMAIL PROTECTED] wrote: > what I want to do is to create a link from one file to another one. > I use document class book(koma-script) and included package url by putting > \usepackage{url} into the preamble. > I already tried the following: > - Insert -> URL > - wrote \url[linkname{file.html} in plain LaTeX. > Then I tried to export the file by running Export -> HTML. > Both failed that means what I see in the HTML-file is not a link but the > plain text "linkname file.html" > For conversion I use latex2html with the switches "- no_subdir -split 0 > -show_section_numbers" > > Can anybody tell me what to do to create an URL when using document class > book (I really would like to avoid document class LinuxDoc) ? \usepackage{html} and in text in tex(red) \htmladdnormallink{the text for the link}{the url for the link} for example: \htmladdnormallink{LaTeX Description}{file:///home/voss/brief.html} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Creating an URL
Hi Herbert, thank you very much This was the tip I was looking for! Best regards Stephan -- Stephan E. Schlierf M.A. - chief concept & design developer - speed2web GmbH Germany FON: +49 921 99 00 86 12 FAX: +49 921 99 00 86 70 http://www.speed2web.de Herbert Voss Sent by: vossTo: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: Creating an URL 09/26/01 10:02 PM [EMAIL PROTECTED] wrote: > what I want to do is to create a link from one file to another one. > I use document class book(koma-script) and included package url by putting > \usepackage{url} into the preamble. > I already tried the following: > - Insert -> URL > - wrote \url[linkname{file.html} in plain LaTeX. > Then I tried to export the file by running Export -> HTML. > Both failed that means what I see in the HTML-file is not a link but the > plain text "linkname file.html" > For conversion I use latex2html with the switches "- no_subdir -split 0 > -show_section_numbers" > > Can anybody tell me what to do to create an URL when using document class > book (I really would like to avoid document class LinuxDoc) ? \usepackage{html} and in text in tex(red) \htmladdnormallink{the text for the link}{the url for the link} for example: \htmladdnormallink{LaTeX Description}{file:///home/voss/brief.html} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/