From 751f0de50edb2e21c5f9f8a5da4dcf066d6b2fbe Mon Sep 17 00:00:00 2001 From: Sebastien BLANCHET Date: Thu, 8 Apr 2021 18:51:17 +0200 Subject: [PATCH 1/2] doc: compile twice the documentation to update the TOC If you compile once the documentation, the table of contents is empty You have to compile twice to fill the table of contents. --- documentation/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/documentation/Makefile b/documentation/Makefile index dc05c80e..d3e4018c 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -55,6 +55,8 @@ pdf: $(EXT_FILES) $(MAKE) -C images $(MAKE) -C graphs pdflatex $(LATEX_OPTIONS) $(FILE) +# compile twice to update the table of contents + pdflatex $(LATEX_OPTIONS) $(FILE) index: makeindex $(FILE) From c76c83fbe2fc15abc4cdab0ff9c02b1314ab6018 Mon Sep 17 00:00:00 2001 From: Sebastien BLANCHET Date: Thu, 8 Apr 2021 18:55:53 +0200 Subject: [PATCH 2/2] doc: promote \subsection to \section in chapter "Timing Aspects" The chapter "Timing Aspects" had \subsection but not \section Therefore, promote all \subsection to \section --- documentation/ethercat_doc.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/ethercat_doc.tex b/documentation/ethercat_doc.tex index fd0bc75a..381ff083 100644 --- a/documentation/ethercat_doc.tex +++ b/documentation/ethercat_doc.tex @@ -2903,7 +2903,7 @@ are rare, there are a few aspects that can (and should be) dealt with. %------------------------------------------------------------------------------ -\subsection{Application Interface Profiling} +\section{Application Interface Profiling} \label{sec:timing-profile} \index{Profiling} % FIXME @@ -2985,7 +2985,7 @@ in \autoref{sec:timing-bus}. %------------------------------------------------------------------------------ -\subsection{Bus Cycle Measuring} +\section{Bus Cycle Measuring} \label{sec:timing-bus} \index{Bus cycle}