Browse Source

fix section titles (they were not appearing), bug introduced by #66

Jeremy Siek 3 years ago
parent
commit
3343cc90e9
2 changed files with 2 additions and 4 deletions
  1. 1 1
      TimesAPriori_MIT.cls
  2. 1 3
      book.tex

+ 1 - 1
TimesAPriori_MIT.cls

@@ -750,7 +750,7 @@ ItalicFont=SyntaxLTStd-Italic,
     \begingroup
     \begingroup
       #6{%
       #6{%
         \@hangfrom{\hskip #3\relax\@svsec}%
         \@hangfrom{\hskip #3\relax\@svsec}%
-          \interlinepenalty \@M \titlecap[\sansbold{#8}] \@@par}%
+          \interlinepenalty \@M \titlecap{\sansbold{#8}} \@@par}%
     \endgroup\else
     \endgroup\else
     \begingroup
     \begingroup
       #6{%
       #6{%

+ 1 - 3
book.tex

@@ -1,6 +1,4 @@
-%\documentclass[]{TimesAPriori_MIT}%%6x9
 \documentclass[7x10]{TimesAPriori_MIT}%%7x10
 \documentclass[7x10]{TimesAPriori_MIT}%%7x10
-%\documentclass[8x10]{TimesAPriori_MIT}%%8x10
 
 
 \usepackage[utf8]{inputenc}
 \usepackage[utf8]{inputenc}
 %% \usepackage{setspace}
 %% \usepackage{setspace}
@@ -6303,7 +6301,7 @@ for some operations we are more restrictive, for example, rejecting
 This chapter is organized as follows.  We begin by defining the syntax
 This chapter is organized as follows.  We begin by defining the syntax
 and interpreter for the \LangIf{} language
 and interpreter for the \LangIf{} language
 (Section~\ref{sec:lang-if}). We then introduce the idea of type
 (Section~\ref{sec:lang-if}). We then introduce the idea of type
-checking and build a type checker for \LangIf{}
+checking and define a type checker for \LangIf{}
 (Section~\ref{sec:type-check-Lif}).
 (Section~\ref{sec:type-check-Lif}).
 %
 %
 \racket{To compile \LangIf{} we need to enlarge the intermediate
 \racket{To compile \LangIf{} we need to enlarge the intermediate