On Mon, Jun 05, 2000 at 11:52:38PM +0200, Tomasz Motylewski wrote:
> On Mon, 5 Jun 2000, Amir Karger wrote:
>
> > $newfile = "$basename.lyx";
> > } else { # keep relative path, e.g. Just change suffix
> > - ($newfile = $fil) =~ s/$suffix/.lyx/;
> > + ($newfile = $fil) =~ s/$suffix$/.lyx/;
>
> Well, in my opinion this is the right place, also the fix is right, the only
> problem is that $suffix is always empty at this place, as well as
> @main::Suffix_List - looks like this variable is not exported.
>
> I have used the following command in my Latex:
> \include{d2}
>
> \include{d2.tex} is incorrect (TEX: "No file d3.tex.tex.") and still gets
> translated to "\begin_inset Include \include{d3.tex}"
>
> I have checked that value of $suffix at that place is "".
>
> BTW. Both \input{d2} and \input{d2.tex} are recognized by Latex.
>
> Here goes my version of patch:
>
Tomasz's version looks right to me and I don't think it breaks anything.
---Kayvan
--
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory