Skip to content

Commit

Permalink
Use \include instead of \input for chapters
Browse files Browse the repository at this point in the history
This enables use of \includeonly to speed up work on selected chapters.
  • Loading branch information
henrikt-ma committed Nov 28, 2020
1 parent 636efa8 commit f2537ee
Showing 1 changed file with 27 additions and 28 deletions.
55 changes: 27 additions & 28 deletions MLS.tex
Expand Up @@ -15,7 +15,6 @@

\author{Modelica Association}

% The other parts start on new page and could be optionally included

\begin{document}

Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit f2537ee

Please sign in to comment.