On 03/31/2018 12:30 PM, Richard Kimberly Heck wrote:
On 03/31/2018 07:07 AM, Anthony wrote:
I have installed the classicthesis.sty using MiKTeX.
I have also installed the layout file that accompanies the .sty file
When I run my LyX code, using a template that also comes with the
classithesis package, the following error pops up:
LaTeX error: file ../classicthesis.sty not found.
The .sty file is located in MiKTeX 2.9\tex\latex\classicthesis
How did you install it? In Linux, if I install such a file manually,
then I have to
run a program called 'texhash' to regenerate the TeX database that is
used to find
such files. Otherwise, TeX does not know I've installed it. It may be
that you have
to do something similar in MikTeX.
Riki
If the package is installed via the MiKTeX package manager, texhash is
run automagically.
The error message is curious (to me) in that indicates a relative path
(`../classicthesis.sty'). Was this the result of opening the
classicthesis-book.lyx example file? That file contains the following
preamble gem:
\usepackage[linedheaders=true,
parts=true]{../classicthesis}% ,manychapters
The zip archive of the classic thesis package does contain a copy of
classicthesis.sty, in the parent folder of the examples folder, but when
LyX is compiling it in a temp directory I'm pretty sure the path will be
misinterpreted. Getting rid of "../" in the preamble should fix it, if
I'm right.
Paul