## LaTeX forum ⇒ Theses, Books, Title pages ⇒ Master-doctoral-thesis template not compiling after updating Miktex Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
rj2585
Posts: 2
Joined: Thu Feb 16, 2017 12:39 am

### Master-doctoral-thesis template not compiling after updating Miktex

I am trying to use the template for a thesis found at http://www.latextemplates.com/template/masters-doctoral-thesis . The package worked fine for me on overleaf, but the project got to big to manage there. I downloaded the zip file to open it on TexStudio and it compiled fine until I updated the Tex packages in Tex Live (I am using MacTex but the same happened with MikTex after updating in Windows). After the update, when I compile the project, I get the following error:

Missing \endcsname inserted.<to be read again>                    \tex_let:D l.164 \cleardoublepage The control sequence marked <to be read again> shouldnot appear between \csname and \endcsname.

This error appears every time commands like \cleardoublepage, \chapter, \begin{abstract}, \tableofcontents and others are called.

The log file is included as an attachment as well as the template from latextemplates.

Attachments
thesis_1.zip
main.log

Tags:

BlackForestrian
Posts: 34
Joined: Thu Sep 04, 2014 2:43 pm
Location: Black Forest, Germany
The issue is related to the recent (2017/10/02) update of the xparse and l3kernel packages, leading to an error with commands defined with
\NewDocumentCommand
.

The precise reason is yet unclear.

\makeatletter\AtBeginDocument{  \renewcommand{\blank@p@gestyle}{empty}}\makeatother
Oh my god, you are confusing me with someone who is really, really, really interested in that!

rj2585
Posts: 2
Joined: Thu Feb 16, 2017 12:39 am
That solved the problem.
Thank you very much.

Johannes_B
Site Moderator
Posts: 3671
Joined: Thu Nov 01, 2012 4:08 pm
With the next update, everything should be working like before without the hack.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.