Re: LyX cannot find any TeX classes!

2014-10-19 Thread Anders Host-Madsen
Anders Host-Madsen  yahoo.com> writes:

> 
> I installed LyX 2.1.2 from 2.1.0. Now LyX cannot find any
> classes. I kept 2.1.0, but when I run that it cannot find any
> classes either. But the classes are there. It worked with 2.1.0
> before I installed 2.1.2. And if I compile directly in TeXShop,
> there is not problem, all the classes are there. What can I do?
> Probably it's some kind of path problem.
> 
> 


Well, the problem seems to have been with Yosemite. The solution
was in a previous email thread:

http://tex.stackexchange.com/questions/203810/lyx-2-x-document-class-not-available-mac-os-
x-10-10-yosemite-pb-3



LyX cannot find any TeX classes!

2014-10-19 Thread Anders Host-Madsen
I installed LyX 2.1.2 from 2.1.0. Now LyX cannot find any
classes. I kept 2.1.0, but when I run that it cannot find any
classes either. But the classes are there. It worked with 2.1.0
before I installed 2.1.2. And if I compile directly in TeXShop,
there is not problem, all the classes are there. What can I do?
Probably it's some kind of path problem.



BIBINPUTS and Yosemite

2014-10-19 Thread Anders Host-Madsen
Every time Apple comes out with a new version of OS X,
BIBINPUTS gets broken, and a new workaround has to be
found. I found the following works
for Yosemite, so I post here (I should I put it on a wiki)?

Mac Yosemite
Adapted from:
http://stackoverflow.com/questions/25385934/
yosemite-launchd-conf-no-longer-work

launch AppleScript Editor, enter:

do shell script "launchctl setenv setenv BIBINPUTS path(s)". 
Separate multiple paths with :
Notice that the string after BIBINPUTS cannot contain spaces.

Now save (⌘+s) as File format: Application. Finally open 
System Settings → Users & Groups → Login Items and add your new application.

Notice that if LyX starts before the script is
run, the environment will not be active. Then restart
LyX.




Re: Lyx and Yosemite

2014-10-19 Thread Anders Engelsvold
Scott, 

Thanks for the reply. 
Someone already suggested that solution to me, and it worked perfectly!

Anders


> 19. okt. 2014 kl. 19.32 skrev Scott Kostyshak :
> 
> Hi Anders,
> 
> On Sun, Oct 19, 2014 at 12:18 PM, Anders Engelsvold  wrote:
>> Hello,
>> 
>> I am a complete beginner to Tex, and have recently installed Lyx in 
>> conjunction with MacTex.
>> Lyx doesn’t appear to be recognizing the Tex-distribution though, because as 
>> soon as I start the program I get a message saying that I’m missing a 
>> document class. If I go to Document -> Settings, all the document classes 
>> are listed as unavailable.
>> 
>> I have got a Macbook Pro 2011 running Yosemite (OS X 10.10). I installed Lyx 
>> and MacTex after installing Yosemite.
>> 
>> What I have tried to fix it:
>> - Uninstalling and reinstalling both MacTex and Lyx
>> - Reconfigure
>> - Running the configure.py module in the resources folder (almost every line 
>> in the output is followed by a "no")
> 
> Does the solution here work?
> http://tex.stackexchange.com/questions/203810/lyx-2-x-document-class-not-available-mac-os-x-10-10-yosemite-pb-3
> 
>> 
>> I have been in touch with Herb Schulz at MacTex and he concluded that 
>> everything was running fine on the MacTex-end on my computer.
>> He came with the following suggestion:
>> 
>> "From some discussions on the TeXworks list it appears that TeXworks has 
>> been struck by a bug in Yosemite that passes the incorrect PATH value to 
>> sub-processes. This might be true for Lyx too. Please report this to the 
>> authors of Lyx."
> 
> Thanks for the report. This is good to know. If this is true though,
> it seems kind of silly of me to report the bug to every piece of
> software you use. Why not report the bug to Mac? If it already exists,
> can you find a URL to a bug report?
> 
> Best,
> 
> Scott



Re: Lyx and Yosemite

2014-10-19 Thread Scott Kostyshak
Hi Anders,

On Sun, Oct 19, 2014 at 12:18 PM, Anders Engelsvold  wrote:
> Hello,
>
> I am a complete beginner to Tex, and have recently installed Lyx in 
> conjunction with MacTex.
> Lyx doesn’t appear to be recognizing the Tex-distribution though, because as 
> soon as I start the program I get a message saying that I’m missing a 
> document class. If I go to Document -> Settings, all the document classes are 
> listed as unavailable.
>
> I have got a Macbook Pro 2011 running Yosemite (OS X 10.10). I installed Lyx 
> and MacTex after installing Yosemite.
>
> What I have tried to fix it:
> - Uninstalling and reinstalling both MacTex and Lyx
> - Reconfigure
> - Running the configure.py module in the resources folder (almost every line 
> in the output is followed by a "no")

Does the solution here work?
http://tex.stackexchange.com/questions/203810/lyx-2-x-document-class-not-available-mac-os-x-10-10-yosemite-pb-3

>
> I have been in touch with Herb Schulz at MacTex and he concluded that 
> everything was running fine on the MacTex-end on my computer.
> He came with the following suggestion:
>
> "From some discussions on the TeXworks list it appears that TeXworks has been 
> struck by a bug in Yosemite that passes the incorrect PATH value to 
> sub-processes. This might be true for Lyx too. Please report this to the 
> authors of Lyx."

Thanks for the report. This is good to know. If this is true though,
it seems kind of silly of me to report the bug to every piece of
software you use. Why not report the bug to Mac? If it already exists,
can you find a URL to a bug report?

Best,

Scott


Re: Lyx and Yosemite

2014-10-19 Thread Murat Yildizoglu

Hi,
I have upgraded my MBP 2011 to Yosemite and I meet similar problems. 
When I launch LyX from the Console (sudo and not sudo), I get a Lyx with 
a French interface and it can see all latex packages installed by 
MacTeX2014 when I do Tools/Tex Information.
When I launch it using the Applications folder icon, I get a LyX with an 
English UI and it cannot see any of the packages.

Really strange problem...


Anders Engelsvold a écrit :

Hello,

I am a complete beginner to Tex, and have recently installed Lyx in conjunction 
with MacTex.
Lyx doesn’t appear to be recognizing the Tex-distribution though, because as soon 
as I start the program I get a message saying that I’m missing a document class. 
If I go to Document ->  Settings, all the document classes are listed as 
unavailable.

I have got a Macbook Pro 2011 running Yosemite (OS X 10.10). I installed Lyx 
and MacTex after installing Yosemite.

What I have tried to fix it:
- Uninstalling and reinstalling both MacTex and Lyx
- Reconfigure
- Running the configure.py module in the resources folder (almost every line in the 
output is followed by a "no")

I have been in touch with Herb Schulz at MacTex and he concluded that 
everything was running fine on the MacTex-end on my computer.
He came with the following suggestion:

"From some discussions on the TeXworks list it appears that TeXworks has been struck 
by a bug in Yosemite that passes the incorrect PATH value to sub-processes. This might be 
true for Lyx too. Please report this to the authors of Lyx."


Best regards,
Anders Engelsvold


--
Université de Bordeaux  CNRS 



Prof. Murat Yildizoglu 

GREThA (UMR CNRS 5113)
UNIVERSITE DE BORDEAUX
GREThA (UMR CNRS 5113)
MURAT YILDIZOGLU
16 AVENUE LEON DUGUIT
CS 50057
33608 PESSAC CEDEX
FRANCE

Bureau : E-331

yildizoglu.info 



Lyx and Yosemite

2014-10-19 Thread Anders Engelsvold
Hello,

I am a complete beginner to Tex, and have recently installed Lyx in conjunction 
with MacTex. 
Lyx doesn’t appear to be recognizing the Tex-distribution though, because as 
soon as I start the program I get a message saying that I’m missing a document 
class. If I go to Document -> Settings, all the document classes are listed as 
unavailable. 

I have got a Macbook Pro 2011 running Yosemite (OS X 10.10). I installed Lyx 
and MacTex after installing Yosemite.

What I have tried to fix it:
- Uninstalling and reinstalling both MacTex and Lyx
- Reconfigure
- Running the configure.py module in the resources folder (almost every line in 
the output is followed by a "no")

I have been in touch with Herb Schulz at MacTex and he concluded that 
everything was running fine on the MacTex-end on my computer.
He came with the following suggestion:

"From some discussions on the TeXworks list it appears that TeXworks has been 
struck by a bug in Yosemite that passes the incorrect PATH value to 
sub-processes. This might be true for Lyx too. Please report this to the 
authors of Lyx."


Best regards,
Anders Engelsvold