Re: Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 3:27 AM, Reuven Segev reuven.se...@gmail.com wrote:
 Hi,
 How can import a LaTeX file into LyX so that the LaTeX macros are imported
 into LyX math macros?


Cross-posted at http://latex-community.org/forum/viewtopic.php?f=19t=26277

Scott


Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Reuven Segev
Hi,
How can import a LaTeX file into LyX so that the LaTeX macros are imported 
into LyX math macros?

Thanks



Re: Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Richard Heck

On 05/06/2015 05:36 PM, Gilles Moyse wrote:

Hi.

Following this post 
(http://article.gmane.org/gmane.editors.lyx.general/84619), I am 
looking for the location of the file where Lyx stores my user 
interface configuration under Windows 7.


Try Help About LyX. The dialog will tell you where the user directory is.

Richard



Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]

2015-05-06 Thread Richard Heck

On 05/06/2015 03:36 PM, Ygo Kanaki wrote:

This I got:

$ kpsewhich scrartcl.cls
/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls

I did Tools / Reconfigure, I think that solved most of the problems. I can
now open my colleagues document again without errors, and I get the correct
pdf-output. Fixed!

I still see a whole bunch of greyed-out document classes, but I don't care
for now, I'll try to fix that later. Lyx works again!


That is normal. LyX supports many more classes than anyone would ever 
need and, more
importantly, than a standard LaTeX installation would install. So 
there's not really anything
more to fix, unless you want to use one of those classes. In that case, 
you just need to install

the relevant LaTeX files.

And actually, you can *use* the class within LyX. You just won't be able 
to compile.


Richard



Re: Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Enrico Forestieri
Richard Heck writes:
 
 On 05/06/2015 05:36 PM, Gilles Moyse wrote:
  Hi.
 
  Following this post 
  (http://article.gmane.org/gmane.editors.lyx.general/84619), I am 
  looking for the location of the file where Lyx stores my user 
  interface configuration under Windows 7.
 
 Try Help About LyX. The dialog will tell you where the user directory is.

I think he is talking about the GUI settings. Their location is OS
dependent. On Windows, the settings are stored in the system registry
in HKCU\Software\LyX, while on cygwin and unix systems in the user home dir
in ~/.config/LyX/lyx.conf. Not sure about Macs.

-- 
Enrico



Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Gilles Moyse
Hi.

Following this post (
http://article.gmane.org/gmane.editors.lyx.general/84619), I am looking for
the location of the file where Lyx stores my user interface configuration
under Windows 7.

I tried to find it by opening Lyx, selecting a new toolbar to be displayed
with View / Toolbar, closing Lyx and looking for the files just modified,
but I could only find a file named session in my user directory
(~\AppData\Roaming\LyX2.1\) containing cursor locations in recently opened
files.

Do you know where the file containing the user interface location is?

Thanks in advance,

Gilles


Re: Compatibility Mac - Linux

2015-05-06 Thread Steve Burnham

On May 6, 2015 at 12:30:32, Ygo Kanaki (x...@galama.net) wrote:

The main reason why me and my colleagues switched from MS-Word to Lyx is the  
problems we had with all the different Office versions, and problem we had  
opening Word-files in OpenOffice, etcetera. That was why we use Lyx.  

Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx  
file, and I get this error message:  

/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are  
working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of  
LyX and the lyx2lyx script failed to convert it.  

So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is  
nothing to update. I have the most recent version (2.0.6 from April 2013)  
while my colleague has 2.1.2.2. from November 2014. I am out of luck.  

We're on Openoffice again. :(  



Repositories can take a while to update sometimes, not to mention you aren’t 
even running the latest version of Ubuntu. You could manually update though by 
downloading the binary from the LyX website (http://www.lyx.org/Download) and 
update to the latest version (2.1.3) on your own.

-Steve

Partly fixed

2015-05-06 Thread Ygo Kanaki
I clicked Tools / Reconfigure and that seemed to solve the problems. Let me 
try some more before I bother you guys too much...



Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]

2015-05-06 Thread Richard Heck

On 05/06/2015 03:08 PM, Ygo Kanaki wrote:

Wow, that was quick: THREE responses within five minutes. Can't complain
about that!

I installed the .ppa as instructed on the lyx website, updated Synaptic and
indeed a newer version appeared. Installed the newer version, all ok.

But now when I open my colleagues Lyx file I get three errors instead of
one:

===
Due to some error in it, the layout file: could not be loaded. A default
textclass with default layouts will be used. LyX will not be able to
produce correct output.

The layout file: scrartcl could not be found. A default textclass with
default layouts will be used. LyX will not be able to produce correct
output.

The module basic has been requested by this document but has not been found
in the list of available modules. If you recently installed it, you
probably need to reconfigure LyX.
===

Also in Document / Settings I see: Unknown text class scrartcl. Actually
almost all of my document classes are greyed out now.

On my file system I find these two files:

/usr/share/lyx/layouts/scrartcl.layout
/usr/share/doc/texlive-doc/latex/koma-script/scrartcl.html


LyX is complaining that it cannot find the class file associated with 
this layout, which

is scrartcl.cls. Try running:
# kpsewhich scrartcl.cls
and see if you get anything. If not, there is some problem with your 
LaTeX installation

and we'll need to fix that.

If you do see it, then try running Tools Reconfigure. If that does not 
work, then you
may be running into a python incompatibility that we have sometimes seen 
on some

systems, and we can sort it out somehow.


The layout file: scrartcl could not be found. A default textclass with
default layouts will be used. LyX will not be able to produce correct
output.

The module basic has been requested by this document but has not been found
in the list of available modules. If you recently installed it, you
probably need to reconfigure LyX.


These are more puzzling. It may be that you have the python problem, but try
reconfiguring and see what happens. It would be best to launch LyX from 
a terminal,
then Reconfigure, and copy and paste the output from that here, if you 
run into problems.


Richard



Compatibility Mac - Linux

2015-05-06 Thread Ygo Kanaki
The main reason why me and my colleagues switched from  MS-Word to Lyx is the 
problems we had with all the different Office versions, and problem we had 
opening Word-files in OpenOffice, etcetera. That was why we use Lyx.

Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx 
file, and I get this error message:

/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are 
working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of 
LyX and the lyx2lyx script failed to convert it.

So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is 
nothing to update. I have the most recent version (2.0.6 from April 2013) 
while my colleague has 2.1.2.2. from November 2014. I am out of luck.

We're on Openoffice again. :(




Re: Compatibility Mac - Linux

2015-05-06 Thread David L. Johnson

On 05/06/2015 02:26 PM, Ygo Kanaki wrote:

The main reason why me and my colleagues switched from  MS-Word to Lyx is the
problems we had with all the different Office versions, and problem we had
opening Word-files in OpenOffice, etcetera. That was why we use Lyx.

Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx
file, and I get this error message:

/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are
working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of
LyX and the lyx2lyx script failed to convert it.

So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is
nothing to update. I have the most recent version (2.0.6 from April 2013)
while my colleague has 2.1.2.2. from November 2014. I am out of luck.

We're on Openoffice again. :(


There is no reason to do that.  The problem is with Ubuntu --- or your 
version of it.  Certainly they have an updated version of LyX. If not, 
get it from the LyX archive.  If you want to go back to Openoffice, that 
is one thing, but this is not an obstacle.  Just upgrade your LyX 
version, and there are many ways to do that.


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Compatibility Mac - Linux

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 2:26 PM, Ygo Kanaki x...@galama.net wrote:
 The main reason why me and my colleagues switched from  MS-Word to Lyx is the
 problems we had with all the different Office versions, and problem we had
 opening Word-files in OpenOffice, etcetera. That was why we use Lyx.

 Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx
 file, and I get this error message:

 /mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are
 working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of
 LyX and the lyx2lyx script failed to convert it.

 So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is
 nothing to update. I have the most recent version (2.0.6 from April 2013)
 while my colleague has 2.1.2.2. from November 2014. I am out of luck.

 We're on Openoffice again. :(

I can understand your frustration, Ygo. But in order to develop new
features and improve LyX, we need this flexibility.

Since you're on Ubuntu, you can get the latest version of LyX from the PPA:

http://wiki.lyx.org/LyX/LyXOnUbuntu

Scott


Re: Compatibility Mac - Linux

2015-05-06 Thread Ygo Kanaki
Wow, that was quick: THREE responses within five minutes. Can't complain 
about that!

I installed the .ppa as instructed on the lyx website, updated Synaptic and 
indeed a newer version appeared. Installed the newer version, all ok.

But now when I open my colleagues Lyx file I get three errors instead of 
one:

===
Due to some error in it, the layout file: could not be loaded. A default 
textclass with default layouts will be used. LyX will not be able to 
produce correct output.

The layout file: scrartcl could not be found. A default textclass with 
default layouts will be used. LyX will not be able to produce correct 
output.

The module basic has been requested by this document but has not been found 
in the list of available modules. If you recently installed it, you 
probably need to reconfigure LyX.
===

Also in Document / Settings I see: Unknown text class scrartcl. Actually 
almost all of my document classes are greyed out now.

On my file system I find these two files:

/usr/share/lyx/layouts/scrartcl.layout
/usr/share/doc/texlive-doc/latex/koma-script/scrartcl.html

And there are more files like these in:
/usr/share/lyx/layouts
/usr/share/lyx2.0/layouts/

But I guess I have to move some stuff from A to B, or instruct Lyx where to 
look. Anybody knows the quick solution? Actually I feel sorry about this 
OpenOffice-stuff,  I don't want to leave Lyx.

Ygo.





Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]

2015-05-06 Thread Ygo Kanaki
This I got:

$ kpsewhich scrartcl.cls
/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls

I did Tools / Reconfigure, I think that solved most of the problems. I can 
now open my colleagues document again without errors, and I get the correct 
pdf-output. Fixed!

I still see a whole bunch of greyed-out document classes, but I don't care 
for now, I'll try to fix that later. Lyx works again!

Thanks to you all.

Ygo.




Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Reuven Segev
Hi,
How can import a LaTeX file into LyX so that the LaTeX macros are imported 
into LyX math macros?

Thanks



Re: Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 3:27 AM, Reuven Segev reuven.se...@gmail.com wrote:
 Hi,
 How can import a LaTeX file into LyX so that the LaTeX macros are imported
 into LyX math macros?


Cross-posted at http://latex-community.org/forum/viewtopic.php?f=19t=26277

Scott


Compatibility Mac - Linux

2015-05-06 Thread Ygo Kanaki
The main reason why me and my colleagues switched from  MS-Word to Lyx is the 
problems we had with all the different Office versions, and problem we had 
opening Word-files in OpenOffice, etcetera. That was why we use Lyx.

Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx 
file, and I get this error message:

/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are 
working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of 
LyX and the lyx2lyx script failed to convert it.

So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is 
nothing to update. I have the most recent version (2.0.6 from April 2013) 
while my colleague has 2.1.2.2. from November 2014. I am out of luck.

We're on Openoffice again. :(




Re: Compatibility Mac - Linux

2015-05-06 Thread Steve Burnham

On May 6, 2015 at 12:30:32, Ygo Kanaki (x...@galama.net) wrote:

The main reason why me and my colleagues switched from MS-Word to Lyx is the  
problems we had with all the different Office versions, and problem we had  
opening Word-files in OpenOffice, etcetera. That was why we use Lyx.  

Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx  
file, and I get this error message:  

/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are  
working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of  
LyX and the lyx2lyx script failed to convert it.  

So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is  
nothing to update. I have the most recent version (2.0.6 from April 2013)  
while my colleague has 2.1.2.2. from November 2014. I am out of luck.  

We're on Openoffice again. :(  



Repositories can take a while to update sometimes, not to mention you aren’t 
even running the latest version of Ubuntu. You could manually update though by 
downloading the binary from the LyX website (http://www.lyx.org/Download) and 
update to the latest version (2.1.3) on your own.

-Steve

Re: Compatibility Mac - Linux

2015-05-06 Thread David L. Johnson

On 05/06/2015 02:26 PM, Ygo Kanaki wrote:

The main reason why me and my colleagues switched from  MS-Word to Lyx is the
problems we had with all the different Office versions, and problem we had
opening Word-files in OpenOffice, etcetera. That was why we use Lyx.

Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx
file, and I get this error message:

/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are
working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of
LyX and the lyx2lyx script failed to convert it.

So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is
nothing to update. I have the most recent version (2.0.6 from April 2013)
while my colleague has 2.1.2.2. from November 2014. I am out of luck.

We're on Openoffice again. :(


There is no reason to do that.  The problem is with Ubuntu --- or your 
version of it.  Certainly they have an updated version of LyX. If not, 
get it from the LyX archive.  If you want to go back to Openoffice, that 
is one thing, but this is not an obstacle.  Just upgrade your LyX 
version, and there are many ways to do that.


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Compatibility Mac - Linux

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 2:26 PM, Ygo Kanaki x...@galama.net wrote:
 The main reason why me and my colleagues switched from  MS-Word to Lyx is the
 problems we had with all the different Office versions, and problem we had
 opening Word-files in OpenOffice, etcetera. That was why we use Lyx.

 Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx
 file, and I get this error message:

 /mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are
 working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of
 LyX and the lyx2lyx script failed to convert it.

 So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is
 nothing to update. I have the most recent version (2.0.6 from April 2013)
 while my colleague has 2.1.2.2. from November 2014. I am out of luck.

 We're on Openoffice again. :(

I can understand your frustration, Ygo. But in order to develop new
features and improve LyX, we need this flexibility.

Since you're on Ubuntu, you can get the latest version of LyX from the PPA:

http://wiki.lyx.org/LyX/LyXOnUbuntu

Scott


Re: Compatibility Mac - Linux

2015-05-06 Thread Ygo Kanaki
Wow, that was quick: THREE responses within five minutes. Can't complain 
about that!

I installed the .ppa as instructed on the lyx website, updated Synaptic and 
indeed a newer version appeared. Installed the newer version, all ok.

But now when I open my colleagues Lyx file I get three errors instead of 
one:

===
Due to some error in it, the layout file: could not be loaded. A default 
textclass with default layouts will be used. LyX will not be able to 
produce correct output.

The layout file: scrartcl could not be found. A default textclass with 
default layouts will be used. LyX will not be able to produce correct 
output.

The module basic has been requested by this document but has not been found 
in the list of available modules. If you recently installed it, you 
probably need to reconfigure LyX.
===

Also in Document / Settings I see: Unknown text class scrartcl. Actually 
almost all of my document classes are greyed out now.

On my file system I find these two files:

/usr/share/lyx/layouts/scrartcl.layout
/usr/share/doc/texlive-doc/latex/koma-script/scrartcl.html

And there are more files like these in:
/usr/share/lyx/layouts
/usr/share/lyx2.0/layouts/

But I guess I have to move some stuff from A to B, or instruct Lyx where to 
look. Anybody knows the quick solution? Actually I feel sorry about this 
OpenOffice-stuff,  I don't want to leave Lyx.

Ygo.





Partly fixed

2015-05-06 Thread Ygo Kanaki
I clicked Tools / Reconfigure and that seemed to solve the problems. Let me 
try some more before I bother you guys too much...



Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]

2015-05-06 Thread Richard Heck

On 05/06/2015 03:08 PM, Ygo Kanaki wrote:

Wow, that was quick: THREE responses within five minutes. Can't complain
about that!

I installed the .ppa as instructed on the lyx website, updated Synaptic and
indeed a newer version appeared. Installed the newer version, all ok.

But now when I open my colleagues Lyx file I get three errors instead of
one:

===
Due to some error in it, the layout file: could not be loaded. A default
textclass with default layouts will be used. LyX will not be able to
produce correct output.

The layout file: scrartcl could not be found. A default textclass with
default layouts will be used. LyX will not be able to produce correct
output.

The module basic has been requested by this document but has not been found
in the list of available modules. If you recently installed it, you
probably need to reconfigure LyX.
===

Also in Document / Settings I see: Unknown text class scrartcl. Actually
almost all of my document classes are greyed out now.

On my file system I find these two files:

/usr/share/lyx/layouts/scrartcl.layout
/usr/share/doc/texlive-doc/latex/koma-script/scrartcl.html


LyX is complaining that it cannot find the class file associated with 
this layout, which

is scrartcl.cls. Try running:
# kpsewhich scrartcl.cls
and see if you get anything. If not, there is some problem with your 
LaTeX installation

and we'll need to fix that.

If you do see it, then try running Tools Reconfigure. If that does not 
work, then you
may be running into a python incompatibility that we have sometimes seen 
on some

systems, and we can sort it out somehow.


The layout file: scrartcl could not be found. A default textclass with
default layouts will be used. LyX will not be able to produce correct
output.

The module basic has been requested by this document but has not been found
in the list of available modules. If you recently installed it, you
probably need to reconfigure LyX.


These are more puzzling. It may be that you have the python problem, but try
reconfiguring and see what happens. It would be best to launch LyX from 
a terminal,
then Reconfigure, and copy and paste the output from that here, if you 
run into problems.


Richard



Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]

2015-05-06 Thread Ygo Kanaki
This I got:

$ kpsewhich scrartcl.cls
/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls

I did Tools / Reconfigure, I think that solved most of the problems. I can 
now open my colleagues document again without errors, and I get the correct 
pdf-output. Fixed!

I still see a whole bunch of greyed-out document classes, but I don't care 
for now, I'll try to fix that later. Lyx works again!

Thanks to you all.

Ygo.




Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Gilles Moyse
Hi.

Following this post (
http://article.gmane.org/gmane.editors.lyx.general/84619), I am looking for
the location of the file where Lyx stores my user interface configuration
under Windows 7.

I tried to find it by opening Lyx, selecting a new toolbar to be displayed
with View / Toolbar, closing Lyx and looking for the files just modified,
but I could only find a file named session in my user directory
(~\AppData\Roaming\LyX2.1\) containing cursor locations in recently opened
files.

Do you know where the file containing the user interface location is?

Thanks in advance,

Gilles


Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]

2015-05-06 Thread Richard Heck

On 05/06/2015 03:36 PM, Ygo Kanaki wrote:

This I got:

$ kpsewhich scrartcl.cls
/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls

I did Tools / Reconfigure, I think that solved most of the problems. I can
now open my colleagues document again without errors, and I get the correct
pdf-output. Fixed!

I still see a whole bunch of greyed-out document classes, but I don't care
for now, I'll try to fix that later. Lyx works again!


That is normal. LyX supports many more classes than anyone would ever 
need and, more
importantly, than a standard LaTeX installation would install. So 
there's not really anything
more to fix, unless you want to use one of those classes. In that case, 
you just need to install

the relevant LaTeX files.

And actually, you can *use* the class within LyX. You just won't be able 
to compile.


Richard



Re: Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Richard Heck

On 05/06/2015 05:36 PM, Gilles Moyse wrote:

Hi.

Following this post 
(http://article.gmane.org/gmane.editors.lyx.general/84619), I am 
looking for the location of the file where Lyx stores my user 
interface configuration under Windows 7.


Try Help About LyX. The dialog will tell you where the user directory is.

Richard



Re: Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Enrico Forestieri
Richard Heck writes:
 
 On 05/06/2015 05:36 PM, Gilles Moyse wrote:
  Hi.
 
  Following this post 
  (http://article.gmane.org/gmane.editors.lyx.general/84619), I am 
  looking for the location of the file where Lyx stores my user 
  interface configuration under Windows 7.
 
 Try Help About LyX. The dialog will tell you where the user directory is.

I think he is talking about the GUI settings. Their location is OS
dependent. On Windows, the settings are stored in the system registry
in HKCU\Software\LyX, while on cygwin and unix systems in the user home dir
in ~/.config/LyX/lyx.conf. Not sure about Macs.

-- 
Enrico



Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Reuven Segev
Hi,
How can import a LaTeX file into LyX so that the LaTeX macros are imported 
into LyX math macros?

Thanks



Re: Import LaTeX macros into LyX Math Macros

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 3:27 AM, Reuven Segev  wrote:
> Hi,
> How can import a LaTeX file into LyX so that the LaTeX macros are imported
> into LyX math macros?
>

Cross-posted at http://latex-community.org/forum/viewtopic.php?f=19=26277

Scott


Compatibility Mac - Linux

2015-05-06 Thread Ygo Kanaki
The main reason why me and my colleagues switched from  MS-Word to Lyx is the 
problems we had with all the different Office versions, and problem we had 
opening Word-files in OpenOffice, etcetera. That was why we use Lyx.

Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx 
file, and I get this error message:

"/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are 
working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of 
LyX and the lyx2lyx script failed to convert it."

So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is 
nothing to update. I have the most recent version (2.0.6 from April 2013) 
while my colleague has 2.1.2.2. from November 2014. I am out of luck.

We're on Openoffice again. :(




Re: Compatibility Mac - Linux

2015-05-06 Thread Steve Burnham

On May 6, 2015 at 12:30:32, Ygo Kanaki (x...@galama.net) wrote:

The main reason why me and my colleagues switched from MS-Word to Lyx is the  
problems we had with all the different Office versions, and problem we had  
opening Word-files in OpenOffice, etcetera. That was why we use Lyx.  

Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx  
file, and I get this error message:  

"/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are  
working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of  
LyX and the lyx2lyx script failed to convert it."  

So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is  
nothing to update. I have the most recent version (2.0.6 from April 2013)  
while my colleague has 2.1.2.2. from November 2014. I am out of luck.  

We're on Openoffice again. :(  



Repositories can take a while to update sometimes, not to mention you aren’t 
even running the latest version of Ubuntu. You could manually update though by 
downloading the binary from the LyX website (http://www.lyx.org/Download) and 
update to the latest version (2.1.3) on your own.

-Steve

Re: Compatibility Mac - Linux

2015-05-06 Thread David L. Johnson

On 05/06/2015 02:26 PM, Ygo Kanaki wrote:

The main reason why me and my colleagues switched from  MS-Word to Lyx is the
problems we had with all the different Office versions, and problem we had
opening Word-files in OpenOffice, etcetera. That was why we use Lyx.

Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx
file, and I get this error message:

"/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are
working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of
LyX and the lyx2lyx script failed to convert it."

So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is
nothing to update. I have the most recent version (2.0.6 from April 2013)
while my colleague has 2.1.2.2. from November 2014. I am out of luck.

We're on Openoffice again. :(


There is no reason to do that.  The problem is with Ubuntu --- or your 
version of it.  Certainly they have an updated version of LyX. If not, 
get it from the LyX archive.  If you want to go back to Openoffice, that 
is one thing, but this is not an obstacle.  Just upgrade your LyX 
version, and there are many ways to do that.


--
 
David L. Johnson

Department of Mathematics
Lehigh University



Re: Compatibility Mac - Linux

2015-05-06 Thread Scott Kostyshak
On Wed, May 6, 2015 at 2:26 PM, Ygo Kanaki <x...@galama.net> wrote:
> The main reason why me and my colleagues switched from  MS-Word to Lyx is the
> problems we had with all the different Office versions, and problem we had
> opening Word-files in OpenOffice, etcetera. That was why we use Lyx.
>
> Today I get a .lyx file from a colleague with a Mac. I try to open the Lyx
> file, and I get this error message:
>
> "/mnt/sda1/Dropbox/lithouse_shared_folder/Offers quotes prospects that we are
> working on/Jolly_X/20150506/offer_27.11.2013.lyx is from a newer version of
> LyX and the lyx2lyx script failed to convert it."
>
> So I try to update my Lyx on Ubuntu 14.04 to a later version, but there is
> nothing to update. I have the most recent version (2.0.6 from April 2013)
> while my colleague has 2.1.2.2. from November 2014. I am out of luck.
>
> We're on Openoffice again. :(

I can understand your frustration, Ygo. But in order to develop new
features and improve LyX, we need this flexibility.

Since you're on Ubuntu, you can get the latest version of LyX from the PPA:

http://wiki.lyx.org/LyX/LyXOnUbuntu

Scott


Re: Compatibility Mac - Linux

2015-05-06 Thread Ygo Kanaki
Wow, that was quick: THREE responses within five minutes. Can't complain 
about that!

I installed the .ppa as instructed on the lyx website, updated Synaptic and 
indeed a newer version appeared. Installed the newer version, all ok.

But now when I open my colleagues Lyx file I get three errors instead of 
one:

===
Due to some error in it, the layout file: could not be loaded. A default 
textclass with default layouts will be used. LyX will not be able to 
produce correct output.

The layout file: scrartcl could not be found. A default textclass with 
default layouts will be used. LyX will not be able to produce correct 
output.

The module basic has been requested by this document but has not been found 
in the list of available modules. If you recently installed it, you 
probably need to reconfigure LyX.
===

Also in Document / Settings I see: Unknown text class scrartcl. Actually 
almost all of my document classes are greyed out now.

On my file system I find these two files:

/usr/share/lyx/layouts/scrartcl.layout
/usr/share/doc/texlive-doc/latex/koma-script/scrartcl.html

And there are more files like these in:
/usr/share/lyx/layouts
/usr/share/lyx2.0/layouts/

But I guess I have to move some stuff from A to B, or instruct Lyx where to 
look. Anybody knows the quick solution? Actually I feel sorry about this 
OpenOffice-stuff,  I don't want to leave Lyx.

Ygo.





Partly fixed

2015-05-06 Thread Ygo Kanaki
I clicked Tools / Reconfigure and that seemed to solve the problems. Let me 
try some more before I bother you guys too much...



Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]

2015-05-06 Thread Richard Heck

On 05/06/2015 03:08 PM, Ygo Kanaki wrote:

Wow, that was quick: THREE responses within five minutes. Can't complain
about that!

I installed the .ppa as instructed on the lyx website, updated Synaptic and
indeed a newer version appeared. Installed the newer version, all ok.

But now when I open my colleagues Lyx file I get three errors instead of
one:

===
Due to some error in it, the layout file: could not be loaded. A default
textclass with default layouts will be used. LyX will not be able to
produce correct output.

The layout file: scrartcl could not be found. A default textclass with
default layouts will be used. LyX will not be able to produce correct
output.

The module basic has been requested by this document but has not been found
in the list of available modules. If you recently installed it, you
probably need to reconfigure LyX.
===

Also in Document / Settings I see: Unknown text class scrartcl. Actually
almost all of my document classes are greyed out now.

On my file system I find these two files:

/usr/share/lyx/layouts/scrartcl.layout
/usr/share/doc/texlive-doc/latex/koma-script/scrartcl.html


LyX is complaining that it cannot find the class file associated with 
this layout, which

is scrartcl.cls. Try running:
# kpsewhich scrartcl.cls
and see if you get anything. If not, there is some problem with your 
LaTeX installation

and we'll need to fix that.

If you do see it, then try running Tools> Reconfigure. If that does not 
work, then you
may be running into a python incompatibility that we have sometimes seen 
on some

systems, and we can sort it out somehow.


The layout file: scrartcl could not be found. A default textclass with
default layouts will be used. LyX will not be able to produce correct
output.

The module basic has been requested by this document but has not been found
in the list of available modules. If you recently installed it, you
probably need to reconfigure LyX.


These are more puzzling. It may be that you have the python problem, but try
reconfiguring and see what happens. It would be best to launch LyX from 
a terminal,
then Reconfigure, and copy and paste the output from that here, if you 
run into problems.


Richard



Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]

2015-05-06 Thread Ygo Kanaki
This I got:

$ kpsewhich scrartcl.cls
/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls

I did Tools / Reconfigure, I think that solved most of the problems. I can 
now open my colleagues document again without errors, and I get the correct 
pdf-output. Fixed!

I still see a whole bunch of greyed-out document classes, but I don't care 
for now, I'll try to fix that later. Lyx works again!

Thanks to you all.

Ygo.




Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Gilles Moyse
Hi.

Following this post (
http://article.gmane.org/gmane.editors.lyx.general/84619), I am looking for
the location of the file where Lyx stores my user interface configuration
under Windows 7.

I tried to find it by opening Lyx, selecting a new toolbar to be displayed
with View / Toolbar, closing Lyx and looking for the files just modified,
but I could only find a file named "session" in my user directory
(~\AppData\Roaming\LyX2.1\) containing cursor locations in recently opened
files.

Do you know where the file containing the user interface location is?

Thanks in advance,

Gilles


Re: Configure Problem on Ubuntu [Was: Compatibility Mac - Linux]

2015-05-06 Thread Richard Heck

On 05/06/2015 03:36 PM, Ygo Kanaki wrote:

This I got:

$ kpsewhich scrartcl.cls
/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrartcl.cls

I did Tools / Reconfigure, I think that solved most of the problems. I can
now open my colleagues document again without errors, and I get the correct
pdf-output. Fixed!

I still see a whole bunch of greyed-out document classes, but I don't care
for now, I'll try to fix that later. Lyx works again!


That is normal. LyX supports many more classes than anyone would ever 
need and, more
importantly, than a standard LaTeX installation would install. So 
there's not really anything
more to fix, unless you want to use one of those classes. In that case, 
you just need to install

the relevant LaTeX files.

And actually, you can *use* the class within LyX. You just won't be able 
to compile.


Richard



Re: Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Richard Heck

On 05/06/2015 05:36 PM, Gilles Moyse wrote:

Hi.

Following this post 
(http://article.gmane.org/gmane.editors.lyx.general/84619), I am 
looking for the location of the file where Lyx stores my user 
interface configuration under Windows 7.


Try Help> About LyX. The dialog will tell you where the user directory is.

Richard



Re: Windows 7 - Where does Lyx stores my user interface configuration?

2015-05-06 Thread Enrico Forestieri
Richard Heck writes:
> 
> On 05/06/2015 05:36 PM, Gilles Moyse wrote:
> > Hi.
> >
> > Following this post 
> > (http://article.gmane.org/gmane.editors.lyx.general/84619), I am 
> > looking for the location of the file where Lyx stores my user 
> > interface configuration under Windows 7.
> 
> Try Help> About LyX. The dialog will tell you where the user directory is.

I think he is talking about the GUI settings. Their location is OS
dependent. On Windows, the settings are stored in the system registry
in HKCU\Software\LyX, while on cygwin and unix systems in the user home dir
in ~/.config/LyX/lyx.conf. Not sure about Macs.

-- 
Enrico