Re: Lyx upgrade Latex to Lyx *.cls files

2002-10-11 Thread Herbert Voss

Carole Womeldorf wrote:

 Quick question - will I be losing any functionality by doing this?  Are
 tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70)
 but just not registering as individual programs in the rpm database?


there is no problem

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: LyX 1.2.1 build failure under YellowDog 2.3

2002-10-11 Thread Jean-Marc Lasgouttes

 David == David Garza [EMAIL PROTECTED] writes:

David I'm running into trouble trying to build LyX 1.2.1 from the
David source RPM, but I get the following error when I try to
David compile:

Some people claim that there is a problem with gcc 2.95.4 (which does
not officially exist, BTW). Some people claim that they were able to
fix this by using -O optimization only.

Some people have the same problem with many more unsatisfied symbols,
but this is mainly with non-linux systems.

As you can see the problem is murky...

JMarc




Re: wide char support override?

2002-10-11 Thread Jean-Marc Lasgouttes

 Andre == Andre Poenitz [EMAIL PROTECTED] writes:

Andre On Thu, Oct 10, 2002 at 02:31:56PM -0500, [EMAIL PROTECTED] wrote:
 Howdy, is there any non-hairy way of compiling latest lyx build
 without wide char support? I'm using OpenBSD and it does not yet
 have wchar.h.

Andre How about copying a wchar.h from a system that has it?
Andre [Actually I am a bit surprised by your statement. Does 'grep
Andre wchar /usr/include/*' indeed yield nothing?]

This is a real problem and I think a bug in the boost version used in
1.2.x. Unfortunately I am a bit wary of upgrading boost in 1.2.2...

JMarc



Re: LyX scrolls too fast

2002-10-11 Thread Jean-Marc Lasgouttes

 Paul == Paul Tremblay [EMAIL PROTECTED] writes:

Paul I also realized that there is a buffer at the bottom of LyX that
Paul works like emacs. However, being a vim person, I don't know how
Paul this works, and also couldn't find any documentation on it.

Type M-x and you can enter the name of a function with arguments. 

JMarc



Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Ralf Goertz wrote:

 
 how can I start a environment immediatly after starting a new item?
 I want to have something like
 
 I am going to proof it using two seperate claims
 1. Claim. I claim...
 Proof. Here it is...
 2. Let A be this
Claim. ...
Proof. ...
 Furthermore...

write all in the itemize/enumerate layout, then
- put the cursor into the line which should become another
   layout
- Layout-Increase environment Depth
- change this line(s) to proof or anything else.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Ralf Goertz wrote:

 Okay it works with ERT. But wouldn't it be nice if it were possible with pure 
 LyX? E.g. it would be nice to be able to have an empty enum-line. I know 
 there are good reasons not to allow it. I use my own layout file. Therefore I 
 would like to have a switch in that layout file that tells LyX not to erase 
 an empty line in enumerate and if it encounters one not to insert a empty 
 line. Then I could increase the depth of the following line and use another 
 environment and would get what I want. Just a suggestion.


modify the layoutfile.
- copy stdlists.inc from /usr/local/share/lyx/layouts
   into ~/.lyx/layouts
- insert a line
   KeepEmpty1
   into the enumerate style

from now you get an empty enumerate line

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: environenment within enumerate

2002-10-11 Thread Ralf Goertz

Am Freitag, 11. Oktober 2002 12:44 schrieb Herbert Voss:
 Ralf Goertz wrote:
  how can I start a environment immediatly after starting a new item?
  I want to have something like
 
  I am going to proof it using two seperate claims
  1. Claim. I claim...
  Proof. Here it is...
  2. Let A be this
 Claim. ...
 Proof. ...
  Furthermore...

 write all in the itemize/enumerate layout, then
 - put the cursor into the line which should become another
layout
 - Layout-Increase environment Depth
 - change this line(s) to proof or anything else.

 Herbert

No this doesn't work for an empty first line. That's what I do in the second 
item of the above example. But I can't increase the depth of the line 
containig the enumi-counter. In latex I want 

\begin{enumerate}
\item \begin{claim*} blah... \end{claim*}
\begin{proof} blah \end{proof}

\item blah
\end{enumerate}

I just noticed that with amsthm a new line is started anyway but with ntheorem 
ist works.

Ralf



Maple2Lyx

2002-10-11 Thread J.Lauffenburger

Is it possible to convert Maple solutions into Lyx Math equations?
I've got some bad equations which would be difficult to write by hand in
Lyx.


Thanks
Jean-Philippe





Re: Maple2Lyx

2002-10-11 Thread Andre Poenitz

On Fri, Oct 11, 2002 at 04:25:58PM +0200, J.Lauffenburger wrote:
 Is it possible to convert Maple solutions into Lyx Math equations?
 I've got some bad equations which would be difficult to write by hand in
 Lyx.

In Maple:   latex(your+expression);
CutPaste this to the LyX canvas
Surround it by $$
Mark it using mouse/cursor
Press C-M

Out of curiosity: How does the difficult equation look like and how did you
obtain it?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Ralf Goertz wrote:

 No this doesn't work for an empty first line. That's what I do in the second 
 item of the above example. But I can't increase the depth of the line 
 containig the enumi-counter. In latex I want 
 
 \begin{enumerate}
 \item \begin{claim*} blah... \end{claim*}


ok, write the \begin{} \end{} in TeX (red)

   prrof blah


increase the environment depth for this line and choose
layout proof.

 
 \item blah
 \end{enumerate}



Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Maple2Lyx

2002-10-11 Thread Andre Poenitz

On Fri, Oct 11, 2002 at 04:34:29PM +0200, Andre' Poenitz wrote:
 In Maple:   latex(your+expression);
 CutPaste this to the LyX canvas
 Surround it by $$
 Mark it using mouse/cursor
 Press C-m

Hm. Slightly less effort in the long run:

In Maple:   latex(your+expression);
CutPaste this to the LyX canvas
Press C-m
  Press C-t i

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



graphics and floats in lyx 1.2.1

2002-10-11 Thread Matthias Quick

hello LyxList

Im using lyx 1.2.1 and tried the following:
i want to have a float and in this float a graphic so i did (i found it like
this in the user guide) the following: insertfloatfigure entered my text and
selected a graphic: insertgraphics
when  I want to view the text in either dvi or ps or anything else I get two
error-messages:
#I've run across a `}' that doesn't seem to match anything.
#For example, `\def\a#1{...}' and `\a}' would produce
#this error. If you simply proceed now, the `\par' that
#I've just inserted will cause me to report a runaway
#argument that might be the root of the problem. But if
#your `}' was spurious, just type `2' and it will go away.

and

#I suspect you've forgotten a `}', causing me to apply this
#control sequence to too much text. How can we recover?
#My plan is to forget the whole thing and hope for the best.


whats wrong?

I found this workaround: export it as *.latex run latex and ignore the
error-msgs, but i do not want to run it manually, thats why i use lyx;-) have
you got any ideas


thanks a lot
Matthias




Re: environenment within enumerate

2002-10-11 Thread Ralf Goertz

Am Freitag, 11. Oktober 2002 13:13 schrieb Herbert Voss:
 Ralf Goertz wrote:
  No this doesn't work for an empty first line. That's what I do in the
  second item of the above example. But I can't increase the depth of the
  line containig the enumi-counter. In latex I want
 
  \begin{enumerate}
  \item \begin{claim*} blah... \end{claim*}

 ok, write the \begin{} \end{} in TeX (red)

  prrof blah

 increase the environment depth for this line and choose
 layout proof.

  \item blah
  \end{enumerate}

Okay it works with ERT. But wouldn't it be nice if it were possible with pure 
LyX? E.g. it would be nice to be able to have an empty enum-line. I know 
there are good reasons not to allow it. I use my own layout file. Therefore I 
would like to have a switch in that layout file that tells LyX not to erase 
an empty line in enumerate and if it encounters one not to insert a empty 
line. Then I could increase the depth of the following line and use another 
environment and would get what I want. Just a suggestion.

Ralf
-- 
Please remove one x in my mail address




environenment within enumerate

2002-10-11 Thread Ralf Goertz

Hi,

how can I start a environment immediatly after starting a new item?
I want to have something like

I am going to proof it using two seperate claims
1. Claim. I claim...
Proof. Here it is...
2. Let A be this
   Claim. ...
   Proof. ...
Furthermore...

Claim and Proof are environments (from amsthm). The second item works fine, 
but the first item is impossible, because LyX does not allow an empty item 
line.

Ralf

-- 
Please remove one x in my mail address



Re: environenment within enumerate

2002-10-11 Thread Dekel Tsur

On Fri, Oct 11, 2002 at 01:33:54PM +0200, Ralf Goertz wrote:
 Okay it works with ERT. But wouldn't it be nice if it were possible with pure 
 LyX? E.g. it would be nice to be able to have an empty enum-line. I know 
 there are good reasons not to allow it. I use my own layout file. Therefore I 
 would like to have a switch in that layout file that tells LyX not to erase 
 an empty line in enumerate and if it encounters one not to insert a empty 
 line. Then I could increase the depth of the following line and use another 
 environment and would get what I want. Just a suggestion.

No need for ERT or changing the layout file.
You can just put a note inset in the enumerate paragraph that you with to be
empty. (or you can put % in ERT).




Re: graphics and floats in lyx 1.2.1

2002-10-11 Thread Bo Peng

On Fri, Oct 11, 2002 at 04:51:11PM +0200, Matthias Quick wrote:
 #I suspect you've forgotten a `}', causing me to apply this
 #control sequence to too much text. How can we recover?
 #My plan is to forget the whole thing and hope for the best.

 whats wrong?

At which point did you insert graphics? You are not supposed to 
insert a graph in the title line.  Try:
 1. insert-float-figure
 2. type the title
 3. enter, at either the beginning (title after graph) or the end  
   (title before graph) of the title.
 4. insert graphics.
 
 
-- 
Bo Peng



Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Dekel Tsur wrote:

 No need for ERT or changing the layout file.
 You can just put a note inset in the enumerate paragraph that you with to be
 empty. (or you can put % in ERT).


sure, but when you need it more than once, it is better

to change the layout file.

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Maple2Lyx

2002-10-11 Thread Dekel Tsur

On Fri, Oct 11, 2002 at 04:34:29PM +0200, Andre Poenitz wrote:
 On Fri, Oct 11, 2002 at 04:25:58PM +0200, J.Lauffenburger wrote:
  Is it possible to convert Maple solutions into Lyx Math equations?
  I've got some bad equations which would be difficult to write by hand in
  Lyx.
 
 In Maple:   latex(your+expression);
 CutPaste this to the LyX canvas
 Surround it by $$
 Mark it using mouse/cursor
 Press C-M

Or you can invoke maple on the current LyX formula by typing, e.g.
M-x math-extern maple simplify



Re: LyX scrolls too fast

2002-10-11 Thread Matt Brennan


On Thu, 10 Oct 2002, Paul Tremblay wrote:

 When I try to hi-lite text using a standard mouse, LyX scrolls too fast.
 For example, I have a paragraph at the bottom of the page. I want to
 hi-lite this paragrah, and the three below. I hi-lite the paragraph I
 can see, and then drag the mouse past the bottom of the window. But the
 text jumps so fast, I am 10 or 15 paragraphs down.


You can do all the highlighting/selection with the keyboard.   The exact
keystrokes depend on your keybindings.  Here is a snippet from my bind
file; using these commands, you could highlight 4 paragraphs with 4
keystrokes.

\bind S-C-Up paragraph-up-select
\bind S-C-Down   paragraph-down-select

If you are unfamiliar with using key bindings, see the LyX User's Guide
and Customization help.

 This seemingly small problem is quite big. Right now I can't hi-lite the
 text I want.

Yes, I agree this is an annoying problem.  Hopefully someone can enlighten
us as to how to fix it rather than work around it.

mb

-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-

 Environmental Fluid Mechanics Lab, Rm. 524K
 Civil  Environmental Engineering   ph#: 650/725.5948
 Stanford University [EMAIL PROTECTED]
 Stanford, CA 94305-4020 fluid.stanford.edu/~mbrennan






Re: LyX scrolls too fast

2002-10-11 Thread Scott Otterson

Same problem here, too.  Mouse text selection isn't usable if the select
region crosses a page boundary.

Scott

Vladimir Milovanovic wrote:

Yeah, I have the same problem. The only way that I know to get around it
is to highlight using the shift key and the cursor keys, but it does get
tedious when you have to highlight a lot of text. Maybe someone else
knows a better way? I already set the mousewheel scrolls setting to 1
line in KDE, but it had no effect.

Cheers,
Vlad.

Paul Tremblay wrote:
When I try to hi-lite text using a standard mouse, LyX scrolls too fast.
For example, I have a paragraph at the bottom of the page. I want to
hi-lite this paragrah, and the three below. I hi-lite the paragraph I
can see, and then drag the mouse past the bottom of the window. But the
text jumps so fast, I am 10 or 15 paragraphs down.

I checked the archives and google, and couldn't find any hits for this
problem. Do I need to change something in my .Xauthority file?

I also realized that there is a buffer at the bottom of LyX that works
like emacs. However, being a vim person, I don't know how this works,
and also couldn't find any documentation on it.

This seemingly small problem is quite big. Right now I can't hi-lite the
text I want.

Thanks

Paul

--


*Paul Tremblay *
*[EMAIL PROTECTED]*






Roman numerals page numbers

2002-10-11 Thread Vladimir Milovanovic

I seem to remember doing this, but I don't know how to do it anymore...
I want to number the pages up to the Chapter One using roman numerals, 
i.e. the table of contents and list of figures and tables, the abstract 
etc, they must all be numbered using roman numerals. How is this done?

Thanks,
Vlad.





Re: LyX 1.2.1 build failure under YellowDog 2.3

2002-10-11 Thread David M. Garza

After more experimentation I've found I can install directly from the tarball using 
the normal configure/make/make install procedure, so I'm guessing the problem lies in 
rpm's environment being subtly different from when I do a make.  I'm going to compare 
the output from make and the rpm build proces to look for clues, but I have no 
experience troubleshooting RPM's so I'm open to other ideas.  While I can live with 
just the tarball install, I'd prefer to have the thing registered with RPM.

David

-- 
---
David M. Garza  WRW 415B 
Email: [EMAIL PROTECTED]   ASE/EM Department
Phone: (512) 471-6069   The University of Texas at Austin



Re: Roman numerals page numbers

2002-10-11 Thread Dekel Tsur

On Fri, Oct 11, 2002 at 08:28:36PM +0200, Vladimir Milovanovic wrote:
 I seem to remember doing this, but I don't know how to do it anymore...
 I want to number the pages up to the Chapter One using roman numerals, 
 i.e. the table of contents and list of figures and tables, the abstract 
 etc, they must all be numbered using roman numerals. How is this done?

For the book class, write
  \frontmatter
(in latex mode) at the beginning of the document, and
  \mainmatter
before the 1st chapter.

If you are using a class for which the above doesn't work, use
  \renewcommand{\thepage}{\roman{page}}
to change to Roman numbering, and
  \renewcommand{\thepage}{\arabic{page}}
to switch to normal numbering.



Re: Lyx upgrade Latex to Lyx *.cls files

2002-10-11 Thread Herbert Voss

Carole Womeldorf wrote:

 Quick question - will I be losing any functionality by doing this?  Are
 tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70)
 but just not registering as individual programs in the rpm database?


there is no problem

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: LyX 1.2.1 build failure under YellowDog 2.3

2002-10-11 Thread Jean-Marc Lasgouttes

 David == David Garza [EMAIL PROTECTED] writes:

David I'm running into trouble trying to build LyX 1.2.1 from the
David source RPM, but I get the following error when I try to
David compile:

Some people claim that there is a problem with gcc 2.95.4 (which does
not officially exist, BTW). Some people claim that they were able to
fix this by using -O optimization only.

Some people have the same problem with many more unsatisfied symbols,
but this is mainly with non-linux systems.

As you can see the problem is murky...

JMarc




Re: wide char support override?

2002-10-11 Thread Jean-Marc Lasgouttes

 Andre == Andre Poenitz [EMAIL PROTECTED] writes:

Andre On Thu, Oct 10, 2002 at 02:31:56PM -0500, [EMAIL PROTECTED] wrote:
 Howdy, is there any non-hairy way of compiling latest lyx build
 without wide char support? I'm using OpenBSD and it does not yet
 have wchar.h.

Andre How about copying a wchar.h from a system that has it?
Andre [Actually I am a bit surprised by your statement. Does 'grep
Andre wchar /usr/include/*' indeed yield nothing?]

This is a real problem and I think a bug in the boost version used in
1.2.x. Unfortunately I am a bit wary of upgrading boost in 1.2.2...

JMarc



Re: LyX scrolls too fast

2002-10-11 Thread Jean-Marc Lasgouttes

 Paul == Paul Tremblay [EMAIL PROTECTED] writes:

Paul I also realized that there is a buffer at the bottom of LyX that
Paul works like emacs. However, being a vim person, I don't know how
Paul this works, and also couldn't find any documentation on it.

Type M-x and you can enter the name of a function with arguments. 

JMarc



Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Ralf Goertz wrote:

 
 how can I start a environment immediatly after starting a new item?
 I want to have something like
 
 I am going to proof it using two seperate claims
 1. Claim. I claim...
 Proof. Here it is...
 2. Let A be this
Claim. ...
Proof. ...
 Furthermore...

write all in the itemize/enumerate layout, then
- put the cursor into the line which should become another
   layout
- Layout-Increase environment Depth
- change this line(s) to proof or anything else.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Ralf Goertz wrote:

 Okay it works with ERT. But wouldn't it be nice if it were possible with pure 
 LyX? E.g. it would be nice to be able to have an empty enum-line. I know 
 there are good reasons not to allow it. I use my own layout file. Therefore I 
 would like to have a switch in that layout file that tells LyX not to erase 
 an empty line in enumerate and if it encounters one not to insert a empty 
 line. Then I could increase the depth of the following line and use another 
 environment and would get what I want. Just a suggestion.


modify the layoutfile.
- copy stdlists.inc from /usr/local/share/lyx/layouts
   into ~/.lyx/layouts
- insert a line
   KeepEmpty1
   into the enumerate style

from now you get an empty enumerate line

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: environenment within enumerate

2002-10-11 Thread Ralf Goertz

Am Freitag, 11. Oktober 2002 12:44 schrieb Herbert Voss:
 Ralf Goertz wrote:
  how can I start a environment immediatly after starting a new item?
  I want to have something like
 
  I am going to proof it using two seperate claims
  1. Claim. I claim...
  Proof. Here it is...
  2. Let A be this
 Claim. ...
 Proof. ...
  Furthermore...

 write all in the itemize/enumerate layout, then
 - put the cursor into the line which should become another
layout
 - Layout-Increase environment Depth
 - change this line(s) to proof or anything else.

 Herbert

No this doesn't work for an empty first line. That's what I do in the second 
item of the above example. But I can't increase the depth of the line 
containig the enumi-counter. In latex I want 

\begin{enumerate}
\item \begin{claim*} blah... \end{claim*}
\begin{proof} blah \end{proof}

\item blah
\end{enumerate}

I just noticed that with amsthm a new line is started anyway but with ntheorem 
ist works.

Ralf



Maple2Lyx

2002-10-11 Thread J.Lauffenburger

Is it possible to convert Maple solutions into Lyx Math equations?
I've got some bad equations which would be difficult to write by hand in
Lyx.


Thanks
Jean-Philippe





Re: Maple2Lyx

2002-10-11 Thread Andre Poenitz

On Fri, Oct 11, 2002 at 04:25:58PM +0200, J.Lauffenburger wrote:
 Is it possible to convert Maple solutions into Lyx Math equations?
 I've got some bad equations which would be difficult to write by hand in
 Lyx.

In Maple:   latex(your+expression);
CutPaste this to the LyX canvas
Surround it by $$
Mark it using mouse/cursor
Press C-M

Out of curiosity: How does the difficult equation look like and how did you
obtain it?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Ralf Goertz wrote:

 No this doesn't work for an empty first line. That's what I do in the second 
 item of the above example. But I can't increase the depth of the line 
 containig the enumi-counter. In latex I want 
 
 \begin{enumerate}
 \item \begin{claim*} blah... \end{claim*}


ok, write the \begin{} \end{} in TeX (red)

   prrof blah


increase the environment depth for this line and choose
layout proof.

 
 \item blah
 \end{enumerate}



Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Maple2Lyx

2002-10-11 Thread Andre Poenitz

On Fri, Oct 11, 2002 at 04:34:29PM +0200, Andre' Poenitz wrote:
 In Maple:   latex(your+expression);
 CutPaste this to the LyX canvas
 Surround it by $$
 Mark it using mouse/cursor
 Press C-m

Hm. Slightly less effort in the long run:

In Maple:   latex(your+expression);
CutPaste this to the LyX canvas
Press C-m
  Press C-t i

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



graphics and floats in lyx 1.2.1

2002-10-11 Thread Matthias Quick

hello LyxList

Im using lyx 1.2.1 and tried the following:
i want to have a float and in this float a graphic so i did (i found it like
this in the user guide) the following: insertfloatfigure entered my text and
selected a graphic: insertgraphics
when  I want to view the text in either dvi or ps or anything else I get two
error-messages:
#I've run across a `}' that doesn't seem to match anything.
#For example, `\def\a#1{...}' and `\a}' would produce
#this error. If you simply proceed now, the `\par' that
#I've just inserted will cause me to report a runaway
#argument that might be the root of the problem. But if
#your `}' was spurious, just type `2' and it will go away.

and

#I suspect you've forgotten a `}', causing me to apply this
#control sequence to too much text. How can we recover?
#My plan is to forget the whole thing and hope for the best.


whats wrong?

I found this workaround: export it as *.latex run latex and ignore the
error-msgs, but i do not want to run it manually, thats why i use lyx;-) have
you got any ideas


thanks a lot
Matthias




Re: environenment within enumerate

2002-10-11 Thread Ralf Goertz

Am Freitag, 11. Oktober 2002 13:13 schrieb Herbert Voss:
 Ralf Goertz wrote:
  No this doesn't work for an empty first line. That's what I do in the
  second item of the above example. But I can't increase the depth of the
  line containig the enumi-counter. In latex I want
 
  \begin{enumerate}
  \item \begin{claim*} blah... \end{claim*}

 ok, write the \begin{} \end{} in TeX (red)

  prrof blah

 increase the environment depth for this line and choose
 layout proof.

  \item blah
  \end{enumerate}

Okay it works with ERT. But wouldn't it be nice if it were possible with pure 
LyX? E.g. it would be nice to be able to have an empty enum-line. I know 
there are good reasons not to allow it. I use my own layout file. Therefore I 
would like to have a switch in that layout file that tells LyX not to erase 
an empty line in enumerate and if it encounters one not to insert a empty 
line. Then I could increase the depth of the following line and use another 
environment and would get what I want. Just a suggestion.

Ralf
-- 
Please remove one x in my mail address




environenment within enumerate

2002-10-11 Thread Ralf Goertz

Hi,

how can I start a environment immediatly after starting a new item?
I want to have something like

I am going to proof it using two seperate claims
1. Claim. I claim...
Proof. Here it is...
2. Let A be this
   Claim. ...
   Proof. ...
Furthermore...

Claim and Proof are environments (from amsthm). The second item works fine, 
but the first item is impossible, because LyX does not allow an empty item 
line.

Ralf

-- 
Please remove one x in my mail address



Re: environenment within enumerate

2002-10-11 Thread Dekel Tsur

On Fri, Oct 11, 2002 at 01:33:54PM +0200, Ralf Goertz wrote:
 Okay it works with ERT. But wouldn't it be nice if it were possible with pure 
 LyX? E.g. it would be nice to be able to have an empty enum-line. I know 
 there are good reasons not to allow it. I use my own layout file. Therefore I 
 would like to have a switch in that layout file that tells LyX not to erase 
 an empty line in enumerate and if it encounters one not to insert a empty 
 line. Then I could increase the depth of the following line and use another 
 environment and would get what I want. Just a suggestion.

No need for ERT or changing the layout file.
You can just put a note inset in the enumerate paragraph that you with to be
empty. (or you can put % in ERT).




Re: graphics and floats in lyx 1.2.1

2002-10-11 Thread Bo Peng

On Fri, Oct 11, 2002 at 04:51:11PM +0200, Matthias Quick wrote:
 #I suspect you've forgotten a `}', causing me to apply this
 #control sequence to too much text. How can we recover?
 #My plan is to forget the whole thing and hope for the best.

 whats wrong?

At which point did you insert graphics? You are not supposed to 
insert a graph in the title line.  Try:
 1. insert-float-figure
 2. type the title
 3. enter, at either the beginning (title after graph) or the end  
   (title before graph) of the title.
 4. insert graphics.
 
 
-- 
Bo Peng



Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Dekel Tsur wrote:

 No need for ERT or changing the layout file.
 You can just put a note inset in the enumerate paragraph that you with to be
 empty. (or you can put % in ERT).


sure, but when you need it more than once, it is better

to change the layout file.

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Maple2Lyx

2002-10-11 Thread Dekel Tsur

On Fri, Oct 11, 2002 at 04:34:29PM +0200, Andre Poenitz wrote:
 On Fri, Oct 11, 2002 at 04:25:58PM +0200, J.Lauffenburger wrote:
  Is it possible to convert Maple solutions into Lyx Math equations?
  I've got some bad equations which would be difficult to write by hand in
  Lyx.
 
 In Maple:   latex(your+expression);
 CutPaste this to the LyX canvas
 Surround it by $$
 Mark it using mouse/cursor
 Press C-M

Or you can invoke maple on the current LyX formula by typing, e.g.
M-x math-extern maple simplify



Re: LyX scrolls too fast

2002-10-11 Thread Matt Brennan


On Thu, 10 Oct 2002, Paul Tremblay wrote:

 When I try to hi-lite text using a standard mouse, LyX scrolls too fast.
 For example, I have a paragraph at the bottom of the page. I want to
 hi-lite this paragrah, and the three below. I hi-lite the paragraph I
 can see, and then drag the mouse past the bottom of the window. But the
 text jumps so fast, I am 10 or 15 paragraphs down.


You can do all the highlighting/selection with the keyboard.   The exact
keystrokes depend on your keybindings.  Here is a snippet from my bind
file; using these commands, you could highlight 4 paragraphs with 4
keystrokes.

\bind S-C-Up paragraph-up-select
\bind S-C-Down   paragraph-down-select

If you are unfamiliar with using key bindings, see the LyX User's Guide
and Customization help.

 This seemingly small problem is quite big. Right now I can't hi-lite the
 text I want.

Yes, I agree this is an annoying problem.  Hopefully someone can enlighten
us as to how to fix it rather than work around it.

mb

-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-

 Environmental Fluid Mechanics Lab, Rm. 524K
 Civil  Environmental Engineering   ph#: 650/725.5948
 Stanford University [EMAIL PROTECTED]
 Stanford, CA 94305-4020 fluid.stanford.edu/~mbrennan






Re: LyX scrolls too fast

2002-10-11 Thread Scott Otterson

Same problem here, too.  Mouse text selection isn't usable if the select
region crosses a page boundary.

Scott

Vladimir Milovanovic wrote:

Yeah, I have the same problem. The only way that I know to get around it
is to highlight using the shift key and the cursor keys, but it does get
tedious when you have to highlight a lot of text. Maybe someone else
knows a better way? I already set the mousewheel scrolls setting to 1
line in KDE, but it had no effect.

Cheers,
Vlad.

Paul Tremblay wrote:
When I try to hi-lite text using a standard mouse, LyX scrolls too fast.
For example, I have a paragraph at the bottom of the page. I want to
hi-lite this paragrah, and the three below. I hi-lite the paragraph I
can see, and then drag the mouse past the bottom of the window. But the
text jumps so fast, I am 10 or 15 paragraphs down.

I checked the archives and google, and couldn't find any hits for this
problem. Do I need to change something in my .Xauthority file?

I also realized that there is a buffer at the bottom of LyX that works
like emacs. However, being a vim person, I don't know how this works,
and also couldn't find any documentation on it.

This seemingly small problem is quite big. Right now I can't hi-lite the
text I want.

Thanks

Paul

--


*Paul Tremblay *
*[EMAIL PROTECTED]*






Roman numerals page numbers

2002-10-11 Thread Vladimir Milovanovic

I seem to remember doing this, but I don't know how to do it anymore...
I want to number the pages up to the Chapter One using roman numerals, 
i.e. the table of contents and list of figures and tables, the abstract 
etc, they must all be numbered using roman numerals. How is this done?

Thanks,
Vlad.





Re: LyX 1.2.1 build failure under YellowDog 2.3

2002-10-11 Thread David M. Garza

After more experimentation I've found I can install directly from the tarball using 
the normal configure/make/make install procedure, so I'm guessing the problem lies in 
rpm's environment being subtly different from when I do a make.  I'm going to compare 
the output from make and the rpm build proces to look for clues, but I have no 
experience troubleshooting RPM's so I'm open to other ideas.  While I can live with 
just the tarball install, I'd prefer to have the thing registered with RPM.

David

-- 
---
David M. Garza  WRW 415B 
Email: [EMAIL PROTECTED]   ASE/EM Department
Phone: (512) 471-6069   The University of Texas at Austin



Re: Roman numerals page numbers

2002-10-11 Thread Dekel Tsur

On Fri, Oct 11, 2002 at 08:28:36PM +0200, Vladimir Milovanovic wrote:
 I seem to remember doing this, but I don't know how to do it anymore...
 I want to number the pages up to the Chapter One using roman numerals, 
 i.e. the table of contents and list of figures and tables, the abstract 
 etc, they must all be numbered using roman numerals. How is this done?

For the book class, write
  \frontmatter
(in latex mode) at the beginning of the document, and
  \mainmatter
before the 1st chapter.

If you are using a class for which the above doesn't work, use
  \renewcommand{\thepage}{\roman{page}}
to change to Roman numbering, and
  \renewcommand{\thepage}{\arabic{page}}
to switch to normal numbering.



Re: Lyx upgrade & Latex to Lyx & *.cls files

2002-10-11 Thread Herbert Voss

Carole Womeldorf wrote:

> Quick question - will I be losing any functionality by doing this?  Are
> tetex-latex and tetex-dvips already in my version of teTeX (beta.20020207-70)
> but just not registering as individual programs in the rpm database?


there is no problem

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: LyX 1.2.1 build failure under YellowDog 2.3

2002-10-11 Thread Jean-Marc Lasgouttes

> "David" == David Garza <[EMAIL PROTECTED]> writes:

David> I'm running into trouble trying to build LyX 1.2.1 from the
David> source RPM, but I get the following error when I try to
David> compile:

Some people claim that there is a problem with gcc 2.95.4 (which does
not officially exist, BTW). Some people claim that they were able to
fix this by using -O optimization only.

Some people have the same problem with many more unsatisfied symbols,
but this is mainly with non-linux systems.

As you can see the problem is murky...

JMarc




Re: wide char support override?

2002-10-11 Thread Jean-Marc Lasgouttes

> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> On Thu, Oct 10, 2002 at 02:31:56PM -0500, [EMAIL PROTECTED] wrote:
>> Howdy, is there any non-hairy way of compiling latest lyx build
>> without wide char support? I'm using OpenBSD and it does not yet
>> have wchar.h.

Andre> How about copying a wchar.h from a system that has it?
Andre> [Actually I am a bit surprised by your statement. Does 'grep
Andre> wchar /usr/include/*' indeed yield nothing?]

This is a real problem and I think a bug in the boost version used in
1.2.x. Unfortunately I am a bit wary of upgrading boost in 1.2.2...

JMarc



Re: LyX scrolls too fast

2002-10-11 Thread Jean-Marc Lasgouttes

> "Paul" == Paul Tremblay <[EMAIL PROTECTED]> writes:

Paul> I also realized that there is a buffer at the bottom of LyX that
Paul> works like emacs. However, being a vim person, I don't know how
Paul> this works, and also couldn't find any documentation on it.

Type M-x and you can enter the name of a function with arguments. 

JMarc



Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Ralf Goertz wrote:

> 
> how can I start a environment immediatly after starting a new item?
> I want to have something like
> 
> I am going to proof it using two seperate claims
> 1. Claim. I claim...
> Proof. Here it is...
> 2. Let A be this
>Claim. ...
>Proof. ...
> Furthermore...

write all in the itemize/enumerate layout, then
- put the cursor into the line which should become another
   layout
- Layout->Increase environment Depth
- change this line(s) to proof or anything else.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Ralf Goertz wrote:

> Okay it works with ERT. But wouldn't it be nice if it were possible with pure 
> LyX? E.g. it would be nice to be able to have an empty enum-line. I know 
> there are good reasons not to allow it. I use my own layout file. Therefore I 
> would like to have a switch in that layout file that tells LyX not to erase 
> an empty line in enumerate and if it encounters one not to insert a empty 
> line. Then I could increase the depth of the following line and use another 
> environment and would get what I want. Just a suggestion.


modify the layoutfile.
- copy stdlists.inc from /usr/local/share/lyx/layouts
   into ~/.lyx/layouts
- insert a line
   KeepEmpty1
   into the enumerate style

from now you get an empty enumerate line

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: environenment within enumerate

2002-10-11 Thread Ralf Goertz

Am Freitag, 11. Oktober 2002 12:44 schrieb Herbert Voss:
> Ralf Goertz wrote:
> > how can I start a environment immediatly after starting a new item?
> > I want to have something like
> >
> > I am going to proof it using two seperate claims
> > 1. Claim. I claim...
> > Proof. Here it is...
> > 2. Let A be this
> >Claim. ...
> >Proof. ...
> > Furthermore...
>
> write all in the itemize/enumerate layout, then
> - put the cursor into the line which should become another
>layout
> - Layout->Increase environment Depth
> - change this line(s) to proof or anything else.
>
> Herbert

No this doesn't work for an empty first line. That's what I do in the second 
item of the above example. But I can't increase the depth of the line 
containig the enumi-counter. In latex I want 

\begin{enumerate}
\item \begin{claim*} blah... \end{claim*}
\begin{proof} blah \end{proof}

\item blah
\end{enumerate}

I just noticed that with amsthm a new line is started anyway but with ntheorem 
ist works.

Ralf



Maple2Lyx

2002-10-11 Thread J.Lauffenburger

Is it possible to "convert" Maple solutions into Lyx Math equations?
I've got some bad equations which would be difficult to write by hand in
Lyx.


Thanks
Jean-Philippe





Re: Maple2Lyx

2002-10-11 Thread Andre Poenitz

On Fri, Oct 11, 2002 at 04:25:58PM +0200, J.Lauffenburger wrote:
> Is it possible to "convert" Maple solutions into Lyx Math equations?
> I've got some bad equations which would be difficult to write by hand in
> Lyx.

In Maple:   latex(your+expression);
Cut this to the LyX canvas
Surround it by $$
Mark it using mouse/cursor
Press C-M

Out of curiosity: How does the difficult equation look like and how did you
obtain it?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Ralf Goertz wrote:

> No this doesn't work for an empty first line. That's what I do in the second 
> item of the above example. But I can't increase the depth of the line 
> containig the enumi-counter. In latex I want 
> 
> \begin{enumerate}
> \item \begin{claim*} blah... \end{claim*}


ok, write the \begin{} \end{} in TeX (red)

>   prrof blah


increase the environment depth for this line and choose
layout proof.

> 
> \item blah
> \end{enumerate}



Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Maple2Lyx

2002-10-11 Thread Andre Poenitz

On Fri, Oct 11, 2002 at 04:34:29PM +0200, Andre' Poenitz wrote:
> In Maple:   latex(your+expression);
> Cut this to the LyX canvas
> Surround it by $$
> Mark it using mouse/cursor
> Press C-m

Hm. Slightly less effort in the long run:

In Maple:   latex(your+expression);
Cut this to the LyX canvas
Press C-m
  Press C-t i

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



graphics and floats in lyx 1.2.1

2002-10-11 Thread Matthias Quick

hello LyxList

Im using lyx 1.2.1 and tried the following:
i want to have a float and in this float a graphic so i did (i found it like
this in the user guide) the following: insert>float>figure entered my text and
selected a graphic: insert>graphics
when  I want to view the text in either dvi or ps or anything else I get two
error-messages:
#I've run across a `}' that doesn't seem to match anything.
#For example, `\def\a#1{...}' and `\a}' would produce
#this error. If you simply proceed now, the `\par' that
#I've just inserted will cause me to report a runaway
#argument that might be the root of the problem. But if
#your `}' was spurious, just type `2' and it will go away.

and

#I suspect you've forgotten a `}', causing me to apply this
#control sequence to too much text. How can we recover?
#My plan is to forget the whole thing and hope for the best.


whats wrong?

I found this workaround: export it as *.latex run latex and ignore the
error-msgs, but i do not want to run it manually, thats why i use lyx;-) have
you got any ideas


thanks a lot
Matthias




Re: environenment within enumerate

2002-10-11 Thread Ralf Goertz

Am Freitag, 11. Oktober 2002 13:13 schrieb Herbert Voss:
> Ralf Goertz wrote:
> > No this doesn't work for an empty first line. That's what I do in the
> > second item of the above example. But I can't increase the depth of the
> > line containig the enumi-counter. In latex I want
> >
> > \begin{enumerate}
> > \item \begin{claim*} blah... \end{claim*}
>
> ok, write the \begin{} \end{} in TeX (red)
>
> > prrof blah
>
> increase the environment depth for this line and choose
> layout proof.
>
> > \item blah
> > \end{enumerate}

Okay it works with ERT. But wouldn't it be nice if it were possible with pure 
LyX? E.g. it would be nice to be able to have an empty enum-line. I know 
there are good reasons not to allow it. I use my own layout file. Therefore I 
would like to have a switch in that layout file that tells LyX not to erase 
an empty line in enumerate and if it encounters one not to insert a empty 
line. Then I could increase the depth of the following line and use another 
environment and would get what I want. Just a suggestion.

Ralf
-- 
Please remove one x in my mail address




environenment within enumerate

2002-10-11 Thread Ralf Goertz

Hi,

how can I start a environment immediatly after starting a new item?
I want to have something like

I am going to proof it using two seperate claims
1. Claim. I claim...
Proof. Here it is...
2. Let A be this
   Claim. ...
   Proof. ...
Furthermore...

Claim and Proof are environments (from amsthm). The second item works fine, 
but the first item is impossible, because LyX does not allow an empty item 
line.

Ralf

-- 
Please remove one x in my mail address



Re: environenment within enumerate

2002-10-11 Thread Dekel Tsur

On Fri, Oct 11, 2002 at 01:33:54PM +0200, Ralf Goertz wrote:
> Okay it works with ERT. But wouldn't it be nice if it were possible with pure 
> LyX? E.g. it would be nice to be able to have an empty enum-line. I know 
> there are good reasons not to allow it. I use my own layout file. Therefore I 
> would like to have a switch in that layout file that tells LyX not to erase 
> an empty line in enumerate and if it encounters one not to insert a empty 
> line. Then I could increase the depth of the following line and use another 
> environment and would get what I want. Just a suggestion.

No need for ERT or changing the layout file.
You can just put a note inset in the enumerate paragraph that you with to be
"empty". (or you can put % in ERT).




Re: graphics and floats in lyx 1.2.1

2002-10-11 Thread Bo Peng

On Fri, Oct 11, 2002 at 04:51:11PM +0200, Matthias Quick wrote:
> #I suspect you've forgotten a `}', causing me to apply this
> #control sequence to too much text. How can we recover?
> #My plan is to forget the whole thing and hope for the best.

> whats wrong?

At which point did you insert graphics? You are not supposed to 
insert a graph in the title line.  Try:
 1. insert->float->figure
 2. type the title
 3. enter, at either the beginning (title after graph) or the end  
   (title before graph) of the title.
 4. insert graphics.
 
 
-- 
Bo Peng



Re: environenment within enumerate

2002-10-11 Thread Herbert Voss

Dekel Tsur wrote:

> No need for ERT or changing the layout file.
> You can just put a note inset in the enumerate paragraph that you with to be
> "empty". (or you can put % in ERT).


sure, but when you need it more than once, it is better

to change the layout file.

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Maple2Lyx

2002-10-11 Thread Dekel Tsur

On Fri, Oct 11, 2002 at 04:34:29PM +0200, Andre Poenitz wrote:
> On Fri, Oct 11, 2002 at 04:25:58PM +0200, J.Lauffenburger wrote:
> > Is it possible to "convert" Maple solutions into Lyx Math equations?
> > I've got some bad equations which would be difficult to write by hand in
> > Lyx.
> 
> In Maple:   latex(your+expression);
> Cut this to the LyX canvas
> Surround it by $$
> Mark it using mouse/cursor
> Press C-M

Or you can invoke maple on the current LyX formula by typing, e.g.
M-x math-extern maple simplify



Re: LyX scrolls too fast

2002-10-11 Thread Matt Brennan


On Thu, 10 Oct 2002, Paul Tremblay wrote:

> When I try to hi-lite text using a standard mouse, LyX scrolls too fast.
> For example, I have a paragraph at the bottom of the page. I want to
> hi-lite this paragrah, and the three below. I hi-lite the paragraph I
> can see, and then drag the mouse past the bottom of the window. But the
> text jumps so fast, I am 10 or 15 paragraphs down.
>

You can do all the highlighting/selection with the keyboard.   The exact
keystrokes depend on your keybindings.  Here is a snippet from my bind
file; using these commands, you could highlight 4 paragraphs with 4
keystrokes.

\bind "S-C-Up" "paragraph-up-select"
\bind "S-C-Down"   "paragraph-down-select"

If you are unfamiliar with using key bindings, see the LyX User's Guide
and Customization help.

> This seemingly small problem is quite big. Right now I can't hi-lite the
> text I want.

Yes, I agree this is an annoying problem.  Hopefully someone can enlighten
us as to how to fix it rather than work around it.

mb

-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-*-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-@-

 Environmental Fluid Mechanics Lab, Rm. 524K
 Civil & Environmental Engineering   ph#: 650/725.5948
 Stanford University [EMAIL PROTECTED]
 Stanford, CA 94305-4020 fluid.stanford.edu/~mbrennan






Re: LyX scrolls too fast

2002-10-11 Thread Scott Otterson

Same problem here, too.  Mouse text selection isn't usable if the select
region crosses a page boundary.

Scott

Vladimir Milovanovic wrote:

Yeah, I have the same problem. The only way that I know to get around it
is to highlight using the shift key and the cursor keys, but it does get
tedious when you have to highlight a lot of text. Maybe someone else
knows a better way? I already set the "mousewheel scrolls" setting to 1
line in KDE, but it had no effect.

Cheers,
Vlad.

Paul Tremblay wrote:
When I try to hi-lite text using a standard mouse, LyX scrolls too fast.
For example, I have a paragraph at the bottom of the page. I want to
hi-lite this paragrah, and the three below. I hi-lite the paragraph I
can see, and then drag the mouse past the bottom of the window. But the
text jumps so fast, I am 10 or 15 paragraphs down.

I checked the archives and google, and couldn't find any hits for this
problem. Do I need to change something in my .Xauthority file?

I also realized that there is a buffer at the bottom of LyX that works
like emacs. However, being a vim person, I don't know how this works,
and also couldn't find any documentation on it.

This seemingly small problem is quite big. Right now I can't hi-lite the
text I want.

Thanks

Paul

--


*Paul Tremblay *
*[EMAIL PROTECTED]*






Roman numerals page numbers

2002-10-11 Thread Vladimir Milovanovic

I seem to remember doing this, but I don't know how to do it anymore...
I want to number the pages up to the Chapter One using roman numerals, 
i.e. the table of contents and list of figures and tables, the abstract 
etc, they must all be numbered using roman numerals. How is this done?

Thanks,
Vlad.





Re: LyX 1.2.1 build failure under YellowDog 2.3

2002-10-11 Thread David M. Garza

After more experimentation I've found I can install directly from the tarball using 
the normal configure/make/make install procedure, so I'm guessing the problem lies in 
rpm's environment being subtly different from when I do a make.  I'm going to compare 
the output from make and the rpm build proces to look for clues, but I have no 
experience troubleshooting RPM's so I'm open to other ideas.  While I can live with 
just the tarball install, I'd prefer to have the thing registered with RPM.

David

-- 
---
David M. Garza  WRW 415B 
Email: [EMAIL PROTECTED]   ASE/EM Department
Phone: (512) 471-6069   The University of Texas at Austin



Re: Roman numerals page numbers

2002-10-11 Thread Dekel Tsur

On Fri, Oct 11, 2002 at 08:28:36PM +0200, Vladimir Milovanovic wrote:
> I seem to remember doing this, but I don't know how to do it anymore...
> I want to number the pages up to the Chapter One using roman numerals, 
> i.e. the table of contents and list of figures and tables, the abstract 
> etc, they must all be numbered using roman numerals. How is this done?

For the book class, write
  \frontmatter
(in latex mode) at the beginning of the document, and
  \mainmatter
before the 1st chapter.

If you are using a class for which the above doesn't work, use
  \renewcommand{\thepage}{\roman{page}}
to change to Roman numbering, and
  \renewcommand{\thepage}{\arabic{page}}
to switch to normal numbering.