LaTeX/LyX math

2004-10-22 Thread Nicolas Ferré
Hi,
A little wish about math. There are two ways for entering math: open a 
math environment and type in it or write a latex formula, select it and 
convert it in math using C-m for instance.
But the last needs to explicitely write the $ around the latex formula. 
If the $ are forgotten, lyx converts the formula to text even if there 
is a math symbol (beginning with \) in the formula.
Could it be possible to automatically add the $ around the latex formula 
when transforming it in math and a \ is detected in it ?
I know the backslash is rather common in latex ;-) but we can assume 
that each time a latex formula must be converted in math, all latex 
symbols in the formula are math symbols.

But maybe I miss a good reason for always needing the $ ?
--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


Re: LaTeX/LyX math

2004-10-22 Thread José Abílio Oliveira Matos
On Fri, Oct 22, 2004 at 11:07:56AM +0200, Nicolas Ferré wrote:
 Hi,
 
 A little wish about math. There are two ways for entering math: open a 
 math environment and type in it or write a latex formula, select it and 
 convert it in math using C-m for instance.
 But the last needs to explicitely write the $ around the latex formula. 
 If the $ are forgotten, lyx converts the formula to text even if there 
 is a math symbol (beginning with \) in the formula.
 Could it be possible to automatically add the $ around the latex formula 
 when transforming it in math and a \ is detected in it ?
 I know the backslash is rather common in latex ;-) but we can assume 
 that each time a latex formula must be converted in math, all latex 
 symbols in the formula are math symbols.
 
 But maybe I miss a good reason for always needing the $ ?

  Because that is the proper way to do it. ;-)
  
  What you can do is define a new bind that places the $'s for you there.
Not as difficult as it can be done for 1.3.5. :-)

 -- 
  Dr. Nicolas Ferre'
  Laboratoire de Chimie Theorique et de Modelisation Moleculaire
  UMR 6517 - CNRS Universite' de Provence
  Case 521 - Faculte' de Saint-Jerome
  Av. Esc. Normandie Niemen
  13397 MARSEILLE Cedex 20 (FRANCE)
  Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 
  Please avoid sending me Word or PowerPoint attachments.
  See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: LaTeX/LyX math

2004-10-22 Thread Jean-Marc Lasgouttes
 Nicolas == Nicolas Ferré [EMAIL PROTECTED] writes:

Nicolas Hi, A little wish about math. There are two ways for entering
Nicolas math: open a math environment and type in it or write a latex
Nicolas formula, select it and convert it in math using C-m for
Nicolas instance. But the last needs to explicitely write the $
Nicolas around the latex formula. If the $ are forgotten, lyx
Nicolas converts the formula to text even if there is a math symbol
Nicolas (beginning with \) in the formula. Could it be possible to
Nicolas automatically add the $ around the latex formula when
Nicolas transforming it in math and a \ is detected in it ? I know
Nicolas the backslash is rather common in latex ;-) but we can assume
Nicolas that each time a latex formula must be converted in math, all
Nicolas latex symbols in the formula are math symbols.

Nicolas But maybe I miss a good reason for always needing the $ ?

Probably because $ is only one of the possibilities, others being
\[..\] or eqnarray-like environments.

JMarc


Re: LyX bugzilla question

2004-10-22 Thread Jean-Marc Lasgouttes
 Uwe == Uwe Stöhr [EMAIL PROTECTED] writes:

Uwe Hello, I just noticed, that bugzilla doesn't inform me any more
Uwe about changes in bugs that I reported.

Did you check the  Only email me reports of changes made by other
people setting in your Email settings prefs?

Uwe Is it posible that the sender of bugzilla mails changed, so that
Uwe my mail filter deletes them? What is the current sender,
Uwe bugzilla mailer daemon or something similar?

I get
From: [EMAIL PROTECTED]

JMarc

PS: do you know that your name appears empty in bugzilla? This is a
bit annoying for comments you do to bugs.


Re: Test

2004-10-22 Thread Andrei Lomov
Carlos Knauer wrote:

 It? a test.
 Carlos Knauer

I also see a test

A.L.




a newbie trouble with \left{ \right.

2004-10-22 Thread Andrei Lomov

In LyX 1.3.4,

I don't see how to write somthing like

\left{ \right.

in math mode...

Every \left{ immediately results in \left{ \right}
:(

I'm sad with such an automation ...


---
Yours,
Andrei




Re: LaTeX/LyX math

2004-10-22 Thread Nicolas Ferré
Jean-Marc Lasgouttes a écrit :
Nicolas == Nicolas Ferré [EMAIL PROTECTED] writes:

Nicolas Hi, A little wish about math. There are two ways for entering
Nicolas math: open a math environment and type in it or write a latex
Nicolas formula, select it and convert it in math using C-m for
Nicolas instance. But the last needs to explicitely write the $
Nicolas around the latex formula. If the $ are forgotten, lyx
Nicolas converts the formula to text even if there is a math symbol
Nicolas (beginning with \) in the formula. Could it be possible to
Nicolas automatically add the $ around the latex formula when
Nicolas transforming it in math and a \ is detected in it ? I know
Nicolas the backslash is rather common in latex ;-) but we can assume
Nicolas that each time a latex formula must be converted in math, all
Nicolas latex symbols in the formula are math symbols.
Nicolas But maybe I miss a good reason for always needing the $ ?
Probably because $ is only one of the possibilities, others being
\[..\] or eqnarray-like environments.
JMarc

Yes I agree. What I suggested was a sort of hum ... silly, I forget the 
math delimiters automatic correction, which action is to default to the 
$ delimiters when no delimiters are found. This way the user ... me ;-) 
avoids one error (actually I recently forget 3 or 4 times the math 
delimiters when writting some short titles, maybe because they are boxed 
in red).

--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


Re: [ANNOUNCE] LyX 1.3.5 is released

2004-10-22 Thread Didier Lemoine
Bonjour,
j'aimerais savoir si le rpm suivant
lyx-1.3.5-1rhel3_qt.i386.rpm
disponible depuis 2 jours sur le site
ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/
s'applique a la redhat 9.
Sinon, y-a t'il un rpm que je peux utiliser pour la redhat 9 ?
Merci de votre reponse.
Didier Lemoine
Jean-Marc Lasgouttes wrote:
Public release of LyX version 1.3.5
===
We are pleased to announce the release of LyX 1.3.5.
This is mainly a bugfix release, with few notable user-visible
improvements. However, we would like to highlight two fixes in particular:
 * Nested documents (with InsertInclude File...), which have been
   broken since LyX 1.2.0, should now work properly, including the
   case where the files are in different directories.
 * It is now possible to compile LyX with gcc 3.4.
The complete list of improvements and fixes can be found at the end of
this message.
In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:
  LyX is an advanced open source document processor that encourages
  an approach to writing based on the structure of your documents,
  not their appearance. LyX lets you concentrate on writing, leaving
  details of visual layout to the software.
  LyX runs on many Unix platforms, OS/2, and under Windows/Cygwin
  (this port requires an X server). It can also run natively on Mac
  OS X, thanks to the Qt/Mac library.
You can download LyX 1.3.5 here (the .bz2 are compressed with bzip2,
which yields smaller files):
ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.5.tar.gz
ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.5.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.3.5.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.3.5.tar.bz2
and it should propagate shortly to the following mirrors (which will also host
the .bz2 versions):
   ftp://ftp.sdsc.edu/pub/other/lyx/stable/lyx-1.3.5.tar.gz
   ftp://ftp.lip6.fr/pub/lyx/stable/lyx-1.3.5.tar.gz
   ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/lyx-1.3.5.tar.gz
   ftp://ftp.ntua.gr/pub/X11/LyX/stable/lyx-1.3.5.tar.gz
   ftp://ftp.icm.edu.pl/vol/rzm0/lyx/stable/lyx-1.3.5.tar.gz
Prebuilt binaries (mainly rpms for linux distributions) should soon be
available at
ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/
If you already have the LyX 1.3.4 sources, you may want to apply one
of the following patches instead
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.3.5.gz
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.3.5.bz2
If you find what you think is a bug in LyX 1.3.5, you may either
e-mail the LyX developers' mailing list ([EMAIL PROTECTED]), or open
a bug report at http://bugzilla.lyx.org
If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/. If you can't find the answer there,
e-mail the LyX users' list ([EMAIL PROTECTED]).
Enjoy!
The LyX team.
What's new
==
** Updates
- Add a new textclass, svglobal. It is needed for various
 Springer Verlag journals for which no specific class exists.
- Add a new bindings file mac.bind for LyX/Mac.
- The script used to control the generation of bitmap images for use
 in 'Instant Preview' of math equations has been re-written in python.
 Windows users now have some chance of getting Instant Preview to
 work for them.
- The built-in Qt dialogs are now correctly translated for the
 languages that Qt supports [Qt = 3.2 only].
- Add support for Icelandic, Latvian, Lithuanian and Nynorsk.
- Updated the Basque, Danish, German, Italian, Romanian, Russian (fix crash 
 when autosaving) and Spanish localizations. Updated the Basque and German 
 documentation.

** Bug fixes
* Document input/output:
- Partly fix the handling of included files. External insets are still not
 working correctly [bug #605].
- Fix nesting of language change commands, especially important for
 Arabic [bugs #1225, #1404].
- Fix missing line break in front of \end{...} in some cases [bug #1225].
- Run makeindex and bibtex correctly when the file name contains some
 special characters [bug #1526].
- Prevent clashes with LaTeX packages defining \boldsymbol [bug #1498].
- Make import of the preamble of LaTeX files more robust [bug #1584].
- Fix handling of floats and counters in  svjog and svprobth
 textclasses [bug #1430].
- Fix handling of counters in the scrlettr and scrlttr2 classes.
- Fix off-by-one-error which caused LyX to choose the wrong custom margin
 package.
- Remove extra spaces around math insets in plain text output.
- Quote shell variables correctly in the generated sh script used
 to control the conversion of graphics images to a loadable format.
 Ditto for the convertDefault.sh script.
* User Interface:
- Use opening quotation marks after an opening square bracket.
- Fix the toggling of the short title inset in some cases.
- When the autodetection of latex classes cannot be done for some
 reason, provide a sensible list of textclasses.
- Honor correctly the various locale-related 

Re: a newbie trouble with \left{ \right.

2004-10-22 Thread Andrei Lomov
Andrei Lomov wrote:

 
 In LyX 1.3.4,
 
 I don't see how to write somthing like
 
 \left{ \right.
 
 in math mode

I just found an answer by means of math panel,
pressing { and the empty button.

 

 ---
 Yours,
 Andrei




Re: [ANNOUNCE] LyX 1.3.5 is released

2004-10-22 Thread José Abílio Oliveira Matos
On Fri, Oct 22, 2004 at 04:27:37PM +0200, Didier Lemoine wrote:
 Bonjour,
 
 j'aimerais savoir si le rpm suivant
 
 lyx-1.3.5-1rhel3_qt.i386.rpm
 
 disponible depuis 2 jours sur le site
 
 ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/
 
 s'applique a la redhat 9.

  Is the Red Hat Enterprise Linux based on Red Hat Linex 9?
  
  If yes, then it should work.
  
 Sinon, y-a t'il un rpm que je peux utiliser pour la redhat 9 ?

Read the instructions in
http://kde-redhat.sourceforge.net/

The rpm for lyx is:
http://apt.kde-redhat.org/apt/kde-redhat/9/RPMS.stable/lyx-1.3.5-0.fdr.2.rh90.i386.rpm

But probably it depends on the new version of qt from the same site.

 Merci de votre reponse.

  I hope it helps,

 Didier Lemoine
 
 -- 
 Didier LEMOINE
 Laboratoire Collisions, Agrégats, Réactivité, UMR CNRS 5589
 Université Paul Sabatier, Bâtiment 3R1B4
 118 route de Narbonne
 31062 Toulouse Cedex 4, France
 
 Phone: +33 561 55 75 55
 Fax:   +33 561 55 83 17
 Mailto:[EMAIL PROTECTED]
 Web:   http://www.car8.ups-tlse.fr/lemoine

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Eqnarray in an itemize environment

2004-10-22 Thread Nicolas Ferré
Hi,
I cannot find some rules to have the first line of an eqnarray exactly 
aligned with the bullet of the itemize environment:

* x = 2y
  ** z = x
  ** a = z+1
   = x+1
   = 2y+1
I tried to use a minipage but the eqnarray is not exactly aligned with 
the bullet. Moreover it is hard to align the eqnarray in the minipage 
horizontally too, I mean with respect to other items of the same itemize 
level (e.g. a and z)

--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


doublespace creates error in DVI

2004-10-22 Thread ashleigh smythe
Hello.  I am using Lyx 1.3.4 on RedHat 9. I have been using the
article(elsevier) class with good success for a month or so now.  I now
need to have it doublespaced rather than single spaced.  I tried under
Layout - Document - Linespacing changing to doublespaced but when I
generate a DVI or try to print I get the following 2 errors:

1.
Missing number, treated as zero.
 \doublespacing
   
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

2.
Undefined control sequence.
 \doublespacing
   
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


I have googled these errors and seen mention of them but without a
solution that makes sense to me.  I do have setspace.sty in my tex
directory, and I have tried putting \usepackage{setspace} in the
preamble and then reconfiguring and then restarting.  I've also tried
running texhash as root and then restarting. I get the same 2 errors
still.

Does anyone have any other ideas for what I should try?

Thanks!

Ashleigh




Re: Eqnarray in an itemize environment

2004-10-22 Thread Uwe Stöhr
Nicolas Ferré wrote:
I cannot find some rules to have the first line of an eqnarray exactly 
aligned with the bullet of the itemize environment
You need some special commands to get this. They are explained in
http://www.perce.de/LaTeX/math/Mathmode.pdf
in chapter 70 and 72.2.
regards Uwe


Re: LyX bugzilla question

2004-10-22 Thread Uwe Stöhr
Jean-Marc Lasgouttes wrote:
Did you check the  Only email me reports of changes made by other
people setting in your Email settings prefs?
Yes I did.
PS: do you know that your name appears empty in bugzilla? This is a
bit annoying for comments you do to bugs.
Hä? I can't see this. E.g. in
http://bugzilla.lyx.org/show_bug.cgi?id=1528
you can read that I'm the reporter and that comment #2 is from me.
(OK bugzilla doesn't support unicode, so that the ö in my name appears 
as ? but the rest is readable.)

regards Uwe


Re: Math fonts on Windows

2004-10-22 Thread Andre Poenitz
On Thu, Oct 21, 2004 at 01:22:04PM +0200, Vaclav Smidl wrote:
 However, there is one issue I can not get rid of: the characters
 for \sum and \int are displayed much higher than they should (as if
 the character was sitting on top of the box where it should be). The
 formulas look quite bad.
 
 I thought it has something to do with font metrics so I tried both
 latex-xtf and bakoma fonts, without any effect.
 
 Can anybody confirm this?

I have seen this.

 Any suggestions?

Not really.

Well, on second thoughts, have a look at MathSymbolInset::metrics()
in mathed/math_symbolinset.C. There is already some hack wrt wrong
font metrics.

Andre'


Re: Wrapping very wide math equations?

2004-10-22 Thread Andre Poenitz
On Tue, Oct 19, 2004 at 12:52:52PM +0200, Peter Ljunglöf wrote:
 In my current work I tend to get quite wide math equations; i.e. they  
 are wide LaTeX-wise (and also in LyX), but they will be printed on one  
 line in the end. I guess one reason is that I use some LaTeX commands  
 which I have defined in the preamble and not in the LyX file. An  
 equation might look like this (in LyX):
 
 \Rule{\Item{o}{i-j;f:A.r-s0 X1 s1 ... sn-1 Xn  
 sn}\Item{o}{jd-kd;Xd}}{\Item{x}{A-f[B];r=j...k; 
 G}}\When{Gi=(r'=j'...k'|Xd=Bi.r')}
 
 The commands \Rule, \Item, \When are defined in the preamble, since  
 they are quite complicated.

Note that you can use the secnd argument of math maro definitions to
give any macro any visual appearance that's 'fakeable' by other math
constructs.

 In the dvi file, the equation looks nice,  
 but in LyX the equation is too wide and does not fit in the window. The  
 problem is that it gets difficult to edit, since I don't see what I  
 write at the end of the equation...
 
 Either I would like a way of manually line breaking an equation, only  
 in LyX, not in the dvi/pdf/ps file.

I have recently changed my mind about the difficulties to implement such
a thing and even know of a working implementation *cough*. However, I am
not sure how this approach translates from toy sized formulas to the
amount of formulas that may show up on a LyX screen. Idea is to have a
'line break inset' and extend the MathArray dim_ cache to a
vectorDimension linedims_, and handle 'line jumps' when 'drawing' such
a 'line break inset'. Conceptually not very hard, but costs at least 12
bytes for the vector 'wrapper' and around 12 + n x lines  for the
dynamic part, i.e at least 28 more byte for _every_ math 'blue box', even for
those not using the feature. Of course, situation would improve if the
size cache were moved off the insets, which is also possible an
intented. But not today.. 

 Or I'd request that the equation view follows the cursor so that I can  
 see what I write even at the end.

Probably more effort to implement as this requires support from the
frontend. The other solution is a 'pure core solution'.

Andre'


LaTeX/LyX math

2004-10-22 Thread Nicolas Ferré
Hi,
A little wish about math. There are two ways for entering math: open a 
math environment and type in it or write a latex formula, select it and 
convert it in math using C-m for instance.
But the last needs to explicitely write the $ around the latex formula. 
If the $ are forgotten, lyx converts the formula to text even if there 
is a math symbol (beginning with \) in the formula.
Could it be possible to automatically add the $ around the latex formula 
when transforming it in math and a \ is detected in it ?
I know the backslash is rather common in latex ;-) but we can assume 
that each time a latex formula must be converted in math, all latex 
symbols in the formula are math symbols.

But maybe I miss a good reason for always needing the $ ?
--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


Re: LaTeX/LyX math

2004-10-22 Thread José Abílio Oliveira Matos
On Fri, Oct 22, 2004 at 11:07:56AM +0200, Nicolas Ferré wrote:
 Hi,
 
 A little wish about math. There are two ways for entering math: open a 
 math environment and type in it or write a latex formula, select it and 
 convert it in math using C-m for instance.
 But the last needs to explicitely write the $ around the latex formula. 
 If the $ are forgotten, lyx converts the formula to text even if there 
 is a math symbol (beginning with \) in the formula.
 Could it be possible to automatically add the $ around the latex formula 
 when transforming it in math and a \ is detected in it ?
 I know the backslash is rather common in latex ;-) but we can assume 
 that each time a latex formula must be converted in math, all latex 
 symbols in the formula are math symbols.
 
 But maybe I miss a good reason for always needing the $ ?

  Because that is the proper way to do it. ;-)
  
  What you can do is define a new bind that places the $'s for you there.
Not as difficult as it can be done for 1.3.5. :-)

 -- 
  Dr. Nicolas Ferre'
  Laboratoire de Chimie Theorique et de Modelisation Moleculaire
  UMR 6517 - CNRS Universite' de Provence
  Case 521 - Faculte' de Saint-Jerome
  Av. Esc. Normandie Niemen
  13397 MARSEILLE Cedex 20 (FRANCE)
  Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 
  Please avoid sending me Word or PowerPoint attachments.
  See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: LaTeX/LyX math

2004-10-22 Thread Jean-Marc Lasgouttes
 Nicolas == Nicolas Ferré [EMAIL PROTECTED] writes:

Nicolas Hi, A little wish about math. There are two ways for entering
Nicolas math: open a math environment and type in it or write a latex
Nicolas formula, select it and convert it in math using C-m for
Nicolas instance. But the last needs to explicitely write the $
Nicolas around the latex formula. If the $ are forgotten, lyx
Nicolas converts the formula to text even if there is a math symbol
Nicolas (beginning with \) in the formula. Could it be possible to
Nicolas automatically add the $ around the latex formula when
Nicolas transforming it in math and a \ is detected in it ? I know
Nicolas the backslash is rather common in latex ;-) but we can assume
Nicolas that each time a latex formula must be converted in math, all
Nicolas latex symbols in the formula are math symbols.

Nicolas But maybe I miss a good reason for always needing the $ ?

Probably because $ is only one of the possibilities, others being
\[..\] or eqnarray-like environments.

JMarc


Re: LyX bugzilla question

2004-10-22 Thread Jean-Marc Lasgouttes
 Uwe == Uwe Stöhr [EMAIL PROTECTED] writes:

Uwe Hello, I just noticed, that bugzilla doesn't inform me any more
Uwe about changes in bugs that I reported.

Did you check the  Only email me reports of changes made by other
people setting in your Email settings prefs?

Uwe Is it posible that the sender of bugzilla mails changed, so that
Uwe my mail filter deletes them? What is the current sender,
Uwe bugzilla mailer daemon or something similar?

I get
From: [EMAIL PROTECTED]

JMarc

PS: do you know that your name appears empty in bugzilla? This is a
bit annoying for comments you do to bugs.


Re: Test

2004-10-22 Thread Andrei Lomov
Carlos Knauer wrote:

 It? a test.
 Carlos Knauer

I also see a test

A.L.




a newbie trouble with \left{ \right.

2004-10-22 Thread Andrei Lomov

In LyX 1.3.4,

I don't see how to write somthing like

\left{ \right.

in math mode...

Every \left{ immediately results in \left{ \right}
:(

I'm sad with such an automation ...


---
Yours,
Andrei




Re: LaTeX/LyX math

2004-10-22 Thread Nicolas Ferré
Jean-Marc Lasgouttes a écrit :
Nicolas == Nicolas Ferré [EMAIL PROTECTED] writes:

Nicolas Hi, A little wish about math. There are two ways for entering
Nicolas math: open a math environment and type in it or write a latex
Nicolas formula, select it and convert it in math using C-m for
Nicolas instance. But the last needs to explicitely write the $
Nicolas around the latex formula. If the $ are forgotten, lyx
Nicolas converts the formula to text even if there is a math symbol
Nicolas (beginning with \) in the formula. Could it be possible to
Nicolas automatically add the $ around the latex formula when
Nicolas transforming it in math and a \ is detected in it ? I know
Nicolas the backslash is rather common in latex ;-) but we can assume
Nicolas that each time a latex formula must be converted in math, all
Nicolas latex symbols in the formula are math symbols.
Nicolas But maybe I miss a good reason for always needing the $ ?
Probably because $ is only one of the possibilities, others being
\[..\] or eqnarray-like environments.
JMarc

Yes I agree. What I suggested was a sort of hum ... silly, I forget the 
math delimiters automatic correction, which action is to default to the 
$ delimiters when no delimiters are found. This way the user ... me ;-) 
avoids one error (actually I recently forget 3 or 4 times the math 
delimiters when writting some short titles, maybe because they are boxed 
in red).

--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


Re: [ANNOUNCE] LyX 1.3.5 is released

2004-10-22 Thread Didier Lemoine
Bonjour,
j'aimerais savoir si le rpm suivant
lyx-1.3.5-1rhel3_qt.i386.rpm
disponible depuis 2 jours sur le site
ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/
s'applique a la redhat 9.
Sinon, y-a t'il un rpm que je peux utiliser pour la redhat 9 ?
Merci de votre reponse.
Didier Lemoine
Jean-Marc Lasgouttes wrote:
Public release of LyX version 1.3.5
===
We are pleased to announce the release of LyX 1.3.5.
This is mainly a bugfix release, with few notable user-visible
improvements. However, we would like to highlight two fixes in particular:
 * Nested documents (with InsertInclude File...), which have been
   broken since LyX 1.2.0, should now work properly, including the
   case where the files are in different directories.
 * It is now possible to compile LyX with gcc 3.4.
The complete list of improvements and fixes can be found at the end of
this message.
In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:
  LyX is an advanced open source document processor that encourages
  an approach to writing based on the structure of your documents,
  not their appearance. LyX lets you concentrate on writing, leaving
  details of visual layout to the software.
  LyX runs on many Unix platforms, OS/2, and under Windows/Cygwin
  (this port requires an X server). It can also run natively on Mac
  OS X, thanks to the Qt/Mac library.
You can download LyX 1.3.5 here (the .bz2 are compressed with bzip2,
which yields smaller files):
ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.5.tar.gz
ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.5.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.3.5.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.3.5.tar.bz2
and it should propagate shortly to the following mirrors (which will also host
the .bz2 versions):
   ftp://ftp.sdsc.edu/pub/other/lyx/stable/lyx-1.3.5.tar.gz
   ftp://ftp.lip6.fr/pub/lyx/stable/lyx-1.3.5.tar.gz
   ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/lyx-1.3.5.tar.gz
   ftp://ftp.ntua.gr/pub/X11/LyX/stable/lyx-1.3.5.tar.gz
   ftp://ftp.icm.edu.pl/vol/rzm0/lyx/stable/lyx-1.3.5.tar.gz
Prebuilt binaries (mainly rpms for linux distributions) should soon be
available at
ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/
If you already have the LyX 1.3.4 sources, you may want to apply one
of the following patches instead
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.3.5.gz
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.3.5.bz2
If you find what you think is a bug in LyX 1.3.5, you may either
e-mail the LyX developers' mailing list ([EMAIL PROTECTED]), or open
a bug report at http://bugzilla.lyx.org
If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/. If you can't find the answer there,
e-mail the LyX users' list ([EMAIL PROTECTED]).
Enjoy!
The LyX team.
What's new
==
** Updates
- Add a new textclass, svglobal. It is needed for various
 Springer Verlag journals for which no specific class exists.
- Add a new bindings file mac.bind for LyX/Mac.
- The script used to control the generation of bitmap images for use
 in 'Instant Preview' of math equations has been re-written in python.
 Windows users now have some chance of getting Instant Preview to
 work for them.
- The built-in Qt dialogs are now correctly translated for the
 languages that Qt supports [Qt = 3.2 only].
- Add support for Icelandic, Latvian, Lithuanian and Nynorsk.
- Updated the Basque, Danish, German, Italian, Romanian, Russian (fix crash 
 when autosaving) and Spanish localizations. Updated the Basque and German 
 documentation.

** Bug fixes
* Document input/output:
- Partly fix the handling of included files. External insets are still not
 working correctly [bug #605].
- Fix nesting of language change commands, especially important for
 Arabic [bugs #1225, #1404].
- Fix missing line break in front of \end{...} in some cases [bug #1225].
- Run makeindex and bibtex correctly when the file name contains some
 special characters [bug #1526].
- Prevent clashes with LaTeX packages defining \boldsymbol [bug #1498].
- Make import of the preamble of LaTeX files more robust [bug #1584].
- Fix handling of floats and counters in  svjog and svprobth
 textclasses [bug #1430].
- Fix handling of counters in the scrlettr and scrlttr2 classes.
- Fix off-by-one-error which caused LyX to choose the wrong custom margin
 package.
- Remove extra spaces around math insets in plain text output.
- Quote shell variables correctly in the generated sh script used
 to control the conversion of graphics images to a loadable format.
 Ditto for the convertDefault.sh script.
* User Interface:
- Use opening quotation marks after an opening square bracket.
- Fix the toggling of the short title inset in some cases.
- When the autodetection of latex classes cannot be done for some
 reason, provide a sensible list of textclasses.
- Honor correctly the various locale-related 

Re: a newbie trouble with \left{ \right.

2004-10-22 Thread Andrei Lomov
Andrei Lomov wrote:

 
 In LyX 1.3.4,
 
 I don't see how to write somthing like
 
 \left{ \right.
 
 in math mode

I just found an answer by means of math panel,
pressing { and the empty button.

 

 ---
 Yours,
 Andrei




Re: [ANNOUNCE] LyX 1.3.5 is released

2004-10-22 Thread José Abílio Oliveira Matos
On Fri, Oct 22, 2004 at 04:27:37PM +0200, Didier Lemoine wrote:
 Bonjour,
 
 j'aimerais savoir si le rpm suivant
 
 lyx-1.3.5-1rhel3_qt.i386.rpm
 
 disponible depuis 2 jours sur le site
 
 ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/
 
 s'applique a la redhat 9.

  Is the Red Hat Enterprise Linux based on Red Hat Linex 9?
  
  If yes, then it should work.
  
 Sinon, y-a t'il un rpm que je peux utiliser pour la redhat 9 ?

Read the instructions in
http://kde-redhat.sourceforge.net/

The rpm for lyx is:
http://apt.kde-redhat.org/apt/kde-redhat/9/RPMS.stable/lyx-1.3.5-0.fdr.2.rh90.i386.rpm

But probably it depends on the new version of qt from the same site.

 Merci de votre reponse.

  I hope it helps,

 Didier Lemoine
 
 -- 
 Didier LEMOINE
 Laboratoire Collisions, Agrégats, Réactivité, UMR CNRS 5589
 Université Paul Sabatier, Bâtiment 3R1B4
 118 route de Narbonne
 31062 Toulouse Cedex 4, France
 
 Phone: +33 561 55 75 55
 Fax:   +33 561 55 83 17
 Mailto:[EMAIL PROTECTED]
 Web:   http://www.car8.ups-tlse.fr/lemoine

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Eqnarray in an itemize environment

2004-10-22 Thread Nicolas Ferré
Hi,
I cannot find some rules to have the first line of an eqnarray exactly 
aligned with the bullet of the itemize environment:

* x = 2y
  ** z = x
  ** a = z+1
   = x+1
   = 2y+1
I tried to use a minipage but the eqnarray is not exactly aligned with 
the bullet. Moreover it is hard to align the eqnarray in the minipage 
horizontally too, I mean with respect to other items of the same itemize 
level (e.g. a and z)

--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


doublespace creates error in DVI

2004-10-22 Thread ashleigh smythe
Hello.  I am using Lyx 1.3.4 on RedHat 9. I have been using the
article(elsevier) class with good success for a month or so now.  I now
need to have it doublespaced rather than single spaced.  I tried under
Layout - Document - Linespacing changing to doublespaced but when I
generate a DVI or try to print I get the following 2 errors:

1.
Missing number, treated as zero.
 \doublespacing
   
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

2.
Undefined control sequence.
 \doublespacing
   
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


I have googled these errors and seen mention of them but without a
solution that makes sense to me.  I do have setspace.sty in my tex
directory, and I have tried putting \usepackage{setspace} in the
preamble and then reconfiguring and then restarting.  I've also tried
running texhash as root and then restarting. I get the same 2 errors
still.

Does anyone have any other ideas for what I should try?

Thanks!

Ashleigh




Re: Eqnarray in an itemize environment

2004-10-22 Thread Uwe Stöhr
Nicolas Ferré wrote:
I cannot find some rules to have the first line of an eqnarray exactly 
aligned with the bullet of the itemize environment
You need some special commands to get this. They are explained in
http://www.perce.de/LaTeX/math/Mathmode.pdf
in chapter 70 and 72.2.
regards Uwe


Re: LyX bugzilla question

2004-10-22 Thread Uwe Stöhr
Jean-Marc Lasgouttes wrote:
Did you check the  Only email me reports of changes made by other
people setting in your Email settings prefs?
Yes I did.
PS: do you know that your name appears empty in bugzilla? This is a
bit annoying for comments you do to bugs.
Hä? I can't see this. E.g. in
http://bugzilla.lyx.org/show_bug.cgi?id=1528
you can read that I'm the reporter and that comment #2 is from me.
(OK bugzilla doesn't support unicode, so that the ö in my name appears 
as ? but the rest is readable.)

regards Uwe


Re: Math fonts on Windows

2004-10-22 Thread Andre Poenitz
On Thu, Oct 21, 2004 at 01:22:04PM +0200, Vaclav Smidl wrote:
 However, there is one issue I can not get rid of: the characters
 for \sum and \int are displayed much higher than they should (as if
 the character was sitting on top of the box where it should be). The
 formulas look quite bad.
 
 I thought it has something to do with font metrics so I tried both
 latex-xtf and bakoma fonts, without any effect.
 
 Can anybody confirm this?

I have seen this.

 Any suggestions?

Not really.

Well, on second thoughts, have a look at MathSymbolInset::metrics()
in mathed/math_symbolinset.C. There is already some hack wrt wrong
font metrics.

Andre'


Re: Wrapping very wide math equations?

2004-10-22 Thread Andre Poenitz
On Tue, Oct 19, 2004 at 12:52:52PM +0200, Peter Ljunglöf wrote:
 In my current work I tend to get quite wide math equations; i.e. they  
 are wide LaTeX-wise (and also in LyX), but they will be printed on one  
 line in the end. I guess one reason is that I use some LaTeX commands  
 which I have defined in the preamble and not in the LyX file. An  
 equation might look like this (in LyX):
 
 \Rule{\Item{o}{i-j;f:A.r-s0 X1 s1 ... sn-1 Xn  
 sn}\Item{o}{jd-kd;Xd}}{\Item{x}{A-f[B];r=j...k; 
 G}}\When{Gi=(r'=j'...k'|Xd=Bi.r')}
 
 The commands \Rule, \Item, \When are defined in the preamble, since  
 they are quite complicated.

Note that you can use the secnd argument of math maro definitions to
give any macro any visual appearance that's 'fakeable' by other math
constructs.

 In the dvi file, the equation looks nice,  
 but in LyX the equation is too wide and does not fit in the window. The  
 problem is that it gets difficult to edit, since I don't see what I  
 write at the end of the equation...
 
 Either I would like a way of manually line breaking an equation, only  
 in LyX, not in the dvi/pdf/ps file.

I have recently changed my mind about the difficulties to implement such
a thing and even know of a working implementation *cough*. However, I am
not sure how this approach translates from toy sized formulas to the
amount of formulas that may show up on a LyX screen. Idea is to have a
'line break inset' and extend the MathArray dim_ cache to a
vectorDimension linedims_, and handle 'line jumps' when 'drawing' such
a 'line break inset'. Conceptually not very hard, but costs at least 12
bytes for the vector 'wrapper' and around 12 + n x lines  for the
dynamic part, i.e at least 28 more byte for _every_ math 'blue box', even for
those not using the feature. Of course, situation would improve if the
size cache were moved off the insets, which is also possible an
intented. But not today.. 

 Or I'd request that the equation view follows the cursor so that I can  
 see what I write even at the end.

Probably more effort to implement as this requires support from the
frontend. The other solution is a 'pure core solution'.

Andre'


LaTeX/LyX math

2004-10-22 Thread Nicolas Ferré
Hi,
A little wish about math. There are two ways for entering math: open a 
math environment and type in it or write a latex formula, select it and 
convert it in math using C-m for instance.
But the last needs to explicitely write the $ around the latex formula. 
If the $ are forgotten, lyx converts the formula to text even if there 
is a math symbol (beginning with \) in the formula.
Could it be possible to automatically add the $ around the latex formula 
when transforming it in math and a \ is detected in it ?
I know the backslash is rather common in latex ;-) but we can assume 
that each time a latex formula must be converted in math, all latex 
symbols in the formula are math symbols.

But maybe I miss a good reason for always needing the $ ?
--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


Re: LaTeX/LyX math

2004-10-22 Thread José Abílio Oliveira Matos
On Fri, Oct 22, 2004 at 11:07:56AM +0200, Nicolas Ferré wrote:
> Hi,
> 
> A little wish about math. There are two ways for entering math: open a 
> math environment and type in it or write a latex formula, select it and 
> convert it in math using C-m for instance.
> But the last needs to explicitely write the $ around the latex formula. 
> If the $ are forgotten, lyx converts the formula to text even if there 
> is a math symbol (beginning with \) in the formula.
> Could it be possible to automatically add the $ around the latex formula 
> when transforming it in math and a \ is detected in it ?
> I know the backslash is rather common in latex ;-) but we can assume 
> that each time a latex formula must be converted in math, all latex 
> symbols in the formula are math symbols.
> 
> But maybe I miss a good reason for always needing the $ ?

  Because that is the proper way to do it. ;-)
  
  What you can do is define a new bind that places the $'s for you there.
Not as difficult as it can be done for 1.3.5. :-)

> -- 
>  Dr. Nicolas Ferre'
>  Laboratoire de Chimie Theorique et de Modelisation Moleculaire
>  UMR 6517 - CNRS Universite' de Provence
>  Case 521 - Faculte' de Saint-Jerome
>  Av. Esc. Normandie Niemen
>  13397 MARSEILLE Cedex 20 (FRANCE)
>  Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
> 
>  Please avoid sending me Word or PowerPoint attachments.
>  See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Re: LaTeX/LyX math

2004-10-22 Thread Jean-Marc Lasgouttes
> "Nicolas" == Nicolas Ferré <[EMAIL PROTECTED]> writes:

Nicolas> Hi, A little wish about math. There are two ways for entering
Nicolas> math: open a math environment and type in it or write a latex
Nicolas> formula, select it and convert it in math using C-m for
Nicolas> instance. But the last needs to explicitely write the $
Nicolas> around the latex formula. If the $ are forgotten, lyx
Nicolas> converts the formula to text even if there is a math symbol
Nicolas> (beginning with \) in the formula. Could it be possible to
Nicolas> automatically add the $ around the latex formula when
Nicolas> transforming it in math and a \ is detected in it ? I know
Nicolas> the backslash is rather common in latex ;-) but we can assume
Nicolas> that each time a latex formula must be converted in math, all
Nicolas> latex symbols in the formula are math symbols.

Nicolas> But maybe I miss a good reason for always needing the $ ?

Probably because $ is only one of the possibilities, others being
\[..\] or eqnarray-like environments.

JMarc


Re: LyX bugzilla question

2004-10-22 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes:

Uwe> Hello, I just noticed, that bugzilla doesn't inform me any more
Uwe> about changes in bugs that I reported.

Did you check the " Only email me reports of changes made by other
people" setting in your Email settings prefs?

Uwe> Is it posible that the sender of bugzilla mails changed, so that
Uwe> my mail filter deletes them? What is the current sender,
Uwe> "bugzilla mailer daemon" or something similar?

I get
From: [EMAIL PROTECTED]

JMarc

PS: do you know that your name appears empty in bugzilla? This is a
bit annoying for comments you do to bugs.


Re: Test

2004-10-22 Thread Andrei Lomov
Carlos Knauer wrote:

> It? a test.
> Carlos Knauer

I also see a test

A.L.




a newbie trouble with "\left{ \right."

2004-10-22 Thread Andrei Lomov

In LyX 1.3.4,

I don't see how to write somthing like

\left{ \right.

in math mode...

Every "\left{" immediately results in "\left{ \right}"
:(

I'm sad with such an automation ...


---
Yours,
Andrei




Re: LaTeX/LyX math

2004-10-22 Thread Nicolas Ferré
Jean-Marc Lasgouttes a écrit :
"Nicolas" == Nicolas Ferré <[EMAIL PROTECTED]> writes:

Nicolas> Hi, A little wish about math. There are two ways for entering
Nicolas> math: open a math environment and type in it or write a latex
Nicolas> formula, select it and convert it in math using C-m for
Nicolas> instance. But the last needs to explicitely write the $
Nicolas> around the latex formula. If the $ are forgotten, lyx
Nicolas> converts the formula to text even if there is a math symbol
Nicolas> (beginning with \) in the formula. Could it be possible to
Nicolas> automatically add the $ around the latex formula when
Nicolas> transforming it in math and a \ is detected in it ? I know
Nicolas> the backslash is rather common in latex ;-) but we can assume
Nicolas> that each time a latex formula must be converted in math, all
Nicolas> latex symbols in the formula are math symbols.
Nicolas> But maybe I miss a good reason for always needing the $ ?
Probably because $ is only one of the possibilities, others being
\[..\] or eqnarray-like environments.
JMarc

Yes I agree. What I suggested was a sort of "hum ... silly, I forget the 
math delimiters" automatic correction, which action is to default to the 
$ delimiters when no delimiters are found. This way the user ... me ;-) 
avoids one error (actually I recently forget 3 or 4 times the math 
delimiters when writting some short titles, maybe because they are boxed 
in red).

--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


Re: [ANNOUNCE] LyX 1.3.5 is released

2004-10-22 Thread Didier Lemoine
Bonjour,
j'aimerais savoir si le rpm suivant
lyx-1.3.5-1rhel3_qt.i386.rpm
disponible depuis 2 jours sur le site
ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/
s'applique a la redhat 9.
Sinon, y-a t'il un rpm que je peux utiliser pour la redhat 9 ?
Merci de votre reponse.
Didier Lemoine
Jean-Marc Lasgouttes wrote:
Public release of LyX version 1.3.5
===
We are pleased to announce the release of LyX 1.3.5.
This is mainly a bugfix release, with few notable user-visible
improvements. However, we would like to highlight two fixes in particular:
 * Nested documents (with Insert>Include File...), which have been
   broken since LyX 1.2.0, should now work properly, including the
   case where the files are in different directories.
 * It is now possible to compile LyX with gcc 3.4.
The complete list of improvements and fixes can be found at the end of
this message.
In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:
  LyX is an advanced open source document processor that encourages
  an approach to writing based on the structure of your documents,
  not their appearance. LyX lets you concentrate on writing, leaving
  details of visual layout to the software.
  LyX runs on many Unix platforms, OS/2, and under Windows/Cygwin
  (this port requires an X server). It can also run natively on Mac
  OS X, thanks to the Qt/Mac library.
You can download LyX 1.3.5 here (the .bz2 are compressed with bzip2,
which yields smaller files):
ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.5.tar.gz
ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.5.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.3.5.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/lyx-1.3.5.tar.bz2
and it should propagate shortly to the following mirrors (which will also host
the .bz2 versions):
   ftp://ftp.sdsc.edu/pub/other/lyx/stable/lyx-1.3.5.tar.gz
   ftp://ftp.lip6.fr/pub/lyx/stable/lyx-1.3.5.tar.gz
   ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/lyx-1.3.5.tar.gz
   ftp://ftp.ntua.gr/pub/X11/LyX/stable/lyx-1.3.5.tar.gz
   ftp://ftp.icm.edu.pl/vol/rzm0/lyx/stable/lyx-1.3.5.tar.gz
Prebuilt binaries (mainly rpms for linux distributions) should soon be
available at
ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/
If you already have the LyX 1.3.4 sources, you may want to apply one
of the following patches instead
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.3.5.gz
ftp://ftp.lyx.org/pub/lyx/stable/patch-1.3.5.bz2
If you find what you think is a bug in LyX 1.3.5, you may either
e-mail the LyX developers' mailing list ([EMAIL PROTECTED]), or open
a bug report at http://bugzilla.lyx.org
If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/. If you can't find the answer there,
e-mail the LyX users' list ([EMAIL PROTECTED]).
Enjoy!
The LyX team.
What's new
==
** Updates
- Add a new textclass, svglobal. It is needed for various
 Springer Verlag journals for which no specific class exists.
- Add a new bindings file mac.bind for LyX/Mac.
- The script used to control the generation of bitmap images for use
 in 'Instant Preview' of math equations has been re-written in python.
 Windows users now have some chance of getting Instant Preview to
 work for them.
- The built-in Qt dialogs are now correctly translated for the
 languages that Qt supports [Qt >= 3.2 only].
- Add support for Icelandic, Latvian, Lithuanian and Nynorsk.
- Updated the Basque, Danish, German, Italian, Romanian, Russian (fix crash 
 when autosaving) and Spanish localizations. Updated the Basque and German 
 documentation.

** Bug fixes
* Document input/output:
- Partly fix the handling of included files. External insets are still not
 working correctly [bug #605].
- Fix nesting of language change commands, especially important for
 Arabic [bugs #1225, #1404].
- Fix missing line break in front of \end{...} in some cases [bug #1225].
- Run makeindex and bibtex correctly when the file name contains some
 special characters [bug #1526].
- Prevent clashes with LaTeX packages defining "\boldsymbol" [bug #1498].
- Make import of the preamble of LaTeX files more robust [bug #1584].
- Fix handling of floats and counters in  svjog and svprobth
 textclasses [bug #1430].
- Fix handling of counters in the scrlettr and scrlttr2 classes.
- Fix off-by-one-error which caused LyX to choose the wrong custom margin
 package.
- Remove extra spaces around math insets in plain text output.
- Quote shell variables correctly in the generated sh script used
 to control the conversion of graphics images to a loadable format.
 Ditto for the convertDefault.sh script.
* User Interface:
- Use opening quotation marks after an opening square bracket.
- Fix the toggling of the short title inset in some cases.
- When the autodetection of latex classes cannot be done for some
 reason, provide a sensible list of textclasses.
- Honor correctly the various locale-related 

Re: a newbie trouble with "\left{ \right."

2004-10-22 Thread Andrei Lomov
Andrei Lomov wrote:

> 
> In LyX 1.3.4,
> 
> I don't see how to write somthing like
> 
> \left{ \right.
> 
> in math mode

I just found an answer by means of math panel,
pressing "{" and the empty button.

 

 ---
 Yours,
 Andrei




Re: [ANNOUNCE] LyX 1.3.5 is released

2004-10-22 Thread José Abílio Oliveira Matos
On Fri, Oct 22, 2004 at 04:27:37PM +0200, Didier Lemoine wrote:
> Bonjour,
> 
> j'aimerais savoir si le rpm suivant
> 
> lyx-1.3.5-1rhel3_qt.i386.rpm
> 
> disponible depuis 2 jours sur le site
> 
> ftp://ftp.lyx.org/pub/lyx/bin/1.3.5/
> 
> s'applique a la redhat 9.

  Is the Red Hat Enterprise Linux based on Red Hat Linex 9?
  
  If yes, then it should work.
  
> Sinon, y-a t'il un rpm que je peux utiliser pour la redhat 9 ?

Read the instructions in
http://kde-redhat.sourceforge.net/

The rpm for lyx is:
http://apt.kde-redhat.org/apt/kde-redhat/9/RPMS.stable/lyx-1.3.5-0.fdr.2.rh90.i386.rpm

But probably it depends on the new version of qt from the same site.

> Merci de votre reponse.

  I hope it helps,

> Didier Lemoine
> 
> -- 
> Didier LEMOINE
> Laboratoire Collisions, Agrégats, Réactivité, UMR CNRS 5589
> Université Paul Sabatier, Bâtiment 3R1B4
> 118 route de Narbonne
> 31062 Toulouse Cedex 4, France
> 
> Phone: +33 561 55 75 55
> Fax:   +33 561 55 83 17
> Mailto:[EMAIL PROTECTED]
> Web:   http://www.car8.ups-tlse.fr/lemoine

-- 
José Abílio Matos
LyX and docbook a perfect match. :-)


Eqnarray in an itemize environment

2004-10-22 Thread Nicolas Ferré
Hi,
I cannot find some rules to have the first line of an eqnarray exactly 
aligned with the bullet of the itemize environment:

* x = 2y
  ** z = x
  ** a = z+1
   = x+1
   = 2y+1
I tried to use a minipage but the eqnarray is not exactly aligned with 
the bullet. Moreover it is hard to align the eqnarray in the minipage 
horizontally too, I mean with respect to other items of the same itemize 
level (e.g. "a" and "z")

--
 Dr. Nicolas Ferre'
 Laboratoire de Chimie Theorique et de Modelisation Moleculaire
 UMR 6517 - CNRS Universite' de Provence
 Case 521 - Faculte' de Saint-Jerome
 Av. Esc. Normandie Niemen
 13397 MARSEILLE Cedex 20 (FRANCE)
 Tel : (+33)4.91.28.27.33  Fax : (+33)4.91.28.87.58
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html


doublespace creates error in DVI

2004-10-22 Thread ashleigh smythe
Hello.  I am using Lyx 1.3.4 on RedHat 9. I have been using the
article(elsevier) class with good success for a month or so now.  I now
need to have it doublespaced rather than single spaced.  I tried under
Layout -> Document -> Linespacing changing to doublespaced but when I
generate a DVI or try to print I get the following 2 errors:

1.
Missing number, treated as zero.
 \doublespacing
   
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

2.
Undefined control sequence.
 \doublespacing
   
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


I have googled these errors and seen mention of them but without a
solution that makes sense to me.  I do have setspace.sty in my tex
directory, and I have tried putting \usepackage{setspace} in the
preamble and then reconfiguring and then restarting.  I've also tried
running texhash as root and then restarting. I get the same 2 errors
still.

Does anyone have any other ideas for what I should try?

Thanks!

Ashleigh




Re: Eqnarray in an itemize environment

2004-10-22 Thread Uwe Stöhr
Nicolas Ferré wrote:
I cannot find some rules to have the first line of an eqnarray exactly 
aligned with the bullet of the itemize environment
You need some special commands to get this. They are explained in
http://www.perce.de/LaTeX/math/Mathmode.pdf
in chapter 70 and 72.2.
regards Uwe


Re: LyX bugzilla question

2004-10-22 Thread Uwe Stöhr
Jean-Marc Lasgouttes wrote:
Did you check the " Only email me reports of changes made by other
people" setting in your Email settings prefs?
Yes I did.
PS: do you know that your name appears empty in bugzilla? This is a
bit annoying for comments you do to bugs.
Hä? I can't see this. E.g. in
http://bugzilla.lyx.org/show_bug.cgi?id=1528
you can read that I'm the reporter and that comment #2 is from me.
(OK bugzilla doesn't support unicode, so that the "ö" in my name appears 
as "?" but the rest is readable.)

regards Uwe


Re: Math fonts on Windows

2004-10-22 Thread Andre Poenitz
On Thu, Oct 21, 2004 at 01:22:04PM +0200, Vaclav Smidl wrote:
> However, there is one issue I can not get rid of: the characters
> for \sum and \int are displayed much higher than they should (as if
> the character was sitting on top of the box where it should be). The
> formulas look quite bad.
> 
> I thought it has something to do with font metrics so I tried both
> latex-xtf and bakoma fonts, without any effect.
> 
> Can anybody confirm this?

I have seen this.

> Any suggestions?

Not really.

Well, on second thoughts, have a look at MathSymbolInset::metrics()
in mathed/math_symbolinset.C. There is already some hack wrt wrong
font metrics.

Andre'


Re: Wrapping very wide math equations?

2004-10-22 Thread Andre Poenitz
On Tue, Oct 19, 2004 at 12:52:52PM +0200, Peter Ljunglöf wrote:
> In my current work I tend to get quite wide math equations; i.e. they  
> are wide LaTeX-wise (and also in LyX), but they will be printed on one  
> line in the end. I guess one reason is that I use some LaTeX commands  
> which I have defined in the preamble and not in the LyX file. An  
> equation might look like this (in LyX):
> 
> \Rule{\Item{o}{i-j;f:A.r->s0 X1 s1 ... sn-1 Xn  
> sn}\Item{o}{jd-kd;Xd}}{\Item{x}{A->f[B];r=j...k; 
> G}}\When{Gi=(r'=j'...k'|Xd=Bi.r')}
> 
> The commands \Rule, \Item, \When are defined in the preamble, since  
> they are quite complicated.

Note that you can use the secnd argument of math maro definitions to
give any macro any visual appearance that's 'fakeable' by other math
constructs.

> In the dvi file, the equation looks nice,  
> but in LyX the equation is too wide and does not fit in the window. The  
> problem is that it gets difficult to edit, since I don't see what I  
> write at the end of the equation...
> 
> Either I would like a way of manually line breaking an equation, only  
> in LyX, not in the dvi/pdf/ps file.

I have recently changed my mind about the difficulties to implement such
a thing and even know of a working implementation *cough*. However, I am
not sure how this approach translates from toy sized formulas to the
amount of formulas that may show up on a LyX screen. Idea is to have a
'line break inset' and extend the MathArray dim_ cache to a
vector linedims_, and handle 'line jumps' when 'drawing' such
a 'line break inset'. Conceptually not very hard, but costs at least 12
bytes for the vector 'wrapper' and around 12 + n x lines  for the
dynamic part, i.e at least 28 more byte for _every_ math 'blue box', even for
those not using the feature. Of course, situation would improve if the
size cache were moved off the insets, which is also possible an
intented. But not today.. 

> Or I'd request that the equation view follows the cursor so that I can  
> see what I write even at the end.

Probably more effort to implement as this requires support from the
frontend. The other solution is a 'pure core solution'.

Andre'