From f2537ee39a507a05b2db31c650866203213e7023 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Sat, 28 Nov 2020 23:46:27 +0100 Subject: [PATCH] Use \include instead of \input for chapters This enables use of \includeonly to speed up work on selected chapters. --- MLS.tex | 55 +++++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/MLS.tex b/MLS.tex index 606d9b4f2..0cacb282a 100644 --- a/MLS.tex +++ b/MLS.tex @@ -15,7 +15,6 @@ \author{Modelica Association} -% The other parts start on new page and could be optionally included \begin{document} @@ -81,92 +80,92 @@ \hypersetup{pageanchor=true} % Copyright -\input{chapters/copyright} +\include{chapters/copyright} \cleardoublepage \tableofcontents % Preface -\input{chapters/preface} +\include{chapters/preface} % Introduction -\input{chapters/introduction} +\include{chapters/introduction} % Lexical Structure -\input{chapters/lexicalstructure} +\include{chapters/lexicalstructure} % Operators and Expressions -\input{chapters/operatorsandexpressions} +\include{chapters/operatorsandexpressions} % Classes, Predefined Types, and Declarations -\input{chapters/classes} +\include{chapters/classes} % Scoping, Name Lookup, and Flattening -\input{chapters/scoping} +\include{chapters/scoping} % Interface or Type Relationships -\input{chapters/interface} +\include{chapters/interface} % Inheritance, Modification, and Redeclaration -\input{chapters/inheritance} +\include{chapters/inheritance} % Equations -\input{chapters/equations} +\include{chapters/equations} % Connectors and Connections -\input{chapters/connectors} +\include{chapters/connectors} % Arrays -\input{chapters/arrays} +\include{chapters/arrays} % Statements and Algorithm Chapters -\input{chapters/statements} +\include{chapters/statements} % Functions -\input{chapters/functions} +\include{chapters/functions} % Packages -\input{chapters/packages} +\include{chapters/packages} % Overloaded Operators -\input{chapters/overloaded} +\include{chapters/overloaded} % Stream Connectors -\input{chapters/stream} +\include{chapters/stream} % Synchronous Language Elements -\input{chapters/synchronous} +\include{chapters/synchronous} % State Machines -\input{chapters/statemachines} +\include{chapters/statemachines} % Annotations -\input{chapters/annotations} +\include{chapters/annotations} % Unit Expressions -\input{chapters/unitexpressions} +\include{chapters/unitexpressions} % The Modelica Standard Library -\input{chapters/library} +\include{chapters/library} \appendix % https://tex.stackexchange.com/questions/370384/change-toc-depth-mid-document \addtocontents{toc}{\setcounter{tocdepth}{0}} % Glossary -\input{chapters/glossary} +\include{chapters/glossary} % Modelica Concrete Syntax -\input{chapters/syntax} +\include{chapters/syntax} % Modelica DAE Representation} -\input{chapters/dae} +\include{chapters/dae} % Derivation of Stream Equations -\input{chapters/derivationofstream} +\include{chapters/derivationofstream} % Modelica Revision History -\input{chapters/revisions} +\include{chapters/revisions} \clearpage\phantomsection \addcontentsline{toc}{chapter}{\bibname}