forked from timsong-cpp/cppwp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetworking_htmlgen.patch
More file actions
278 lines (242 loc) · 6.65 KB
/
networking_htmlgen.patch
File metadata and controls
278 lines (242 loc) · 6.65 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
From b47ae5a17b797200ae3a1b93b4d5bb500c72fdf1 Mon Sep 17 00:00:00 2001
From: timsong-cpp <rs2740@gmail.com>
Date: Thu, 24 May 2018 16:49:10 -0400
Subject: [PATCH] Hacks for cxxdraft-htmlgen
---
src/async.tex | 1 -
src/back.tex | 1 -
src/basicioservices.tex | 1 -
src/buffers.tex | 1 -
src/bufferstreams.tex | 1 -
src/conformance.tex | 1 -
src/convenience.tex | 1 -
src/definitions.tex | 1 -
src/description.tex | 1 -
src/errorreporting.tex | 1 -
src/featuretest.tex | 1 -
src/forward.tex | 1 -
src/internetprotocol.tex | 1 -
src/intro.tex | 1 -
src/macros.tex | 16 ++++++++++++++++
src/namespaces.tex | 1 -
src/plans.tex | 1 -
src/references.tex | 1 -
src/socketalgorithms.tex | 1 -
src/sockets.tex | 1 -
src/socketstreams.tex | 1 -
src/summary.tex | 1 -
src/timers.tex | 1 -
23 files changed, 16 insertions(+), 22 deletions(-)
diff --git a/src/async.tex b/src/async.tex
index 65d0f96..81d032b 100644
--- a/src/async.tex
+++ b/src/async.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[async]{Asynchronous model}
diff --git a/src/back.tex b/src/back.tex
index 69d3889..04730d6 100644
--- a/src/back.tex
+++ b/src/back.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\renewcommand{\leftmark}{\indexname}
\printindex[generalindex]
diff --git a/src/basicioservices.tex b/src/basicioservices.tex
index a247f7c..29e5287 100644
--- a/src/basicioservices.tex
+++ b/src/basicioservices.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[io_context]{Basic I/O services}
diff --git a/src/buffers.tex b/src/buffers.tex
index 278dc9d..9ae83f7 100644
--- a/src/buffers.tex
+++ b/src/buffers.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[buffer]{Buffers}
diff --git a/src/bufferstreams.tex b/src/bufferstreams.tex
index dc32dff..a8eef20 100644
--- a/src/bufferstreams.tex
+++ b/src/bufferstreams.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[buffer.stream]{Buffer-oriented streams}
diff --git a/src/conformance.tex b/src/conformance.tex
index 28dd0b7..5202937 100644
--- a/src/conformance.tex
+++ b/src/conformance.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[general]{General Principles}
\rSec1[conformance]{Conformance}
diff --git a/src/convenience.tex b/src/convenience.tex
index b89447e..394f198 100644
--- a/src/convenience.tex
+++ b/src/convenience.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[convenience.hdr]{Convenience header}
diff --git a/src/definitions.tex b/src/definitions.tex
index a53d774..4ae86ec 100644
--- a/src/definitions.tex
+++ b/src/definitions.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[defs]{Terms and definitions}
\pnum
diff --git a/src/description.tex b/src/description.tex
index 736dd6f..3cd361e 100644
--- a/src/description.tex
+++ b/src/description.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[description]{Method of description (Informative)}
\pnum
diff --git a/src/errorreporting.tex b/src/errorreporting.tex
index a80eba9..588a853 100644
--- a/src/errorreporting.tex
+++ b/src/errorreporting.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[err.report]{Error reporting}
diff --git a/src/featuretest.tex b/src/featuretest.tex
index 96a3bee..8b0dfa9 100644
--- a/src/featuretest.tex
+++ b/src/featuretest.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[feature.test]{Feature test macros (Informative)}
\pnum
diff --git a/src/forward.tex b/src/forward.tex
index 017d83d..a1cc46d 100644
--- a/src/forward.tex
+++ b/src/forward.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[fwd.decl]{Forward declarations}
diff --git a/src/internetprotocol.tex b/src/internetprotocol.tex
index eed93d5..b1afc71 100644
--- a/src/internetprotocol.tex
+++ b/src/internetprotocol.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[internet]{Internet protocol}
diff --git a/src/intro.tex b/src/intro.tex
index f2e5bad..8c4d49e 100644
--- a/src/intro.tex
+++ b/src/intro.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[scope]{Scope}
\pnum
diff --git a/src/macros.tex b/src/macros.tex
index e5d7fb0..8ebcca9 100644
--- a/src/macros.tex
+++ b/src/macros.tex
@@ -545,3 +545,19 @@
% usage: \definition{name}{xref}
\newcommand{\definition}[2]{\definitionx{\section}{#1}{#2}}%
\newenvironment{defnote}{\noteintro{Note 1 to entry}}{\noteoutro{note}\space}
+
+\newcommand{\completionsig}{\Fundesc{Completion signature}}
+\newcommand{\DEDUCED}{\placeholdernc{\texttt{DEDUCED}}}
+\newcommand{\nativeref}{see~\ref{socket.reqmts.native}}
+% The base standard:
+\newcommand{\CppStd}{\CppXIV}
+\newcommand{\CppXref}[1]{\CppStd [#1]}
+% Alternative formatting of cross-references, resolving stable name to number.
+% \input{cxx}
+% \newcommand{\CppXref}[1]{\CppStd, \cxxref{#1}}
+
+% Add an extensible implementation entry to the main and library name indices
+\newcommand{\indexextensible}[1]{%
+\indextext{extensible implementation!\idxcode{#1}}%
+\indextext{\idxcode{#1}!extensible implementation}%
+}
diff --git a/src/namespaces.tex b/src/namespaces.tex
index ba4cad4..0e86ee4 100644
--- a/src/namespaces.tex
+++ b/src/namespaces.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[namespaces]{Namespaces and headers}
\pnum
diff --git a/src/plans.tex b/src/plans.tex
index 4f0f03a..86d85fa 100644
--- a/src/plans.tex
+++ b/src/plans.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[plans]{Future plans (Informative)}
\pnum
diff --git a/src/references.tex b/src/references.tex
index ba0e40a..5cfc7a3 100644
--- a/src/references.tex
+++ b/src/references.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[references]{Normative references}
\pnum
diff --git a/src/socketalgorithms.tex b/src/socketalgorithms.tex
index a32cd7f..95752f3 100644
--- a/src/socketalgorithms.tex
+++ b/src/socketalgorithms.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[socket.algo]{Socket algorithms}
diff --git a/src/sockets.tex b/src/sockets.tex
index 7e85eaf..10ee3ef 100644
--- a/src/sockets.tex
+++ b/src/sockets.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[socket]{Sockets}
diff --git a/src/socketstreams.tex b/src/socketstreams.tex
index 854f0d0..f6644f1 100644
--- a/src/socketstreams.tex
+++ b/src/socketstreams.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[socket.iostreams]{Socket iostreams}
diff --git a/src/summary.tex b/src/summary.tex
index a54b1ca..6dba23a 100644
--- a/src/summary.tex
+++ b/src/summary.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[summary]{Library summary}
\begin{libreqtab2}
diff --git a/src/timers.tex b/src/timers.tex
index 987fb13..f643444 100644
--- a/src/timers.tex
+++ b/src/timers.tex
@@ -1,5 +1,4 @@
%!TEX root = ts.tex
-
\rSec0[timer]{Timers}
\pnum
--
2.7.4