Re: Brace grouping in math mode.

2002-03-19 Thread Andre Poenitz

On Tue, Mar 19, 2002 at 05:14:33AM -0300, Joao Luis Meloni Assirati wrote:
 I use the latest lyx 1.2.0cvs. When in math mode, typing { produces a pair
 of raw grouping braces {} instead of a pure brace \{, as in text mode. I
 posted this to lyx-devel and was informed that grouping {} are sometimes
 needed in math mode. Can someone show me an example where grouping braces
 are needed outside ERT?

{n \atop k}

{}^x

Old-style font changes.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Re: Brace grouping in math mode.

2002-03-19 Thread Koen Martens

On Tue, Mar 19, 2002 at 12:28:50PM +0100, Guenter Milde wrote:
 This is ERT, in normal math (i.e. in blue) one could have e.g. functionals
 like f{x(t)} but normally I would use big delimiters (M-M {) for this.
 
 Furthermore, IMHO, if { inserts a (blue) {} (similar to: \{ inserts (red){}), 
   (BTW: it does not in my lyx 1.1.6fix3), 
 then ( should insert () and [ insert [] to keep consistency.
 
 Personally, I'd prefer the straightforward { inserts a (blue) { and M-M { a
 pair of big {}.

I totally agree.

I remember a while ago i had to do a presentation together with someone who was used 
to kpresenter (part of the koffice suit as it turned out).. When inserting my 
formula's a { inserted a pair of {}, a ( a pair of () etc.. But the strange thing: 
there was no way i could get nested pairs of bracketing, like f([x,y]) for example.. 

Personally i like to be able to decide myself which brackets i want to use where and 
in what style, so if it were up to me lyx never would automatically place the closing 
bracket. 

Just my opinion..

Regards,

Koen Martens


-- 
[EMAIL PROTECTED] (Koen Martens) http://www.metro.cx/



Re: Re: Brace grouping in math mode.

2002-03-19 Thread Andre Poenitz

On Tue, Mar 19, 2002 at 12:44:06PM +0100, Koen Martens wrote:
 Personally i like to be able to decide myself which brackets i want to
 use where and in what style, so if it were up to me lyx never would
 automatically place the closing bracket. 

It usually does not. The only exceptions I am aware of are {} for TeX
grouping - those _have_ to be paired, there is no point in allowing
unpaired ones, and the suff in DelimInset that translates to
\left...\right. Again, these have to be paired.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



kluwer and toc

2002-03-19 Thread Matthieu Amiguet

Hi everybody!

I'm starting to write a document with the Kluwer layout. Thank you to Pit 
and PAP for this layout, it saves me a lot of time!
Just one thing I wonder: in the layout, there's the general textclass 
parameter 
TocDepth 0
It has for effect that the navigate menu doesn't contain anything 
interesting (no TOC)
If I change this parameter to 3, I get back my dear navigate menu (it's a so 
handy feature)
So, my question: is there any reason to have this parameter set to 0? I mean, 
if you want a TOC, you don't want the param to 0, and if you don't include a 
TOC in your document, there's no effect (except of disabling the navigate 
feature).

Matthieu



Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Rem

Lyx 1.1.6 fix4 Mandrake 8.1

I imported a long article (LaTeX) that is in AMS class, and then performed
the search for in, in_, in_a, etc... It finds everything and there is no
deletion. I even tried the space alone...

Now this is what I call complexity and unpredictability! No wonder people
try to model business processes by processes of computing!

Remzi

- Original Message -
From: Laszlo E Szabo [EMAIL PROTECTED]
To: LyX users [EMAIL PROTECTED]
Sent: Monday, March 18, 2002 7:26 PM
Subject: Dangerous BUG: Search/Replace


 Hello,

 RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4

 I reported a dangerous bug some days ago, but I made a mistake. The actual
 problem is even more dangerous:
 Enter a word into the search box AND PRESS SPACE (sorry, I wrote ENTER
in
 my previous mail).  It starts to DELETE all instances of the word you
 entered. It is dangerous if you have a long part of the document which was
 not yet saved. Because you cannot step by step undo deleting say 5000
The-s
 in a book (it would take a few hours). The other possibility is to close
the
 file without saving and opening it again without using the autosaved
version,
 which means you lost the not yet saved part of the document. So, you are
 enforced to make a choice between loosing 5000 the-s or loosing the new
 part of the text you wrote. So, you cannot search, the apple, for
example,
 because of the space.

 Laszlo
 --

 Laszlo E. Szabo
 Department of Theoretical Physics
 Department of History and Philosophy of Science
 Eotvos University, Budapest
 H-1518 Budapest, Pf. 32, Hungary
 Phone/Fax: (36-1)372-2924
 Home: (36-1) 200-7318
 Mobil/SMS: (36) 20-366-1172
 http://hps.elte.hu/~leszabo




Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Steve Litt

I had a problem in which I could not do a find without a replace within LyX. 
I finally solved the problem by doing the find in VI.

Steve

-- 
_
Steve Litt
Author: 
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com/bookstore/

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-





On Tuesday 19 March 2002 09:09, Rem wrote:
 Lyx 1.1.6 fix4 Mandrake 8.1

 I imported a long article (LaTeX) that is in AMS class, and then performed
 the search for in, in_, in_a, etc... It finds everything and there is no
 deletion. I even tried the space alone...

 Now this is what I call complexity and unpredictability! No wonder people
 try to model business processes by processes of computing!

 Remzi

 - Original Message -
 From: Laszlo E Szabo [EMAIL PROTECTED]
 To: LyX users [EMAIL PROTECTED]
 Sent: Monday, March 18, 2002 7:26 PM
 Subject: Dangerous BUG: Search/Replace

  Hello,
 
  RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4
 
  I reported a dangerous bug some days ago, but I made a mistake. The
  actual problem is even more dangerous:
  Enter a word into the search box AND PRESS SPACE (sorry, I wrote
  ENTER

 in

  my previous mail).  It starts to DELETE all instances of the word you
  entered. It is dangerous if you have a long part of the document which
  was not yet saved. Because you cannot step by step undo deleting say 5000

 The-s

  in a book (it would take a few hours). The other possibility is to close

 the

  file without saving and opening it again without using the autosaved

 version,

  which means you lost the not yet saved part of the document. So, you are
  enforced to make a choice between loosing 5000 the-s or loosing the new
  part of the text you wrote. So, you cannot search, the apple, for

 example,

  because of the space.
 
  Laszlo
  --
 
  Laszlo E. Szabo
  Department of Theoretical Physics
  Department of History and Philosophy of Science
  Eotvos University, Budapest
  H-1518 Budapest, Pf. 32, Hungary
  Phone/Fax: (36-1)372-2924
  Home: (36-1) 200-7318
  Mobil/SMS: (36) 20-366-1172
  http://hps.elte.hu/~leszabo





Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Rem

click on the arrows in find/replace window...
- Original Message -
From: Steve Litt [EMAIL PROTECTED]
To: LyX users [EMAIL PROTECTED]
Sent: Tuesday, March 19, 2002 8:54 AM
Subject: Re: Dangerous BUG: Search/Replace


 I had a problem in which I could not do a find without a replace within
LyX.
 I finally solved the problem by doing the find in VI.

 Steve

 --
 _
 Steve Litt
 Author:
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
 http://www.troubleshooters.com/bookstore/

 Troubleshooters.Com Webmaster
 (Legal Disclaimer) Follow these suggestions at your own risk.
 -





 On Tuesday 19 March 2002 09:09, Rem wrote:
  Lyx 1.1.6 fix4 Mandrake 8.1
 
  I imported a long article (LaTeX) that is in AMS class, and then
performed
  the search for in, in_, in_a, etc... It finds everything and there is no
  deletion. I even tried the space alone...
 
  Now this is what I call complexity and unpredictability! No wonder
people
  try to model business processes by processes of computing!
 
  Remzi
 
  - Original Message -
  From: Laszlo E Szabo [EMAIL PROTECTED]
  To: LyX users [EMAIL PROTECTED]
  Sent: Monday, March 18, 2002 7:26 PM
  Subject: Dangerous BUG: Search/Replace
 
   Hello,
  
   RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4
  
   I reported a dangerous bug some days ago, but I made a mistake. The
   actual problem is even more dangerous:
   Enter a word into the search box AND PRESS SPACE (sorry, I wrote
   ENTER
 
  in
 
   my previous mail).  It starts to DELETE all instances of the word you
   entered. It is dangerous if you have a long part of the document which
   was not yet saved. Because you cannot step by step undo deleting say
5000
 
  The-s
 
   in a book (it would take a few hours). The other possibility is to
close
 
  the
 
   file without saving and opening it again without using the autosaved
 
  version,
 
   which means you lost the not yet saved part of the document. So, you
are
   enforced to make a choice between loosing 5000 the-s or loosing the
new
   part of the text you wrote. So, you cannot search, the apple, for
 
  example,
 
   because of the space.
  
   Laszlo
   --
  
   Laszlo E. Szabo
   Department of Theoretical Physics
   Department of History and Philosophy of Science
   Eotvos University, Budapest
   H-1518 Budapest, Pf. 32, Hungary
   Phone/Fax: (36-1)372-2924
   Home: (36-1) 200-7318
   Mobil/SMS: (36) 20-366-1172
   http://hps.elte.hu/~leszabo






Re: \input{} doesn't auto-update when latex is re-run

2002-03-19 Thread Nirmal Govind


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: Dangerous BUG: Search/Replace

2002-03-19 Thread Zarathustra

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Also schrieben Sie, Laszlo E Szabo, am Dienstag 19 März 2002 02:26:
 Hello,

 RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4

 I reported a dangerous bug some days ago, but I made a mistake. The actual
 problem is even more dangerous:
 Enter a word into the search box AND PRESS SPACE (sorry, I wrote ENTER
 in my previous mail).  It starts to DELETE all instances of the word you
 entered. 

I'm not able to reproduce this bug (SuSE7.3lyx116f4, deflt=german).
When I understand the warning message, there's a bug with the space. 
Pressing space seems to be interpreted as enter-for-all

Greetz,

Zarathustra.
- -- 
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
* Live each day as if it's your last
  and one day you will be right *
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø

System: AMD-K6 350, 375MB. OS: SuSE 7.3, Kernel: 2.4.16
GnuPGP_ID: (www.keyserver.net) 0CB059DD87DF7AB5
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8l3KvDLBZ3YfferURAm74AKCRZBbVbXssWYIxi/BC4uZnQatpvgCeKCza
0N5gvn4m5DpQkm3ZprtDxbQ=
=XWkE
-END PGP SIGNATURE-



Re: converting xml to lyx

2002-03-19 Thread ben

Paul Tremblay a écrit :

 On Sun, Mar 17, 2002 at 10:05:16PM +0100, Florian Kohl wrote:

 
  sorry if this has already been covered but I could not find
  anything on google about this,
 
  I have an xml document that I want to convert to lyx,
  what would be the easiest approach to do so?
 
 
 

 Funny, but I am working on this same exact problem right now. I
 have learned perl just for this purpose. I joined an xml-perl
 mailing list.

 Below is a copy of an email I sent to this mailing list and the
 response. If you want, I'll update you with my progress. I think
 it is definitely something people should look into--I mean,
 converting XML to LaTeX.

For XML to LaTeX translation, db2latex (available in sourceforge) is quite
interesting. That's a set of stylesheets that do the job, and it works fine.
I can give information about them if someone is interested since that's the
base of db2lyx.

BG





Multi-line eq in table

2002-03-19 Thread Simon Perreault

Hi,

I've searched everywhere but couldn't find if it was possible to do a 
multi-line equation in a table. Is it possible? Every time I try I get errors.

Steps to reproduce:
- Start new document.
- Click tabular button. Make a 1x1 table.
- Position the curser into the table. Enter mathed mode.
- Make a multi-line eq by pressing Ctrl-Enter.
- View the DVI.

Thanks,

-- 
Simon Perreault  [EMAIL PROTECTED]
Web: http://www.linuxquebec.com/~nomis80
PGP: $Web/nomis80.gpg



Re: Overall environment

2002-03-19 Thread Allan Rae

On Tue, 19 Mar 2002, Matej Cepl wrote:

 However, when browsing through Customization document, I was not
 able to fingure out, how to do this. Any thoughts?

KeepEmpty   true

or is it

KeepEmpty   1

something like that for the surrounding otherwise empty environment.

IIRC, JMarc created KeepEmpty for this situation.

Allan. (ARRae)




Re: Multi-line eq in table

2002-03-19 Thread Andre Poenitz

On Wed, Mar 20, 2002 at 12:06:01AM -0500, Simon Perreault wrote:
 I've searched everywhere but couldn't find if it was possible to do a 
 multi-line equation in a table. Is it possible?

This is not possible in LaTeX. You have to wrap the equation into a
minipage before you put it into a table cell.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Brace grouping in math mode.

2002-03-19 Thread Andre Poenitz

On Tue, Mar 19, 2002 at 05:14:33AM -0300, Joao Luis Meloni Assirati wrote:
 I use the latest lyx 1.2.0cvs. When in math mode, typing { produces a pair
 of raw grouping braces {} instead of a pure brace \{, as in text mode. I
 posted this to lyx-devel and was informed that grouping {} are sometimes
 needed in math mode. Can someone show me an example where grouping braces
 are needed outside ERT?

{n \atop k}

{}^x

Old-style font changes.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Re: Brace grouping in math mode.

2002-03-19 Thread Koen Martens

On Tue, Mar 19, 2002 at 12:28:50PM +0100, Guenter Milde wrote:
 This is ERT, in normal math (i.e. in blue) one could have e.g. functionals
 like f{x(t)} but normally I would use big delimiters (M-M {) for this.
 
 Furthermore, IMHO, if { inserts a (blue) {} (similar to: \{ inserts (red){}), 
   (BTW: it does not in my lyx 1.1.6fix3), 
 then ( should insert () and [ insert [] to keep consistency.
 
 Personally, I'd prefer the straightforward { inserts a (blue) { and M-M { a
 pair of big {}.

I totally agree.

I remember a while ago i had to do a presentation together with someone who was used 
to kpresenter (part of the koffice suit as it turned out).. When inserting my 
formula's a { inserted a pair of {}, a ( a pair of () etc.. But the strange thing: 
there was no way i could get nested pairs of bracketing, like f([x,y]) for example.. 

Personally i like to be able to decide myself which brackets i want to use where and 
in what style, so if it were up to me lyx never would automatically place the closing 
bracket. 

Just my opinion..

Regards,

Koen Martens


-- 
[EMAIL PROTECTED] (Koen Martens) http://www.metro.cx/



Re: Re: Brace grouping in math mode.

2002-03-19 Thread Andre Poenitz

On Tue, Mar 19, 2002 at 12:44:06PM +0100, Koen Martens wrote:
 Personally i like to be able to decide myself which brackets i want to
 use where and in what style, so if it were up to me lyx never would
 automatically place the closing bracket. 

It usually does not. The only exceptions I am aware of are {} for TeX
grouping - those _have_ to be paired, there is no point in allowing
unpaired ones, and the suff in DelimInset that translates to
\left...\right. Again, these have to be paired.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



kluwer and toc

2002-03-19 Thread Matthieu Amiguet

Hi everybody!

I'm starting to write a document with the Kluwer layout. Thank you to Pit 
and PAP for this layout, it saves me a lot of time!
Just one thing I wonder: in the layout, there's the general textclass 
parameter 
TocDepth 0
It has for effect that the navigate menu doesn't contain anything 
interesting (no TOC)
If I change this parameter to 3, I get back my dear navigate menu (it's a so 
handy feature)
So, my question: is there any reason to have this parameter set to 0? I mean, 
if you want a TOC, you don't want the param to 0, and if you don't include a 
TOC in your document, there's no effect (except of disabling the navigate 
feature).

Matthieu



Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Rem

Lyx 1.1.6 fix4 Mandrake 8.1

I imported a long article (LaTeX) that is in AMS class, and then performed
the search for in, in_, in_a, etc... It finds everything and there is no
deletion. I even tried the space alone...

Now this is what I call complexity and unpredictability! No wonder people
try to model business processes by processes of computing!

Remzi

- Original Message -
From: Laszlo E Szabo [EMAIL PROTECTED]
To: LyX users [EMAIL PROTECTED]
Sent: Monday, March 18, 2002 7:26 PM
Subject: Dangerous BUG: Search/Replace


 Hello,

 RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4

 I reported a dangerous bug some days ago, but I made a mistake. The actual
 problem is even more dangerous:
 Enter a word into the search box AND PRESS SPACE (sorry, I wrote ENTER
in
 my previous mail).  It starts to DELETE all instances of the word you
 entered. It is dangerous if you have a long part of the document which was
 not yet saved. Because you cannot step by step undo deleting say 5000
The-s
 in a book (it would take a few hours). The other possibility is to close
the
 file without saving and opening it again without using the autosaved
version,
 which means you lost the not yet saved part of the document. So, you are
 enforced to make a choice between loosing 5000 the-s or loosing the new
 part of the text you wrote. So, you cannot search, the apple, for
example,
 because of the space.

 Laszlo
 --

 Laszlo E. Szabo
 Department of Theoretical Physics
 Department of History and Philosophy of Science
 Eotvos University, Budapest
 H-1518 Budapest, Pf. 32, Hungary
 Phone/Fax: (36-1)372-2924
 Home: (36-1) 200-7318
 Mobil/SMS: (36) 20-366-1172
 http://hps.elte.hu/~leszabo




Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Steve Litt

I had a problem in which I could not do a find without a replace within LyX. 
I finally solved the problem by doing the find in VI.

Steve

-- 
_
Steve Litt
Author: 
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com/bookstore/

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-





On Tuesday 19 March 2002 09:09, Rem wrote:
 Lyx 1.1.6 fix4 Mandrake 8.1

 I imported a long article (LaTeX) that is in AMS class, and then performed
 the search for in, in_, in_a, etc... It finds everything and there is no
 deletion. I even tried the space alone...

 Now this is what I call complexity and unpredictability! No wonder people
 try to model business processes by processes of computing!

 Remzi

 - Original Message -
 From: Laszlo E Szabo [EMAIL PROTECTED]
 To: LyX users [EMAIL PROTECTED]
 Sent: Monday, March 18, 2002 7:26 PM
 Subject: Dangerous BUG: Search/Replace

  Hello,
 
  RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4
 
  I reported a dangerous bug some days ago, but I made a mistake. The
  actual problem is even more dangerous:
  Enter a word into the search box AND PRESS SPACE (sorry, I wrote
  ENTER

 in

  my previous mail).  It starts to DELETE all instances of the word you
  entered. It is dangerous if you have a long part of the document which
  was not yet saved. Because you cannot step by step undo deleting say 5000

 The-s

  in a book (it would take a few hours). The other possibility is to close

 the

  file without saving and opening it again without using the autosaved

 version,

  which means you lost the not yet saved part of the document. So, you are
  enforced to make a choice between loosing 5000 the-s or loosing the new
  part of the text you wrote. So, you cannot search, the apple, for

 example,

  because of the space.
 
  Laszlo
  --
 
  Laszlo E. Szabo
  Department of Theoretical Physics
  Department of History and Philosophy of Science
  Eotvos University, Budapest
  H-1518 Budapest, Pf. 32, Hungary
  Phone/Fax: (36-1)372-2924
  Home: (36-1) 200-7318
  Mobil/SMS: (36) 20-366-1172
  http://hps.elte.hu/~leszabo





Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Rem

click on the arrows in find/replace window...
- Original Message -
From: Steve Litt [EMAIL PROTECTED]
To: LyX users [EMAIL PROTECTED]
Sent: Tuesday, March 19, 2002 8:54 AM
Subject: Re: Dangerous BUG: Search/Replace


 I had a problem in which I could not do a find without a replace within
LyX.
 I finally solved the problem by doing the find in VI.

 Steve

 --
 _
 Steve Litt
 Author:
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
 http://www.troubleshooters.com/bookstore/

 Troubleshooters.Com Webmaster
 (Legal Disclaimer) Follow these suggestions at your own risk.
 -





 On Tuesday 19 March 2002 09:09, Rem wrote:
  Lyx 1.1.6 fix4 Mandrake 8.1
 
  I imported a long article (LaTeX) that is in AMS class, and then
performed
  the search for in, in_, in_a, etc... It finds everything and there is no
  deletion. I even tried the space alone...
 
  Now this is what I call complexity and unpredictability! No wonder
people
  try to model business processes by processes of computing!
 
  Remzi
 
  - Original Message -
  From: Laszlo E Szabo [EMAIL PROTECTED]
  To: LyX users [EMAIL PROTECTED]
  Sent: Monday, March 18, 2002 7:26 PM
  Subject: Dangerous BUG: Search/Replace
 
   Hello,
  
   RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4
  
   I reported a dangerous bug some days ago, but I made a mistake. The
   actual problem is even more dangerous:
   Enter a word into the search box AND PRESS SPACE (sorry, I wrote
   ENTER
 
  in
 
   my previous mail).  It starts to DELETE all instances of the word you
   entered. It is dangerous if you have a long part of the document which
   was not yet saved. Because you cannot step by step undo deleting say
5000
 
  The-s
 
   in a book (it would take a few hours). The other possibility is to
close
 
  the
 
   file without saving and opening it again without using the autosaved
 
  version,
 
   which means you lost the not yet saved part of the document. So, you
are
   enforced to make a choice between loosing 5000 the-s or loosing the
new
   part of the text you wrote. So, you cannot search, the apple, for
 
  example,
 
   because of the space.
  
   Laszlo
   --
  
   Laszlo E. Szabo
   Department of Theoretical Physics
   Department of History and Philosophy of Science
   Eotvos University, Budapest
   H-1518 Budapest, Pf. 32, Hungary
   Phone/Fax: (36-1)372-2924
   Home: (36-1) 200-7318
   Mobil/SMS: (36) 20-366-1172
   http://hps.elte.hu/~leszabo






Re: \input{} doesn't auto-update when latex is re-run

2002-03-19 Thread Nirmal Govind


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: Dangerous BUG: Search/Replace

2002-03-19 Thread Zarathustra

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Also schrieben Sie, Laszlo E Szabo, am Dienstag 19 März 2002 02:26:
 Hello,

 RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4

 I reported a dangerous bug some days ago, but I made a mistake. The actual
 problem is even more dangerous:
 Enter a word into the search box AND PRESS SPACE (sorry, I wrote ENTER
 in my previous mail).  It starts to DELETE all instances of the word you
 entered. 

I'm not able to reproduce this bug (SuSE7.3lyx116f4, deflt=german).
When I understand the warning message, there's a bug with the space. 
Pressing space seems to be interpreted as enter-for-all

Greetz,

Zarathustra.
- -- 
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
* Live each day as if it's your last
  and one day you will be right *
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø

System: AMD-K6 350, 375MB. OS: SuSE 7.3, Kernel: 2.4.16
GnuPGP_ID: (www.keyserver.net) 0CB059DD87DF7AB5
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8l3KvDLBZ3YfferURAm74AKCRZBbVbXssWYIxi/BC4uZnQatpvgCeKCza
0N5gvn4m5DpQkm3ZprtDxbQ=
=XWkE
-END PGP SIGNATURE-



Re: converting xml to lyx

2002-03-19 Thread ben

Paul Tremblay a écrit :

 On Sun, Mar 17, 2002 at 10:05:16PM +0100, Florian Kohl wrote:

 
  sorry if this has already been covered but I could not find
  anything on google about this,
 
  I have an xml document that I want to convert to lyx,
  what would be the easiest approach to do so?
 
 
 

 Funny, but I am working on this same exact problem right now. I
 have learned perl just for this purpose. I joined an xml-perl
 mailing list.

 Below is a copy of an email I sent to this mailing list and the
 response. If you want, I'll update you with my progress. I think
 it is definitely something people should look into--I mean,
 converting XML to LaTeX.

For XML to LaTeX translation, db2latex (available in sourceforge) is quite
interesting. That's a set of stylesheets that do the job, and it works fine.
I can give information about them if someone is interested since that's the
base of db2lyx.

BG





Multi-line eq in table

2002-03-19 Thread Simon Perreault

Hi,

I've searched everywhere but couldn't find if it was possible to do a 
multi-line equation in a table. Is it possible? Every time I try I get errors.

Steps to reproduce:
- Start new document.
- Click tabular button. Make a 1x1 table.
- Position the curser into the table. Enter mathed mode.
- Make a multi-line eq by pressing Ctrl-Enter.
- View the DVI.

Thanks,

-- 
Simon Perreault  [EMAIL PROTECTED]
Web: http://www.linuxquebec.com/~nomis80
PGP: $Web/nomis80.gpg



Re: Overall environment

2002-03-19 Thread Allan Rae

On Tue, 19 Mar 2002, Matej Cepl wrote:

 However, when browsing through Customization document, I was not
 able to fingure out, how to do this. Any thoughts?

KeepEmpty   true

or is it

KeepEmpty   1

something like that for the surrounding otherwise empty environment.

IIRC, JMarc created KeepEmpty for this situation.

Allan. (ARRae)




Re: Multi-line eq in table

2002-03-19 Thread Andre Poenitz

On Wed, Mar 20, 2002 at 12:06:01AM -0500, Simon Perreault wrote:
 I've searched everywhere but couldn't find if it was possible to do a 
 multi-line equation in a table. Is it possible?

This is not possible in LaTeX. You have to wrap the equation into a
minipage before you put it into a table cell.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Brace grouping in math mode.

2002-03-19 Thread Andre Poenitz

On Tue, Mar 19, 2002 at 05:14:33AM -0300, Joao Luis Meloni Assirati wrote:
> I use the latest lyx 1.2.0cvs. When in math mode, typing { produces a pair
> of raw grouping braces {} instead of a pure brace \{, as in text mode. I
> posted this to lyx-devel and was informed that grouping {} are sometimes
> needed in math mode. Can someone show me an example where grouping braces
> are needed outside ERT?

{n \atop k}

{}^x

Old-style font changes.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



Re: Re: Brace grouping in math mode.

2002-03-19 Thread Koen Martens

On Tue, Mar 19, 2002 at 12:28:50PM +0100, Guenter Milde wrote:
> This is ERT, in normal math (i.e. in blue) one could have e.g. functionals
> like f{x(t)} but normally I would use big delimiters (M-M {) for this.
> 
> Furthermore, IMHO, if { inserts a (blue) {} (similar to: \{ inserts (red){}), 
>   (BTW: it does not in my lyx 1.1.6fix3), 
> then ( should insert () and [ insert [] to keep consistency.
> 
> Personally, I'd prefer the straightforward { inserts a (blue) { and M-M { a
> pair of big {}.

I totally agree.

I remember a while ago i had to do a presentation together with someone who was used 
to kpresenter (part of the koffice suit as it turned out).. When inserting my 
formula's a { inserted a pair of {}, a ( a pair of () etc.. But the strange thing: 
there was no way i could get nested pairs of bracketing, like f([x,y]) for example.. 

Personally i like to be able to decide myself which brackets i want to use where and 
in what style, so if it were up to me lyx never would automatically place the closing 
bracket. 

Just my opinion..

Regards,

Koen Martens


-- 
[EMAIL PROTECTED] (Koen Martens) http://www.metro.cx/



Re: Re: Brace grouping in math mode.

2002-03-19 Thread Andre Poenitz

On Tue, Mar 19, 2002 at 12:44:06PM +0100, Koen Martens wrote:
> Personally i like to be able to decide myself which brackets i want to
> use where and in what style, so if it were up to me lyx never would
> automatically place the closing bracket. 

It usually does not. The only exceptions I am aware of are {} for TeX
grouping - those _have_ to be paired, there is no point in allowing
unpaired ones, and the suff in DelimInset that translates to
\left...\right. Again, these have to be paired.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]



kluwer and toc

2002-03-19 Thread Matthieu Amiguet

Hi everybody!

I'm starting to write a document with the Kluwer layout. Thank you to "Pit" 
and "PAP" for this layout, it saves me a lot of time!
Just one thing I wonder: in the layout, there's the general textclass 
parameter 
TocDepth 0
It has for effect that the "navigate" menu doesn't contain anything 
interesting ("no TOC")
If I change this parameter to 3, I get back my dear navigate menu (it's a so 
handy feature)
So, my question: is there any reason to have this parameter set to 0? I mean, 
if you want a TOC, you don't want the param to 0, and if you don't include a 
TOC in your document, there's no effect (except of disabling the navigate 
feature).

Matthieu



Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Rem

Lyx 1.1.6 fix4 Mandrake 8.1

I imported a long article (LaTeX) that is in AMS class, and then performed
the search for in, in_, in_a, etc... It finds everything and there is no
deletion. I even tried the space alone...

Now this is what I call complexity and unpredictability! No wonder people
try to model business processes by processes of computing!

Remzi

- Original Message -
From: "Laszlo E Szabo" <[EMAIL PROTECTED]>
To: "LyX users" <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 7:26 PM
Subject: Dangerous BUG: Search/Replace


> Hello,
>
> RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4
>
> I reported a dangerous bug some days ago, but I made a mistake. The actual
> problem is even more dangerous:
> Enter a word into the search box AND PRESS  (sorry, I wrote 
in
> my previous mail).  It starts to DELETE all instances of the word you
> entered. It is dangerous if you have a long part of the document which was
> not yet saved. Because you cannot step by step undo deleting say 5000
"The"-s
> in a book (it would take a few hours). The other possibility is to close
the
> file without saving and opening it again without using the autosaved
version,
> which means you lost the not yet saved part of the document. So, you are
> enforced to make a choice between loosing 5000 "the"-s or loosing the new
> part of the text you wrote. So, you cannot search, "the apple", for
example,
> because of the space.
>
> Laszlo
> --
>
> Laszlo E. Szabo
> Department of Theoretical Physics
> Department of History and Philosophy of Science
> Eotvos University, Budapest
> H-1518 Budapest, Pf. 32, Hungary
> Phone/Fax: (36-1)372-2924
> Home: (36-1) 200-7318
> Mobil/SMS: (36) 20-366-1172
> http://hps.elte.hu/~leszabo




Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Steve Litt

I had a problem in which I could not do a find without a replace within LyX. 
I finally solved the problem by doing the find in VI.

Steve

-- 
_
Steve Litt
Author: 
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com/bookstore/

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-





On Tuesday 19 March 2002 09:09, Rem wrote:
> Lyx 1.1.6 fix4 Mandrake 8.1
>
> I imported a long article (LaTeX) that is in AMS class, and then performed
> the search for in, in_, in_a, etc... It finds everything and there is no
> deletion. I even tried the space alone...
>
> Now this is what I call complexity and unpredictability! No wonder people
> try to model business processes by processes of computing!
>
> Remzi
>
> - Original Message -
> From: "Laszlo E Szabo" <[EMAIL PROTECTED]>
> To: "LyX users" <[EMAIL PROTECTED]>
> Sent: Monday, March 18, 2002 7:26 PM
> Subject: Dangerous BUG: Search/Replace
>
> > Hello,
> >
> > RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4
> >
> > I reported a dangerous bug some days ago, but I made a mistake. The
> > actual problem is even more dangerous:
> > Enter a word into the search box AND PRESS  (sorry, I wrote
> > 
>
> in
>
> > my previous mail).  It starts to DELETE all instances of the word you
> > entered. It is dangerous if you have a long part of the document which
> > was not yet saved. Because you cannot step by step undo deleting say 5000
>
> "The"-s
>
> > in a book (it would take a few hours). The other possibility is to close
>
> the
>
> > file without saving and opening it again without using the autosaved
>
> version,
>
> > which means you lost the not yet saved part of the document. So, you are
> > enforced to make a choice between loosing 5000 "the"-s or loosing the new
> > part of the text you wrote. So, you cannot search, "the apple", for
>
> example,
>
> > because of the space.
> >
> > Laszlo
> > --
> >
> > Laszlo E. Szabo
> > Department of Theoretical Physics
> > Department of History and Philosophy of Science
> > Eotvos University, Budapest
> > H-1518 Budapest, Pf. 32, Hungary
> > Phone/Fax: (36-1)372-2924
> > Home: (36-1) 200-7318
> > Mobil/SMS: (36) 20-366-1172
> > http://hps.elte.hu/~leszabo





Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Rem

click on the arrows in find/replace window...
- Original Message -
From: "Steve Litt" <[EMAIL PROTECTED]>
To: "LyX users" <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 8:54 AM
Subject: Re: Dangerous BUG: Search/Replace


> I had a problem in which I could not do a find without a replace within
LyX.
> I finally solved the problem by doing the find in VI.
>
> Steve
>
> --
> _
> Steve Litt
> Author:
>   * Troubleshooting Techniques of the Successful Technologist
>   * Rapid Learning: Secret Weapon of the Successful Technologist
> http://www.troubleshooters.com/bookstore/
>
> Troubleshooters.Com Webmaster
> (Legal Disclaimer) Follow these suggestions at your own risk.
> -
>
>
>
>
>
> On Tuesday 19 March 2002 09:09, Rem wrote:
> > Lyx 1.1.6 fix4 Mandrake 8.1
> >
> > I imported a long article (LaTeX) that is in AMS class, and then
performed
> > the search for in, in_, in_a, etc... It finds everything and there is no
> > deletion. I even tried the space alone...
> >
> > Now this is what I call complexity and unpredictability! No wonder
people
> > try to model business processes by processes of computing!
> >
> > Remzi
> >
> > - Original Message -
> > From: "Laszlo E Szabo" <[EMAIL PROTECTED]>
> > To: "LyX users" <[EMAIL PROTECTED]>
> > Sent: Monday, March 18, 2002 7:26 PM
> > Subject: Dangerous BUG: Search/Replace
> >
> > > Hello,
> > >
> > > RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4
> > >
> > > I reported a dangerous bug some days ago, but I made a mistake. The
> > > actual problem is even more dangerous:
> > > Enter a word into the search box AND PRESS  (sorry, I wrote
> > > 
> >
> > in
> >
> > > my previous mail).  It starts to DELETE all instances of the word you
> > > entered. It is dangerous if you have a long part of the document which
> > > was not yet saved. Because you cannot step by step undo deleting say
5000
> >
> > "The"-s
> >
> > > in a book (it would take a few hours). The other possibility is to
close
> >
> > the
> >
> > > file without saving and opening it again without using the autosaved
> >
> > version,
> >
> > > which means you lost the not yet saved part of the document. So, you
are
> > > enforced to make a choice between loosing 5000 "the"-s or loosing the
new
> > > part of the text you wrote. So, you cannot search, "the apple", for
> >
> > example,
> >
> > > because of the space.
> > >
> > > Laszlo
> > > --
> > >
> > > Laszlo E. Szabo
> > > Department of Theoretical Physics
> > > Department of History and Philosophy of Science
> > > Eotvos University, Budapest
> > > H-1518 Budapest, Pf. 32, Hungary
> > > Phone/Fax: (36-1)372-2924
> > > Home: (36-1) 200-7318
> > > Mobil/SMS: (36) 20-366-1172
> > > http://hps.elte.hu/~leszabo
>
>




Re: \input{} doesn't auto-update when latex is re-run

2002-03-19 Thread Nirmal Govind


>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: Dangerous BUG: Search/Replace

2002-03-19 Thread Zarathustra

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Also schrieben Sie, Laszlo E Szabo, am Dienstag 19 März 2002 02:26:
> Hello,
>
> RedHat 7.2 (Default=Hungarian) + LyX 1.1.6fix4
>
> I reported a dangerous bug some days ago, but I made a mistake. The actual
> problem is even more dangerous:
> Enter a word into the search box AND PRESS  (sorry, I wrote 
> in my previous mail).  It starts to DELETE all instances of the word you
> entered. 

I'm not able to reproduce this bug (SuSE7.3, deflt=german).
When I understand the warning message, there's a bug with the . 
Pressing  seems to be interpreted as 

Greetz,

Zarathustra.
- -- 
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø
* Live each day as if it's your last
  and one day you will be right *
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø

System: AMD-K6 350, 375MB. OS: SuSE 7.3, Kernel: 2.4.16
GnuPGP_ID: (www.keyserver.net) 0CB059DD87DF7AB5
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8l3KvDLBZ3YfferURAm74AKCRZBbVbXssWYIxi/BC4uZnQatpvgCeKCza
0N5gvn4m5DpQkm3ZprtDxbQ=
=XWkE
-END PGP SIGNATURE-



Re: converting xml to lyx

2002-03-19 Thread ben

Paul Tremblay a écrit :

> On Sun, Mar 17, 2002 at 10:05:16PM +0100, Florian Kohl wrote:
>
> >
> > sorry if this has already been covered but I could not find
> > anything on google about this,
> >
> > I have an xml document that I want to convert to lyx,
> > what would be the easiest approach to do so?
> >
> >
> >
>
> Funny, but I am working on this same exact problem right now. I
> have learned perl just for this purpose. I joined an xml-perl
> mailing list.
>
> Below is a copy of an email I sent to this mailing list and the
> response. If you want, I'll update you with my progress. I think
> it is definitely something people should look into--I mean,
> converting XML to LaTeX.

For XML to LaTeX translation, db2latex (available in sourceforge) is quite
interesting. That's a set of stylesheets that do the job, and it works fine.
I can give information about them if someone is interested since that's the
base of db2lyx.

BG





Multi-line eq in table

2002-03-19 Thread Simon Perreault

Hi,

I've searched everywhere but couldn't find if it was possible to do a 
multi-line equation in a table. Is it possible? Every time I try I get errors.

Steps to reproduce:
- Start new document.
- Click tabular button. Make a 1x1 table.
- Position the curser into the table. Enter mathed mode.
- Make a multi-line eq by pressing Ctrl-Enter.
- View the DVI.

Thanks,

-- 
Simon Perreault  <[EMAIL PROTECTED]>
Web: http://www.linuxquebec.com/~nomis80
PGP: $Web/nomis80.gpg



Re: Overall environment

2002-03-19 Thread Allan Rae

On Tue, 19 Mar 2002, Matej Cepl wrote:

> However, when browsing through Customization document, I was not
> able to fingure out, how to do this. Any thoughts?

KeepEmpty   true

or is it

KeepEmpty   1

something like that for the surrounding otherwise empty environment.

IIRC, JMarc created KeepEmpty for this situation.

Allan. (ARRae)




Re: Multi-line eq in table

2002-03-19 Thread Andre Poenitz

On Wed, Mar 20, 2002 at 12:06:01AM -0500, Simon Perreault wrote:
> I've searched everywhere but couldn't find if it was possible to do a 
> multi-line equation in a table. Is it possible?

This is not possible in LaTeX. You have to wrap the equation into a
minipage before you put it into a table cell.

Andre'

-- 
André Pönitz .. [EMAIL PROTECTED]