Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1b3de8

Browse files
committed
Add labels to all \section and \subsection headings for use in references.
1 parent 5bb6ff9 commit f1b3de8

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

Doc/doc/doc.tex

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
\tableofcontents
3939

4040

41-
\section{Introduction}
41+
\section{Introduction \label{intro}}
4242

4343
Python's documentation has long been considered to be good for a
4444
free programming language. There are a number of reasons for this,
@@ -71,7 +71,7 @@ \section{Introduction}
7171
discussing future directions for the Python documentation and where
7272
to turn for more information.
7373

74-
\section{Directory Structure}
74+
\section{Directory Structure \label{directories}}
7575

7676
The source distribution for the standard Python documentation
7777
contains a large number of directories. While third-party documents
@@ -153,7 +153,7 @@ \section{Directory Structure}
153153
\end{definitions}
154154

155155

156-
\section{Style Guide}
156+
\section{Style Guide \label{style-guide}}
157157

158158
The Python documentation should follow the \citetitle
159159
[http://developer.apple.com/techpubs/macos8/pdf/apple_styleguide00.pdf]
@@ -249,7 +249,7 @@ \section{\LaTeX{} Primer \label{latex-primer}}
249249
bulleted lists, and special structures for the document abstract and
250250
indexes.
251251

252-
\subsection{Syntax}
252+
\subsection{Syntax \label{latex-syntax}}
253253

254254
There are some things that an author of Python documentation needs
255255
to know about \LaTeX{} syntax.
@@ -403,7 +403,7 @@ \section{\LaTeX{} Primer \label{latex-primer}}
403403
\end{tableii}
404404

405405

406-
\subsection{Hierarchical Structure}
406+
\subsection{Hierarchical Structure \label{latex-syntax}}
407407

408408
\LaTeX{} expects documents to be arranged in a conventional,
409409
hierarchical way, with chapters, sections, sub-sections,
@@ -470,7 +470,7 @@ \section{Document Classes \label{classes}}
470470
single chapter from a larger work.
471471

472472

473-
\section{Special Markup Constructs}
473+
\section{Special Markup Constructs \label{special-constructs}}
474474

475475
The Python document classes define a lot of new environments and
476476
macros. This section contains the reference material for these
@@ -637,7 +637,7 @@ \section{Special Markup Constructs}
637637
\end{envdesc}
638638

639639

640-
\subsection{Showing Code Examples}
640+
\subsection{Showing Code Examples \label{showing-examples}}
641641

642642
Examples of Python source code or interactive sessions are
643643
represented as \env{verbatim} environments. This environment
@@ -685,7 +685,7 @@ \section{Special Markup Constructs}
685685
for more information on this topic.
686686

687687

688-
\subsection{Inline Markup}
688+
\subsection{Inline Markup \label{inline-markup}}
689689

690690
The macros described in this section are used to mark just about
691691
anything interesting in the document text. They may be used in
@@ -978,7 +978,7 @@ \section{Special Markup Constructs}
978978
\end{macrodesc}
979979

980980

981-
\subsection{Module-specific Markup}
981+
\subsection{Module-specific Markup \label{module-markup}}
982982

983983
The markup described in this section is used to provide information
984984
about a module being documented. A typical use of this markup
@@ -1056,7 +1056,7 @@ \section{\module{bar.foo} ---
10561056
\end{macrodesc}
10571057

10581058

1059-
\subsection{Library-level Markup}
1059+
\subsection{Library-level Markup \label{library-markup}}
10601060

10611061
This markup is used when describing a selection of modules. For
10621062
example, the \citetitle[../mac/mac.html]{Macintosh Library
@@ -1073,7 +1073,7 @@ \section{\module{bar.foo} ---
10731073
\end{macrodesc}
10741074

10751075

1076-
\subsection{Table Markup}
1076+
\subsection{Table Markup \label{table-markup}}
10771077

10781078
There are three general-purpose table environments defined which
10791079
should be used whenever possible. These environments are defined
@@ -1460,15 +1460,15 @@ \section{\module{bar.foo} ---
14601460
\end{verbatim}
14611461

14621462

1463-
\section{Graphical Interface Components}
1463+
\section{Graphical Interface Components \label{gui-markup}}
14641464

14651465
The components of graphical interfaces will be assigned markup, but
14661466
the specifics have not been determined.
14671467

14681468

1469-
\section{Processing Tools}
1469+
\section{Processing Tools \label{tools}}
14701470

1471-
\subsection{External Tools}
1471+
\subsection{External Tools \label{tools-external}}
14721472

14731473
Many tools are needed to be able to process the Python
14741474
documentation if all supported formats are required. This
@@ -1548,7 +1548,7 @@ \section{Processing Tools}
15481548
\end{description}
15491549

15501550

1551-
\subsection{Internal Tools}
1551+
\subsection{Internal Tools \label{tools-internal}}
15521552

15531553
This section describes the various scripts that are used to
15541554
implement various stages of document processing or to orchestrate

0 commit comments

Comments
 (0)