From 1a0dc91434e25b553113f8340f45b33771a83889 Mon Sep 17 00:00:00 2001 From: h Date: Tue, 9 Jan 2024 16:41:41 -0500 Subject: [PATCH] fix booknotes --- tex/booknotes.cls | 2 ++ tex/notes.cls | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tex/booknotes.cls b/tex/booknotes.cls index 48406e9..00e3d4c 100644 --- a/tex/booknotes.cls +++ b/tex/booknotes.cls @@ -344,5 +344,7 @@ \import{./figures/}{#1.pdf_tex} } +\def\@section{} + \makeatother diff --git a/tex/notes.cls b/tex/notes.cls index 0f1096b..f0badae 100644 --- a/tex/notes.cls +++ b/tex/notes.cls @@ -320,8 +320,8 @@ \subsubsection{#1} } -\newcommand{\chapter}[1]{ - \section{#1} +\newcommand{\chapter}[2][O]{ + \section{#2} } \renewcommand{\part}[1]{}