LaTeX forum ⇒ LyXLaTeX Error: File `../*.sty' not found

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
mattvijen
Posts: 5
Joined: Sat Jun 11, 2016 11:58 am

LaTeX Error: File `../*.sty' not found

Postby mattvijen » Sat Jun 11, 2016 12:00 pm

I downloaded a Lyx template that uses the style called classicthesis. The file was installed from the 'package manager' as an admin and the classicthesis.sty file is located in the same folder as my lyx document. However, I still get the error:

LaTeX Error: File `../classicthesis.sty' not found

when printing to PDF. Any ideas on how to fix this ?

Thanks in advance!

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3906
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jun 11, 2016 12:25 pm

Where can we find that template?

Edit: Crosspost
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

mattvijen
Posts: 5
Joined: Sat Jun 11, 2016 11:58 am

Postby mattvijen » Sat Jun 11, 2016 12:29 pm


mattvijen
Posts: 5
Joined: Sat Jun 11, 2016 11:58 am

Postby mattvijen » Sat Jun 11, 2016 12:41 pm

Problem solved. Simply needed to change .. /*sty to ./*sty to use the file in the local folder and not seach in the parent folder

User avatar
Johannes_B
Site Moderator
Posts: 3906
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jun 11, 2016 12:51 pm

Sam Carter already answered the question:

../classicthesis.sty means latex searches in the parent folder for the sty file. to fix this you have two possibilities:

if classicthesis.sty is located in the same folder as your document, change ../classicthesis.sty to ./classicthesis.sty

move classicthesis.sty to the folder above your document.



The page you are linking to contains 3 different downloads at the moment. The issue canot be reproduced with the default template.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 4 guests