Commit 4f93b564 authored by Matthias Simon's avatar Matthias Simon
Browse files

Make monospace spans code spans only in the docx import and src.

The docx span cleanup now turns every monospace run into a code span
without bold or italic. Whitespace between two code runs joins them, so
"record" and "of" become `record of`. Edge spaces leave the span and
inner runs of spaces collapse. Bold punctuation next to a code span
loses its bold.

The Markdown in src/ is cleaned with the same rule. Fenced blocks are
unchanged. Chapter 6 keeps the removal of two empty list items.

Co-authored-by: default avatarCursor <cursoragent@cursor.com>
parent 5d8963df
Loading
Loading
Loading
Loading
Loading
+4 −4
Changes for src/03-definition-of-terms-symbols-and-abbreviations.md: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -89,12 +89,12 @@ unchanged symbol "-" has been assigned to it. \
A value or template of a `union` or `anytype` type is completely initialized if
one of its variants has been completely initialized.\
A value or template of a `record` or `set` type with only optional fields and
the `optional``  " ``implicit omit``"` attribute attached,
the `optional " implicit omit"` attribute attached,
is completely initialized if the value "`{}`" is assigned,
as all fields are implicitly set to `omit`. \
A value or template of a `record` or `set` type with no fields is completely
initialized with assignment of the value "{}".\
A value or template of a `record`** **`of`,
A value or template of a `record of`,
`set of` or array type is completely initialized if at least the first n
elements are completely initialized,
where n is the minimal length imposed by the type length restriction or array
@@ -475,7 +475,7 @@ the root type of user defined set types is `set`,
the root type of user defined set of types is `set of`.
The root type of user defined union types is **union**,
the root type of anytypes is `anytype`,
the root type of enumerations is `enumerated`** **and the root type of maps is
the root type of enumerations is `enumerated` and the root type of maps is
`map`.
The root types of special types are `default`, `component`, `port`,
`timer` and `any`.
@@ -488,7 +488,7 @@ the root type was, if the type was defined with a name different from `address`.

**sequence:** value of the sequence types

**sequence type:** `record of`,`  set of ` types and arrays** **
**sequence type:** `record of`, `set of` types and arrays

**simple expression:** an expression consisting of a single literal,
value reference, function call or compound expression.
+1 −1
Changes for src/05-basic-language-elements.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -141,7 +141,7 @@ function called by the test case or in an altstep used by the test case).

Stand-alone statement blocks and statements within compound statements,
like e.g. `if-else`, `while`, `do-while`,
or `alt`** **statements may be used within test cases, altsteps, functions,
or `alt` statements may be used within test cases, altsteps, functions,
or may be embedded in other statement blocks or compound statements,
e.g. an `if-else` statement that is used within a `while` loop.

+103 −105

File changed.

Preview size limit exceeded, changes collapsed.

+42 −42

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Changes for src/08-modules.md: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -774,7 +774,7 @@ editions or from other sources than TTCN-3 modules,
the language specification (see clause 8.1) shall be used to denote the
language (may be together with a version number) of the source (e.g. module,
package, library or even file) from which definitions are imported.
It consists of the** **`language` keyword and a subsequent textual declaration
It consists of the `language` keyword and a subsequent textual declaration
of the denoted language.

The use of the language specification is optional when importing from a TTCN-3
Loading