Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
2a3ab4fa
Kaydet (Commit)
2a3ab4fa
authored
Nis 28, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Do better hiding of internal names.
üst
08c5dfc5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
25 deletions
+25
-25
howto.cls
Doc/texinputs/howto.cls
+12
-12
manual.cls
Doc/texinputs/manual.cls
+13
-13
No files found.
Doc/texinputs/howto.cls
Dosyayı görüntüle @
2a3ab4fa
...
...
@@ -41,14 +41,14 @@
% need to do one of these....
\newcommand
{
\@
doHorizontalRule
}{
\rule
{
\textwidth
}{
1pt
}}
\newcommand
{
\
py
@doHorizontalRule
}{
\rule
{
\textwidth
}{
1pt
}}
% Change the title page to look a bit better, and fit in with the
% fncychap ``Bjarne'' style a bit better.
%
\renewcommand
{
\maketitle
}{
\@
doHorizontalRule
\
py
@doHorizontalRule
\@
ifundefined
{
pdfinfo
}{}{
\pdfinfo
{
/Author (
\@
author)
...
...
@@ -56,13 +56,13 @@
}
}
\begin{flushright}
{
\rm\Huge\HeaderFamily
\@
title
}
\par
{
\em\large\
HeaderFamily
\
@
release
}
\par
{
\rm\Huge\
py
@
HeaderFamily
\@
title
}
\par
{
\em\large\
py
@HeaderFamily
\py
@release
}
\par
\vspace
{
25pt
}
{
\Large\HeaderFamily
\@
author
}
\par
{
\Large\
py
@
HeaderFamily
\@
author
}
\par
\vspace
{
25pt
}
\@
date
\par
\@
authoraddress
\par
\
py
@authoraddress
\par
\end{flushright}
\@
thanks
\setcounter
{
footnote
}{
0
}
...
...
@@ -71,25 +71,25 @@
}
\let\OldTableofcontents
=
\tableofcontents
\let\
py
@
OldTableofcontents=
\tableofcontents
\renewcommand
{
\tableofcontents
}{
\begingroup
\parskip
= 0mm
\OldTableofcontents
\
py
@
OldTableofcontents
\endgroup
\@
doHorizontalRule
\
py
@doHorizontalRule
\vspace
{
12pt
}
\@
doing@page@targetstrue
\
py
@doing@page@targetstrue
}
% Fix the theindex environment to add an entry to the Table of
% Contents; this is much nicer than just having to jump to the end of
% the book and flip around, especially with multiple indexes.
%
\let\OldTheindex
=
\theindex
\let\
py
@
OldTheindex=
\theindex
\renewcommand
{
\theindex
}{
\clearpage
\OldTheindex
\
py
@
OldTheindex
\addcontentsline
{
toc
}{
section
}{
\indexname
}
}
...
...
Doc/texinputs/manual.cls
Dosyayı görüntüle @
2a3ab4fa
...
...
@@ -41,7 +41,7 @@
%
\RequirePackage
[Bjarne]
{
fncychap
}
\typeout
{
Using fancy chapter headings.
}
% Do horizontal rules it this way to match:
\newcommand
{
\@
doHorizontalRule
}{
\mghrulefill
{
\RW
}}
\newcommand
{
\
py
@doHorizontalRule
}{
\mghrulefill
{
\RW
}}
%
%
% This gives us all the Python-specific markup that we really want.
...
...
@@ -57,7 +57,7 @@
\begin{titlepage}
%
\let\footnotesize\small
\let\footnoterule\relax
\@
doHorizontalRule
%
\
py
@doHorizontalRule
%
\@
ifundefined
{
pdfinfo
}{}{
\pdfinfo
{
/Author (
\@
author)
...
...
@@ -65,15 +65,15 @@
}
}
\begin{flushright}
%
{
\rm\Huge\HeaderFamily
\@
title
\par
}
%
{
\em\LARGE\
HeaderFamily
\
@
release
\par
}
{
\rm\Huge\
py
@
HeaderFamily
\@
title
\par
}
%
{
\em\LARGE\
py
@HeaderFamily
\py
@release
\par
}
\vfill
{
\LARGE\HeaderFamily
\@
author
\par
}
{
\LARGE\
py
@
HeaderFamily
\@
author
\par
}
\vfill\vfill
{
\large
\@
date
\par
\vfill
\@
authoraddress
\par
\
py
@authoraddress
\par
}
%
\end{flushright}
%\par
\@
thanks
...
...
@@ -87,7 +87,7 @@
% Catch the end of the {abstract} environment, but here make sure the
% abstract is followed by a blank page if the 'openright' option is used.
%
\let\OldEndAbstract
=
\endabstract
\let\
py
@
OldEndAbstract=
\endabstract
\renewcommand
{
\endabstract
}{
\if
@openright
\ifodd\value
{
page
}
...
...
@@ -95,7 +95,7 @@
\vfil\pagebreak
\fi
\fi
\OldEndAbstract
\
py
@
OldEndAbstract
}
% This wraps the \tableofcontents macro with all the magic to get the
...
...
@@ -103,14 +103,14 @@
% option has been used. This eliminates a fair amount of crud in the
% individual document files.
%
\let\OldTableofcontents
=
\tableofcontents
\let\
py
@
OldTableofcontents=
\tableofcontents
\renewcommand
{
\tableofcontents
}{
%
\setcounter
{
page
}{
1
}
%
\pagebreak
%
\pagestyle
{
plain
}
%
{
%
\parskip
= 0mm
%
\OldTableofcontents
%
\
py
@
OldTableofcontents
%
\if
@openright
%
\ifodd\value
{
page
}
%
\typeout
{
Adding blank page after the table of contents.
}
%
...
...
@@ -121,7 +121,7 @@
}
%
\pagenumbering
{
arabic
}
%
\@
ifundefined
{
fancyhf
}{}{
\pagestyle
{
normal
}}
%
\@
doing@page@targetstrue
%
\
py
@doing@page@targetstrue
%
}
% This is needed to get the width of the section # area wide enough in the
% library reference. Doing it here keeps it the same for all the manuals.
...
...
@@ -134,9 +134,9 @@
% Contents; this is much nicer than just having to jump to the end of
% the book and flip around, especially with multiple indexes.
%
\let\OldTheindex
=
\theindex
\let\
py
@
OldTheindex=
\theindex
\renewcommand
{
\theindex
}{
\cleardoublepage
\OldTheindex
\
py
@
OldTheindex
\addcontentsline
{
toc
}{
chapter
}{
\indexname
}
}
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