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

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

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

Post by mattvijen »

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

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

Post by Johannes_B »

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

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

Post by mattvijen »

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: 4182
Joined: Thu Nov 01, 2012 4:08 pm

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

Post by Johannes_B »

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.
Post Reply