GeneralMIT Thesis Template

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
polemicist
Posts: 6
Joined: Fri Nov 20, 2020 5:55 pm

MIT Thesis Template

Post by polemicist »

Hi All,

I am planning to use MIT's Thesis template but there are two lines that give me errors. I am hoping for some explainations about these as I can use the template by commenting these out ( I have asked for their permission but I assume it is open source?).

Thank you

The lines that I have trouble with

%% This bit allows you to either specify only the files which you wish to
%% process, or `all' to process all files which you \include.
%% Krishna Sethuraman (1990).

\typein [\files]{all}%{Enter file names to process, (chap1,chap2 ...), or `all' to process all files:}
\def\all{all}\ifx\files\all \typeout{Including all files.} \else \typeout{Including only \files.} \includeonly{\files} \fi


What are their use, do I need them and some examples of how to use them would be appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

MIT Thesis Template

Post by Ijon Tichy »

I don't know the template and unfortunately you did not show us a link and even did not show us the error message, but the lines you've shown are for an interactive \includeonly (see a latex introduction for more information about \include and \includeonly). So they won't work in a non-interactive LaTeX run. But most LaTeX editors use non-interactive LaTeX runs and do not provide interactive LaTeX runs. You can try to comment out these lines.

Unfortunately, the comment "%% Krishna Sethuraman (1990)." gives reason to assume that it is an outdated LaTeX 2.09 template. LaTeX2e, which is used as LaTeX today, was released in 1994.

BTW: You should tag code with BBCode's code tag (Code button in the toolbar). You can alternatively use the Select code selector to explicitly mark it as TeX (LaTeX) code. In this case you can give it an explicit file name.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
polemicist
Posts: 6
Joined: Fri Nov 20, 2020 5:55 pm

MIT Thesis Template

Post by polemicist »

Thank you! I will use the BBCode in my future posts. :)
john02139
Posts: 1
Joined: Fri Sep 15, 2023 8:04 pm

MIT Thesis Template

Post by john02139 »

The MIT thesis latex template has been rewritten (as of 2023), and the new template does not use the interactive mode that created trouble for the OP. The new latex template for an MIT thesis can be downloaded from CTAN at this link:

https://ctan.org/pkg/mitthesis
Post Reply