Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
79d41ccd
Commit
79d41ccd
authored
Apr 14, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some support for the module index, so this can be used to build
the .aux file for any of the "manual" class documents.
parent
7a64b355
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
Doc/tools/mkdvi.sh
Doc/tools/mkdvi.sh
+13
-0
No files found.
Doc/tools/mkdvi.sh
View file @
79d41ccd
...
...
@@ -39,8 +39,14 @@ export TEXINPUTS
echo
$srcdir
'/tools/newind.py >'
$part
'.ind'
$srcdir
/tools/newind.py
>
$part
.ind
||
exit
$?
echo
$srcdir
'/tools/newind.py modindex >mod'
$part
'.ind'
$srcdir
/tools/newind.py modindex
>
mod
$part
.ind
||
exit
$?
echo
"
$latex
$part
"
$latex
$part
||
exit
$?
if
[
!
-f
mod
$part
.idx
]
;
then
echo
"Not using module index; removing mod
$part
.ind"
rm
mod
$part
.ind
fi
if
[
"
$aux
"
]
;
then
# make sure the .dvi isn't interpreted as useful:
rm
$part
.dvi
...
...
@@ -55,6 +61,13 @@ else
# skipping the index; clean up the unused file
rm
-f
$part
.ind
fi
if
[
-f
mod
$part
.idx
]
;
then
# using the index
echo
$srcdir
'/tools/fix_hack mod'
$part
'.idx'
$srcdir
/tools/fix_hack mod
$part
.idx
||
exit
$?
echo
'makeindex -s '
$srcdir
'/texinputs/python.ist mod'
$part
'.idx'
makeindex
-s
$srcdir
/texinputs/python.ist mod
$part
.idx
||
exit
$?
fi
if
[
"
$pdf
"
]
;
then
echo
$srcdir
'/tools/toc2bkm.py '
$part
$srcdir
/tools/toc2bkm.py
$part
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment