File tree Expand file tree Collapse file tree 5 files changed +14
-15
lines changed Expand file tree Collapse file tree 5 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 99
99
are defined where they are used and italicized where they are
100
100
defined.
101
101
102
- \def\definition {\definitionx {\section }}%
103
-
104
102
\indexdefn {access}%
105
103
\definition {access}{defns.access}
106
104
\defncontext {execution-time action} to read or modify the value of an object
Original file line number Diff line number Diff line change 10009
10009
10010
10010
\rSec 2[fs.definitions]{Terms and definitions}
10011
10011
10012
- \def\definition {\definitionx {\subsubsection }}%
10013
-
10014
10012
\definition {absolute path}{fs.def.absolute.path}
10015
10013
A path that unambiguously
10016
10014
identifies the location of a file without reference to an additional starting
Original file line number Diff line number Diff line change 132
132
Clause \ref {intro.defs } defines additional terms used elsewhere in this International Standard.
133
133
\end {note }
134
134
135
- \def\definition {\definitionx {\subsection }}%
136
-
137
135
\definition {arbitrary-positional stream}{defns.arbitrary.stream}
138
136
\indexdefn {stream!arbitrary-positional}%
139
137
a stream (described in Clause~\ref {input.output }) that can seek to any integral position within
Original file line number Diff line number Diff line change 91
91
% is equivalent to
92
92
% \Sec2[temp.arg.type]{Template type arguments}
93
93
\newcounter {SectionDepthBase}
94
- \newcounter {scratch }
94
+ \newcounter {SectionDepth }
95
95
96
96
\def\rSec #1[#2]#3{%
97
- \setcounter {scratch }{#1}
98
- \addtocounter {scratch }{\value {SectionDepthBase}}
99
- \Sec {\arabic {scratch }}[#2]{#3}}
97
+ \setcounter {SectionDepth }{#1}
98
+ \addtocounter {SectionDepth }{\value {SectionDepthBase}}
99
+ \Sec {\arabic {SectionDepth }}[#2]{#3}}
100
100
101
101
% %--------------------------------------------------
102
102
% Indexing
520
520
% %--------------------------------------------------
521
521
% % Definitions section for "Terms and definitions"
522
522
\newcommand {\nocontentsline }[3]{}
523
- \newcommand {\definitionx }[3 ]{%
524
- \addxref {#3 }%
523
+ \newcommand {\definition }[2 ]{%
524
+ \addxref {#2 }%
525
525
\let\oldcontentsline\addcontentsline %
526
526
\let\addcontentsline\nocontentsline %
527
- #1[#2]{\hfill [#3]}\vspace {-.3\onelineskip }\label {#3 } \textbf {#2 }\\ *%
527
+ \ifcase \value {SectionDepth}
528
+ \let\s =\section
529
+ \or\let\s =\subsection
530
+ \or\let\s =\subsubsection
531
+ \or\let\s =\paragraph
532
+ \or\let\s =\subparagraph
533
+ \fi %
534
+ \s [#1]{\hfill [#2]}\vspace {-.3\onelineskip }\label {#2 } \textbf {#1 }\\ *%
528
535
\let\addcontentsline\oldcontentsline %
529
536
}
530
537
\newcommand {\defncontext }[1]{\textlangle #1\textrangle }
Original file line number Diff line number Diff line change 37
37
38
38
\rSec 1[re.def]{Definitions}
39
39
40
- \def\definition {\definitionx {\subsection }}%
41
-
42
40
\pnum
43
41
The following definitions shall apply to this Clause:
44
42
You can’t perform that action at this time.
0 commit comments