Re: small bug

1998-11-04 Thread Jean-Marc Lasgouttes

 "Stefano" == Stefano Ghirlanda [EMAIL PROTECTED] writes:

Stefano yes, I understand. The only problem here is that I couldn't
Stefano tell that the \ was in noun mode. But the minibuffer showed
Stefano indeed the correct information, so it was stupid on my side
Stefano not to realise what was going on.

You are right: LyX should not allow font changes inside of LaTeX mode,
since they do not make sense.

JMarc

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: small bug

1998-11-04 Thread Jean-Marc Lasgouttes

 "Stefano" == Stefano Ghirlanda [EMAIL PROTECTED] writes:

 You are right: LyX should not allow font changes inside of LaTeX
 mode, since they do not make sense.

Stefano Hmhmhm, this sounds well said.

In fact, I you take a look at BUGS.lyx, you'll find a much better
description of the same thing ;) (at least in 1.0.0pre2, I believe)

Stefano BTW, it's nice to have developers in the same time zone!

Yes. However, even with people like Allan Rae in Australia, we manage
to have some time in common for direct communication.

JMarc

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: small bug

1998-11-04 Thread Stefano Ghirlanda


 You are right: LyX should not allow font changes inside of LaTeX mode,
 since they do not make sense.

Hmhmhm, this sounds well said.
BTW, it's nice to have developers in the same time zone!
Stefano

 Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden
Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED]
   Support Free Science, look at: http://rerumnatura.zool.su.se

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Segemntation violation

1998-11-04 Thread Michael Hanke


Hallo,

I noticed the following behaviour with LyX-1.0.0pre2: Usually I am
using direct LaTeX notation for math insets because it is much faster
than using the GUI (\Omega, \nabla ...). If I am typing complicated
index expressions very fast, I get segmentation violation errors. LyX
is able to dump the current state of the document, so there is no
loose of information. These errors disappear if I am not wrinting to
fast.

Michael

+---+
|  Michael HankeRoyal Institute of Technology   |
|   NADA|
|   S-10044 Stockholm   |
|   Sweden  |
+---+
|  Visiting address:Lindstedtsvaegen 3  |
|  Phone:   + (46) (8) 790 6278 |
|  Fax: + (46) (8) 790 0930 |
|  Email:   [EMAIL PROTECTED]   |
|   [EMAIL PROTECTED]   |
+---+

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Empty layouts and ReLyX

1998-11-04 Thread Alain Castera

Hi 

Maybe this should be sent to the developper list. Sorry .

In order to use LyX to produce Elsevier preprints (elsart.cls), I defined
a new "elsart.layout", mainly based on article.layout. As the title stuff
is intended to be enclosed in a so called "frontmatter" environment, I
defined a new style :

Style Frontmatter
  LatexType Environment
  LatexName frontmatter
  KeepEmpty 1
  LabelType No_label
End

  
It is a bit tricky to use it (use of "change environment depth" button),
but produced the expected latex output. But ReLyX was anable to handle it
: it seemed to forgot to ouput the "layout Frontmatter" line, leading Lyx
to crash when reading the converted file ( "\begin_deeper" just after
"\end_preamble"). 

In the end, I modified BasicLyX.pm by :

adding a global variable; let's call it $PendingLayout.
setting it to true in ConvertToLayout, together with $IsNewParagraph.
setting it to false in CheckForNewParagraph, together with $IsNewParagraph.
Checking it before calling ConvertToLayout, and call CheckForNewParagraph
if true.

Result seems to be OK, but I don't know if it is the right way to to it (I
don't speak Pearl... and just a little bit English).

My questions are :

Was it the right way to declare Frontmatter (i.e. an environment which
contains only other environments or commands, and no data ) ?
If yes, this mail couls be considered as a bug report for ReLyX, and does
my correction introduce  any side effect ?
  
Thanks

Alain

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Figure rendering

1998-11-04 Thread Todd Keaffaber


Hi,

   I just upgraded from 0.12 to 1.0.0pre2 (Oct 14).  When I open a file
 that I created with 0.12 that has lots of figures (of which are
 encapsulated postscipt files), the figures do not display.  The
 message [rendering...] is displayed, but the rendering is never
 finished.  Have I forgotten something or do I need to re-enter the
 figures?  The figures are all in figure-floats.

Thanks for any help,
Todd

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.



Re: rotating table

1998-11-04 Thread Bernhard Kohn

Hi Stefano!

On Wed, 4 Nov 1998, Stefano Ghirlanda wrote:

 Hi,
 I have a very wide talbe, got to rotate it. The  rotate 90 checkbox in
 the table popup works fine, but I need to rotate the caption (above) and
 the text below (inside the tab box) also. I tried to enclose the whole
 table in \rotatebox{90}{ ... } but it complains because there are empty
 lines in the table (I guess). Found nothing else in Kopka  Daly.
I have the same problem. Here is the solution:

You must use the rotating package (not rotate).
There exist a float table enviroment called: sidewaytable
So, you have to put in tex mode
\begin{sidewaytable}

"here is now the normal table(not as a float"

\end{sidewaytable}

before or after the table you have to place the caption, by choosing the
caption layout (instet of the standard layout).
Don't bother when lyx tells you "sensless". It works!
Maybe my explanation is not very clear, therefore I have attached a
lyx-document called sideway, where you can look at.

good luck!


 
Help! Work due on monday...
 
  Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
 Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden
 Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED]
Support Free Science, look at: http://rerumnatura.zool.su.se
 
 -- 
   +++ the lyx project user mailing list +++
 To unsubscribe from this list send mail to 
  [EMAIL PROTECTED]
 with the **Subject** unsubscribe.
 
 


Bernhard Kohn
Max-Planck-Institut fuer Stroemungsforschung
Bunsenstr. 10
37073 Goettingen

Tel.: 0551-5176-578 Buero I
   -574 Buero II
   -709 Labor

Fax:  0551-5176-607 
   -704 

email: [EMAIL PROTECTED]




 sidewaytable example


Re: rotating table

1998-11-04 Thread Stefano Ghirlanda

Hi Bernhard,

 You must use the rotating package (not rotate).
 There exist a float table enviroment called: sidewaytable
 So, you have to put in tex mode
 \begin{sidewaytable}
 
 "here is now the normal table(not as a float"
 
 \end{sidewaytable}

It worked, thanks! I remembered something about this sideways stuff, but
couldn't find it.

Now the usual silly comment: hey, it would be great that this would be
included in lyx!

I also have an additional small question: if I add text below the table,
is rotated correctly, but I would like also that it had the same width of
the table. Now I guess the width with a \parbox...

All the best,
 
 Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden
Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED]
   Support Free Science, look at: http://rerumnatura.zool.su.se

-- 
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to 
 [EMAIL PROTECTED]
with the **Subject** unsubscribe.