Re: Now it's here! The pictures from Tildem

1999-08-30 Thread Jean-Marc Lasgouttes

 "Asger" == Asger K Alstrup Nielsen [EMAIL PROTECTED] writes:

Asger Hi!  The pictures from the third international LyX developers
Asger meeting held in Bozen, Italy are here:

Asger http://sunsite.auc.dk/lyx/ildm/tildem.php3

Oh, we look SO serious and efficient. I am impressed.

Anyway I'm back, but I have a bunch of things to do, so I do not know
how useful I will be in the next days...

JMarc



Re: deleted the tutorial

1999-08-30 Thread Jean-Marc Lasgouttes

 "Mate" == Mate Wierdl [EMAIL PROTECTED] writes:

Mate I started LyX as root, read the tutorial, then deleted some
Mate stuff, and saved the result.

Mate Would not it be a good idea to install the tutorial (and the
Mate other docs) readonly, though I do not expect too see too many
Mate idiots like me?

Isn't root the guy who is supposed to know what he does? :) I bet that
many roots would be pissed off by this kind of practice...

JMarc



Re: Bold Toggle Bug

1999-08-30 Thread Jean-Marc Lasgouttes

 "Michael" == Michael O'Brien [EMAIL PROTECTED] writes:

Michael I recently upgraded to a 1.01 version of LyX and found that
Michael the bold-toggle function (working in 0.12) has since been
Michael broken.  More explicitly, Cntr-B turns bold on, but not off.
Michael It is somewhat awkward to switch the bold off, even from the
Michael pull down menu's.  I haven't bothered to compile the latest
Michael versions since the bug list at www.lyx.org shows that this
Michael hasn't been addressed.

This has been fixed in recent versions. Try 1.0.3, for example.

JMarc



LyX 1.0.3: a bug report

1999-08-30 Thread Serge Winitzki

Hi,

I am a now steady user of LyX, primarily for scientific publications and
presentations, but also for business correspondence and even reading
other people's TeX files. I am using LyX on Linux and SGI IRIX
platforms. Here is a summary of what I still find annoying with LyX
1.0.3 and perhaps you will find a way to fix it in a future version.

1) When selecting a file in the File/Open box, double-clicking on the
file name is very finicky, it seems to expect me to double-click
extremely quickly.

2) When I am in text mode and want to put the cursor inside a wide
displayed equation by clicking on it, the cursor sometimes goes after
the end of the equation and I'm still in text mode.

3) The cursor keys (- and -) don't always do what I expect when I am
in math mode. For example, type math-greek phi, then math-insert _, then
twice cursor left: The cursor ends up at right of the subscript math
box.

4) When editing math, cursor up and down sometimes produces unexpected
effects. Essentially the cursor only goes up the fraction and not down;
and also it goes up the subscript only from the left side of the
subscript, but not from the right side. It's very disconcerting to
suddenly drop out of the math mode into a different line when what you
want is to edit a subscript. 

5) Two RevTeX glitches when exporting to TeX: first, the \documentclass
line should really be \documentstyle, because the stupid RevTeX is still
Latex 2.09 although its correct processing with Latex 2e requires a .cls
file. Second, when using boldface in math, for example a boldface "x",
followed by normal "+y", which should be the TeX code "{\mathbf x} + y",
LyX incorrectly generates the TeX code "\mathbf{x} + y", which results
in both x and y and whatever follows being typesent in boldface.

Best regards and thanks for your great work.

-
Serge




Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Lars Gullik Bjønnes

"Arnd Hanses" [EMAIL PROTECTED] writes:

| in buffer.C is a destructor method 
| 
|   Buffer::~Buffer()
| [...]
|   if (!tmppath.empty()) {
|   DestroyBufferTmpDir(tmppath);
|   }
| [...]
| 
| I'm not sure, only suspect this destructor runs sometimes before LaTeX
| is invoked.

This is only run when you close a buffer.

Lgb



Re: LyX 1.0.3: a bug report

1999-08-30 Thread Lars Gullik Bjønnes

Serge Winitzki [EMAIL PROTECTED] writes:

| 1) When selecting a file in the File/Open box, double-clicking on the
| file name is very finicky, it seems to expect me to double-click
| extremely quickly.

I think this is due to some limitations in XForms, anyway I have added
a call to fl_set_object_dblclick int filedlg.C. This sets the dblclick
timeout, I have set it to 500 ms (default is 400ms) so you might
expect some nicer behaviour, or you can tune this to your own liking
(but then you have to recompile yourself)

| 5) Two RevTeX glitches when exporting to TeX: first, the \documentclass
| line should really be \documentstyle, because the stupid RevTeX is still
| Latex 2.09 although its correct processing with Latex 2e requires a .cls
| file. Second, when using boldface in math, for example a boldface "x",
| followed by normal "+y", which should be the TeX code "{\mathbf x} + y",
| LyX incorrectly generates the TeX code "\mathbf{x} + y", which results
| in both x and y and whatever follows being typesent in boldface.

LyX has its own RevTeX wrapper so lyx shoult export documentclass as
it does now. When RevTeX 4 is released all this should be a lot
easier.

Lgb



LyX 1.0.3: a bug report (one more bug)

1999-08-30 Thread Serge Winitzki

Hi,

Forgot bug #6:

6) When deleting symbols in math mode, subscripts and superscripts are
not always correctly drawn on the screen. For example, if I type x^2y^2
and then want to change y by z, I go back with the cursor to delete y
and then the second superscript "2" vanishes from the screen too,
however when I type "z" instead of "y", the superscript is back. This
can also lead to double superscripts or subscripts (a TeX error) which
are not drawn on the screen. 

Best regards,

-
Serge







Re: LyX 1.0.3: a bug report

1999-08-30 Thread Amir Karger

On Mon, Aug 30, 1999 at 12:47:04PM +0100, Serge Winitzki wrote:
 
 1) When selecting a file in the File/Open box, double-clicking on the
 file name is very finicky, it seems to expect me to double-click
 extremely quickly.

Good point. I don't know why I never mentioned this annoyance, since it
seems it was easy to fix.

 5) Two RevTeX glitches when exporting to TeX: first, the \documentclass
 line should really be \documentstyle, because the stupid RevTeX is still
 Latex 2.09 although its correct processing with Latex 2e requires a .cls
 file. Second, when using boldface in math, for example a boldface "x",
 followed by normal "+y", which should be the TeX code "{\mathbf x} + y",
 LyX incorrectly generates the TeX code "\mathbf{x} + y", which results
 in both x and y and whatever follows being typesent in boldface.

I believe the second problem isn't a revtex-specific problem. Mathed has
"issues" with boldfacing which will probably be fixed in 1.1. Also, as Lars
said, LyX does use documentclass for revtex. LyX comes with a revtex.cls
file which basically just calls revtex.sty in compatibility mode. RevTeX4
has been released in beta, and I started working on a layout file for it but
have been very lazy.

-Amir



RevTeX

1999-08-30 Thread Amir Karger

Forwarding this to the list since I'm over my head here. Has anyone else
gotten these problems with the LyX revtex.cls (from the command line)? Or
does anyone (welcome back, Jean-Marc!) know what would cause it? (Serge, it
might help if you reminded us what your tex distribution is. But it might
not :) 

As far as the requirement for hand-editing from style to class, as has been
mentioned it's not worth doing anything special because as soon as that lazy
good-for-nothing working on revtex4.layout finishes, it won't be an issue.

-Amir

- Forwarded message from Serge Winitzki [EMAIL PROTECTED] -

From: Serge Winitzki [EMAIL PROTECTED]

 So you're saying you can create dvi in lyx but not from the command line?

No, I can't create dvi anywhere. If I make TeX read the .cls file that
comes with LyX rather than the revtex.cls file that comes with most
Latex distributions, latex breaks with messages such as "Unknown option
`errorshow' for package `tracefnt' " and 
"l.173 \DeclareSymbolFont
{bold}{OT1}{cmr}{bx}{n}
? 
(/opt/tex/lib/texmf/latex2e/base/latexsym.sty)
! Undefined control sequence.
extract@fontinfo ... instead}else default@errfont 
  errhelp nofont@help
errmes...
l.259 \selectfont
". 

 The problem is probably that lyx automatically puts LYXDIR/tex/ into your
 TEXINPUTS environment variable. (LYXDIR is something like

I made a TEXINPUTS path equal to
.:/usr/local/share/lyx/tex/:/opt/tex/lib/texmf// with the disastrous 
results above.

 Course you can change class to style by hand if you would like for when
 you finally want to send to the publisher . Or write a one-line sed/awk/perl
 script to do it.

Of course, that's what I'm doing but I thought I'd let you know.

- End forwarded message -



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Arnd Hanses

On 30 Aug 1999 14:58:16 +0200, Lars Gullik Bj°nnes wrote:

"Arnd Hanses" [EMAIL PROTECTED] writes:

| in buffer.C is a destructor method 
| 
|  Buffer::~Buffer()
| [...]
|  if (!tmppath.empty()) {
|  DestroyBufferTmpDir(tmppath);
|  }
| [...]
| 
| I'm not sure, only suspect this destructor runs sometimes before LaTeX
| is invoked.

This is only run when you close a buffer.

So a problem with destroying tmpdir might arise when reloading an
already open file (dismissing changes), which would close the buffer
and reopen it. Pipelining then to the same (already open) instance of
Xdvi might confuse it?

I'll need time to check where the problem might be hidden.

Greets,

Arnd



Re: RevTeX

1999-08-30 Thread Serge Winitzki

 Forwarding this to the list since I'm over my head here. Has anyone else
 gotten these problems with the LyX revtex.cls (from the command line)? Or
 does anyone (welcome back, Jean-Marc!) know what would cause it? (Serge, it
 might help if you reminded us what your tex distribution is. But it might

OK, here is the technical information. I was using the TeX installed at
our department, under Linux. Here is the normal reaction of TeX to a
Lyx-produced revTeX file: 

--- start of listing

 latex corr_paper
This is TeX, Version 3.1415 (C version 6.1)
(corr_paper.tex
LaTeX2e 1996/06/01
(/opt/tex/lib/texmf/latex2e19960603/fixes/revtex.cls
(/opt/tex/lib/texmf/tex/fromOLD/revtex.sty
Filename: revtex.sty, v3.0 27 October 92
(/opt/tex/lib/texmf/tex/fromOLD/aps.sty
Filename: aps.sty, v3.0 28 October 1992
REVTeX message: NFSS detected! Assuming NFSS.
(/opt/tex/lib/texmf/tex/fromOLD/aps12.sty
Filename: aps12.sty, v3.0 2 October 1992

! LaTeX Error: The font size command \normalsize is not defined:
   there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...  
  
l.86 \normalsize

? x
No pages of output.
Transcript written on corr_paper.log.


--- end of listing

So the suggestion was that I add the tex inputs directory of LyX to the
environment. I have LyX installed in my home directory (i.e. I
configured --with-prefix=$HOME). Here are the results: 

--- start of listing

setenv TEXINPUTS .:~/share/lyx/tex:/opt/tex/lib/texmf//
latex corr_paper
This is TeX, Version 3.1415 (C version 6.1)
(corr_paper.tex
LaTeX2e 1996/06/01
(/home/lorien/sw256/share/lyx/tex/revtex.cls
Marc's revtex class file
Document Class: revtex 
(/opt/tex/lib/texmf/latex2e/base/latex209.def
Entering LaTeX 2.09 compatibility mode.
(/opt/tex/lib/texmf/latex209/nfss/tracefnt.sty
Style Option: `tracefnt' v1.0r 90/08/27 (FMi and RmS)
English Documentation  90/04/05 (FMi and RmS)
Includes module(s): trace 
)

! LaTeX Error: Unknown option `errorshow' for package `tracefnt'.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...  
  
l.173 \DeclareSymbolFont
{bold}{OT1}{cmr}{bx}{n}
? 
(/opt/tex/lib/texmf/latex2e/base/latexsym.sty)
! Undefined control sequence.
extract@fontinfo ... instead}else default@errfont 
  errmessage {Font
expandaft...
l.259 \selectfont
 
? 
! Missing { inserted.
to be read again 
   errmessage 
l.259 \selectfont
 
? 
)
Runaway text?
errmessage {Font expandafter string font@name space not found}fi ifnum
ETC.
! File ended while scanning text of errhelp.
inserted text 
}
l.16 \if@compatibility\else\input{latex209.def}
   \fi
? 
(/opt/tex/lib/texmf/tex/fromOLD/revtex.sty
(/opt/tex/lib/texmf/tex/fromOLD/aps.sty
(/opt/tex/lib/texmf/tex/fromOLD/aps10.sty)
(/opt/tex/lib/texmf/tex/fromOLD/prabib.sty
! Undefined control sequence.
extract@fontinfo ... instead}else default@errfont 
  errhelp nofont@help
errmes...
l.26 \maketitle
   
? x
No pages of output.
Transcript written on corr_paper.log.


--- end of listing

I hope this helps.

Best regards,

-
Serge



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Lars Gullik Bjønnes

"Arnd Hanses" [EMAIL PROTECTED] writes:

| So a problem with destroying tmpdir might arise when reloading an
| already open file (dismissing changes), which would close the buffer
| and reopen it. Pipelining then to the same (already open) instance of
| Xdvi might confuse it?

What pipelining?

Lgb



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Arnd Hanses

On 30 Aug 1999 20:48:44 +0200, Lars Gullik Bj°nnes wrote:

"Arnd Hanses" [EMAIL PROTECTED] writes:

| So a problem with destroying tmpdir might arise when reloading an
| already open file (dismissing changes), which would close the buffer
| and reopen it. Pipelining then to the same (already open) instance of
| Xdvi might confuse it?

What pipelining?

Better: Updating tmp file. 

(Often used instead of/to emulate pipe: Sorry, I'm only a casual
programmer, so I've always problems to use the correct terminology.
Grateful for any hints.)

Greets,

Arnd



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Lars Gullik Bjønnes

"Arnd Hanses" [EMAIL PROTECTED] writes:

| (Often used instead of/to emulate pipe: Sorry, I'm only a casual
| programmer, so I've always problems to use the correct terminology.
| Grateful for any hints.)

Xdvi should just watch the file for changes. It might have some
problems when the file is deleted and later regenerated with a
different inode number. (or equiv) But this is nothing that LyX should
care about, this is all handled between LaTeX and Xdvi.

Lgb



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Stephan Witt

Lars Gullik Bjønnes wrote:
 
 "Arnd Hanses" [EMAIL PROTECTED] writes:
 
 | (Often used instead of/to emulate pipe: Sorry, I'm only a casual
 | programmer, so I've always problems to use the correct terminology.
 | Grateful for any hints.)
 
 Xdvi should just watch the file for changes. It might have some
 problems when the file is deleted and later regenerated with a
 different inode number. (or equiv) But this is nothing that LyX should
 care about, this is all handled between LaTeX and Xdvi.
 
 Lgb

Sorry, but I don't think that it is all handled by LaTeX and Xdvi.

LaTeX and Xdvi are children of LyX and directed by LyX to the
internally computed hidden tmp-directory. I'm aware of that
effect: If I close a file and reopen it again, then I have to
close my running Xdvi too, because it is useless now, when using
update-dvi. If I start Xdvi again it works ok. But there is no
mystery. LyX creates a new tmp-directory (as I can see with /bin/ls)
and starts working there. The update-dvi operation creates the
new dvi file in the new tmp-dir.

latex doesn't delete and recreates the dvi file,
the contents of the dvi file will be replaced by latex/tex.

Greets,

Stephan Witt

---
[EMAIL PROTECTED]  | beusen unternehmensgruppe senkel
fon: +49 30 549932-62 | Landsberger Allee 392
fax: +49 30 549932-29 | 12681 Berlin, Germany
---



Re: Now it's here! The pictures from Tildem

1999-08-30 Thread Jean-Marc Lasgouttes

> "Asger" == Asger K Alstrup Nielsen <[EMAIL PROTECTED]> writes:

Asger> Hi!  The pictures from the third international LyX developers
Asger> meeting held in Bozen, Italy are here:

Asger> http://sunsite.auc.dk/lyx/ildm/tildem.php3

Oh, we look SO serious and efficient. I am impressed.

Anyway I'm back, but I have a bunch of things to do, so I do not know
how useful I will be in the next days...

JMarc



Re: deleted the tutorial

1999-08-30 Thread Jean-Marc Lasgouttes

> "Mate" == Mate Wierdl <[EMAIL PROTECTED]> writes:

Mate> I started LyX as root, read the tutorial, then deleted some
Mate> stuff, and saved the result.

Mate> Would not it be a good idea to install the tutorial (and the
Mate> other docs) readonly, though I do not expect too see too many
Mate> idiots like me?

Isn't root the guy who is supposed to know what he does? :) I bet that
many roots would be pissed off by this kind of practice...

JMarc



Re: Bold Toggle Bug

1999-08-30 Thread Jean-Marc Lasgouttes

> "Michael" == Michael O'Brien <[EMAIL PROTECTED]> writes:

Michael> I recently upgraded to a 1.01 version of LyX and found that
Michael> the bold-toggle function (working in 0.12) has since been
Michael> broken.  More explicitly, Cntr-B turns bold on, but not off.
Michael> It is somewhat awkward to switch the bold off, even from the
Michael> pull down menu's.  I haven't bothered to compile the latest
Michael> versions since the bug list at www.lyx.org shows that this
Michael> hasn't been addressed.

This has been fixed in recent versions. Try 1.0.3, for example.

JMarc



LyX 1.0.3: a bug report

1999-08-30 Thread Serge Winitzki

Hi,

I am a now steady user of LyX, primarily for scientific publications and
presentations, but also for business correspondence and even reading
other people's TeX files. I am using LyX on Linux and SGI IRIX
platforms. Here is a summary of what I still find annoying with LyX
1.0.3 and perhaps you will find a way to fix it in a future version.

1) When selecting a file in the File/Open box, double-clicking on the
file name is very finicky, it seems to expect me to double-click
extremely quickly.

2) When I am in text mode and want to put the cursor inside a wide
displayed equation by clicking on it, the cursor sometimes goes after
the end of the equation and I'm still in text mode.

3) The cursor keys (<- and ->) don't always do what I expect when I am
in math mode. For example, type math-greek phi, then math-insert _, then
twice cursor left: The cursor ends up at right of the subscript math
box.

4) When editing math, cursor up and down sometimes produces unexpected
effects. Essentially the cursor only goes up the fraction and not down;
and also it goes up the subscript only from the left side of the
subscript, but not from the right side. It's very disconcerting to
suddenly drop out of the math mode into a different line when what you
want is to edit a subscript. 

5) Two RevTeX glitches when exporting to TeX: first, the \documentclass
line should really be \documentstyle, because the stupid RevTeX is still
Latex 2.09 although its correct processing with Latex 2e requires a .cls
file. Second, when using boldface in math, for example a boldface "x",
followed by normal "+y", which should be the TeX code "{\mathbf x} + y",
LyX incorrectly generates the TeX code "\mathbf{x} + y", which results
in both x and y and whatever follows being typesent in boldface.

Best regards and thanks for your great work.

-
Serge




Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Lars Gullik Bjønnes

"Arnd Hanses" <[EMAIL PROTECTED]> writes:

| in buffer.C is a destructor method 
| 
|   Buffer::~Buffer()
| [...]
|   if (!tmppath.empty()) {
|   DestroyBufferTmpDir(tmppath);
|   }
| [...]
| 
| I'm not sure, only suspect this destructor runs sometimes before LaTeX
| is invoked.

This is only run when you close a buffer.

Lgb



Re: LyX 1.0.3: a bug report

1999-08-30 Thread Lars Gullik Bjønnes

Serge Winitzki <[EMAIL PROTECTED]> writes:

| 1) When selecting a file in the File/Open box, double-clicking on the
| file name is very finicky, it seems to expect me to double-click
| extremely quickly.

I think this is due to some limitations in XForms, anyway I have added
a call to fl_set_object_dblclick int filedlg.C. This sets the dblclick
timeout, I have set it to 500 ms (default is 400ms) so you might
expect some nicer behaviour, or you can tune this to your own liking
(but then you have to recompile yourself)

| 5) Two RevTeX glitches when exporting to TeX: first, the \documentclass
| line should really be \documentstyle, because the stupid RevTeX is still
| Latex 2.09 although its correct processing with Latex 2e requires a .cls
| file. Second, when using boldface in math, for example a boldface "x",
| followed by normal "+y", which should be the TeX code "{\mathbf x} + y",
| LyX incorrectly generates the TeX code "\mathbf{x} + y", which results
| in both x and y and whatever follows being typesent in boldface.

LyX has its own RevTeX wrapper so lyx shoult export documentclass as
it does now. When RevTeX 4 is released all this should be a lot
easier.

Lgb



LyX 1.0.3: a bug report (one more bug)

1999-08-30 Thread Serge Winitzki

Hi,

Forgot bug #6:

6) When deleting symbols in math mode, subscripts and superscripts are
not always correctly drawn on the screen. For example, if I type x^2y^2
and then want to change y by z, I go back with the cursor to delete y
and then the second superscript "2" vanishes from the screen too,
however when I type "z" instead of "y", the superscript is back. This
can also lead to double superscripts or subscripts (a TeX error) which
are not drawn on the screen. 

Best regards,

-
Serge







Re: LyX 1.0.3: a bug report

1999-08-30 Thread Amir Karger

On Mon, Aug 30, 1999 at 12:47:04PM +0100, Serge Winitzki wrote:
> 
> 1) When selecting a file in the File/Open box, double-clicking on the
> file name is very finicky, it seems to expect me to double-click
> extremely quickly.

Good point. I don't know why I never mentioned this annoyance, since it
seems it was easy to fix.

> 5) Two RevTeX glitches when exporting to TeX: first, the \documentclass
> line should really be \documentstyle, because the stupid RevTeX is still
> Latex 2.09 although its correct processing with Latex 2e requires a .cls
> file. Second, when using boldface in math, for example a boldface "x",
> followed by normal "+y", which should be the TeX code "{\mathbf x} + y",
> LyX incorrectly generates the TeX code "\mathbf{x} + y", which results
> in both x and y and whatever follows being typesent in boldface.

I believe the second problem isn't a revtex-specific problem. Mathed has
"issues" with boldfacing which will probably be fixed in 1.1. Also, as Lars
said, LyX does use documentclass for revtex. LyX comes with a revtex.cls
file which basically just calls revtex.sty in compatibility mode. RevTeX4
has been released in beta, and I started working on a layout file for it but
have been very lazy.

-Amir



RevTeX

1999-08-30 Thread Amir Karger

Forwarding this to the list since I'm over my head here. Has anyone else
gotten these problems with the LyX revtex.cls (from the command line)? Or
does anyone (welcome back, Jean-Marc!) know what would cause it? (Serge, it
might help if you reminded us what your tex distribution is. But it might
not :) 

As far as the requirement for hand-editing from style to class, as has been
mentioned it's not worth doing anything special because as soon as that lazy
good-for-nothing working on revtex4.layout finishes, it won't be an issue.

-Amir

- Forwarded message from Serge Winitzki <[EMAIL PROTECTED]> -

From: Serge Winitzki <[EMAIL PROTECTED]>

> So you're saying you can create dvi in lyx but not from the command line?

No, I can't create dvi anywhere. If I make TeX read the .cls file that
comes with LyX rather than the revtex.cls file that comes with most
Latex distributions, latex breaks with messages such as "Unknown option
`errorshow' for package `tracefnt' " and 
"l.173 \DeclareSymbolFont
{bold}{OT1}{cmr}{bx}{n}
? 
(/opt/tex/lib/texmf/latex2e/base/latexsym.sty)
! Undefined control sequence.
extract@fontinfo ... instead}else default@errfont 
  errhelp nofont@help
errmes...
l.259 \selectfont
". 

> The problem is probably that lyx automatically puts LYXDIR/tex/ into your
> TEXINPUTS environment variable. (LYXDIR is something like

I made a TEXINPUTS path equal to
.:/usr/local/share/lyx/tex/:/opt/tex/lib/texmf// with the disastrous 
results above.

> Course you can change class to style by hand if you would like for when
> you finally want to send to the publisher . Or write a one-line sed/awk/perl
> script to do it.

Of course, that's what I'm doing but I thought I'd let you know.

- End forwarded message -



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Arnd Hanses

On 30 Aug 1999 14:58:16 +0200, Lars Gullik Bj°nnes wrote:

>"Arnd Hanses" <[EMAIL PROTECTED]> writes:
>
>| in buffer.C is a destructor method 
>| 
>|  Buffer::~Buffer()
>| [...]
>|  if (!tmppath.empty()) {
>|  DestroyBufferTmpDir(tmppath);
>|  }
>| [...]
>| 
>| I'm not sure, only suspect this destructor runs sometimes before LaTeX
>| is invoked.
>
>This is only run when you close a buffer.

So a problem with destroying tmpdir might arise when reloading an
already open file (dismissing changes), which would close the buffer
and reopen it. Pipelining then to the same (already open) instance of
Xdvi might confuse it?

I'll need time to check where the problem might be hidden.

Greets,

Arnd



Re: RevTeX

1999-08-30 Thread Serge Winitzki

> Forwarding this to the list since I'm over my head here. Has anyone else
> gotten these problems with the LyX revtex.cls (from the command line)? Or
> does anyone (welcome back, Jean-Marc!) know what would cause it? (Serge, it
> might help if you reminded us what your tex distribution is. But it might

OK, here is the technical information. I was using the TeX installed at
our department, under Linux. Here is the normal reaction of TeX to a
Lyx-produced revTeX file: 

--- start of listing

> latex corr_paper
This is TeX, Version 3.1415 (C version 6.1)
(corr_paper.tex
LaTeX2e <1996/06/01>
(/opt/tex/lib/texmf/latex2e19960603/fixes/revtex.cls
(/opt/tex/lib/texmf/tex/fromOLD/revtex.sty
Filename: revtex.sty, v3.0 <27 October 92>
(/opt/tex/lib/texmf/tex/fromOLD/aps.sty
Filename: aps.sty, v3.0 <28 October 1992>
REVTeX message: NFSS detected! Assuming NFSS.
(/opt/tex/lib/texmf/tex/fromOLD/aps12.sty
Filename: aps12.sty, v3.0 <2 October 1992>

! LaTeX Error: The font size command \normalsize is not defined:
   there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...  
  
l.86 \normalsize

? x
No pages of output.
Transcript written on corr_paper.log.
>

--- end of listing

So the suggestion was that I add the tex inputs directory of LyX to the
environment. I have LyX installed in my home directory (i.e. I
configured --with-prefix=$HOME). Here are the results: 

--- start of listing

>setenv TEXINPUTS .:~/share/lyx/tex:/opt/tex/lib/texmf//
>latex corr_paper
This is TeX, Version 3.1415 (C version 6.1)
(corr_paper.tex
LaTeX2e <1996/06/01>
(/home/lorien/sw256/share/lyx/tex/revtex.cls
Marc's revtex class file
Document Class: revtex 
(/opt/tex/lib/texmf/latex2e/base/latex209.def
Entering LaTeX 2.09 compatibility mode.
(/opt/tex/lib/texmf/latex209/nfss/tracefnt.sty
Style Option: `tracefnt' v1.0r <90/08/27> (FMi and RmS)
English Documentation  <90/04/05> (FMi and RmS)
Includes module(s): trace 
)

! LaTeX Error: Unknown option `errorshow' for package `tracefnt'.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
 ...  
  
l.173 \DeclareSymbolFont
{bold}{OT1}{cmr}{bx}{n}
? 
(/opt/tex/lib/texmf/latex2e/base/latexsym.sty)
! Undefined control sequence.
extract@fontinfo ... instead}else default@errfont 
  errmessage {Font
expandaft...
l.259 \selectfont
 
? 
! Missing { inserted.
 
   errmessage 
l.259 \selectfont
 
? 
)
Runaway text?
errmessage {Font expandafter string font@name space not found}fi ifnum
ETC.
! File ended while scanning text of errhelp.
 
}
l.16 \if@compatibility\else\input{latex209.def}
   \fi
? 
(/opt/tex/lib/texmf/tex/fromOLD/revtex.sty
(/opt/tex/lib/texmf/tex/fromOLD/aps.sty
(/opt/tex/lib/texmf/tex/fromOLD/aps10.sty)
(/opt/tex/lib/texmf/tex/fromOLD/prabib.sty
! Undefined control sequence.
extract@fontinfo ... instead}else default@errfont 
  errhelp nofont@help
errmes...
l.26 \maketitle
   
? x
No pages of output.
Transcript written on corr_paper.log.
>

--- end of listing

I hope this helps.

Best regards,

-
Serge



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Lars Gullik Bjønnes

"Arnd Hanses" <[EMAIL PROTECTED]> writes:

| So a problem with destroying tmpdir might arise when reloading an
| already open file (dismissing changes), which would close the buffer
| and reopen it. Pipelining then to the same (already open) instance of
| Xdvi might confuse it?

What pipelining?

Lgb



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Arnd Hanses

On 30 Aug 1999 20:48:44 +0200, Lars Gullik Bj°nnes wrote:

>"Arnd Hanses" <[EMAIL PROTECTED]> writes:
>
>| So a problem with destroying tmpdir might arise when reloading an
>| already open file (dismissing changes), which would close the buffer
>| and reopen it. Pipelining then to the same (already open) instance of
>| Xdvi might confuse it?
>
>What pipelining?

Better: Updating tmp file. 

(Often used instead of/to emulate pipe: Sorry, I'm only a casual
programmer, so I've always problems to use the correct terminology.
Grateful for any hints.)

Greets,

Arnd



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Lars Gullik Bjønnes

"Arnd Hanses" <[EMAIL PROTECTED]> writes:

| (Often used instead of/to emulate pipe: Sorry, I'm only a casual
| programmer, so I've always problems to use the correct terminology.
| Grateful for any hints.)

Xdvi should just watch the file for changes. It might have some
problems when the file is deleted and later regenerated with a
different inode number. (or equiv) But this is nothing that LyX should
care about, this is all handled between LaTeX and Xdvi.

Lgb



Re: New file patch (was: Re: Just a Matter of Style (was: LaTeX file handling))

1999-08-30 Thread Stephan Witt

Lars Gullik Bjønnes wrote:
> 
> "Arnd Hanses" <[EMAIL PROTECTED]> writes:
> 
> | (Often used instead of/to emulate pipe: Sorry, I'm only a casual
> | programmer, so I've always problems to use the correct terminology.
> | Grateful for any hints.)
> 
> Xdvi should just watch the file for changes. It might have some
> problems when the file is deleted and later regenerated with a
> different inode number. (or equiv) But this is nothing that LyX should
> care about, this is all handled between LaTeX and Xdvi.
> 
> Lgb

Sorry, but I don't think that it is all handled by LaTeX and Xdvi.

LaTeX and Xdvi are children of LyX and directed by LyX to the
internally computed hidden tmp-directory. I'm aware of that
effect: If I close a file and reopen it again, then I have to
close my running Xdvi too, because it is useless now, when using
update->dvi. If I start Xdvi again it works ok. But there is no
mystery. LyX creates a new tmp-directory (as I can see with /bin/ls)
and starts working there. The update-dvi operation creates the
new dvi file in the new tmp-dir.

latex doesn't delete and recreates the dvi file,
the contents of the dvi file will be replaced by latex/tex.

Greets,

Stephan Witt

---
<[EMAIL PROTECTED]>  | beusen unternehmensgruppe senkel
fon: +49 30 549932-62 | Landsberger Allee 392
fax: +49 30 549932-29 | 12681 Berlin, Germany
---