I was using XeLaTeX do compile all my documents. But, yesterday I formatted my laptop to Windows 10, and I installed TexLive agian. But, now when I try to compile my existing documents, that used to be compiled, I just cannot.

I get the errors that can be seen below. Plus it is no longer recognizing Computer Modern font. Isn't it the default Latex font? Please note that I'm using TexMaker.

enter image description here


Here is also my full .tex file.

%!TEX TS-program = xelatex

\documentclass[a4paper, 11pt]{report}

% Language
% Context sensitive quotation
% Citations
\usepackage[style=alphabetic, backend=biber]{biblatex}
% Custom enumerations
% Extend options for positioning floats
% Support highlighting of certain parts of the text
% Definitions for mathematical type setting
% Headers & Footers
\usepackage[automark, nouppercase]{scrpage2}
% To change the format of titles
% Support for unicode math fonts
% Extended color support
% Extras for XƎTEX
% Hyperlinks and pdf properties
% TikZ
\usetikzlibrary{arrows,hobby,backgrounds,calc,trees, fit, shapes.geometric}



% Highlight and tab some text

% Syntax highlighting definitions

% Background color for syntax highlighting
\definecolor{bgcolor}{rgb}      {1,     1,      1}

% Custom color definitions
\definecolor{aqua}{rgb}         {0,     0.56,   1}
\definecolor{bluegray}{rgb}     {0.22,  0.46,   0.84}
\definecolor{grape}{rgb}        {0.56,  0,      1}
\definecolor{orchid}{rgb}       {0.41,  0.13,   0.55}
\definecolor{orange}{rgb}       {1,     0.54,   0}
\definecolor{silver}{rgb}       {0.57,  0.57,   0.57}
\definecolor{turquoise}{rgb}    {0,     0.86,   0.84}

% No indendation after paragraph

% Hyperref properties
    pdftitle    = {\Title},
    pdfsubject  = {\Subject},
    pdfauthor   = {\AuthorOne},
    pdfkeywords = {\KeyWords},
    colorlinks  = true,
    linkcolor   = black,
    anchorcolor = black,
    citecolor   = silver,
    urlcolor    = black

% Use same size for numbers and other text

% Define font styles
\newfontfamily\Zapfino{Computer Modern}

% Use normal font instead of italic font for head

% Set headers and footers

% Set height of head

% Set thickness of separation line in header, footer



        % Title and title-description
        {\Huge\Zapfino \Title}
        \vskip 0.5cm
        \vskip 1cm
        \vskip 0.5cm
        % Information about author
            \AuthorOne  & \MailOne\\
        \vskip 0.5cm
        \vskip 13.5cm

    % Date and version number
            \textbf{Version}    & \Version\\
            \textbf{Date}       & \today


% Modify space before and after a chapter
% Set chapter format for table of contents

% Set separation of dots between name of section and page number to such a high
% value that there will be no points in the table of contents
\makeatletter \renewcommand{\@dotsep}{10000} \makeatother
% Use blank header and footer
% Suppress page number
% Start on new page
% The table of contents starts at the second page

% Set table of contents
% Suppress page number

    {\Large\sffamily\bfseries}  % Bold, large, sans serif font for section
    {}                          % No format applied to whole title
    {0pt}                       % No separation between label and title
    {\thechapter ~•~ }          % Start with chapter number
    % Underline with blue ruler, Use default style for headers, footers

% Set format for other sections and paragraphs
% Color = orchid, Font = bold, sans serif

% Start with text on a new page
% Display headers and footers
% Restore arabic page numbering




\item $\Box (A \supset A)$.

% Suppress page number
% Set section format for bibliography
% Display bibliography


Any ideas what the problem might be, and how to solve it?

  • You will need to update your expl3 packages as well, error is probably related to this.
    – yannisl
    Commented Nov 22, 2015 at 17:17
  • I've no problem compiling this code.
    – Bernard
    Commented Nov 22, 2015 at 17:21
  • Did everything run smoothly with the texlive installation? What happens if you run pdflatex on a simpler document?
    – jarauh
    Commented Nov 22, 2015 at 17:48
  • @YiannisLazarides What's the process of updating a single package, like in this case, expl3? I have never done it before.
    – modpro
    Commented Nov 22, 2015 at 18:06
  • @jarauh I assume everything ran smoothly. I didn't see any error messages. And yes I can compile a simple document using pdflatex.
    – modpro
    Commented Nov 22, 2015 at 18:08

1 Answer 1


There are two problems:

\Box is not defined in basic latex. You have to load latexsym for that (compatible with unicode-math, it seems).

The other problem is the last version of the hobby library package. You can either not load it, or use a fix that you can download from github.

For the last solution, described as ‘quite possibly not a good fix’, you have to pdflatex hobby.dtx, and install the resulting hobby.code.tex, pgflibraryhobby.code.tex, tikzlibraryhobby.code.tex and pml3array.sty in …\latex\hobby\, either in texmf-local or your personal texmf directory. You'll remove it when an official fix will be available.

  • How can I now load hobby? I mean this is a template that I use, meaning it was written by someone else, and I don't know exactly which part is using hobby.
    – modpro
    Commented Nov 24, 2015 at 20:31
  • You don't have to load it: it's loaded by this line of your template: \usetikzlibrary{arrows, hobby, backgrounds,calc,trees, fit, shapes.geometric}%. All you have to do is to install the fix as I explained.
    – Bernard
    Commented Nov 24, 2015 at 20:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .