\documentclass[../../script.tex]{subfiles}
%! TEX root = ../../script.tex

\begin{document}
\section{Partial and Total Differentiability}

\begin{defi}

\end{defi}
\end{document}