Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include files included by class file in fileset #1123

Merged
merged 4 commits into from
Dec 8, 2019

Conversation

PHPirates
Copy link
Collaborator

Fixes #1053

To test this PR:

main.tex:

\documentclass{class}
\begin{document}
  \begin{align*}
    \pi
  \end{align*}
\end{document}

class.cls:

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{class}[2019/10/31]
\LoadClass{article}
\RequirePackage{style}
\endinput

style.sty:

\ProvidesPackage{style}[2019/10/31]
\RequirePackage{amsmath}
\endinput

Then check that there is no error in main.tex, but when commenting out the \RequirePackage{amsmath} then the error appears.

@PHPirates PHPirates added this to the b0.6.8 milestone Dec 5, 2019
@PHPirates PHPirates self-assigned this Dec 5, 2019
@PHPirates PHPirates merged commit d2f393b into master Dec 8, 2019
@PHPirates PHPirates deleted the class-file-including-style-file branch December 8, 2019 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package dependencies in style file included by class file not recognized
2 participants