Re: [666] grey-boxes around inlined math

2001-07-09 Thread Dekel Tsur
On Mon, Jul 09, 2001 at 06:45:02PM +0200, Lars Gullik Bjønnes wrote: | One problem with using the ERT-inset for scrap, is that when you have a | compilation error, the error box will appear just before the inset begin, | and not in the correct line inside the inset. But this is a general

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Garst R. Reese
Lars Gullik Bjønnes wrote: Dekel Tsur [EMAIL PROTECTED] writes: | There are also several small bugs with the ERT-inset (e.g. the text in a new | ERT inset is black and not red), and fixing them takes time, which could | have spent elsewhere. I'd say that with this change we are feature

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
Garst R. Reese [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | | Dekel Tsur [EMAIL PROTECTED] writes: | | There are also several small bugs with the ERT-inset (e.g. the text in a new | | ERT inset is black and not red), and fixing them takes time, which could | | have spent

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Garst R. Reese
this. | gcc-3.0, CVS an hour and a half old. We'll make it easier. I'm sure. Your track record on that score is pretty stunning. Can you send me the unconverted document for this book template too? I don't know what you mean by unconverted. If you mean prior to 666, yes, but i will have

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
by unconverted. If you mean prior to 666, | yes, but i will have to do on Alice's machine when she gives it up. Ok, thanks. -- Lgb

666

2001-07-09 Thread Lars Gullik Bjønnes
I have done some changes to the compability code and it would be nice if those of you seeing problems you check and report again. -- Lgb

Re: 666

2001-07-09 Thread Eran Tromer
Hi, Lars Gullik Bjønnes wrote: I have done some changes to the compability code and it would be nice if those of you seeing problems you check and report again. Yippy! Both the label and \newline issues look fine now. A couple of new ones. The attached ert4-{old,new}.lyx show these problems:

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
"R. Lahaye" <[EMAIL PROTECTED]> writes: | Hi, | | I've just updated CVS (July 9th) and throughout the document | all inlined math equations have a grey box with [666] prefixed. | | I also have the [666] boxes around a TeX mbox inside a footnote. | | This bug must have been i

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Lars Gullik Bjønnes
nction `tex-mode' [around line 49 of file | /usr/share/lyx/bind/cua.bind] mm... yes I forgot to remove tex-mode from cua.bind. | MenuItem(): LyX command `tex-mode' does not exist. Not quite sure where this is comming from. | Also, there are some sinister [666] boxes all over the place. ;-) | | Wh

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Sun, Jul 08, 2001 at 11:24:32PM -0300, Garst R. Reese wrote: | > "Kayvan A. Sylvan" wrote: | > > | > > Hi folks, | > | > > Also, there are some sinister [666] boxes all over the place.

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Kayvan A. Sylvan
On Mon, Jul 09, 2001 at 09:13:35AM +0200, Lars Gullik Bjønnes wrote: > "R. Lahaye" <[EMAIL PROTECTED]> writes: > > | Hi, > | > | I've just updated CVS (July 9th) and throughout the document > | all inlined math equations have a grey box with [666] prefixed. &g

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Kayvan A. Sylvan
On Mon, Jul 09, 2001 at 09:15:54AM +0200, Lars Gullik Bjønnes wrote: > mm... yes I forgot to remove tex-mode from cua.bind. > > | MenuItem(): LyX command `tex-mode' does not exist. > > Not quite sure where this is comming from. > > | Also, there are some sinister [666] box

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Kayvan A. Sylvan
On Mon, Jul 09, 2001 at 09:17:49AM +0200, Lars Gullik Bjønnes wrote: > | So how can I get Literate documents working again? > > So I gather that the scrap envir has (mis-)used (la)tex-mode as a > write-through...? Yup. It's not a mis-use, though, IMO. -- Kayvan A. Sylvan | Proud

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Andre Poenitz
> That is not a bug, it is a feature. > > tex-mode is dead. Long live '666' So what are people supposed not for their LaTeX bits in math e.g.? It currently displays as "math text" which is not exactly what people are used to... Andre

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
nt | > | all inlined math equations have a grey box with [666] prefixed. | > | | > | I also have the [666] boxes around a TeX mbox inside a footnote. | > | | > | This bug must have been introduced during the last day two. | > | > That is not a bug, it is a feature. | >

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Lars Gullik Bjønnes
"Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: | On Mon, Jul 09, 2001 at 09:17:49AM +0200, Lars Gullik Bjønnes wrote: | > | So how can I get Literate documents working again? | > | > So I gather that the scrap envir has (mis-)used (la)tex-mode as a | > write-through...? | | Yup. It's not a

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | > That is not a bug, it is a feature. | > | > tex-mode is dead. Long live '666' | | So what are people supposed not for their LaTeX bits in math e.g.? | | It currently displays as "math text" which is not exactly what peo

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> On Mon, Jul 09, 2001 at 09:17:49AM +0200, Lars Gullik Bjønnes Kayvan> wrote: >> | So how can I get Literate documents working again? >> >> So I gather that the scrap envir has (mis-)used (la)tex-mode as a >> write-through...?

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Kayvan A. Sylvan
On Mon, Jul 09, 2001 at 09:34:22AM +0200, Lars Gullik Bjønnes wrote: > | Great. How about the Scraps that use TeX mode? Where's the solution > | for that? > > I am thinking about it... > > - easiest solution is to map all scrap envirs to '666', but that is not > a nice sol

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Kayvan A. Sylvan
On Mon, Jul 09, 2001 at 09:36:16AM +0200, Lars Gullik Bjønnes wrote: > "Kayvan A. Sylvan" <[EMAIL PROTECTED]> writes: > > | On Mon, Jul 09, 2001 at 09:17:49AM +0200, Lars Gullik Bjønnes wrote: > | > | So how can I get Literate documents working again? > | > > | > So I gather that the scrap

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
siest solution is to map all scrap envirs to '666', but that is not | > a nice solution. | > | > - second option is to enhance the layout format a bit so that scrap | > automatically inserts a '666' box with a 'scrap' label. | | I like the second solution better. Ok, so then InsetERT ne

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Kayvan A. Sylvan
On Mon, Jul 09, 2001 at 09:42:12AM +0200, Jean-Marc Lasgouttes wrote: > > It *is* a mis-use. It would be better to have some kind of 'Verbatim' > layout property (which is obviously not a font property). > Yes, that would be better. Let's do it! ---Kayvan -- Kayvan A.

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: | | Kayvan> On Mon, Jul 09, 2001 at 09:17:49AM +0200, Lars Gullik Bjønnes | Kayvan> wrote: | >> | So how can I get Literate documents working again? | >> | >> So I gather that the

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Andre Poenitz
> | So what are people supposed not for their LaTeX bits in math e.g.? > | > | It currently displays as "math text" which is not exactly what people are > | used to... > > all text in 'tex-mode' should be in an inset. For all other places > than mathed this

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Kayvan A. Sylvan
TeX mode? Where's the solution > | > | for that? > | > > | > I am thinking about it... > | > > | > - easiest solution is to map all scrap envirs to '666', but that is not > | > a nice solution. > | > > | > - second option is to enhance the layout format a bit so that scra

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
in an inset. For all other places | > than mathed this is '666', do mathed need a new mathinset to | > accommodate this? | | >From what I understand, until now tex-mode in mathed only was some kind of | 'Character layout' that was used to | a) display the stuff in red and | b) to

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
; | > | Great. How about the Scraps that use TeX mode? Where's the solution | > | > | for that? | > | > | > | > I am thinking about it... | > | > | > | > - easiest solution is to map all scrap envirs to '666', but that is not | > | > a nice solution. |

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-09 Thread Lars Gullik Bjønnes
| Yes, that would be better. Let's do it! But then you are in the realm of special casing again... with the '666' change we only remove code so that the core of LyX gets cleaner and easier to understand... Also inline-'666' and display-'666' is now the same as uses all the same constructs. This is a win also. -- Lgb

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Kayvan A. Sylvan
On Mon, Jul 09, 2001 at 10:12:06AM +0200, Lars Gullik Bjønnes wrote: > | > the label name. > | > In the layout format we need to be able to give a lfun to run when > | > selected (you won't easily be able to move away from this envir > | > though). > | > > | > "ert-insert scrap" > | > > | >

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Andre Poenitz
> _if_ mathed tex-mode uses the lyxfont::latex then it must go at once. > It mathed tex-mode is _not_ using it, it can be allowed back in. > > Can you snoop around and see what the state is? It uses f.setLatex(LyXFont::ON) which looks like the thing you want to ban, but I thing it would be

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Dekel Tsur
On Mon, Jul 09, 2001 at 09:13:35AM +0200, Lars Gullik Bjønnes wrote: > That is not a bug, it is a feature. > > tex-mode is dead. Long live '666' I have to say that I don't like it. For example, suppose I want to have \foo{$x$}. Previously, I could do ctrl+l \foo{ ctrl+m x } ctrl+l No

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Jürgen Spitzmüller
On Monday, 9. July 2001 09:13, Lars Gullik Bjønnes wrote: > tex-mode is dead. Long live '666' This made me so curious that I downloaded and installed CVS for the first time... I really like the new ERT (sorry: 666) Inset, but as I mentioned in an earlier message, its major disadavant

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Juergen Vigna
On 09-Jul-2001 Dekel Tsur wrote: > I have to say that I don't like it. > For example, suppose I want to have \foo{$x$}. As said in my earlier mail this is really easy to realize! > 1. When the inset is closed, the label is the first few char of the inset > contents. > 2. When the inset is

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Juergen Vigna
On 09-Jul-2001 Jürgen Spitzmüller wrote: > I really like the new ERT (sorry: 666) Inset, but as I mentioned in an The "666" was one decicion on the developers meeting (just as the removal of the LaTeX-font-attribute)! > earlier message, its major disadavantage are the smal

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Jürgen Spitzmüller
On Monday, 9. July 2001 12:15, Lars Gullik Bjønnes wrote: > \, - should be supported in LyX Totally agreed! See my mail from June 26 for this (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg23855.html) > '\ ' - I thought we already supported this somehwo IMHO not. Only ~ (protected

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Mon, Jul 09, 2001 at 09:13:35AM +0200, Lars Gullik Bjønnes wrote: | > That is not a bug, it is a feature. | > | > tex-mode is dead. Long live '666' | | I have to say that I don't like it. Why? Because you cannot use LyX as an tex-e

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Jürgen Spitzmüller
On Monday, 9. July 2001 12:03, Juergen Vigna wrote: > The "666" was one decicion on the developers meeting (just as the > removal of the LaTeX-font-attribute)! And of course I do accept your decision! I'm not "requesting" something, I only try to help you by prov

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Juergen Vigna
On 09-Jul-2001 Jürgen Spitzmüller wrote: > On Monday, 9. July 2001 12:03, Juergen Vigna wrote: >> The "666" was one decicion on the developers meeting (just as the >> removal of the LaTeX-font-attribute)! > > And of course I do accept your decision! I'm not &q

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Juergen Vigna
On 09-Jul-2001 Lars Gullik Bjønnes wrote: > I am not sure if that is really "good". > > What people use "micor-ert" for today most often something that we > really should have direct support for in LyX. Well but we don't and probably won't be able to do so for a long time. So IMO it's easy to

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Juergen Vigna
On 09-Jul-2001 Lars Gullik Bjønnes wrote: > bad example since you are trying to use mathed in side a tex-mode... > this was never supposed to word and did so only by chance. And it will crash right now :). I'll commit a change soon which will fix this! BTW.: I completely agree with Lars here.

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 09-Jul-2001 Andre Poenitz wrote: | >> We REALLY don't want a "frustrated" Lgb! #:O) | > | > We don't really want frustrated users either. | | Well you surely not, I can understand that! #:OP But it is a little bit moot to begin talking about

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Dekel Tsur
On Mon, Jul 09, 2001 at 12:58:53PM +0200, Jürgen Spitzmüller wrote: > On Monday, 9. July 2001 12:15, Lars Gullik Bjønnes wrote: > > \, - should be supported in LyX > Totally agreed! See my mail from June 26 for this > (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg23855.html) We also

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Dekel Tsur
On Mon, Jul 09, 2001 at 12:27:05PM +0200, Lars Gullik Bjønnes wrote: > LyX is not an tex-editor, and using tex-mode has always been: "The > user is now on his own". Several users (and developers) have taken > advantage and misused tex-mode for different purposes (float placemnet > f.ex.) I don't

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | Why? | The ability to mix lyx insets with latex code like the above is a great | feature of LyX. Just because you doesn't use doesn't mean that it shouldn't | be supported anymore. It has never been supported, it has just happened to work by chance. And

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Dekel Tsur
On Mon, Jul 09, 2001 at 06:08:03PM +0200, Lars Gullik Bjønnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > > | Why? > | The ability to mix lyx insets with latex code like the above is a great > | feature of LyX. Just because you doesn't use doesn't mean that it shouldn't > | be supported

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Mon, Jul 09, 2001 at 06:08:03PM +0200, Lars Gullik Bjønnes wrote: | > Dekel Tsur <[EMAIL PROTECTED]> writes: | > | > | Why? | > | The ability to mix lyx insets with latex code like the above is a great | > | feature of LyX. Just because you doesn't

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Eran Tromer
Lars Gullik Bjønnes wrote: > rather a problem with how we place the error boxes. You mean, "all over the place"? Even in the absence of floats or large insets, errors sometime show up a few pages too early, and sometimes *in the the wrong order*. Plus their dialog box doesn't give enough

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Kayvan A. Sylvan
On Mon, Jul 09, 2001 at 07:03:19PM +0300, Dekel Tsur wrote: > > > > Well no IMO this can not be resolved in an automatic manner (just to much > > overhead, but we can have this as an option in the InsetERT. We may also > > remove the drawing of the label in the inlined version, if that is

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Dekel Tsur
On Mon, Jul 09, 2001 at 06:45:02PM +0200, Lars Gullik Bjønnes wrote: > > | It does make sense if you want to have indented latex code. > > What I'd really like to have it some kind of "editor" inset that the > InsetERT could build upon instead of the InsetText that is a lot more > complicated

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Dekel Tsur
On Mon, Jul 09, 2001 at 06:45:02PM +0200, Lars Gullik Bjønnes wrote: > > | One problem with using the ERT-inset for scrap, is that when you have a > | compilation error, the error box will appear just before the inset begin, > | and not in the correct line inside the inset. But this is a general

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Garst R. Reese
Lars Gullik Bjønnes wrote: > > Dekel Tsur <[EMAIL PROTECTED]> writes: > | There are also several small bugs with the ERT-inset (e.g. the text in a new > | ERT inset is black and not red), and fixing them takes time, which could > | have spent elsewhere. > > I'd say that with this change we are

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
"Garst R. Reese" <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > | > Dekel Tsur <[EMAIL PROTECTED]> writes: | > | There are also several small bugs with the ERT-inset (e.g. the text in a new | > | ERT inset is black and not red), and fixing them takes time, which could | > | have

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Garst R. Reese
p a book. I am now clueless as how to do this. > | gcc-3.0, CVS an hour and a half old. > > We'll make it easier. I'm sure. Your track record on that score is pretty stunning. > Can you send me the unconverted document for this book template too? I don't know what you mean by unconverte

Re: [666] grey-boxes around inlined math

2001-07-09 Thread Lars Gullik Bjønnes
o? | I don't know what you mean by unconverted. If you mean prior to 666, | yes, but i will have to do on Alice's machine when she gives it up. Ok, thanks. -- Lgb

666

2001-07-09 Thread Lars Gullik Bjønnes
I have done some changes to the compability code and it would be nice if those of you seeing problems you check and report again. -- Lgb

Re: 666

2001-07-09 Thread Eran Tromer
Hi, Lars Gullik Bjønnes wrote: > I have done some changes to the compability code and it would be nice > if those of you seeing problems you check and report again. Yippy! Both the label and \newline issues look fine now. A couple of new ones. The attached ert4-{old,new}.lyx show these

[666] grey-boxes around inlined math

2001-07-08 Thread R. Lahaye
Hi, I've just updated CVS (July 9th) and throughout the document all inlined math equations have a grey box with [666] prefixed. I also have the [666] boxes around a TeX mbox inside a footnote. This bug must have been introduced during the last day two. Regards, Rob.

LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-08 Thread Kayvan A. Sylvan
... Also, there are some sinister [666] boxes all over the place. ;-) What changed? ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-08 Thread Kayvan A. Sylvan
On Sun, Jul 08, 2001 at 11:24:32PM -0300, Garst R. Reese wrote: Kayvan A. Sylvan wrote: Hi folks, Also, there are some sinister [666] boxes all over the place. ;-) What changed? The ChangeLogs? insets lib for clues. ---Kayvan Pretty cool name

[666] grey-boxes around inlined math

2001-07-08 Thread R. Lahaye
Hi, I've just updated CVS (July 9th) and throughout the document all inlined math equations have a grey box with [666] prefixed. I also have the [666] boxes around a TeX mbox inside a footnote. This bug must have been introduced during the last day two. Regards, Rob.

LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-08 Thread Kayvan A. Sylvan
... Also, there are some sinister [666] boxes all over the place. ;-) What changed? ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89

Re: LyX CVS problems: Literate documents don't work and [666] boxes.

2001-07-08 Thread Kayvan A. Sylvan
On Sun, Jul 08, 2001 at 11:24:32PM -0300, Garst R. Reese wrote: > "Kayvan A. Sylvan" wrote: > > > > Hi folks, > > > Also, there are some sinister [666] boxes all over the place. ;-) > > > > What changed? > The ChangeLogs? insets & lib

<    1   2   3