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 Guenter Milde

On Tue, 19 Mar 2002 09:29:16 +0100 wrote Andre Poenitz <[EMAIL PROTECTED]>:

> 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.

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 {}.

Guenter

--
[EMAIL PROTECTED]




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

2002-03-19 Thread Guenter Milde

On Mon, 18 Mar 2002 18:54:25 -0500 wrote Nirmal Govind <[EMAIL PROTECTED]>:

> Hi,
> 
> I've got a couple of \input{my_file} statements in my file. However, when I 
> change the contents of my_file and then do an Update->DVI or an Update->PS 
> in LyX, the changes I made to my_file aren't reflected. I have to then 
> remove the \input statement and do an Update-DVI (basically re-run Latex), 
> then have to insert the \input again and do an Update again and now the 
> changes in my_file are made in the DVI and PS files. Anyone know what's 
> going wrong?

I suppose, LyX just doesnot realize/test for changes in included/input parts
(the same holds for graphics: if you just change an *.eps file but leave the
main LyX file untouched, Update-DVI will do nothing.

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?

GM

--
[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]



Re: Dangerous BUG: Search/Replace

2002-03-19 Thread Robin Turner

Doesn't happen in 1.2 CVS, Mdk 8.1, fortunately.  

I didn't find anything on this in Bugzilla.  Perhaps someone could 
try to reproduce this in 1.1.6 (not on their latest novel!) and post 
a bug report.

Robin

On Tuesday 19 March 2002 03:26, Laszlo E Szabo wrote:
> 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

-- 
"Give me the views, and I'll give you the arguments." - Chrysippus

Robin Turner
IDMYO, Bilkent Universitesi
Ankara 06533
Turkey

http://www.bilkent.edu.tr/~robin



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&lyx116f4, 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





Overall environment

2002-03-19 Thread Matej Cepl


Sorry, for bugging you again, but no one is really able to help
me in this matter?

Matej

---

Hi,

trying to create layout for the document class of the bulletin of
CSTUG (Czech TeX Users' Group), I have hit a problem. Every
article in LaTeX document provided by author (one file may
contain more articles; of course, the reason is, that whole
bulletin is than compiled to one) is enclosed (whole, even
\title, \author, and \maketitle) in special environment clanek
(which is ``article'' in Czech). Something like this:

\documentclass{article}

\usepackage{csbul} % style of the bulletin itself

\begin{document} \begin{clanek}

\title{something} \author{something}

\podpis{something} % ``podpis'' means ``signature'' and it is
 % used for the authors name 
and contact
 % info in the end of the 
article.

\maketitle

\section{...}

...

\end{clanek} \end{document}

I would like to make layout as seamless as possible (remember, it
is for introduction of LyX to {La}TeX community, so I would like
to avoid any ERT) and of course, I cannot change the style itself.

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

Thanks

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
In those days spirits were brave, the stakes were high, men were
real men, women were real women and small furry creatures from
Alpha Centauri were real small furry creatures from Alpha
Centauri.
-- Douglas Adams




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]