I have the following files:
my_folder/
include/
mypackage.sty
main.tex
The package's name is 'mypackage'. Now, in main.tex I do
\usepackage{include/mypackage}
using the file path rather than the package name. This works, but warns me:
You have requested package `include/foo' but the package provides `foo'
How do I avoid this without placing the document class file elsewhere?
\usepackage{include/mypackage}do\usepackage{mypackage}instead. The argument is a package name not a file path, just as you don't do\documentclass{tex/macros/latex/base/article}– David Carlisle Jun 27 '14 at 16:37silencepackage. – Werner Jun 27 '14 at 19:19