Re: Small glitch in View dvi?

1999-05-28 Thread Volker Koch

That soleved the problem
Thanks
Volker

Jean-Marc Lasgouttes wrote:
> 
> > "Volker" == Volker Koch <[EMAIL PROTECTED]> writes:
> 
> Volker> Hi, I am a newcommer to lyx and also observed the problem with
> Volker> view dvi and update dvi. Following the suggestions in the
> Volker> mailing list I changed line 520 in filetools.C. This
> Volker> definitely improved the situation, but didn't fix all the
> Volker> problems.
> 
> Please try to get version 1.0.3pre4, since some things have improved
> there. Personnally I find that things work well now.
> 
> JMarc

-- 


Volker Koch Phone: (510) 486-5323   
Theory GroupFax:   (510) 486-4794   
Nuclear Science Divisione-mail: [EMAIL PROTECTED]
MS 70A-3307
Lawrence Berkeley Lab http://www-nsdth.lbl.gov/~vkoch/index.html 
1 Cyclotron Road
Berkeley, CA 94720





Re: Small glitch in View dvi?

1999-05-27 Thread Jean-Marc Lasgouttes

> "Volker" == Volker Koch <[EMAIL PROTECTED]> writes:

Volker> Hi, I am a newcommer to lyx and also observed the problem with
Volker> view dvi and update dvi. Following the suggestions in the
Volker> mailing list I changed line 520 in filetools.C. This
Volker> definitely improved the situation, but didn't fix all the
Volker> problems.

Please try to get version 1.0.3pre4, since some things have improved
there. Personnally I find that things work well now.

JMarc



Re: Small glitch in View dvi?

1999-05-26 Thread Volker Koch

Hi,
I am a newcommer to lyx and also observed the problem with view dvi and update
dvi. Following the suggestions in the mailing list I changed line 520 in
filetools.C. This definitely improved the situation, but didn't fix all the
problems. The problem I still have is with bibtex:
view dvi makes indeed runs through LATEX BIBTEX LATEX, and according to -dbg 128
it finds the .bbl file. It generates the correct list of references at the end
of the document BUT
IT FAILS to in generate the reference numbers in the body of the text. 
Setting \temp_dir false in $HOME/.lyx/lyxrc solves the problem. However, it
would be much better not to have all this auxilliary files floating around my
working directory.

I suspect that the entries in document.tex.dep are not set correctly
for 
\temp_dir false (And this WORKS!!) I get
cat /workdir/document.tex.dep gives:
/home/vkoch/nta/e_by_e/kpifluct.tex 2204895503 2204895503
/home/vkoch/nta/e_by_e/kpifluct.bbl 1333091977 1333091977

whereas when I work with the temporary directories (where it FAILS) I get
something like
cat /tempdir/document.tex.dep gives:
/home/vkoch/nta/e_by_e/kpifluct.tex 2204895503 2204895503
/home/vkoch/nta/e_by_e/kpifluct.bbl 1333091977 0

I suspect that the 0at the end of the second line is the problem. When the view
dvi wasn't working I had zeros for all four entries in the .tex.dep file.

Anybody any idea?
Volker
-- 


Volker Koch Phone: (510) 486-5323   
Theory GroupFax:   (510) 486-4794   
Nuclear Science Divisione-mail: [EMAIL PROTECTED]
MS 70A-3307
Lawrence Berkeley Lab http://www-nsdth.lbl.gov/~vkoch/index.html 
1 Cyclotron Road
Berkeley, CA 94720





Re: Small glitch in View dvi?

1999-05-08 Thread Martin Vonwald

"Lars Gullik Bjønnes" wrote:
> 
> Can those of you that does your own compiles and see this bug try
> this:
> 
> Change line 520 in filetools.C to read:
> 
> TempBase = GetCWD();
> 
> and see if that makes a difference.
> 
> Lgb

It absolutely does! Update DVI works well again and my TOC which was
gone in 1.0.2 (only with book (koma-script)) is back too!!

Many thanks, Martin



Re: Small glitch in View dvi?

1999-05-07 Thread Sasa Janiska

On 07 May 1999 14:17:48 +0200, Lars Gullik Bjønnes wrote:

>
>Can those of you that does your own compiles and see this bug try
>this:
>
>Change line 520 in filetools.C to read:
>
>TempBase = GetCWD();
>
>and see if that makes a difference.
>
Yes, it really makes a difference.
Not, just a difference - it works!
Thank you very much.

This is such a fantastic example of user support.
Sincerely,
Sasa


Sasa Janiska
Zagreb, Croatia
E-mail: [EMAIL PROTECTED]




Re: Small glitch in View dvi?

1999-05-07 Thread Mario Parra

Lars Gullik Bjønnes wrote:

> Can those of you that does your own compiles and see this bug try
> this:
>
> Change line 520 in filetools.C to read:
>
> TempBase = GetCWD();
>
> and see if that makes a difference.
>
> Lgb

  This fixes the problem on my system as well.

-Mario



Re: Small glitch in View dvi?

1999-05-07 Thread Mario Parra

> Can all of you that has experienced this glitch/bug tell what shell
> and system you are running on?
>
> Lgb

  solaris 2.6 and 2.7 both running csh.


-Mario



Re: Small glitch in View dvi?

1999-05-07 Thread Ingo Kloecker

> Can all of you that has experienced this glitch/bug tell what shell
> and system you are running on?

No problem on i686 with Red Hat 5.2, kernel 2.0.36, bash version 1.14.7(1).

The problem occurs on Sparc 10 with Solaris 7, bash version
2.02.1(1)-release.
After applying the proposed patch of filetools.C the problem doesn't occur
anymore.




Re: Small glitch in View dvi?

1999-05-07 Thread Sasa Janiska

On 07 May 1999 13:52:30 +0200, Lars Gullik Bjønnes wrote:

>Can all of you that has experienced this glitch/bug tell what shell
>and system you are running on?
>
SuSE Linux 2.0.36 & bash.
Sasa



Sasa Janiska
Zagreb, Croatia
E-mail: [EMAIL PROTECTED]




Re: Small glitch in View dvi?

1999-05-07 Thread Herbert

"Lars Gullik Bjønnes" wrote:
> 
> Can those of you that does your own compiles and see this bug try
> this:
> 
> Change line 520 in filetools.C to read:
> 
> TempBase = GetCWD();
> 
> and see if that makes a difference.

now everything is ok, LyX works fine! :-))
Thanks!

Herbert

-- 
[EMAIL PROTECTED]
http://www.canisius.de/



Re: Small glitch in View dvi?

1999-05-07 Thread Lars Gullik Bjønnes


Can those of you that does your own compiles and see this bug try
this:

Change line 520 in filetools.C to read:

TempBase = GetCWD();

and see if that makes a difference.

Lgb



Re: Small glitch in View dvi?

1999-05-07 Thread Herbert Voss



On 7 May 1999, Lars Gullik Bjønnes wrote:

> We know now what the bug is. MakeAbsPath _is_ placed in the correct
> place in DepTable, but MakeAbsPath calls a function safer_cwd that

...
> We are thinking of a coupble of ways to fix this.
> 
> Can all of you that has experienced this glitch/bug tell what shell
> and system you are running on?

Linux 2.0.36 and Linux 2.2.5 both with bash 

Herbert



Re: Small glitch in View dvi?

1999-05-07 Thread Lars Gullik Bjønnes

Mario Parra <[EMAIL PROTECTED]> writes:

| I look at the code for DepTable.C in both 1.0.1 and 1.0.2 and the 1.0.1
| version never calls MakeAbsPath. Furthermore, in the 1.0.2 version,
| every time MakeAbsPath is called, there is a comment that says:
| 
|  // not quite sure if this is the correct place for MakeAbsPath

We know now what the bug is. MakeAbsPath _is_ placed in the correct
place in DepTable, but MakeAbsPath calls a function safer_cwd that
looks at the envionment variable PWD and CWD. So if you are running on
a shell/system/lib that does set, but not update PWD and CWD
MakeAbsPath will always use the same working dir and the absolute path
will be wrong.

We are thinking of a coupble of ways to fix this.

Can all of you that has experienced this glitch/bug tell what shell
and system you are running on?

Lgb



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

I look at the code for DepTable.C in both 1.0.1 and 1.0.2 and the 1.0.1
version never calls MakeAbsPath. Furthermore, in the 1.0.2 version,
every time MakeAbsPath is called, there is a comment that says:

 // not quite sure if this is the correct place for MakeAbsPath

Otherwise the files are identical. So I simply replaced version 1.0.2
with version 1.0.1 and things seem to work fine. The foo.tex.dep
file has the correct name and update dvi works ok.


-Mario



Re: Small glitch in View dvi?

1999-05-06 Thread Herbert


> Here (lyx-1.0.2 on Sun Solaris 2.6), in /tmp/lyx_tmp6076aaa/lyx_bufrtmp6076aaa/
> -rw---   1 chretien dera   8 May  6 19:03 newfile.aux
> -rw---   1 chretien dera 228 May  6 19:03 newfile.dvi
> -rw---   1 chretien dera2353 May  6 19:03 newfile.log
> -rw---   1 chretien dera 349 May  6 19:04 newfile.tex
> -rw---   1 chretien dera  34 May  6 19:03 newfile.tex.dep
> 
>   - the .dep file points to the original directory,
> %more newfile.tex.dep
> /ca/dera/chretien/newfile.tex 0 0
>   - the .tex file is up to date (19:04) after a change,
>   - the other files remained unchanged.
> 
> If I past the temporary dir instead in newfile.tex.dep,
> %more newfile.tex.dep
> /tmp/lyx_tmp6076aaa/lyx_bufrtmp6076aaa/newfile.tex 0 0
> 
> further updates work.

thats ok! 
the .dep file points to my home-directory /home/voss , but the
text is from /home/voss/texte/.../
when I change the .dep file to the /tmp/...(just like Jean-Pierre)
everything works well!

Herbert


-- 
[EMAIL PROTECTED]
http://www.canisius.de/



Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Mario" == Mario Parra <[EMAIL PROTECTED]> writes:

Mario>   What I meant is that in your reply to my e-mail you claimed that

Kayvan > Even when I am running with ``\use_tempdir false'', the foo.tex.dep
Kayvan > file contains the right information:
Kayvan >
Kayvan > /tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553 2303679553

Mario> So in your example \use_tempdir was false, yet foo.tex.dep was
Mario> still pointing to /tmp.

Oh. That was just my typo. I mean: Even when I am running *without*...



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

Kayvan Aghaiepour Sylvan wrote:

>
>
> Mario> Anyway, if \use_tmpdir is false, how come it is still using /tmp?
>
> It shouldn't be. Did you quit and restart lyx.
>
> Putting the line "\use_tempdir false" in your ~/.lyx/lyxrc should make
> lyx stop using temp directories (putting all intermediate files where
> the main lyx file is).
>
> ---Kayvan

  What I meant is that in your reply to my e-mail you claimed that

Kayvan >  Even when I am running with ``\use_tempdir false'', the
foo.tex.dep
Kayvan >   file contains the right information:
Kayvan >
Kayvan >/tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553
2303679553

So in your example \use_tempdir was false, yet foo.tex.dep was still
pointing
to /tmp.

-Mario



Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Mario" == Mario Parra <[EMAIL PROTECTED]> writes:

Mario> I am on a sparc 10 running solaris 2.6, but I think this bug is
Mario> not os dependent.

I don't really know if it's OS dependant or not. I and several people
from the LyX team don't see the problem and we're still trying to
figure out why it happens.

Mario> Anyway, if \use_tmpdir is false, how come it is still using /tmp?

It shouldn't be. Did you quit and restart lyx.

Putting the line "\use_tempdir false" in your ~/.lyx/lyxrc should make
lyx stop using temp directories (putting all intermediate files where
the main lyx file is).

---Kayvan



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

Kayvan Aghaiepour Sylvan wrote:

> > "Mario" == Mario Parra <[EMAIL PROTECTED]> writes:
>
> Mario> One more thing, if I turn /usr_tmpdir to false and the lyx file
> Mario> is not in the distribution directory, then create dvi does not
> Mario> even work the first time around!
>
> What system are you running?
>
> Even when I am running with ``\use_tempdir false'', the foo.tex.dep
> file contains the right information:
>
> /tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553 2303679553
>
> My only other thought is that somehow MakeAbsPath() is returning the
> wrong thing for inclusion into the DepTable
>
>   ---Kayvan

  I am on a sparc 10 running solaris 2.6, but I think this bug is not os
dependent.
Anyway, if \use_tmpdir is false, how come it is still using /tmp?

-Mario



Re: Small glitch in View dvi?

1999-05-06 Thread Lars Gullik Bjønnes

Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]> writes:
| /tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553 2303679553
| 
| My only other thought is that somehow MakeAbsPath() is returning the
| wrong thing for inclusion into the DepTable
| 
| ---Kayvan

One thing those of you seeing the glitch can do for me is to edit
DepTable.C and enable some commented lines:

in DepTable::update()
DepTable::read(LString const &f)
DepTable::write(FILE * f)

compile and run LyX with -dbg 129

Lgb



Re: Small glitch in View dvi?

1999-05-06 Thread Jean-Pierre.Chretien


>> Date: Thu, 06 May 1999 10:33:16 -0600
>> From: Mario Parra <[EMAIL PROTECTED]>
>> To: Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]>, lyx users 
<[EMAIL PROTECTED]>
>> Subject: Re: Small glitch in View dvi?
>> 
>> Somehow the dependency files are not being set properly.
>> This is why I think this is so.
>> 
>> If I set use_tmpdir true then lyx creates a directory under /tmp where it 
stores
>> temporary
>> files. Over there, there is a file called nameofdocumet.tex.dep that holds 
the
>> names of the
>> latex files used to create the dvi. But that file points to the wrong place! 
It
>> always has the
>> path that points to the installation directory.

Here (lyx-1.0.2 on Sun Solaris 2.6), in /tmp/lyx_tmp6076aaa/lyx_bufrtmp6076aaa/
-rw---   1 chretien dera   8 May  6 19:03 newfile.aux
-rw---   1 chretien dera 228 May  6 19:03 newfile.dvi
-rw---   1 chretien dera2353 May  6 19:03 newfile.log
-rw---   1 chretien dera 349 May  6 19:04 newfile.tex
-rw---   1 chretien dera  34 May  6 19:03 newfile.tex.dep

  - the .dep file points to the original directory, 
%more newfile.tex.dep
/ca/dera/chretien/newfile.tex 0 0
  - the .tex file is up to date (19:04) after a change,
  - the other files remained unchanged.
  
If I past the temporary dir instead in newfile.tex.dep,
%more newfile.tex.dep
/tmp/lyx_tmp6076aaa/lyx_bufrtmp6076aaa/newfile.tex 0 0

further updates work.

Hope that helps...

-- 
Jean-Pierre


  
  
  
   



Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Mario" == Mario Parra <[EMAIL PROTECTED]> writes:

Mario> One more thing, if I turn /usr_tmpdir to false and the lyx file
Mario> is not in the distribution directory, then create dvi does not
Mario> even work the first time around!

What system are you running?

Even when I am running with ``\use_tempdir false'', the foo.tex.dep
file contains the right information:

/tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553 2303679553

My only other thought is that somehow MakeAbsPath() is returning the
wrong thing for inclusion into the DepTable

  ---Kayvan



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

One more thing, if I turn /usr_tmpdir to false and the lyx file is not in the
distribution directory, then create dvi does not even work the first time
around!

-Mario



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

Somehow the dependency files are not being set properly.
This is why I think this is so.

If I set use_tmpdir true then lyx creates a directory under /tmp where it stores
temporary
files. Over there, there is a file called nameofdocumet.tex.dep that holds the
names of the
latex files used to create the dvi. But that file points to the wrong place! It
always has the
path that points to the installation directory.

To demontrate this, turn use_tmpdir to false, then create a lyx file but make sure
you
put it in the installation directory. Now the dependencies point to the right
place and
update dvi works fine (this is probably why it works for some of you, just move
the file
outside the installation directory and it should stop working.

-Mario



Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> How do you set \use_tmpdir? I tried putting it in the preamble but latex

You put \use_tempdir into your ~/.lyx/lyxrc:

\use_tempdir false

Do you have gdb installed? If so, maybe you can step through the code
and see if if the problem is happening in the DepTable code?

---Kayvan

-- 
Kayvan Aghaiepour Sylvan   | Proud husband of   | Father to
Sylvan Associates, Inc.| Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://www.isp.net/~kayvan || Robin Gregory (2/28/92)



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra



> On 06 May 1999 11:04:37 +0200, Lars Gullik Bj°nnes wrote:
>
> >Do those of you seeing this glitch use \use_tempdir true or false? Are
> >the temporary dir mounted over nfs?
> >

How do you set \use_tmpdir? I tried putting it in the preamble but latex
won't
take it.
I tried both on dirs mounted over nfs and on dirs  not monted over nfs and
the
problem is still there.

Here is some data on my system
OS: Sparc 10 running solaris 2.6.
tex: version  3.14159
I have 1.0.1 still installed, but if I install 1.0.2 on top, the error
persists.

-Mario



Re: Small glitch in View dvi?

1999-05-06 Thread Herbert

"Lars Gullik Bjønnes" wrote:
> 
> Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]> writes:
> 
> | Could you try running ``lyx -dbg'' and seeing if that gives a clue?
> 
> try -dbg 128
> 
there are the same messages on my system as in Marios mail.
my systems:
1. Linux 2.0.36 (i586) (Suse 5.3)
2. Linux 2.0.36 (i686) "
3. Linux 2.2.5  (i686) "

from my point of view it must be an error of the variable
which stores the change-mode of an file. The behaviour of
1.0.2 is just like the 1.0.1 when you don't change anything
and update dvi-viewing. I don't know, why this should be an
error of a specific system. On the other hand, when it works
well at Lars, it's not a real error in programming code.

so the only thing I can say after 25 years in programming
is: the time for fixing an error is reverse to its degree
of difficulty... ;-))

Herbert

-- 
[EMAIL PROTECTED]
http://www.canisius.de/




Re: Small glitch in View dvi?

1999-05-06 Thread Sasa Janiska

On 06 May 1999 11:04:37 +0200, Lars Gullik Bj°nnes wrote:

>Do those of you seeing this glitch use \use_tempdir true or false? Are
>the temporary dir mounted over nfs? 
>
It is the same. 
No temporary dir over nfs.
Something must  broken in the code.
The same file worked in 1.0.1.
Sincerely,
Sasa

Sasa Janiska
Zagreb, Croatia
E-mail: [EMAIL PROTECTED]




Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Do those of you seeing this glitch use \use_tempdir true or false? Are
Lars> the temporary dir mounted over nfs? 

Just as a (non) data point: I am on an Redhat Linux 5.2 system with
kernel-2.0.36, tetex-0.9-6, LaTeX2e, running 1.03pre1.

Running with \use_tempdir true or false makes no difference. It still
works correctly on my machine.

  ---Kayvan



Re: Small glitch in View dvi?

1999-05-06 Thread Lars Gullik Bjønnes

Mario Parra <[EMAIL PROTECTED]> writes:
| return no_change

Do those of you seeing this glitch use \use_tempdir true or false? Are
the temporary dir mounted over nfs? 

Lgb



Fwd: Re: Small glitch in View dvi?

1999-05-05 Thread Sasa Janiska

==BEGIN FORWARDED MESSAGE==
>From: "Sasa Janiska" <[EMAIL PROTECTED]>
>To: "Mario Parra" <[EMAIL PROTECTED]>
>Date: Wed, 05 May 1999 20:54:52 -0100
>Reply-To: "Sasa Janiska" <[EMAIL PROTECTED]>
>Priority: Normal
>X-Mailer: PMMail 1.96a For OS/2
>MIME-Version: 1.0
>Content-Type: text/plain; charset="iso-8859-2"
>Content-Transfer-Encoding: 7bit
>Subject: Re: Small glitch in View dvi?
>

On Wed, 05 May 1999 10:36:14 -0600, Mario Parra wrote:

>
>  I was writing a message to report the same problem!
>I am running on a sparc using solaris 2.6.
>When I click update dvi I see the message, Running Latex and a second
>later it says Done, but
>
>no Latex run 1 and Latex run 2 messages like in 1.0.1.
The same problem.
Besides that, I get only Title for TOC (Croatian language), no real
TOC.
In 1.0.1, everything was fine.
Sasa



Sasa Janiska
Zagreb, Croatia
E-mail: [EMAIL PROTECTED]



===END FORWARDED MESSAGE===


Sasa Janiska
Zagreb, Croatia
E-mail: [EMAIL PROTECTED]




Re: Small glitch in View dvi?

1999-05-05 Thread Lars Gullik Bjønnes

Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]> writes:

| Could you try running ``lyx -dbg'' and seeing if that gives a clue?

try -dbg 128

Lgb



Re: Small glitch in View dvi?

1999-05-05 Thread Mario Parra

Kayvan Aghaiepour Sylvan wrote:

> Could you try running ``lyx -dbg'' and seeing if that gives a clue?
>
> ---Kayvan

  I run lyx -dbg 128 for latex debugging. The first time I run view dvi,

latex runs fine. Then I
make some change, click update dvi and this is what debugging tells me,

makeLaTeXFile...
  Validating buffer...
Paragraph: 2971688
LyX needs the following commands when LaTeXing:
* Packages:
* Macros:
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}

* Textclass stuff:
* done.
  Buffer validation done.
TeXOnePar... 2971688
SimpleTeXOnePar... 2971688
SimpleTeXOnePar...done 2971688
TeXOnePar...done 0
makeLaTeXFile...done
Dependency file exists
return no_change


-Mario



Re: Small glitch in View dvi?

1999-05-05 Thread Kayvan Aghaiepour Sylvan

> "Herbert" == Herbert  <[EMAIL PROTECTED]> writes:

Herbert> Starting LyX 1.0.2, choosing new, typing a word like "LyX", ;-)
Herbert> dvi-viewing shows this word. Now you can do want you want,
Herbert> udating dvi or viewing postscript, all gives LyX, because
Herbert> Latex is NOT running. 

I don't see that problem here either. I'm running Linux 2.0.36 (Redhat
5.2).

Could you try running ``lyx -dbg'' and seeing if that gives a clue?

---Kayvan



Re: Small glitch in View dvi?

1999-05-05 Thread Lars Gullik Bjønnes

Herbert <[EMAIL PROTECTED]> writes:

| It's not a problem of a specific file!
| Starting LyX 1.0.2, choosing new, typing a word like "LyX", ;-)
| dvi-viewing shows this word. Now you can do want you want,
| udating dvi or viewing postscript, all gives LyX, because
| Latex is NOT running. 

Then it is a problem of specific systems, because I do "NOT" see that
behaviour here.

Lgb



Re: Small glitch in View dvi?

1999-05-05 Thread Herbert

"Lars Gullik Bjønnes" wrote:
> 
> Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]> writes:
> 
> | Hmmm... The update glitch does not happen for me (running 1.0.3pre1).
> |
> | I can try with 1.0.2 later today.
> 
> try with files that need latex to be run more than once.

It's not a problem of a specific file!
Starting LyX 1.0.2, choosing new, typing a word like "LyX", ;-)
dvi-viewing shows this word. Now you can do want you want,
udating dvi or viewing postscript, all gives LyX, because
Latex is NOT running. 

Herbert

-- 
[EMAIL PROTECTED]
http://www.canisius.de/



Re: Small glitch in View dvi?

1999-05-05 Thread Lars Gullik Bjønnes

Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]> writes:

| Hmmm... The update glitch does not happen for me (running 1.0.3pre1).
| 
| I can try with 1.0.2 later today.

try with files that need latex to be run more than once.

Lgb



Re: Small glitch in View dvi?

1999-05-05 Thread Lars Gullik Bjønnes

David Aronstein <[EMAIL PROTECTED]> writes:
| I have attached a simple file that did not update properly,
| when I:  wrote the first sentence, viewed the DVI file, =
| 
| wrote the second sentence, and then viewed the DVI file again.
| 
| However, the file is saved correctly, and when I load up the
| file again in a subsequent LyX session, it is viewed correctly in
| DVI.

Can you describe in detail what you are doing. Because I am unable to
repeat the bug here:

- load the example.lyx file
- View Dvi
- add a sentence "this is the third line"
- View Dvi

Works just fine.

Lgb



Re: Small glitch in View dvi?

1999-05-05 Thread Kayvan Aghaiepour Sylvan

Hmmm... The update glitch does not happen for me (running 1.0.3pre1).

I can try with 1.0.2 later today.

   ---Kayvan



Re: Small glitch in View dvi?

1999-05-05 Thread Herbert

"Lars Gullik Bjønnes" wrote:
> 
> [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
> | David Aronstein <[EMAIL PROTECTED]> writes:
> | | If I then add more text (say, "This is the next sentence.") and select View
> | | dvi, the new text does not appear.  It seems that the .dvi file is
> | | not being updated?
> 
> I have checked a bit, and does not see this. Can you send me a small
> lyx file that shows this behaviour.

it's the same with postscript and with every text!
when I choose "update postscript"  there is no message "latex #1 .."
in the bootom line of LyX. So the old dvi-file is transformed to ps
and ghostview gets the same file.
 
I reinstalled 1.0.1 and all works well.

Herbert

-- 
[EMAIL PROTECTED]
http://www.canisius.de/



Re: Small glitch in View dvi?

1999-05-05 Thread Hartmut S. Leipner

I just checked this behavior and it happens also on my system with a file which
was working correctly up to version 1.02pre3.

hsl


--
Dr. Hartmut S. Leipner
Fachbereich Physik
Friedemann-Bach-Platz 6
Martin-Luther-Universität
06108 Halle

Tel. 0345-55 25 453
Fax  0345-55 27 563
WWW  http://crystal.physik.uni-halle.de



Re: Small glitch in View dvi?

1999-05-05 Thread Kayvan Aghaiepour Sylvan

> "David" == David Aronstein <[EMAIL PROTECTED]> writes:

David> I have attached a simple file that did not update properly,
David> when I:  wrote the first sentence, viewed the DVI file, 
David> wrote the second sentence, and then viewed the DVI file again.

David> However, the file is saved correctly, and when I load up the
David> file again in a subsequent LyX session, it is viewed correctly in DVI.

David> So, I'm not sure if this file will be of any use.
David> Is there some other way we can help track this down?

Try running ``lyx -dbg'' with a bit pattern number.

The bits are:

INFO   = (1),// 1
INIT   = (1 << 1),   // 2
KEY= (1 << 2),   // 4
TOOLBAR= (1 << 3),   // 8
LEX_PARSER = (1 << 4),   // 16
LYXRC  = (1 << 5),   // 32
KBMAP  = (1 << 6),   // 64
LATEX  = (1 << 7),   // 128
MATHED = (1 << 8),   // 256
FONT   = (1 << 9),   // 512
TCLASS = (1 << 10),  // 1024
LYXVC  = (1 << 11),  // 2048
ROFF   = (1 << 12),  // 4096
LYXSERVER  = (1 << 13),  // 8192

Executing ``lyx -dbg 65535'' is probably too much.

 ---Kayvan
-- 
Kayvan Aghaiepour Sylvan   | Proud husband of   | Father to
Sylvan Associates, Inc.| Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://www.isp.net/~kayvan || Robin Gregory (2/28/92)



Re: Small glitch in View dvi?

1999-05-05 Thread Lars Gullik Bjønnes

David Aronstein <[EMAIL PROTECTED]> writes:

| So, I'm not sure if this file will be of any use.
| Is there some other way we can help track this down?

Only if you want to dig into the sources.

Lgb



Re: Small glitch in View dvi?

1999-05-05 Thread David Aronstein

> I have checked a bit, and does not see this. Can you send me a small
> lyx file that shows this behaviour.
> 
>   Lgb

I have attached a simple file that did not update properly,
when I:  wrote the first sentence, viewed the DVI file, 
wrote the second sentence, and then viewed the DVI file again.

However, the file is saved correctly, and when I load up the
file again in a subsequent LyX session, it is viewed correctly in DVI.


So, I'm not sure if this file will be of any use.
Is there some other way we can help track this down?

regards,
  David Aronstein
  [EMAIL PROTECTED]




Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.

 example.lyx


Re: Small glitch in View dvi?

1999-05-05 Thread Lars Gullik Bjønnes

[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes:
| David Aronstein <[EMAIL PROTECTED]> writes:
| | If I then add more text (say, "This is the next sentence.") and select View
| | dvi, the new text does not appear.  It seems that the .dvi file is
| | not being updated?

I have checked a bit, and does not see this. Can you send me a small
lyx file that shows this behaviour.

Lgb



Re: Small glitch in View dvi?

1999-05-05 Thread Lars Gullik Bjønnes

David Aronstein <[EMAIL PROTECTED]> writes:
| If I then add more text (say, "This is the next sentence.") and select View
| dvi, the new text does not appear.  It seems that the .dvi file is not being
| updated?

Arrghhh. I should not be allowed to fix things 5 min before release.

But I am not sure what happens.

Because: my change makes lyx write out the temporary tex file even if
dvi is clean. I need to look at this...and to get more error reports.

Lgb



Small glitch in View dvi?

1999-05-05 Thread Mario Parra

  David Aronstein wrote:

> I installed lyx 1.0.2 this morning and I wonder if there is a small
> glitch in the View dvi command?
>
> If I create a simple document (say, with one line:  "This is the first

> sentence.") and select View dvi, then the document looks fine.
>
> If I then add more text (say, "This is the next sentence.") and select
View
> dvi, the new text does not appear.  It seems that the .dvi file is not
being
> updated?
>
> I am running on an Intel machine, with RedHat 5.2.
> Before today, I had used lyx 1.0.1 and did not notice this problem.
>
> Any ideas what might be happening?
>
> regards,
>   David Aronstein
>   [EMAIL PROTECTED]
>
> 
> Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.

  I was writing a message to report the same problem!
I am running on a sparc using solaris 2.6.
When I click update dvi I see the message, Running Latex and a second
later it says Done, but

no Latex run 1 and Latex run 2 messages like in 1.0.1.
When I look at the dvi file, no changes appear.
I reinstalled 1.0.1 and the problem was gone.

-Mario





Small glitch in View dvi?

1999-05-05 Thread David Aronstein

I installed lyx 1.0.2 this morning and I wonder if there is a small
glitch in the View dvi command?

If I create a simple document (say, with one line:  "This is the first
sentence.") and select View dvi, then the document looks fine.

If I then add more text (say, "This is the next sentence.") and select View
dvi, the new text does not appear.  It seems that the .dvi file is not being
updated?

I am running on an Intel machine, with RedHat 5.2.
Before today, I had used lyx 1.0.1 and did not notice this problem.

Any ideas what might be happening?

regards,
  David Aronstein
  [EMAIL PROTECTED]


Get your own FREE, personal Netscape WebMail account today at 
http://webmail.netscape.com.