Closed coatless closed 1 year ago
Right now, the PR is being held up due to hyperref
not playing nicely with \MakeUppercase
. So, using any chapter heading, e.g. # Chapter
, is getting a nice ol' error of:
! Undefined control sequence.
\MakeUppercase ...ppercaseUnsupportedInPdfStrings
Error: Failed to compile _main.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See _main.log for more info.
Please delete _main.Rmd after you finish debugging the error.
So, the solution I opted to go for here is to modify the .cls
file.
That is, going from:
\MakeUppercase{}
to
\texorpdfstring{\MakeUppercase{text}}{}
Useful links:
\texorpdfstring{\MakeUppercase{text}}{}
\makeatletter
\renewcommand{\section}{\@ifstar{\@sSection}{\@Section}}
\newcommand{\@sSection}[2][]{%
\oldsection*{\texorpdfstring{\MakeUppercase{#2}}{#2}}}
\newcommand{\@Section}[2][]{%
\def\shortsec{#1}%
\ifx\shortsec\empty%
\oldsection{\texorpdfstring{\MakeUppercase{#2}}{#2}}
\else%
\oldsection[\texorpdfstring{\MakeUppercase{#1}}{#1}]{\texorpdfstring{\MakeUppercase{#2}}{#2}}
\fi}
\makeatother
textcase
to override \MakeUppercase
with \MakeTextUppercase
; however, it didn't work even when placed within the .cls
Note: Not all instances were changed. Only instances that dealt with a hyperref
.
Still not where it needs to be...
! Undefined control sequence.
\listtablename ...tablename \else \texorpdfstring
{\MakeUppercase {\thesis@l...
l.97 \listoftables
Closes #14 by implementing the ECE thesis style
thesisdown::thesis_pdf
thesis.tex
over totemplate.tex
hyperref
_bookdown.yml
andoutput.yml
ECE Thesis style is available at:
Further details can be found on the official ECE Department @ UIUC Website.
Template disclaimer
The Grad College at UIUC does not provide a LaTeX template. The template converted here is the "best" LaTeX version available. However, there is a word thesis template available here: https://grad.illinois.edu/thesis/format
Note: It might be fun to look into
redoc
andofficer
.There are other templates around such as: