Skip to content

Commit aa595cb

Browse files
jensmaurertkoeppe
authored andcommitted
[std] Use numbered bibliography references throughout the standard
1 parent 769f82e commit aa595cb

File tree

5 files changed

+53
-51
lines changed

5 files changed

+53
-51
lines changed

source/back.tex

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,66 @@
11
%!TEX root = std.tex
22

3-
\chapter{Bibliography}
4-
5-
\begin{itemize}
6-
\renewcommand{\labelitemi}{---}
3+
\begin{thebibliography}{99}
74
% ISO documents in numerical order.
8-
\item
5+
\bibitem{iso4217}
96
ISO 4217:2015,
107
\doccite{Codes for the representation of currencies}
11-
\item
8+
\bibitem{iso10967-1}
129
ISO/IEC 10967-1:2012,
1310
\doccite{Information technology --- Language independent arithmetic ---
1411
Part 1: Integer and floating point arithmetic}
15-
\item
12+
\bibitem{iso18661-3}
1613
ISO/IEC TS 18661-3:2015,
1714
\doccite{Information Technology ---
1815
Programming languages, their environments, and system software interfaces ---
1916
Floating-point extensions for C --- Part 3: Interchange and extended types}
2017
% Other international standards.
21-
\item
18+
\bibitem{iana-charset}
2219
IANA Character Sets Database.
2320
Available from:\newline
2421
\url{https://www.iana.org/assignments/character-sets/}, 2021-04-01
25-
\item
22+
\bibitem{iana-tz}
2623
IANA Time Zone Database.
2724
Available from: \url{https://www.iana.org/time-zones}
28-
\item
25+
\bibitem{unicode-charmap}
2926
Unicode Character Mapping Markup Language [online].
3027
Edited by Mark Davis and Markus Scherer. Revision 5.0.1; 2017-05-31
3128
Available from: \url{http://www.unicode.org/reports/tr22/tr22-8.html}
3229
% Literature references.
33-
\item
30+
\bibitem{cpp-r}
3431
Bjarne Stroustrup,
3532
\doccite{The \Cpp{} Programming Language, second edition}, Chapter R\@.
3633
Addison-Wesley Publishing Company, ISBN 0-201-53992-6, copyright \copyright 1991 AT\&T
37-
\item
34+
\bibitem{kr}
3835
Brian W.\ Kernighan and Dennis M. Ritchie,
3936
\doccite{The C Programming Language}, Appendix A\@.
4037
Prentice-Hall, 1978, ISBN 0-13-110163-3, copyright \copyright 1978 AT\&T
41-
\item
38+
\bibitem{cpp-lib}
4239
P.J.\ Plauger,
4340
\doccite{The Draft Standard \Cpp{} Library}.
4441
Prentice-Hall, ISBN 0-13-117003-1, copyright \copyright 1995 P.J.\ Plauger
45-
\item
42+
\bibitem{linalg-stable}
4643
J.\ Demmel, I.\ Dumitriu, and O.\ Holtz,
4744
\doccite{Fast linear algebra is stable},
4845
Numerische Mathematik 108 (59--91), 2007.
49-
\item
46+
\bibitem{blas1}
5047
C.\,L.\ Lawson, R.\,J.\ Hanson, D.\ Kincaid, and F.\,T.\ Krogh,
5148
\doccite{Basic linear algebra subprograms for Fortran usage}.
5249
ACM Trans.\ Math.\ Soft., Vol.\ 5, pp.\ 308--323, 1979.
53-
\item
50+
\bibitem{blas2}
5451
Jack J.\ Dongarra, Jeremy Du Croz, Sven Hammarling, and Richard J. Hanson,
5552
\doccite{An Extended Set of FORTRAN Basic Linear Algebra Subprograms}.
5653
ACM Trans.\ Math.\ Soft., Vol.\ 14, No.\ 1, pp.\ 1--17, Mar.\ 1988.
57-
\item
54+
\bibitem{blas3}
5855
Jack J.\ Dongarra, Jeremy Du Croz, Sven Hammarling, and Iain Duff,
5956
\doccite{A Set of Level 3 Basic Linear Algebra Subprograms}.
6057
ACM Trans.\ Math.\ Soft., Vol.\ 16, No.\ 1, pp.\ 1--17, Mar.\ 1990.
61-
\item
58+
\bibitem{lapack}
6259
E.\ Anderson, Z.\ Bai, C.\ Bischof, S.\ Blackford, J.\ Demmel, J.\ Dongarra,
6360
J.\ Du Croz, A.\ Greenbaum, S.\ Hammarling, A.\ McKenney, D.\ Sorensen
6461
\doccite{LAPACK Users' Guide, Third Edition}.
6562
SIAM, Philadelphia, PA, USA, 1999.
66-
\end{itemize}
63+
\end{thebibliography}
6764

6865
The arithmetic specification described in ISO/IEC 10967-1:2012 is
6966
called \defn{LIA-1} in this document.

source/locales.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4296,7 +4296,8 @@
42964296
\begin{note}
42974297
For specializations where the second template parameter is \tcode{true},
42984298
this is typically four characters long:
4299-
a three-letter code as specified by ISO 4217 followed by a space.
4299+
a three-letter code as specified by ISO 4217\supercite{iso4217}
4300+
followed by a space.
43004301
\end{note}
43014302
\end{itemdescr}
43024303

@@ -4676,7 +4677,7 @@
46764677

46774678
\pnum
46784679
The class \tcode{text_encoding} describes an interface
4679-
for accessing the IANA Character Sets registry.
4680+
for accessing the IANA Character Sets registry\supercite{iana-charset}.
46804681

46814682
\indexlibraryglobal{text_encoding}%
46824683
\begin{codeblock}
@@ -5002,7 +5003,7 @@
50025003
\begin{note}
50035004
This comparison is identical to
50045005
the ``Charset Alias Matching'' algorithm
5005-
described in the Unicode Technical Standard 22.
5006+
described in the Unicode Technical Standard 22\supercite{unicode-charmap}.
50065007
\end{note}
50075008

50085009
\begin{example}

source/macros.tex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@
120120
\addtocounter{SectionDepth}{\value{SectionDepthBase}}
121121
\Sec{\arabic{SectionDepth}}[#2]{#3}}
122122

123+
%%--------------------------------------------------
124+
% Bibliography
125+
%%--------------------------------------------------
126+
\newcommand{\supercite}[1]{\textsuperscript{\cite{#1}}}
127+
123128
%%--------------------------------------------------
124129
% Indexing
125130
%%--------------------------------------------------

source/numerics.tex

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11474,7 +11474,7 @@
1147411474
the function satisfies the complexity requirements; and
1147511475
\item
1147611476
the function is logarithmically stable,
11477-
as defined in Demmel 2007.
11477+
as defined in Demmel 2007\supercite{linalg-stable}.
1147811478
Strassen's algorithm for matrix-matrix multiply
1147911479
is an example of a logarithmically stable algorithm.
1148011480
\end{itemize}
@@ -12855,7 +12855,6 @@
1285512855

1285612856
\rSec3[linalg.algs.blas1.givens]{Givens rotations}
1285712857

12858-
1285912858
\rSec4[linalg.algs.blas1.givens.lartg]{Compute Givens rotation}
1286012859

1286112860
\begin{itemdecl}
@@ -12897,7 +12896,7 @@
1289712896
whose first component $r$ is the Euclidean norm of the input vector, and
1289812897
whose second component is zero.
1289912898
\begin{note}
12900-
These functions correspond to the LAPACK function \tcode{xLARTG}.
12899+
These functions correspond to the LAPACK function \tcode{xLARTG}\supercite{lapack}.
1290112900
\end{note}
1290212901

1290312902
\pnum
@@ -12927,7 +12926,7 @@
1292712926
\begin{itemdescr}
1292812927
\pnum
1292912928
\begin{note}
12930-
These functions correspond to the BLAS function \tcode{xROT}.
12929+
These functions correspond to the BLAS function \tcode{xROT}\supercite{blas1}.
1293112930
\end{note}
1293212931

1293312932
\pnum
@@ -12959,7 +12958,7 @@
1295912958
\begin{itemdescr}
1296012959
\pnum
1296112960
\begin{note}
12962-
These functions correspond to the BLAS function \tcode{xSWAP}.
12961+
These functions correspond to the BLAS function \tcode{xSWAP}\supercite{blas1}.
1296312962
\end{note}
1296412963

1296512964
\pnum
@@ -12995,7 +12994,7 @@
1299512994
\begin{itemdescr}
1299612995
\pnum
1299712996
\begin{note}
12998-
These functions correspond to the BLAS function \tcode{xSCAL}.
12997+
These functions correspond to the BLAS function \tcode{xSCAL}\supercite{blas1}.
1299912998
\end{note}
1300012999

1300113000
\pnum
@@ -13017,7 +13016,7 @@
1301713016
\begin{itemdescr}
1301813017
\pnum
1301913018
\begin{note}
13020-
These functions correspond to the BLAS function \tcode{xCOPY}.
13019+
These functions correspond to the BLAS function \tcode{xCOPY\supercite{blas1}}.
1302113020
\end{note}
1302213021

1302313022
\pnum
@@ -13054,7 +13053,7 @@
1305413053
\begin{itemdescr}
1305513054
\pnum
1305613055
\begin{note}
13057-
These functions correspond to the BLAS function \tcode{xAXPY}.
13056+
These functions correspond to the BLAS function \tcode{xAXPY}\supercite{blas1}.
1305813057
\end{note}
1305913058

1306013059
\pnum
@@ -13083,7 +13082,7 @@
1308313082
\pnum
1308413083
\begin{note}
1308513084
The functions in this section correspond to the BLAS
13086-
functions \tcode{xDOT}, \tcode{xDOTU}, and \tcode{xDOTC}.
13085+
functions \tcode{xDOT}, \tcode{xDOTU}, and \tcode{xDOTC}\supercite{blas1}.
1308713086
\end{note}
1308813087

1308913088
\pnum
@@ -13237,7 +13236,7 @@
1323713236
\begin{itemdescr}
1323813237
\pnum
1323913238
\begin{note}
13240-
These functions correspond to the LAPACK function \tcode{xLASSQ}.
13239+
These functions correspond to the LAPACK function \tcode{xLASSQ}\supercite{lapack}.
1324113240
\end{note}
1324213241

1324313242
\pnum
@@ -13284,7 +13283,7 @@
1328413283
\begin{itemdescr}
1328513284
\pnum
1328613285
\begin{note}
13287-
These functions correspond to the BLAS function \tcode{xNRM2}.
13286+
These functions correspond to the BLAS function \tcode{xNRM2}\supercite{blas1}.
1328813287
\end{note}
1328913288

1329013289
\pnum
@@ -13357,7 +13356,7 @@
1335713356
\pnum
1335813357
\begin{note}
1335913358
These functions correspond to the BLAS functions
13360-
\tcode{SASUM}, \tcode{DASUM}, \tcode{SCASUM}, and \tcode{DZASUM}.
13359+
\tcode{SASUM}, \tcode{DASUM}, \tcode{SCASUM}, and \tcode{DZASUM}\supercite{blas1}.
1336113360
\end{note}
1336213361

1336313362
\pnum
@@ -13437,7 +13436,7 @@
1343713436
\begin{itemdescr}
1343813437
\pnum
1343913438
\begin{note}
13440-
These functions correspond to the BLAS function \tcode{IxAMAX}.
13439+
These functions correspond to the BLAS function \tcode{IxAMAX}\supercite{blas1}.
1344113440
\end{note}
1344213441

1344313442
\pnum
@@ -13794,7 +13793,7 @@
1379413793
\pnum
1379513794
\begin{note}
1379613795
These functions correspond to the BLAS functions
13797-
\tcode{xSYMV} and \tcode{xSPMV}.
13796+
\tcode{xSYMV} and \tcode{xSPMV}\supercite{blas2}.
1379813797
\end{note}
1379913798

1380013799
\pnum
@@ -13883,7 +13882,7 @@
1388313882
\pnum
1388413883
\begin{note}
1388513884
These functions correspond to the BLAS functions
13886-
\tcode{xHEMV} and \tcode{xHPMV}.
13885+
\tcode{xHEMV} and \tcode{xHPMV}\supercite{blas2}.
1388713886
\end{note}
1388813887

1388913888
\pnum
@@ -13971,7 +13970,7 @@
1397113970
\pnum
1397213971
\begin{note}
1397313972
These functions correspond to the BLAS functions
13974-
\tcode{xTRMV} and \tcode{xTPMV}.
13973+
\tcode{xTRMV} and \tcode{xTPMV}\supercite{blas2}.
1397513974
\end{note}
1397613975

1397713976
\pnum
@@ -14106,7 +14105,7 @@
1410614105
\pnum
1410714106
\begin{note}
1410814107
These functions correspond to the BLAS functions
14109-
\tcode{xTRSV} and \tcode{xTPSV}.
14108+
\tcode{xTRSV} and \tcode{xTPSV}\supercite{blas2}.
1411014109
\end{note}
1411114110

1411214111
\pnum
@@ -14287,7 +14286,7 @@
1428714286
\begin{note}
1428814287
These functions correspond to the BLAS functions
1428914288
\tcode{xGER} (for real element types) and
14290-
\tcode{xGERU} (for complex element types).
14289+
\tcode{xGERU} (for complex element types)\supercite{blas2}.
1429114290
\end{note}
1429214291

1429314292
\pnum
@@ -14322,7 +14321,7 @@
1432214321
\begin{note}
1432314322
These functions correspond to the BLAS functions
1432414323
\tcode{xGER} (for real element types) and
14325-
\tcode{xGERC} (for complex element types).
14324+
\tcode{xGERC} (for complex element types)\supercite{blas2}.
1432614325
\end{note}
1432714326

1432814327
\pnum
@@ -14347,7 +14346,7 @@
1434714346
\pnum
1434814347
\begin{note}
1434914348
These functions correspond to the BLAS functions
14350-
\tcode{xSYR}, \tcode{xSPR}, \tcode{xHER}, and \tcode{xHPR}.
14349+
\tcode{xSYR}, \tcode{xSPR}, \tcode{xHER}, and \tcode{xHPR}\supercite{blas2}.
1435114350
They have overloads taking a scaling factor \tcode{alpha},
1435214351
because it would be impossible to express the update
1435314352
$A = A - x x^T$ otherwise.
@@ -14477,7 +14476,7 @@
1447714476
\pnum
1447814477
\begin{note}
1447914478
These functions correspond to the BLAS functions
14480-
\tcode{xSYR2},\tcode{xSPR2}, \tcode{xHER2} and \tcode{xHPR2}.
14479+
\tcode{xSYR2},\tcode{xSPR2}, \tcode{xHER2} and \tcode{xHPR2}\supercite{blas2}.
1448114480
\end{note}
1448214481

1448314482
\pnum
@@ -14563,7 +14562,7 @@
1456314562

1456414563
\pnum
1456514564
\begin{note}
14566-
These functions correspond to the BLAS function \tcode{xGEMM}.
14565+
These functions correspond to the BLAS function \tcode{xGEMM}\supercite{blas3}.
1456714566
\end{note}
1456814567

1456914568
\pnum
@@ -14628,7 +14627,7 @@
1462814627
\pnum
1462914628
\begin{note}
1463014629
These functions correspond to the BLAS functions
14631-
\tcode{xSYMM}, \tcode{xHEMM}, and \tcode{xTRMM}.
14630+
\tcode{xSYMM}, \tcode{xHEMM}, and \tcode{xTRMM}\supercite{blas3}.
1463214631
\end{note}
1463314632

1463414633
\pnum
@@ -14895,7 +14894,7 @@
1489514894
the \tcode{Triangle} and \tcode{Diagonal\-Storage} parameters
1489614895
that apply to the triangular matrix \tcode{A}\iref{linalg.general}.
1489714896
\begin{note}
14898-
These functions correspond to the BLAS function \tcode{xTRMM}.
14897+
These functions correspond to the BLAS function \tcode{xTRMM}\supercite{blas3}.
1489914898
\end{note}
1490014899

1490114900
\begin{itemdecl}
@@ -14989,7 +14988,7 @@
1498914988
\pnum
1499014989
\begin{note}
1499114990
These functions correspond to the BLAS functions
14992-
\tcode{xSYRK} and \tcode{xHERK}.
14991+
\tcode{xSYRK} and \tcode{xHERK}\supercite{blas3}.
1499314992
\end{note}
1499414993

1499514994
\pnum
@@ -15099,7 +15098,7 @@
1509915098
\pnum
1510015099
\begin{note}
1510115100
These functions correspond to the BLAS functions
15102-
\tcode{xSYR2K} and \tcode{xHER2K}.
15101+
\tcode{xSYR2K} and \tcode{xHER2K}\supercite{blas3}.
1510315102
\end{note}
1510415103

1510515104
\pnum
@@ -15172,7 +15171,7 @@
1517215171

1517315172
\pnum
1517415173
\begin{note}
15175-
These functions correspond to the BLAS function \tcode{xTRSM}.
15174+
These functions correspond to the BLAS function \tcode{xTRSM}\supercite{blas3}.
1517615175
\end{note}
1517715176

1517815177
\begin{itemdecl}
@@ -15374,7 +15373,7 @@
1537415373

1537515374
\pnum
1537615375
\begin{note}
15377-
These functions correspond to the BLAS function \tcode{xTRSM}.
15376+
These functions correspond to the BLAS function \tcode{xTRSM}\supercite{blas3}.
1537815377
\end{note}
1537915378

1538015379
\begin{itemdecl}

source/time.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8736,7 +8736,7 @@
87368736

87378737
\pnum
87388738
\ref{time.zone} describes an interface for accessing
8739-
the IANA Time Zone Database
8739+
the IANA Time Zone Database\supercite{iana-tz}
87408740
that interoperates with \tcode{sys_time} and \tcode{local_time}.
87418741
This interface provides time zone support to
87428742
both the civil calendar types\iref{time.cal}

0 commit comments

Comments
 (0)