Re: \input{} doesn't auto-update when latex is re-run
On Wed, 20 Mar 2002 10:53:16 +0100 wrote Guenter Milde [EMAIL PROTECTED]: On Tue, 19 Mar 2002 10:26:29 -0500 wrote Nirmal Govind [EMAIL PROTECTED]: I suppose, LyX just doesnot realize/test for changes in included/input parts (the same holds for graphics: if you just change an *.eps file but leave the main LyX file untouched, Update-DVI will do nothing. Yes, I think this is true... can this can be corrected? What happens if you do some change to the LyX-file (other than removing the \input, e.g. inserting a comment)? Will the changes in the inputted file go to the DVI? Normal changes to the LyX file do show up when I do an Update-DVI so that's good... it's just the \input that isn't getting update in the DVI or PS output... I just did a small test, and I cannot reproduce the bug: in my LyX 1.1.6fix3 on KDE, if I have the files test.lyx and input.tex in the same directory and test.lyx calls input.tex via InsertFileInput, a change in input.tex without any change to test.lyx leads to a correct update when I press Ctrl-shift-D to update the DVI. Maybe a guru might find the difference in the setup that leads to this different behaviour. Guenter I'm hardly a guru, but it sounds like the original questioner is inserting \input{myfile} as ERT. If so, I would not be surprised if LyX did not rerun LaTeX just because myfile.tex changed. As best I can surmise without searching the code, LyX just blindly copies ERT to the output file without looking at it. On the other hand, if the input was being done via Insert-File-Input, I would indeed expect LyX to rerun LaTeX if myfile.tex changed. Or am I out in left field, again? Herbert? Joe -- Joseph A. Reuter, Wizard-in-Training Olorin I was in my youth in the West that is forgotten.--Tolkien You can't win, you can't break even, and it's the only game in town.
Re: \input{} doesn't auto-update when latex is re-run
I'm hardly a guru, but it sounds like the original questioner is inserting \input{myfile} as ERT. If so, I would not be surprised if LyX did not rerun LaTeX just because myfile.tex changed. As best I can surmise without searching the code, LyX just blindly copies ERT to the output file without looking at it. Yes, that's right... I was just using the Latex command \input{} directly in LyX without using the Insert-File option.. the problem was that on my Windows OS, when I did Insert-File, the filename I inserted wasn't recognized.. and a user on this list pointed out correctly that it was cos the filename itself /cygwin/d/blah wasn't being recognized... so I switched to this direct mode of just using \input and controlling the filename... Thanks, nirmal
Re: \input{} doesn't auto-update when latex is re-run
On Wed, 20 Mar 2002 10:53:16 +0100 wrote Guenter Milde [EMAIL PROTECTED]: On Tue, 19 Mar 2002 10:26:29 -0500 wrote Nirmal Govind [EMAIL PROTECTED]: I suppose, LyX just doesnot realize/test for changes in included/input parts (the same holds for graphics: if you just change an *.eps file but leave the main LyX file untouched, Update-DVI will do nothing. Yes, I think this is true... can this can be corrected? What happens if you do some change to the LyX-file (other than removing the \input, e.g. inserting a comment)? Will the changes in the inputted file go to the DVI? Normal changes to the LyX file do show up when I do an Update-DVI so that's good... it's just the \input that isn't getting update in the DVI or PS output... I just did a small test, and I cannot reproduce the bug: in my LyX 1.1.6fix3 on KDE, if I have the files test.lyx and input.tex in the same directory and test.lyx calls input.tex via InsertFileInput, a change in input.tex without any change to test.lyx leads to a correct update when I press Ctrl-shift-D to update the DVI. Maybe a guru might find the difference in the setup that leads to this different behaviour. Guenter I'm hardly a guru, but it sounds like the original questioner is inserting \input{myfile} as ERT. If so, I would not be surprised if LyX did not rerun LaTeX just because myfile.tex changed. As best I can surmise without searching the code, LyX just blindly copies ERT to the output file without looking at it. On the other hand, if the input was being done via Insert-File-Input, I would indeed expect LyX to rerun LaTeX if myfile.tex changed. Or am I out in left field, again? Herbert? Joe -- Joseph A. Reuter, Wizard-in-Training Olorin I was in my youth in the West that is forgotten.--Tolkien You can't win, you can't break even, and it's the only game in town.
Re: \input{} doesn't auto-update when latex is re-run
I'm hardly a guru, but it sounds like the original questioner is inserting \input{myfile} as ERT. If so, I would not be surprised if LyX did not rerun LaTeX just because myfile.tex changed. As best I can surmise without searching the code, LyX just blindly copies ERT to the output file without looking at it. Yes, that's right... I was just using the Latex command \input{} directly in LyX without using the Insert-File option.. the problem was that on my Windows OS, when I did Insert-File, the filename I inserted wasn't recognized.. and a user on this list pointed out correctly that it was cos the filename itself /cygwin/d/blah wasn't being recognized... so I switched to this direct mode of just using \input and controlling the filename... Thanks, nirmal
Re: \input{} doesn't auto-update when latex is re-run
On Wed, 20 Mar 2002 10:53:16 +0100 wrote Guenter Milde <[EMAIL PROTECTED]>: > On Tue, 19 Mar 2002 10:26:29 -0500 wrote Nirmal Govind <[EMAIL PROTECTED]>: > > > > >I suppose, LyX just doesnot realize/test for changes in included/input parts > > >(the same holds for graphics: if you just change an *.eps file but leave the > > >main LyX file untouched, Update-DVI will do nothing. > > > > Yes, I think this is true... can this can be corrected? > > > > > > >What happens if you do some change to the LyX-file (other than removing the > > >\input, e.g. inserting a comment)? Will the changes in the inputted file go > > >to the DVI? > > > > Normal changes to the LyX file do show up when I do an Update-DVI so that's > > good... it's just the \input that isn't getting update in the DVI or PS > > output... > I just did a small test, and I cannot reproduce the bug: in my LyX 1.1.6fix3 > on KDE, if I have the files test.lyx and input.tex in the same directory and > test.lyx calls input.tex via Insert>File>Input, a change in input.tex > without any change to test.lyx leads to a correct update when I press > Ctrl-shift-D to update the DVI. > Maybe a guru might find the difference in the setup that leads to this different > behaviour. > Guenter I'm hardly a guru, but it sounds like the original questioner is inserting "\input{myfile}" as ERT. If so, I would not be surprised if LyX did not rerun LaTeX just because myfile.tex changed. As best I can surmise without searching the code, LyX just blindly copies ERT to the output file without looking at it. On the other hand, if the input was being done via Insert->File->Input, I would indeed expect LyX to rerun LaTeX if myfile.tex changed. Or am I out in left field, again? Herbert? Joe -- Joseph A. Reuter, Wizard-in-Training "Olorin I was in my youth in the West that is forgotten."--Tolkien You can't win, you can't break even, and it's the only game in town.
Re: \input{} doesn't auto-update when latex is re-run
I'm hardly a guru, but it sounds like the original questioner is inserting "\input{myfile}" as ERT. If so, I would not be surprised if LyX did not rerun LaTeX just because myfile.tex changed. As best I can surmise without searching the code, LyX just blindly copies ERT to the output file without looking at it. Yes, that's right... I was just using the Latex command \input{} directly in LyX without using the Insert-File option.. the problem was that on my Windows OS, when I did Insert-File, the filename I inserted wasn't recognized.. and a user on this list pointed out correctly that it was cos the filename itself /cygwin/d/blah wasn't being recognized... so I switched to this direct mode of just using \input and controlling the filename... Thanks, nirmal
Re: Re: \input{} doesn't auto-update when latex is re-run
On Tue, 19 Mar 2002 10:26:29 -0500 wrote Nirmal Govind [EMAIL PROTECTED]: I suppose, LyX just doesnot realize/test for changes in included/input parts (the same holds for graphics: if you just change an *.eps file but leave the main LyX file untouched, Update-DVI will do nothing. Yes, I think this is true... can this can be corrected? What happens if you do some change to the LyX-file (other than removing the \input, e.g. inserting a comment)? Will the changes in the inputted file go to the DVI? Normal changes to the LyX file do show up when I do an Update-DVI so that's good... it's just the \input that isn't getting update in the DVI or PS output... I just did a small test, and I cannot reproduce the bug: in my LyX 1.1.6fix3 on KDE, if I have the files test.lyx and input.tex in the same directory and test.lyx calls input.tex via InsertFileInput, a change in input.tex without any change to test.lyx leads to a correct update when I press Ctrl-shift-D to update the DVI. Maybe a guru might find the difference in the setup that leads to this different behaviour. Guenter -- [EMAIL PROTECTED]
Re: \input{} doesn't auto-update when latex is re-run
On Tue, Mar 19, 2002 at 12:34:22PM +0100, Guenter Milde wrote: On Mon, 18 Mar 2002 18:54:25 -0500 wrote Nirmal Govind [EMAIL PROTECTED]: Hi, I've got a couple of \input{my_file} statements in my file. However, when I change the contents of my_file and then do an Update-DVI or an Update-PS in LyX, the changes I made to my_file aren't reflected. I have to then remove the \input statement and do an Update-DVI (basically re-run Latex), then have to insert the \input again and do an Update again and now the changes in my_file are made in the DVI and PS files. Anyone know what's going wrong? I suppose, LyX just doesnot realize/test for changes in included/input parts (the same holds for graphics: if you just change an *.eps file but leave the main LyX file untouched, Update-DVI will do nothing. This is untrue: LyX should normally auto detect when any source file is changed. If this does not happen send the output you get when running lyx -dbg depend, doing 'view dvi', changing a file and then doing 'view dvi' again.
Re: Re: \input{} doesn't auto-update when latex is re-run
On Tue, 19 Mar 2002 10:26:29 -0500 wrote Nirmal Govind [EMAIL PROTECTED]: I suppose, LyX just doesnot realize/test for changes in included/input parts (the same holds for graphics: if you just change an *.eps file but leave the main LyX file untouched, Update-DVI will do nothing. Yes, I think this is true... can this can be corrected? What happens if you do some change to the LyX-file (other than removing the \input, e.g. inserting a comment)? Will the changes in the inputted file go to the DVI? Normal changes to the LyX file do show up when I do an Update-DVI so that's good... it's just the \input that isn't getting update in the DVI or PS output... I just did a small test, and I cannot reproduce the bug: in my LyX 1.1.6fix3 on KDE, if I have the files test.lyx and input.tex in the same directory and test.lyx calls input.tex via InsertFileInput, a change in input.tex without any change to test.lyx leads to a correct update when I press Ctrl-shift-D to update the DVI. Maybe a guru might find the difference in the setup that leads to this different behaviour. Guenter -- [EMAIL PROTECTED]
Re: \input{} doesn't auto-update when latex is re-run
On Tue, Mar 19, 2002 at 12:34:22PM +0100, Guenter Milde wrote: On Mon, 18 Mar 2002 18:54:25 -0500 wrote Nirmal Govind [EMAIL PROTECTED]: Hi, I've got a couple of \input{my_file} statements in my file. However, when I change the contents of my_file and then do an Update-DVI or an Update-PS in LyX, the changes I made to my_file aren't reflected. I have to then remove the \input statement and do an Update-DVI (basically re-run Latex), then have to insert the \input again and do an Update again and now the changes in my_file are made in the DVI and PS files. Anyone know what's going wrong? I suppose, LyX just doesnot realize/test for changes in included/input parts (the same holds for graphics: if you just change an *.eps file but leave the main LyX file untouched, Update-DVI will do nothing. This is untrue: LyX should normally auto detect when any source file is changed. If this does not happen send the output you get when running lyx -dbg depend, doing 'view dvi', changing a file and then doing 'view dvi' again.
Re: Re: \input{} doesn't auto-update when latex is re-run
On Tue, 19 Mar 2002 10:26:29 -0500 wrote Nirmal Govind <[EMAIL PROTECTED]>: > > >I suppose, LyX just doesnot realize/test for changes in included/input parts > >(the same holds for graphics: if you just change an *.eps file but leave the > >main LyX file untouched, Update-DVI will do nothing. > > Yes, I think this is true... can this can be corrected? > > > >What happens if you do some change to the LyX-file (other than removing the > >\input, e.g. inserting a comment)? Will the changes in the inputted file go > >to the DVI? > > Normal changes to the LyX file do show up when I do an Update-DVI so that's > good... it's just the \input that isn't getting update in the DVI or PS > output... I just did a small test, and I cannot reproduce the bug: in my LyX 1.1.6fix3 on KDE, if I have the files test.lyx and input.tex in the same directory and test.lyx calls input.tex via Insert>File>Input, a change in input.tex without any change to test.lyx leads to a correct update when I press Ctrl-shift-D to update the DVI. Maybe a guru might find the difference in the setup that leads to this different behaviour. Guenter -- [EMAIL PROTECTED]
Re: \input{} doesn't auto-update when latex is re-run
On Tue, Mar 19, 2002 at 12:34:22PM +0100, Guenter Milde wrote: > On Mon, 18 Mar 2002 18:54:25 -0500 wrote Nirmal Govind <[EMAIL PROTECTED]>: > > > Hi, > > > > I've got a couple of \input{my_file} statements in my file. However, when I > > change the contents of my_file and then do an Update->DVI or an Update->PS > > in LyX, the changes I made to my_file aren't reflected. I have to then > > remove the \input statement and do an Update-DVI (basically re-run Latex), > > then have to insert the \input again and do an Update again and now the > > changes in my_file are made in the DVI and PS files. Anyone know what's > > going wrong? > > I suppose, LyX just doesnot realize/test for changes in included/input parts > (the same holds for graphics: if you just change an *.eps file but leave the > main LyX file untouched, Update-DVI will do nothing. This is untrue: LyX should normally auto detect when any source file is changed. If this does not happen send the output you get when running lyx -dbg depend, doing 'view dvi', changing a file and then doing 'view dvi' again.
Re: \input{} doesn't auto-update when latex is re-run
I suppose, LyX just doesnot realize/test for changes in included/input parts (the same holds for graphics: if you just change an *.eps file but leave the main LyX file untouched, Update-DVI will do nothing. Yes, I think this is true... can this can be corrected? What happens if you do some change to the LyX-file (other than removing the \input, e.g. inserting a comment)? Will the changes in the inputted file go to the DVI? Normal changes to the LyX file do show up when I do an Update-DVI so that's good... it's just the \input that isn't getting update in the DVI or PS output... nirmal
Re: \input{} doesn't auto-update when latex is re-run
I suppose, LyX just doesnot realize/test for changes in included/input parts (the same holds for graphics: if you just change an *.eps file but leave the main LyX file untouched, Update-DVI will do nothing. Yes, I think this is true... can this can be corrected? What happens if you do some change to the LyX-file (other than removing the \input, e.g. inserting a comment)? Will the changes in the inputted file go to the DVI? Normal changes to the LyX file do show up when I do an Update-DVI so that's good... it's just the \input that isn't getting update in the DVI or PS output... nirmal
Re: \input{} doesn't auto-update when latex is re-run
>I suppose, LyX just doesnot realize/test for changes in included/input parts >(the same holds for graphics: if you just change an *.eps file but leave the >main LyX file untouched, Update-DVI will do nothing. Yes, I think this is true... can this can be corrected? >What happens if you do some change to the LyX-file (other than removing the >\input, e.g. inserting a comment)? Will the changes in the inputted file go >to the DVI? Normal changes to the LyX file do show up when I do an Update-DVI so that's good... it's just the \input that isn't getting update in the DVI or PS output... nirmal
\input{} doesn't auto-update when latex is re-run
Hi, I've got a couple of \input{my_file} statements in my file. However, when I change the contents of my_file and then do an Update-DVI or an Update-PS in LyX, the changes I made to my_file aren't reflected. I have to then remove the \input statement and do an Update-DVI (basically re-run Latex), then have to insert the \input again and do an Update again and now the changes in my_file are made in the DVI and PS files. Anyone know what's going wrong? Thanks, nirmal
\input{} doesn't auto-update when latex is re-run
Hi, I've got a couple of \input{my_file} statements in my file. However, when I change the contents of my_file and then do an Update-DVI or an Update-PS in LyX, the changes I made to my_file aren't reflected. I have to then remove the \input statement and do an Update-DVI (basically re-run Latex), then have to insert the \input again and do an Update again and now the changes in my_file are made in the DVI and PS files. Anyone know what's going wrong? Thanks, nirmal
\input{} doesn't auto-update when latex is re-run
Hi, I've got a couple of \input{my_file} statements in my file. However, when I change the contents of my_file and then do an Update->DVI or an Update->PS in LyX, the changes I made to my_file aren't reflected. I have to then remove the \input statement and do an Update-DVI (basically re-run Latex), then have to insert the \input again and do an Update again and now the changes in my_file are made in the DVI and PS files. Anyone know what's going wrong? Thanks, nirmal