mirror of https://github.com/python/cpython
Removing all references to FrameMaker
This commit is contained in:
parent
6a2fe26861
commit
aca61a43dd
|
@ -1,26 +0,0 @@
|
|||
#! /usr/bin/env python
|
||||
|
||||
"""Dumb script to edit a particular line in the PostScript.
|
||||
|
||||
This makes it possible to print on A4 paper.
|
||||
"""
|
||||
|
||||
f = open("ref.ps", "r")
|
||||
|
||||
lines = f.readlines()
|
||||
f.close()
|
||||
didit = 0
|
||||
|
||||
for i in range(100):
|
||||
if lines[i] == '/FMAllowPaperSizeMismatch false def\n':
|
||||
lines[i] = '/FMAllowPaperSizeMismatch true def\n'
|
||||
didit = 1
|
||||
break
|
||||
|
||||
if not didit:
|
||||
print "ref.ps not changed"
|
||||
else:
|
||||
print "rewriting edited ref.ps"
|
||||
f = open("ref.ps", "w")
|
||||
f.writelines(lines)
|
||||
f.close()
|
|
@ -1,28 +0,0 @@
|
|||
#! /bin/env python
|
||||
|
||||
"""Script to write MIF files from ref.book and ref*.doc."""
|
||||
|
||||
import os
|
||||
import glob
|
||||
import string
|
||||
|
||||
def main():
|
||||
files = ['ref.book'] + glob.glob('ref*.doc')
|
||||
files.sort()
|
||||
print "Files:", string.join(files)
|
||||
print "Starting FrameMaker..."
|
||||
pipe = os.popen("fmbatch", 'w')
|
||||
for i in files:
|
||||
cmd = "Open %s\nSaveAs m %s %s.MIF\n" % (i, i, os.path.splitext(i)[0])
|
||||
print cmd
|
||||
pipe.write(cmd)
|
||||
pipe.write("Quit\n")
|
||||
sts = pipe.close()
|
||||
if sts:
|
||||
print "Exit status", hex(sts)
|
||||
else:
|
||||
print "Starting webmaker..."
|
||||
os.system('/depot/sundry/src/webmaker/webmaker-sparc/webmaker -c ref.wml -t "Python 1.5 Reference Manual" ref.MIF')
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
BIN
Doc/ref/ref.book
BIN
Doc/ref/ref.book
Binary file not shown.
BIN
Doc/ref/ref.pdf
BIN
Doc/ref/ref.pdf
Binary file not shown.
33384
Doc/ref/ref.ps
33384
Doc/ref/ref.ps
File diff suppressed because it is too large
Load Diff
570
Doc/ref/ref.wml
570
Doc/ref/ref.wml
|
@ -1,570 +0,0 @@
|
|||
|
||||
|
||||
|
||||
INCLUDE <nodesTI.wml>
|
||||
|
||||
|
||||
INCLUDE <heading2.wml>
|
||||
|
||||
|
||||
INCLUDE <normals.wml>
|
||||
|
||||
|
||||
INCLUDE <list2.wml>
|
||||
|
||||
|
||||
PARAGRAPH "1Heading" TYPE Heading
|
||||
{
|
||||
USES "L2H2"
|
||||
}
|
||||
|
||||
|
||||
|
||||
PARAGRAPH "1Heading*" TYPE Heading
|
||||
{
|
||||
USES "L2H2HR"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "1HeadingTOC" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "1Numeric" TYPE List
|
||||
{
|
||||
USES "L3AutonumberItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "1Step" TYPE List
|
||||
{
|
||||
USES "L1AutonumberItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "1StepLev2" TYPE List
|
||||
{
|
||||
USES "L2AutonumberItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "1StepLev3" TYPE List
|
||||
{
|
||||
USES "L4AutonumberItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "2Heading" TYPE Heading
|
||||
{
|
||||
USES "L3H3"
|
||||
}
|
||||
|
||||
|
||||
|
||||
PARAGRAPH "2Heading*" TYPE Heading
|
||||
{
|
||||
USES "L2H2HR"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "2HeadingTOC" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "3Heading" TYPE Heading
|
||||
{
|
||||
USES "L4H4"
|
||||
}
|
||||
|
||||
|
||||
|
||||
PARAGRAPH "3Heading*" TYPE Heading
|
||||
{
|
||||
USES "L2H2HR"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "3HeadingTOC" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "3Level" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "4Heading" TYPE Heading
|
||||
{
|
||||
USES "L5H5"
|
||||
}
|
||||
|
||||
|
||||
|
||||
PARAGRAPH "4Heading*" TYPE Heading
|
||||
{
|
||||
USES "L2H2HR"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "5Heading" TYPE Heading
|
||||
{
|
||||
USES "L10H1-NodeLower"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "5Heading*" TYPE Heading
|
||||
{
|
||||
USES "L2H2HR"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Abstract" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Alpha" TYPE List
|
||||
{
|
||||
USES "L3AutonumberItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Author" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Body" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Bullet" TYPE List
|
||||
{
|
||||
USES "L1BulletItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Bullet2" TYPE List
|
||||
{
|
||||
USES "L1BulletItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "BulletLev2" TYPE List
|
||||
{
|
||||
USES "L1BulletItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "BulletLev3" TYPE List
|
||||
{
|
||||
USES "L2BulletItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "CBlockIndent" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "CBlockIndent2" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "CBlockIndent3" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "CBullet" TYPE List
|
||||
{
|
||||
USES "L1PlainItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "CBullet2" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "CBullet3" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "CellBody" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "CellBodyC" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Center" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Chapter" TYPE Heading
|
||||
{
|
||||
USES "L1H1HR-NodeTop"
|
||||
}
|
||||
|
||||
|
||||
|
||||
PARAGRAPH "Chapter*" TYPE Heading
|
||||
{
|
||||
USES "L2H1-NodeLower"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "ChapterName" TYPE Heading
|
||||
{
|
||||
USES "L3H1-NodeLower"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "ChapterNumber" TYPE Heading
|
||||
{
|
||||
USES "L2H2HR"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "ChapterSubHead" TYPE Heading
|
||||
{
|
||||
USES "L4H1-NodeLower"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "ChapterTOC" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "ChSubHeadDescription" TYPE Heading
|
||||
{
|
||||
USES "L5H1-NodeLower"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Code" TYPE Normal
|
||||
{
|
||||
USES "PreformattedText"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "CStep" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Equation" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "ETable" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Extract" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Figure" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "FirstBody" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "FlushL" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "FlushR" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Footnote" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "GroupTitlesIX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "HangIndent" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "HangIndentCont" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "HangIndentLev2" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "HangIndentLev3" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Header" TYPE Heading
|
||||
{
|
||||
USES "L14H4"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Index" TYPE Heading
|
||||
{
|
||||
USES "L14H4"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "IndexIX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "IndexTOC" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Level1IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Level2IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Level3IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "M Drop Cap" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Numeric" TYPE List
|
||||
{
|
||||
USES "L3PlainItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Page#" TYPE Heading
|
||||
{
|
||||
USES "L11H4"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Part" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Part*" TYPE Heading
|
||||
{
|
||||
USES "L1H1HR-NodeTop"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Section" TYPE Heading
|
||||
{
|
||||
USES "L2H2HR"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "SectionTOC" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Step" TYPE List
|
||||
{
|
||||
USES "L1BulletItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "StepLev2" TYPE List
|
||||
{
|
||||
USES "L1BulletItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "StepLev3" TYPE List
|
||||
{
|
||||
USES "L2BulletItem"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "SubHeading" TYPE Heading
|
||||
{
|
||||
USES "L2H2HR"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "SubSection" TYPE Heading
|
||||
{
|
||||
USES "L2H2HR"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Table" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Title" TYPE Normal
|
||||
{
|
||||
USES "FMDocumentTitle"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "TOCFoot" TYPE Normal
|
||||
{
|
||||
USES "Default"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "TOCHead" TYPE Heading
|
||||
{
|
||||
USES "L12H4"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Type 11IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Type 12IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Type 13IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Type 14IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Type 15IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Type 16IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "Type 17IX" TYPE Normal
|
||||
{
|
||||
USES "Ignore"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "WWW-IX" TYPE Heading
|
||||
{
|
||||
USES "IndexHeadingL-IndexNodeL"
|
||||
}
|
||||
|
||||
|
||||
PARAGRAPH "WWW-TOC" TYPE Heading
|
||||
{
|
||||
USES "ExtTOCHeading-TocNode"
|
||||
}
|
||||
|
||||
|
||||
CHARACTER { TAG "Code" MAP CODE }
|
||||
|
||||
|
||||
CHARACTER { TAG "CodeInput" MAP CODE }
|
||||
|
||||
|
||||
CHARACTER { TAG "Emphasis" MAP ITALIC }
|
||||
|
||||
|
||||
CHARACTER { TAG "EquationVariables" MAP ITALIC }
|
||||
|
||||
|
||||
CHARACTER { TAG "InitialCaps" MAP UNDERLINE }
|
||||
|
||||
|
||||
CHARACTER { TAG "Strong" MAP BOLD }
|
BIN
Doc/ref/ref0.doc
BIN
Doc/ref/ref0.doc
Binary file not shown.
BIN
Doc/ref/ref1.doc
BIN
Doc/ref/ref1.doc
Binary file not shown.
BIN
Doc/ref/ref2.doc
BIN
Doc/ref/ref2.doc
Binary file not shown.
BIN
Doc/ref/ref3.doc
BIN
Doc/ref/ref3.doc
Binary file not shown.
BIN
Doc/ref/ref4.doc
BIN
Doc/ref/ref4.doc
Binary file not shown.
BIN
Doc/ref/ref5.doc
BIN
Doc/ref/ref5.doc
Binary file not shown.
BIN
Doc/ref/ref6.doc
BIN
Doc/ref/ref6.doc
Binary file not shown.
BIN
Doc/ref/ref7.doc
BIN
Doc/ref/ref7.doc
Binary file not shown.
BIN
Doc/ref/ref8.doc
BIN
Doc/ref/ref8.doc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue