Re: [patch] Re: HREF

2007-09-25 Thread José Matos
On Monday 24 September 2007 17:48:52 Richard Heck wrote: URL insets used in LaTeX documents should presumably become URL charstyles. But we do not want to do this for docbook documents. How do we tell from inside lyx2lyx whether we're doing one or the other? It is easy. :-) You can test

Re: [patch] Re: HREF

2007-09-25 Thread Richard Heck
José Matos wrote: On Monday 24 September 2007 17:48:52 Richard Heck wrote: URL insets used in LaTeX documents should presumably become URL charstyles. But we do not want to do this for docbook documents. How do we tell from inside lyx2lyx whether we're doing one or the other? It is

Re: [patch] Re: HREF

2007-09-25 Thread José Matos
On Monday 24 September 2007 17:48:52 Richard Heck wrote: > URL insets used in LaTeX documents should presumably become URL > charstyles. But we do not want to do this for docbook documents. How do > we tell from inside lyx2lyx whether we're doing one or the other? It is easy. :-) You can

Re: [patch] Re: HREF

2007-09-25 Thread Richard Heck
José Matos wrote: On Monday 24 September 2007 17:48:52 Richard Heck wrote: URL insets used in LaTeX documents should presumably become URL charstyles. But we do not want to do this for docbook documents. How do we tell from inside lyx2lyx whether we're doing one or the other? It is

[patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
We should do that in 1.5 too (maybe 1.5.3). Yes, url.sty is standard in all LaTeX-distributions (I guess also in tetex2), so it is save to remove the unneeded \IfFileExists command, so that people can use latex2html. Attached is a patch. Jürgen, what do you think? regards Uwe Index:

Re: [patch] Re: HREF

2007-09-24 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: Yes, url.sty is standard in all LaTeX-distributions (I guess also in tetex2), so it is save to remove the unneeded \IfFileExists command, so that people can use latex2html. Attached is a patch. Jürgen, what do you think? Yes, this would be o.k. (for 1.5.3, though). Jürgen

Re: [patch] Re: HREF

2007-09-24 Thread Jean-Marc Lasgouttes
Uwe Stöhr [EMAIL PROTECTED] writes: Attached is a patch. + packages \\usepackage{url}\n + \\newcommand{\\url}{\\texttt}\n; Why do you keep the \newcommand{\url}? It causes an error, doesn't it? Actually, you should move url handling to the

Re: [patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: + packages \\usepackage{url}\n +\\newcommand{\\url}{\\texttt}\n; Why do you keep the \newcommand{\url}? It causes an error, doesn't it? Because I didn't realize that it was the second argument of the \if

Re: [patch] Re: HREF

2007-09-24 Thread Jean-Marc Lasgouttes
Uwe Stöhr [EMAIL PROTECTED] writes: Yes, now that it is a simple feature. Patch attached. Perfect. JMarc

Re: [patch] Re: HREF

2007-09-24 Thread Richard Heck
Uwe Stöhr wrote: Jean-Marc Lasgouttes schrieb: +packages \\usepackage{url}\n + \\newcommand{\\url}{\\texttt}\n; Why do you keep the \newcommand{\url}? It causes an error, doesn't it? Because I didn't realize that it was the second argument of the \if command ;-)

Re: [patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
Richard Heck schrieb: That leaves the other issue: Changing this dialog from url to href, or at least allowing href, since we now have hyperref, anyway. I'd vote for changing, since url does not need to be an InsetCommand but can just be a charstyle, which it is in the URL module. For LyX

Re: [patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
Yes, this would be o.k. (for 1.5.3, though). Why not for LyX 1.5.2? You wrote on the lyx-docs list that you plan to release LyX 1.5.2 next week. regards Uwe

Re: [patch] Re: HREF

2007-09-24 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: Why not for LyX 1.5.2? You wrote on the lyx-docs list that you plan to release LyX 1.5.2 next week. As I wrote in my status update today, I want people to concentrate on the four remaining crucial bugs only. Call it partial freeze. This is not a crucial issue IMHO. Jürgen

Re: [patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
Jürgen Spitzmüller schrieb: Why not for LyX 1.5.2? You wrote on the lyx-docs list that you plan to release LyX 1.5.2 next week. As I wrote in my status update today, I want people to concentrate on the four remaining crucial bugs only. Call it partial freeze. OK, I'm opening a bug report

Re: [patch] Re: HREF

2007-09-24 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: OK, I'm opening a bug report that this isn't lost. Try this http://bugzilla.lyx.org/show_bug.cgi?id=2265 Jürgen

[patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
> We should do that in 1.5 too (maybe 1.5.3). Yes, url.sty is standard in all LaTeX-distributions (I guess also in tetex2), so it is save to remove the unneeded \IfFileExists command, so that people can use latex2html. Attached is a patch. Jürgen, what do you think? regards Uwe Index:

Re: [patch] Re: HREF

2007-09-24 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > Yes, url.sty is standard in all LaTeX-distributions (I guess also in > tetex2), so it is save to remove the unneeded \IfFileExists command, so > that people can use latex2html. > > Attached is a patch. > > Jürgen, what do you think? Yes, this would be o.k. (for 1.5.3, though).

Re: [patch] Re: HREF

2007-09-24 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: > Attached is a patch. > + packages << "\\usepackage{url}\n" > + " \\newcommand{\\url}{\\texttt}\n"; Why do you keep the \newcommand{\url}? It causes an error, doesn't it? Actually, you should move "url"

Re: [patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: + packages << "\\usepackage{url}\n" + " \\newcommand{\\url}{\\texttt}\n"; Why do you keep the \newcommand{\url}? It causes an error, doesn't it? Because I didn't realize that it was the second argument of the

Re: [patch] Re: HREF

2007-09-24 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: > Yes, now that it is a simple feature. Patch attached. Perfect. JMarc

Re: [patch] Re: HREF

2007-09-24 Thread Richard Heck
Uwe Stöhr wrote: Jean-Marc Lasgouttes schrieb: +packages << "\\usepackage{url}\n" +" \\newcommand{\\url}{\\texttt}\n"; Why do you keep the \newcommand{\url}? It causes an error, doesn't it? Because I didn't realize that it was the second argument of the \if

Re: [patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
Richard Heck schrieb: That leaves the other issue: Changing this dialog from url to href, or at least allowing href, since we now have hyperref, anyway. I'd vote for changing, since url does not need to be an InsetCommand but can just be a charstyle, which it is in the URL module. For LyX

Re: [patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
> Yes, this would be o.k. (for 1.5.3, though). Why not for LyX 1.5.2? You wrote on the lyx-docs list that you plan to release LyX 1.5.2 next week. regards Uwe

Re: [patch] Re: HREF

2007-09-24 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > Why not for LyX 1.5.2? You wrote on the lyx-docs list that you plan to > release LyX 1.5.2 next week. As I wrote in my status update today, I want people to concentrate on the four remaining crucial bugs only. Call it "partial freeze". This is not a crucial issue IMHO.

Re: [patch] Re: HREF

2007-09-24 Thread Uwe Stöhr
Jürgen Spitzmüller schrieb: Why not for LyX 1.5.2? You wrote on the lyx-docs list that you plan to release LyX 1.5.2 next week. As I wrote in my status update today, I want people to concentrate on the four remaining crucial bugs only. Call it "partial freeze". OK, I'm opening a bug report

Re: [patch] Re: HREF

2007-09-24 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > OK, I'm opening a bug report that this isn't lost. Try this http://bugzilla.lyx.org/show_bug.cgi?id=2265 Jürgen