Skip to content

Conversation

@Smileodox
Copy link

I ran into a few issues trying to compile the project on a non-Windows machine and decided to modernize the Makefile. This PR fixes the build errors and makes the workflow smoother for macOS and Linux users while keeping it compatible with Windows.

Key Changes:

Changed latexmk to use -pdf mode. The previous configuration ran in DVI mode, which caused ! Undefined control sequence errors with modern graphics packages.

The build was failing because the lmu-thesis-cover package expects a .charcount.txt file which didn't exist. I added a rule to automatically generate this file (using texcount if available, or defaulting to 0 if not) so the build succeeds out of the box.

Removed the hardcoded C:/Program Files/... path. The Makefile now detects the OS and uses the appropriate command to open the PDF.

Removed the obsolete thumbpdf dependency (modern viewers don't need it) and added clearer comments to the file.

Fixed aspell loop error (looped over each file inside the loop)

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.

1 participant