GeneralLatex warning:

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
dannyjor
Posts: 10
Joined: Sun Feb 08, 2009 7:08 pm

Latex warning:

Post by dannyjor »

LaTeX Warning: You have requested package 'look/jalchap',
but the package provides 'stile-filer/jalchap'

I get this warning every time i compile my LaTeX project, I can't interpret this warning and therefor I haven't been able to find a solution to it.

Have any of you encountered the same problem, or maybe some variation of this?

It doesn't seem to cause any problems in the PDF output, but it still annoys me that i haven't been able to solve the problem. :x

Hope some of you can help..
Best regards
Danny

Recommended reading 2024:

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

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

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Latex warning:

Post by localghost »

You have to be more precise. It's not clear which document class you are using. If it is a non standard class, attach it to your next post or give a link where to find it. Obviously you include a package that is also a non standard one. Do the same with this package file as with the class. Put them together in a ZIP archive. I believe to know where this warning comes from but I have to examine both files.


Best regards
Thorsten¹
dannyjor
Posts: 10
Joined: Sun Feb 08, 2009 7:08 pm

Latex warning:

Post by dannyjor »

Hi Thorsten,

Thanks for the rapid reply.
I will try to be more precise in future posts.
Well, my document class is

Code: Select all

\documentclass[a4paper,11pt,danish,twoside,openright]{look/05gr551c}
I have attached the package.
I cant seem to find the package using the package browser, maybe that is the problem?

Best regards
Danny
Attachments
look.rar
The look package
(32.46 KiB) Downloaded 264 times
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: Latex warning:

Post by phi »

The jalchap package (jalchap.sty) includes the directory name "style-filer" in its \ProvidesPackage line, so you have to put the package in a directory with the same name to get rid of the warning. The package names given in \usepackage and the one in \ProvidesPackage have to be the same. (This is not good style, though, since LaTeX package names are generally directory-agnostic and are treated as such by the kpathsearch library.)
dannyjor
Posts: 10
Joined: Sun Feb 08, 2009 7:08 pm

Re: Latex warning:

Post by dannyjor »

Hi Phi, thanks for your reply
Maybe its me being a bit slow, :) but what do i physically have to do?
Do i have to create a new folder thats called "style-filer" or "jalchap" and then move the .sty file there?

Or do i have to include the line /ProvidesPackage in my Preamble?
I am rather new to LaTeX :)

Danny
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Latex warning:

Post by localghost »

dannyjor wrote:[…] Do i have to create a new folder thats called "style-filer" or "jalchap" and then move the .sty file there? […]
Actually phi described very good what you have to do. Create a subdirectory called style-filer and move the file there. Alternatively you can edit the jalchap.sty file and search the following line(s).

Code: Select all

\ProvidesPackage{style-filer/jalchap}
             [2002/16/12 v0.2
                 LaTeX package (Revised chapters)]
What causes the warning is the first part of the package identification. Modify this line as follows.

Code: Select all

\ProvidesPackage{jalchap}[2002/16/12 v0.2 LaTeX package (Revised chapters)]
Save the file again as jalchap.sty (overwrite the old one) and the warnings will be gone.
dannyjor
Posts: 10
Joined: Sun Feb 08, 2009 7:08 pm

Latex warning:

Post by dannyjor »

Well, editing the package fixed the problem. I did have to write

Code: Select all

\ProvidesPackage{look/jalchap}
             [2002/16/12 v0.2
                 LaTeX package (Revised chapters)]
do.

But thanks to both of you.. :)
Post Reply