File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 64
64
% % Cross-references.
65
65
% %--------------------------------------------------
66
66
\newcommand {\addxref }[1]{%
67
+ \hypertarget {#1}{}%
67
68
\glossary [xrefindex]{\indexescape {#1}}{(\ref {\indexescape {#1 }})}%
68
69
}
69
70
92
93
% defines a first-level section whose name is "Scope" and whose short
93
94
% tag is intro.scope. The square brackets are mandatory.
94
95
\def\Sec #1[#2]#3{%
96
+ \addxref {#2 }%
95
97
\ifcase #1\let\s =\chapter\let\l =\clauselabel
96
98
\or\let\s =\section\let\l =\label
97
99
\or\let\s =\subsection\let\l =\label
98
100
\or\let\s =\subsubsection\let\l =\label
99
101
\or\let\s =\paragraph\let\l =\label
100
102
\or\let\s =\subparagraph\let\l =\label
101
103
\fi %
102
- \s [#3]{#3\hfill [#2]}\l {#2}\addxref {# 2 } %
104
+ \s [#3]{#3\hfill [#2]}\l {#2}%
103
105
}
104
106
105
107
% A convenience feature (mostly for the convenience of the Project
Original file line number Diff line number Diff line change 87
87
% %--------------------------------------------------
88
88
% set heading style for annexes
89
89
\newcommand {\Annex }[3]{\chapter [#2 ]{(#3)\protect \\ #2\hfill [#1] }\relax\annexlabel {#1}}
90
- \newcommand {\infannex }[2]{\Annex {#1}{#2}{informative} \addxref {# 1 }}
91
- \newcommand {\normannex }[2]{\Annex {#1}{#2}{normative} \addxref {# 1 }}
90
+ \newcommand {\infannex }[2]{\addxref {# 1 } \ Annex {#1}{#2}{informative}}
91
+ \newcommand {\normannex }[2]{\addxref {# 1 } \ Annex {#1}{#2}{normative}}
92
92
93
93
% %--------------------------------------------------
94
94
% % set footnote style
You can’t perform that action at this time.
0 commit comments