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

Packages with different style file name are ignored #10

Open
sbruder opened this issue Sep 2, 2021 · 0 comments
Open

Packages with different style file name are ignored #10

sbruder opened this issue Sep 2, 2021 · 0 comments

Comments

@sbruder
Copy link

sbruder commented Sep 2, 2021

Given this example document:

\documentclass{article}
\usepackage{MnSymbol}
\begin{document}
 $\bigcircle$
\end{document}

When running tex2nix on it, it does not add the package to the environment.

This is because there is no TeXLive package named MnSymbol, only mnsymbol. However, the style file is called MnSymbol.sty, so using \usepackage{mnsymbol} (for which tex2nix produces the correct environment) does not work.

I don’t know how this could be fixed, because searching the name of the style files would require building all TeXLive packages, which takes a long time and uses up a high amount of storage. In this specific case, a workaround might be to compare the packages case-insensitive, though that might lead to other problems.

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

No branches or pull requests

1 participant