LaTeX forum ⇒ Theses, Books, Title pagesMaster-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

Postby rj2585 » Thu Feb 16, 2017 1:10 am

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:

  1. Missing \endcsname inserted.
  2. <to be read again>
  3. \tex_let:D
  4. l.164 \cleardoublepage
  5.  
  6. The control sequence marked <to be read again> should
  7. not 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.

Thank you for your help.
Attachments
thesis_1.zip
(313.66 KiB) Downloaded 29 times
main.log
(100.23 KiB) Downloaded 25 times

Tags:

BlackForestrian
Posts: 34
Joined: Thu Sep 04, 2014 2:43 pm
Location: Black Forest, Germany

Postby BlackForestrian » Thu Feb 16, 2017 11:46 pm

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
  1. \NewDocumentCommand
.

The precise reason is yet unclear.

As a bypass, add this code in your preamble:
  1. \makeatletter
  2. \AtBeginDocument{
  3. \renewcommand{\blank@p@gestyle}{empty}
  4. }
  5. \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

Postby rj2585 » Fri Feb 17, 2017 4:33 pm

That solved the problem.
Thank you very much.

User avatar
Johannes_B
Site Moderator
Posts: 3551
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Feb 18, 2017 10:33 am

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.


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 1 guest