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

Template does not compile on TeXLive 2020 #34

Closed
skilkis opened this issue Feb 18, 2021 · 0 comments · Fixed by #35
Closed

Template does not compile on TeXLive 2020 #34

skilkis opened this issue Feb 18, 2021 · 0 comments · Fixed by #35
Assignees
Labels
bug Something isn't working

Comments

@skilkis
Copy link
Owner

skilkis commented Feb 18, 2021

The error generated by TeXLive 2020 is as follows as per GitHub Actions:

/opt/texlive/texdir/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty:479: LaTeX
 Error: The font size command \normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

Upon inspection this is caused by tudelft-light/report.cls calling LoadClass on report.cls which leads to a namespace conflict. Furthermore, as a result, the \normalsize macro is never loaded from the LaTeX standard library report class file.

@skilkis skilkis added the bug Something isn't working label Feb 18, 2021
@skilkis skilkis self-assigned this Feb 18, 2021
skilkis added a commit to skilkis/tudelft-light-template that referenced this issue Feb 18, 2021
This commit addresses Issue [#34] by prepending `tud-` to all template
packages and class files. As a result, the namespace conflict which
led to failing compilations on TeXLive 2020 is fixed.

[#34]: skilkis/tudelft-light#34
skilkis added a commit that referenced this issue Feb 18, 2021
This commit Closes #34 by prepending tud- to all template
packages and class files. As a result, the namespace conflict which
led to failing compilations on TeXLive 2020 is fixed.

In addition, this commit Closes #31 by adding an  optional value
argument to \nomunit. The solution is to add an optional argument to the
\nomunit macro to pass this value onto \SI as opposed to the \si
environment. This fix is included in Commit [9628f4e4].

[9628f4e4]: skilkis/tudelft-light-template@9628f4e4
skilkis added a commit that referenced this issue Feb 18, 2021
This commit Closes #34 by prepending tud- to all template
packages and class files. As a result, the namespace conflict which
led to failing compilations on TeXLive 2020 is fixed.

In addition, this commit Closes #31 by adding an  optional value
argument to \nomunit. The solution is to add an optional argument to the
\nomunit macro to pass this value onto \SI as opposed to the \si
environment. This fix is included in Commit [9628f4e4].

[9628f4e4]: skilkis/tudelft-light-template@9628f4e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant