forked from modelica/ModelicaSpecification
-
Notifications
You must be signed in to change notification settings - Fork 2
/
MLS.tex
109 lines (79 loc) · 2.4 KB
/
MLS.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
\documentclass[10pt,a4paper]{report}
\usepackage[utf8]{inputenc}
\NeedsTeXFormat{LaTeX2e}
\input{preamble.tex}
% The other parts start on new page and could be optionally included
\begin{document}
% Title
\maketitle
% Add new Modelica Language logotype
% The header ruler looks odd as Modelica Language define a natural line that is further up
% We also need to fill the vertical space on the right
% Not using page numbers in right-header, since we usually refer to sections.
%
% Using nouppercase since it is seems more normal for the sections, and is also
% needed for over-determined connectors (as it would otherwise overflow)
\pagestyle{fancy}
\rhead{Modelica Language Specification 3.5-dev\\ \nouppercase{\rightmark} \vspace{1mm}}
\lhead{\includegraphics[height=6.5mm]{Modelica_Language}}
\renewcommand{\headrulewidth}{0.0pt}
% Abstract
\input{chapters/abstract}
% Preface
\input{chapters/preface}
% Introduction
\input{chapters/introduction}
% Lexical Structure
\input{chapters/lexicalstructure}
% Operators and Expressions
\input{chapters/operatorsandexpressions}
% Classes, Predefined Types, and Declarations
\input{chapters/classes}
% Scoping, Name Lookup, and Flattening
\input{chapters/scoping}
% Interface or Type Relationships
\input{chapters/interface}
% Inheritance, Modification, and Redeclaration
\input{chapters/inheritance}
% Equations
\input{chapters/equations}
% Connectors and Connections
\input{chapters/connectors}
% Arrays
\input{chapters/arrays}
% Statements and Algorithm Chapters
\input{chapters/statements}
% Functions
\input{chapters/functions}
% Packages
\input{chapters/packages}
% Overloaded Operators
\input{chapters/overloaded}
% Stream Connectors
\input{chapters/stream}
% Synchronous Language Elements
\input{chapters/synchronous}
% State Machines
\input{chapters/statemachines}
% Annotations
\input{chapters/annotations}
% Unit Expressions
\input{chapters/unitexpressions}
% The Modelica Standard Library
\input{chapters/library}
\appendix
% https://tex.stackexchange.com/questions/370384/change-toc-depth-mid-document
\addtocontents{toc}{\setcounter{tocdepth}{0}}
% Glossary
\input{chapters/glossary}
% Modelica Concrete Syntax
\input{chapters/syntax}
% Modelica DAE Representation}
\input{chapters/dae}
% Derivation of Stream Equations
\input{chapters/derivationofstream}
% Modelica Revision History
\input{chapters/revisions}
% Literature
\input{chapters/literature}
\end{document}