how to make empheq work?

2005-04-27 Thread Brian Williams
Hi,
 
I'm a newbie with Lyx.  I've been trying to get the empheq package to work but 
can't.
 
I put \usepackage{empheq} in the preamble, and created an ERT box containing 
this test code..
 
\begin{empheq}
\begin{align}
E=mc^2 \\
Y= \sum_{n=1}^\infty \frac{1}{n^2}
\end{align}
\end{empheq}
 
It generated a host of errors starting with this:
LaTeX Error: \begin{empheq} on input line 25 ended by \end{align}.
 \end{align}

Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
 
Any ideas?
 
Many thanks
 
Brian Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: how to make empheq work?

2005-04-27 Thread Georg Baum
Brian Williams wrote:

 I put \usepackage{empheq} in the preamble, and created an ERT box
 containing this test code..
  
 \begin{empheq}
 \begin{align}

This is wrong.

\begin{empheq}{align}

works. Read the empheq documentation if you want to know the details.


Georg



Re: Error Resulting file is empty

2005-04-27 Thread Uwe Stöhr
Matej Cepl wrote:
There is a long standing bug in all versions of Adobe Reader, that it opens
file for writing, so no other program can write to it.
This is not a bug. Acrobat and Adobe Reader are designed to change the 
document, so they open files with write access.

So viewer programs like gsview are better for previewing. But you can 
also work with Acrobat:

- Open the PDF-file and go to the position you need.
- Close the PDF-file and update the corresponding LyX file
- Press in Acrobat C-Left or click on the naviagation button with the 
left arrow to open the PDF-file at the same position you closed it.

regards Uwe


Re: lyx bugfix releases (was: Re: bibtex / Bugzilla)

2005-04-27 Thread Tim Michelsen
 Helge Hafting has made it over from the user-side and is busy
 supplying us with bug reports of things that go wrong with LyX 1.4.x.
 That's a great way for you or anybody else to help too. Of course, this is
 not bug-free code, so please back up your files first. It does seem to be
 pretty stable however.
I am also ready to do this.
What to I have to do for that?
get a CVS copy?
Or do you have *.debs?

  Thanks of course for all the effort that is being put into lyx, it's
  just that regular updates would somehow make me feel more ... thinks
  about how to put it ... convinced that choosing lyx was the right
  decision.

 I hope this info doesn't dissuade you.
The whole thing is great. I think I collegue of mine will soon move over. He 
works on TeXniccenter. :-(  But a major drawback - as stated in my initial 
post - he needs a citation method for humanities (economies) including 
citation inside footnotes and outside. All citations should be able to have a 
see-option like in jurabib and appear as footnotes.
Well if there'll be input before citations I will be satisfied for most of my 
natbib-based work.
Go on!
Tim


Re: lyx bugfix releases (was: Re: bibtex / Bugzilla)

2005-04-27 Thread Juergen Spitzmueller
Tim Michelsen wrote:

 I am also ready to do this.

That's good. Especially if you are intending to stress-test the jurabib
stuff.

 What to I have to do for that?
 get a CVS copy?

It's pretty easy. Read
http://www.devel.lyx.org/cvs.php3

 Or do you have *.debs?

AFAIK no. There are snapshots, but only as src and rpm.
ftp://ftp.sylvan.com/pub/lyx/devel/

Jürgen




Installing new packages

2005-04-27 Thread Matt Williams
Dear List,

Can anyone explain to me how to install new packages for use with LyX?
Where do I put them (I think I know what to do with them, as I found a
LaTeX description - do you have to do anything different for LyX?)

Once installed, do you have to 'register' them with LyX?

Thanks,

Matt

(Lyx 1.3.5 on Linux FC3)



Re: lyx bugfix releases

2005-04-27 Thread Sven Schreiber
Angus Leeming wrote:

 
 So, if you want someone to blame for the slow release of LyX 1.3.6, then 
 blame me :) Of course, I'll have a vast army of LyX/Win users to protect 
 me because they'll find LyX/Win 1.3.6 is much better than anything they've 
 had before. I hope.

Thanks much for the info, I'm mainly a lyx/win user myself, so
improvements in that field are of course very welcome.

 
 Helge Hafting has made it over from the user-side and is busy 
 supplying us with bug reports of things that go wrong with LyX 1.4.x. 
 That's a great way for you or anybody else to help too. 

without promising too much here, what would be more useful on windows
right now: testing upcoming 1.3.6 or 1.4?

-sven


RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Thanks Georg, but still no luck.
 
I've renamed the subject, because it may just be a problem with LyX.
 
I went the document The empheq package* by Morten Høgholm 2004/10/10
and cut and paste this sample into an ERT box
 
\begin{empheq}{align*}
a=b \tag{*}\\
E=mc^2 + \int_a^a x\, dx
\end{empheq}
 
and Lyx gives me this error:
 
Undefined control sequence.
 \end{empheq}
 
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 don't get it! Any further help gratefully received
 
Thanks,
Brian Williams
 
---
Re: how to make empheq work?
Georg Baum
Tue, 26 Apr 2005 23:57:16 -0700
 
Brian Williams wrote:
 
 I put \usepackage{empheq} in the preamble, and created an ERT box
 containing this test code..
  
 \begin{empheq}
 \begin{align}
 
This is wrong.
 
\begin{empheq}{align}
 
works. Read the empheq documentation if you want to know the details.
 

Georg

  -Original Message-
From: Brian Williams   [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 00:42
To:   'lyx-users@lists.lyx.org'
Subject: how to make empheq   work?


  Hi,
   
  I'm a newbie with   Lyx.  I've been trying to get the empheq package to work 
but   can't.
   
  I put   \usepackage{empheq} in the preamble, and created an ERT box 
containing   this test code..
   
  \begin{empheq}
  \begin{align}
  E=mc^2   \\
  Y=   \sum_{n=1}^\infty \frac{1}{n^2}
  \end{align}
  \end{empheq}
   
  It generated a   host of errors starting with this:
  LaTeX Error:   \begin{empheq} on input line 25 ended by   \end{align}.
 \end{align}
  
Your command was ignored.
Type  I command   return  to replace it with another command,
orreturn  to continue without it.
   
  Any   ideas?
   
  Many   thanks
   
  Brian   Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Installing new packages

2005-04-27 Thread Angus Leeming
Matt Williams wrote:

 Dear List,
 
 Can anyone explain to me how to install new packages for use with LyX?
 Where do I put them (I think I know what to do with them, as I found a
 LaTeX description - do you have to do anything different for LyX?)
 
 Once installed, do you have to 'register' them with LyX?

Installed means that the binary can be found in the PATH environment
variable. Ie, typing foo at the command line will launch foo.

Registering them requires you to run Edit-Reconfigure. LyX looks for a
bunch of executables as default converters from format A to format B. If
your recently installed program is one of these searched-for programs,
then LyX will find and register it. Sounds horribly windows-ish to me :)

-- 
Angus



Re: lyx bugfix releases

2005-04-27 Thread Angus Leeming
Sven Schreiber wrote:
 So, if you want someone to blame for the slow release of LyX 1.3.6, then
 blame me :) Of course, I'll have a vast army of LyX/Win users to protect
 me because they'll find LyX/Win 1.3.6 is much better than anything
 they've had before. I hope.
 
 Thanks much for the info, I'm mainly a lyx/win user myself, so
 improvements in that field are of course very welcome.
 
 
 Helge Hafting has made it over from the user-side and is busy
 supplying us with bug reports of things that go wrong with LyX 1.4.x.
 That's a great way for you or anybody else to help too.
 
 without promising too much here, what would be more useful on windows
 right now: testing upcoming 1.3.6 or 1.4?

As a LyX/Win user? Testing LyX 1.3.6-to be. I have a few more things to
commit before LyX will compile out of the box on Windows (mingw compiler
only for LyX 1.3.6). Thereafter, I'll post an announcement here looking
for testers and I'll put the binary somewhere accessible.

Give me a week or so.

-- 
Angus



RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Georg Baum
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
  
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
  
 and Lyx gives me this error:
  
 Undefined control sequence.
  \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg

empheq-221.lyx
Description: application/lyx


RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Many thanks Georg!  
 
I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?
 
Thanks again,
 
Brian

Georg Baum [EMAIL PROTECTED] wrote:
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
 
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
 
 and Lyx gives me this error:
 
 Undefined control sequence.
 \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Of course, the only reason why I need this is because I don't know how to make 
lyx align a system of equations (4 cols) with the operators and equals signs 
lined up and a big brace to the left. All the align environments that I've 
found in Lyx are limited to 2 or 3. Am I missing something?
 
Thanks,
 
Brian

Brian Williams [EMAIL PROTECTED] wrote:
Many thanks Georg! 

I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?

Thanks again,

Brian

Georg Baum wrote:
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
 
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
 
 and Lyx gives me this error:
 
 Undefined control sequence.
 \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 
Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Installing new packages

2005-04-27 Thread Steve Litt
On Wednesday 27 April 2005 12:59 pm, Angus Leeming wrote:
 Matt Williams wrote:
  Dear List,
 
  Can anyone explain to me how to install new packages for use with LyX?
  Where do I put them (I think I know what to do with them, as I found a
  LaTeX description - do you have to do anything different for LyX?)
 
  Once installed, do you have to 'register' them with LyX?

 Installed means that the binary can be found in the PATH environment
 variable. Ie, typing foo at the command line will launch foo.

 Registering them requires you to run Edit-Reconfigure. LyX looks for a
 bunch of executables as default converters from format A to format B. If
 your recently installed program is one of these searched-for programs,
 then LyX will find and register it. Sounds horribly windows-ish to me :)

From what I remember, you need to put the new .layout or .class or whatever in 
a directory tree containing all the others, and then run texhash, and then do 
the Edit-reconfigure.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


how to make empheq work?

2005-04-27 Thread Brian Williams
Hi,
 
I'm a newbie with Lyx.  I've been trying to get the empheq package to work but 
can't.
 
I put \usepackage{empheq} in the preamble, and created an ERT box containing 
this test code..
 
\begin{empheq}
\begin{align}
E=mc^2 \\
Y= \sum_{n=1}^\infty \frac{1}{n^2}
\end{align}
\end{empheq}
 
It generated a host of errors starting with this:
LaTeX Error: \begin{empheq} on input line 25 ended by \end{align}.
 \end{align}

Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
 
Any ideas?
 
Many thanks
 
Brian Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: how to make empheq work?

2005-04-27 Thread Georg Baum
Brian Williams wrote:

 I put \usepackage{empheq} in the preamble, and created an ERT box
 containing this test code..
  
 \begin{empheq}
 \begin{align}

This is wrong.

\begin{empheq}{align}

works. Read the empheq documentation if you want to know the details.


Georg



Re: Error Resulting file is empty

2005-04-27 Thread Uwe Stöhr
Matej Cepl wrote:
There is a long standing bug in all versions of Adobe Reader, that it opens
file for writing, so no other program can write to it.
This is not a bug. Acrobat and Adobe Reader are designed to change the 
document, so they open files with write access.

So viewer programs like gsview are better for previewing. But you can 
also work with Acrobat:

- Open the PDF-file and go to the position you need.
- Close the PDF-file and update the corresponding LyX file
- Press in Acrobat C-Left or click on the naviagation button with the 
left arrow to open the PDF-file at the same position you closed it.

regards Uwe


Re: lyx bugfix releases (was: Re: bibtex / Bugzilla)

2005-04-27 Thread Tim Michelsen
 Helge Hafting has made it over from the user-side and is busy
 supplying us with bug reports of things that go wrong with LyX 1.4.x.
 That's a great way for you or anybody else to help too. Of course, this is
 not bug-free code, so please back up your files first. It does seem to be
 pretty stable however.
I am also ready to do this.
What to I have to do for that?
get a CVS copy?
Or do you have *.debs?

  Thanks of course for all the effort that is being put into lyx, it's
  just that regular updates would somehow make me feel more ... thinks
  about how to put it ... convinced that choosing lyx was the right
  decision.

 I hope this info doesn't dissuade you.
The whole thing is great. I think I collegue of mine will soon move over. He 
works on TeXniccenter. :-(  But a major drawback - as stated in my initial 
post - he needs a citation method for humanities (economies) including 
citation inside footnotes and outside. All citations should be able to have a 
see-option like in jurabib and appear as footnotes.
Well if there'll be input before citations I will be satisfied for most of my 
natbib-based work.
Go on!
Tim


Re: lyx bugfix releases (was: Re: bibtex / Bugzilla)

2005-04-27 Thread Juergen Spitzmueller
Tim Michelsen wrote:

 I am also ready to do this.

That's good. Especially if you are intending to stress-test the jurabib
stuff.

 What to I have to do for that?
 get a CVS copy?

It's pretty easy. Read
http://www.devel.lyx.org/cvs.php3

 Or do you have *.debs?

AFAIK no. There are snapshots, but only as src and rpm.
ftp://ftp.sylvan.com/pub/lyx/devel/

Jürgen




Installing new packages

2005-04-27 Thread Matt Williams
Dear List,

Can anyone explain to me how to install new packages for use with LyX?
Where do I put them (I think I know what to do with them, as I found a
LaTeX description - do you have to do anything different for LyX?)

Once installed, do you have to 'register' them with LyX?

Thanks,

Matt

(Lyx 1.3.5 on Linux FC3)



Re: lyx bugfix releases

2005-04-27 Thread Sven Schreiber
Angus Leeming wrote:

 
 So, if you want someone to blame for the slow release of LyX 1.3.6, then 
 blame me :) Of course, I'll have a vast army of LyX/Win users to protect 
 me because they'll find LyX/Win 1.3.6 is much better than anything they've 
 had before. I hope.

Thanks much for the info, I'm mainly a lyx/win user myself, so
improvements in that field are of course very welcome.

 
 Helge Hafting has made it over from the user-side and is busy 
 supplying us with bug reports of things that go wrong with LyX 1.4.x. 
 That's a great way for you or anybody else to help too. 

without promising too much here, what would be more useful on windows
right now: testing upcoming 1.3.6 or 1.4?

-sven


RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Thanks Georg, but still no luck.
 
I've renamed the subject, because it may just be a problem with LyX.
 
I went the document The empheq package* by Morten Høgholm 2004/10/10
and cut and paste this sample into an ERT box
 
\begin{empheq}{align*}
a=b \tag{*}\\
E=mc^2 + \int_a^a x\, dx
\end{empheq}
 
and Lyx gives me this error:
 
Undefined control sequence.
 \end{empheq}
 
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 don't get it! Any further help gratefully received
 
Thanks,
Brian Williams
 
---
Re: how to make empheq work?
Georg Baum
Tue, 26 Apr 2005 23:57:16 -0700
 
Brian Williams wrote:
 
 I put \usepackage{empheq} in the preamble, and created an ERT box
 containing this test code..
  
 \begin{empheq}
 \begin{align}
 
This is wrong.
 
\begin{empheq}{align}
 
works. Read the empheq documentation if you want to know the details.
 

Georg

  -Original Message-
From: Brian Williams   [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 00:42
To:   'lyx-users@lists.lyx.org'
Subject: how to make empheq   work?


  Hi,
   
  I'm a newbie with   Lyx.  I've been trying to get the empheq package to work 
but   can't.
   
  I put   \usepackage{empheq} in the preamble, and created an ERT box 
containing   this test code..
   
  \begin{empheq}
  \begin{align}
  E=mc^2   \\
  Y=   \sum_{n=1}^\infty \frac{1}{n^2}
  \end{align}
  \end{empheq}
   
  It generated a   host of errors starting with this:
  LaTeX Error:   \begin{empheq} on input line 25 ended by   \end{align}.
 \end{align}
  
Your command was ignored.
Type  I command   return  to replace it with another command,
orreturn  to continue without it.
   
  Any   ideas?
   
  Many   thanks
   
  Brian   Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Installing new packages

2005-04-27 Thread Angus Leeming
Matt Williams wrote:

 Dear List,
 
 Can anyone explain to me how to install new packages for use with LyX?
 Where do I put them (I think I know what to do with them, as I found a
 LaTeX description - do you have to do anything different for LyX?)
 
 Once installed, do you have to 'register' them with LyX?

Installed means that the binary can be found in the PATH environment
variable. Ie, typing foo at the command line will launch foo.

Registering them requires you to run Edit-Reconfigure. LyX looks for a
bunch of executables as default converters from format A to format B. If
your recently installed program is one of these searched-for programs,
then LyX will find and register it. Sounds horribly windows-ish to me :)

-- 
Angus



Re: lyx bugfix releases

2005-04-27 Thread Angus Leeming
Sven Schreiber wrote:
 So, if you want someone to blame for the slow release of LyX 1.3.6, then
 blame me :) Of course, I'll have a vast army of LyX/Win users to protect
 me because they'll find LyX/Win 1.3.6 is much better than anything
 they've had before. I hope.
 
 Thanks much for the info, I'm mainly a lyx/win user myself, so
 improvements in that field are of course very welcome.
 
 
 Helge Hafting has made it over from the user-side and is busy
 supplying us with bug reports of things that go wrong with LyX 1.4.x.
 That's a great way for you or anybody else to help too.
 
 without promising too much here, what would be more useful on windows
 right now: testing upcoming 1.3.6 or 1.4?

As a LyX/Win user? Testing LyX 1.3.6-to be. I have a few more things to
commit before LyX will compile out of the box on Windows (mingw compiler
only for LyX 1.3.6). Thereafter, I'll post an announcement here looking
for testers and I'll put the binary somewhere accessible.

Give me a week or so.

-- 
Angus



RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Georg Baum
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
  
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
  
 and Lyx gives me this error:
  
 Undefined control sequence.
  \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg

empheq-221.lyx
Description: application/lyx


RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Many thanks Georg!  
 
I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?
 
Thanks again,
 
Brian

Georg Baum [EMAIL PROTECTED] wrote:
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
 
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
 
 and Lyx gives me this error:
 
 Undefined control sequence.
 \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Of course, the only reason why I need this is because I don't know how to make 
lyx align a system of equations (4 cols) with the operators and equals signs 
lined up and a big brace to the left. All the align environments that I've 
found in Lyx are limited to 2 or 3. Am I missing something?
 
Thanks,
 
Brian

Brian Williams [EMAIL PROTECTED] wrote:
Many thanks Georg! 

I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?

Thanks again,

Brian

Georg Baum wrote:
Brian Williams wrote:

 I went the document The empheq package* by Morten Høgholm 2004/10/10
 and cut and paste this sample into an ERT box
 
 \begin{empheq}{align*}
 a=b \tag{*}\\
 E=mc^2 + \int_a^a x\, dx
 \end{empheq}
 
 and Lyx gives me this error:
 
 Undefined control sequence.
 \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 
Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Installing new packages

2005-04-27 Thread Steve Litt
On Wednesday 27 April 2005 12:59 pm, Angus Leeming wrote:
 Matt Williams wrote:
  Dear List,
 
  Can anyone explain to me how to install new packages for use with LyX?
  Where do I put them (I think I know what to do with them, as I found a
  LaTeX description - do you have to do anything different for LyX?)
 
  Once installed, do you have to 'register' them with LyX?

 Installed means that the binary can be found in the PATH environment
 variable. Ie, typing foo at the command line will launch foo.

 Registering them requires you to run Edit-Reconfigure. LyX looks for a
 bunch of executables as default converters from format A to format B. If
 your recently installed program is one of these searched-for programs,
 then LyX will find and register it. Sounds horribly windows-ish to me :)

From what I remember, you need to put the new .layout or .class or whatever in 
a directory tree containing all the others, and then run texhash, and then do 
the Edit-reconfigure.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


how to make empheq work?

2005-04-27 Thread Brian Williams
Hi,
 
I'm a newbie with Lyx.  I've been trying to get the empheq package to work but 
can't.
 
I put \usepackage{empheq} in the preamble, and created an ERT box containing 
this test code..
 
\begin{empheq}
\begin{align}
E&=mc^2 \\
Y&= \sum_{n=1}^\infty \frac{1}{n^2}
\end{align}
\end{empheq}
 
It generated a host of errors starting with this:
LaTeX Error: \begin{empheq} on input line 25 ended by \end{align}.
 \end{align}

Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.
 
Any ideas?
 
Many thanks
 
Brian Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: how to make empheq work?

2005-04-27 Thread Georg Baum
Brian Williams wrote:

> I put \usepackage{empheq} in the preamble, and created an ERT box
> containing this test code..
>  
> \begin{empheq}
> \begin{align}

This is wrong.

\begin{empheq}{align}

works. Read the empheq documentation if you want to know the details.


Georg



Re: Error "Resulting file is empty"

2005-04-27 Thread Uwe Stöhr
Matej Cepl wrote:
There is a long standing bug in all versions of Adobe Reader, that it opens
file for writing, so no other program can write to it.
This is not a bug. Acrobat and Adobe Reader are designed to change the 
document, so they open files with write access.

So viewer programs like gsview are better for previewing. But you can 
also work with Acrobat:

- Open the PDF-file and go to the position you need.
- Close the PDF-file and update the corresponding LyX file
- Press in Acrobat C-Left or click on the naviagation button with the 
left arrow to open the PDF-file at the same position you closed it.

regards Uwe


Re: lyx bugfix releases (was: Re: bibtex / Bugzilla)

2005-04-27 Thread Tim Michelsen
> Helge Hafting has made it over from the user-side and is busy
> supplying us with bug reports of things that go wrong with LyX 1.4.x.
> That's a great way for you or anybody else to help too. Of course, this is
> not bug-free code, so please back up your files first. It does seem to be
> pretty stable however.
I am also ready to do this.
What to I have to do for that?
get a CVS copy?
Or do you have *.debs?

> > Thanks of course for all the effort that is being put into lyx, it's
> > just that regular updates would somehow make me feel more ...  > about how to put it> ... convinced that choosing lyx was the right
> > decision.
>
> I hope this info doesn't dissuade you.
The whole thing is great. I think I collegue of mine will soon move over. He 
works on TeXniccenter. :-(  But a major drawback - as stated in my initial 
post - he needs a citation method for humanities (economies) including 
citation inside footnotes and outside. All citations should be able to have a 
"see"-option like in jurabib and appear as footnotes.
Well if there'll be input before citations I will be satisfied for most of my 
natbib-based work.
Go on!
Tim


Re: lyx bugfix releases (was: Re: bibtex / Bugzilla)

2005-04-27 Thread Juergen Spitzmueller
Tim Michelsen wrote:

> I am also ready to do this.

That's good. Especially if you are intending to stress-test the jurabib
stuff.

> What to I have to do for that?
> get a CVS copy?

It's pretty easy. Read
http://www.devel.lyx.org/cvs.php3

> Or do you have *.debs?

AFAIK no. There are snapshots, but only as src and rpm.
ftp://ftp.sylvan.com/pub/lyx/devel/

Jürgen




Installing new packages

2005-04-27 Thread Matt Williams
Dear List,

Can anyone explain to me how to install new packages for use with LyX?
Where do I put them (I think I know what to do with them, as I found a
LaTeX description - do you have to do anything different for LyX?)

Once installed, do you have to 'register' them with LyX?

Thanks,

Matt

(Lyx 1.3.5 on Linux FC3)



Re: lyx bugfix releases

2005-04-27 Thread Sven Schreiber
Angus Leeming wrote:

> 
> So, if you want someone to blame for the slow release of LyX 1.3.6, then 
> blame me :) Of course, I'll have a vast army of LyX/Win users to protect 
> me because they'll find LyX/Win 1.3.6 is much better than anything they've 
> had before. I hope.

Thanks much for the info, I'm mainly a lyx/win user myself, so
improvements in that field are of course very welcome.

> 
> Helge Hafting has made it over from the user-side and is busy 
> supplying us with bug reports of things that go wrong with LyX 1.4.x. 
> That's a great way for you or anybody else to help too. 

without promising too much here, what would be more useful on windows
right now: testing upcoming 1.3.6 or 1.4?

-sven


RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Thanks Georg, but still no luck.
 
I've renamed the subject, because it may just be a problem with LyX.
 
I went the document "The empheq package*" by Morten Høgholm 2004/10/10
and cut and paste this sample into an ERT box
 
\begin{empheq}{align*}
a&=b \tag{*}\\
E&=mc^2 + \int_a^a x\, dx
\end{empheq}
 
and Lyx gives me this error:
 
"Undefined control sequence.
 \end{empheq}
 
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 don't get it! Any further help gratefully received
 
Thanks,
Brian Williams
 
---
Re: how to make empheq work?
Georg Baum
Tue, 26 Apr 2005 23:57:16 -0700
 
Brian Williams wrote:
 
> I put \usepackage{empheq} in the preamble, and created an ERT box
> containing this test code..
>  
> \begin{empheq}
> \begin{align}
 
This is wrong.
 
\begin{empheq}{align}
 
works. Read the empheq documentation if you want to know the details.
 

Georg

  -Original Message-
From: Brian Williams   [mailto:[EMAIL PROTECTED]
Sent: 27 April 2005 00:42
To:   'lyx-users@lists.lyx.org'
Subject: how to make empheq   work?


  Hi,
   
  I'm a newbie with   Lyx.  I've been trying to get the empheq package to work 
but   can't.
   
  I put   \usepackage{empheq} in the preamble, and created an ERT box 
containing   this test code..
   
  \begin{empheq}
  \begin{align}
  E&=mc^2   \\
  Y&=   \sum_{n=1}^\infty \frac{1}{n^2}
  \end{align}
  \end{empheq}
   
  It generated a   host of errors starting with this:
  LaTeX Error:   \begin{empheq} on input line 25 ended by   \end{align}.
 \end{align}
  
Your command was ignored.
Type  I  to replace it with another command,
or  to continue without it.
   
  Any   ideas?
   
  Many   thanks
   
  Brian   Williams

Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Installing new packages

2005-04-27 Thread Angus Leeming
Matt Williams wrote:

> Dear List,
> 
> Can anyone explain to me how to install new packages for use with LyX?
> Where do I put them (I think I know what to do with them, as I found a
> LaTeX description - do you have to do anything different for LyX?)
> 
> Once installed, do you have to 'register' them with LyX?

"Installed" means that the binary can be found in the PATH environment
variable. Ie, typing "foo" at the command line will launch foo.

"Registering" them requires you to run Edit->Reconfigure. LyX looks for a
bunch of executables as default converters from format A to format B. If
your recently installed program is one of these searched-for programs,
then LyX will find and "register" it. Sounds horribly windows-ish to me :)

-- 
Angus



Re: lyx bugfix releases

2005-04-27 Thread Angus Leeming
Sven Schreiber wrote:
>> So, if you want someone to blame for the slow release of LyX 1.3.6, then
>> blame me :) Of course, I'll have a vast army of LyX/Win users to protect
>> me because they'll find LyX/Win 1.3.6 is much better than anything
>> they've had before. I hope.
> 
> Thanks much for the info, I'm mainly a lyx/win user myself, so
> improvements in that field are of course very welcome.
> 
>> 
>> Helge Hafting has made it over from the user-side and is busy
>> supplying us with bug reports of things that go wrong with LyX 1.4.x.
>> That's a great way for you or anybody else to help too.
> 
> without promising too much here, what would be more useful on windows
> right now: testing upcoming 1.3.6 or 1.4?

As a LyX/Win user? Testing LyX 1.3.6-to be. I have a few more things to
commit before LyX will compile out of the box on Windows (mingw compiler
only for LyX 1.3.6). Thereafter, I'll post an announcement here looking
for testers and I'll put the binary somewhere accessible.

Give me a week or so.

-- 
Angus



RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Georg Baum
Brian Williams wrote:

> I went the document "The empheq package*" by Morten Høgholm 2004/10/10
> and cut and paste this sample into an ERT box
>  
> \begin{empheq}{align*}
> a&=b \tag{*}\\
> E&=mc^2 + \int_a^a x\, dx
> \end{empheq}
>  
> and Lyx gives me this error:
>  
> "Undefined control sequence.
>  \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg

empheq-221.lyx
Description: application/lyx


RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Many thanks Georg!  
 
I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?
 
Thanks again,
 
Brian

Georg Baum <[EMAIL PROTECTED]> wrote:
Brian Williams wrote:

> I went the document "The empheq package*" by Morten Høgholm 2004/10/10
> and cut and paste this sample into an ERT box
> 
> \begin{empheq}{align*}
> a&=b \tag{*}\\
> E&=mc^2 + \int_a^a x\, dx
> \end{empheq}
> 
> and Lyx gives me this error:
> 
> "Undefined control sequence.
> \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 

RE: how to make empheq work (with LyX)? - still struggling

2005-04-27 Thread Brian Williams
Of course, the only reason why I need this is because I don't know how to make 
lyx align a system of equations (4 cols) with the operators and equals signs 
lined up and a big brace to the left. All the align environments that I've 
found in Lyx are limited to 2 or 3. Am I missing something?
 
Thanks,
 
Brian

Brian Williams <[EMAIL PROTECTED]> wrote:
Many thanks Georg! 

I didn't know about that limitation with the ERT box (I'm too new). I couldn't 
find it in the user documentation... curious! Can you recommend anything more 
complete?

Thanks again,

Brian

Georg Baum wrote:
Brian Williams wrote:

> I went the document "The empheq package*" by Morten Høgholm 2004/10/10
> and cut and paste this sample into an ERT box
> 
> \begin{empheq}{align*}
> a&=b \tag{*}\\
> E&=mc^2 + \int_a^a x\, dx
> \end{empheq}
> 
> and Lyx gives me this error:
> 
> "Undefined control sequence.
> \end{empheq}

This is a limitation of the ERT box in LyX 1.3.x. Don't use normal newlines
in ERT, but Ctrl-Enter. The latter will produce one newline in the .tex
output, normal newlines will produce a paragraph break (= 2 newlines).
The attached file works for me.


Georg
Send instant messages to your online friends http://uk.messenger.yahoo.com 
Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: Installing new packages

2005-04-27 Thread Steve Litt
On Wednesday 27 April 2005 12:59 pm, Angus Leeming wrote:
> Matt Williams wrote:
> > Dear List,
> >
> > Can anyone explain to me how to install new packages for use with LyX?
> > Where do I put them (I think I know what to do with them, as I found a
> > LaTeX description - do you have to do anything different for LyX?)
> >
> > Once installed, do you have to 'register' them with LyX?
>
> "Installed" means that the binary can be found in the PATH environment
> variable. Ie, typing "foo" at the command line will launch foo.
>
> "Registering" them requires you to run Edit->Reconfigure. LyX looks for a
> bunch of executables as default converters from format A to format B. If
> your recently installed program is one of these searched-for programs,
> then LyX will find and "register" it. Sounds horribly windows-ish to me :)

From what I remember, you need to put the new .layout or .class or whatever in 
a directory tree containing all the others, and then run texhash, and then do 
the Edit->reconfigure.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com