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
abcb3825
Kaydet (Commit)
abcb3825
authored
Eki 25, 1996
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
(texi2html.py): Minor improvement to HTML 3.0 output for code examples.
üst
893e5e0a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
6 deletions
+21
-6
texi2html.py
Doc/texi2html.py
+7
-2
texi2html.py
Doc/tools/texi2html.py
+7
-2
texi2html.py
Tools/scripts/texi2html.py
+7
-2
No files found.
Doc/texi2html.py
Dosyayı görüntüle @
abcb3825
...
@@ -1269,7 +1269,7 @@ class TexinfoParser:
...
@@ -1269,7 +1269,7 @@ class TexinfoParser:
self
.
nofill
=
self
.
nofill
+
1
self
.
nofill
=
self
.
nofill
+
1
self
.
write
(
'<PRE>'
)
self
.
write
(
'<PRE>'
)
def
end_example
(
self
):
def
end_example
(
self
):
self
.
write
(
'</PRE>'
)
self
.
write
(
'</PRE>
\n
'
)
self
.
nofill
=
self
.
nofill
-
1
self
.
nofill
=
self
.
nofill
-
1
bgn_lisp
=
bgn_example
# Synonym when contents are executable lisp code
bgn_lisp
=
bgn_example
# Synonym when contents are executable lisp code
...
@@ -1434,8 +1434,13 @@ class TexinfoParserHTML3(TexinfoParser):
...
@@ -1434,8 +1434,13 @@ class TexinfoParserHTML3(TexinfoParser):
def
end_quotation
(
self
):
self
.
write
(
'</BQ>
\n
'
)
def
end_quotation
(
self
):
self
.
write
(
'</BQ>
\n
'
)
def
bgn_example
(
self
,
args
):
def
bgn_example
(
self
,
args
):
# this use of <CODE> would not be legal in HTML 2.0,
# but is in more recent DTDs.
self
.
nofill
=
self
.
nofill
+
1
self
.
nofill
=
self
.
nofill
+
1
self
.
write
(
'<PRE CLASS=example>'
)
self
.
write
(
'<PRE CLASS=example><CODE>'
)
def
end_example
(
self
):
self
.
write
(
"</CODE></PRE>
\n
"
)
self
.
nofill
=
self
.
nofill
-
1
def
bgn_flushleft
(
self
,
args
):
def
bgn_flushleft
(
self
,
args
):
self
.
nofill
=
self
.
nofill
+
1
self
.
nofill
=
self
.
nofill
+
1
...
...
Doc/tools/texi2html.py
Dosyayı görüntüle @
abcb3825
...
@@ -1269,7 +1269,7 @@ class TexinfoParser:
...
@@ -1269,7 +1269,7 @@ class TexinfoParser:
self
.
nofill
=
self
.
nofill
+
1
self
.
nofill
=
self
.
nofill
+
1
self
.
write
(
'<PRE>'
)
self
.
write
(
'<PRE>'
)
def
end_example
(
self
):
def
end_example
(
self
):
self
.
write
(
'</PRE>'
)
self
.
write
(
'</PRE>
\n
'
)
self
.
nofill
=
self
.
nofill
-
1
self
.
nofill
=
self
.
nofill
-
1
bgn_lisp
=
bgn_example
# Synonym when contents are executable lisp code
bgn_lisp
=
bgn_example
# Synonym when contents are executable lisp code
...
@@ -1434,8 +1434,13 @@ class TexinfoParserHTML3(TexinfoParser):
...
@@ -1434,8 +1434,13 @@ class TexinfoParserHTML3(TexinfoParser):
def
end_quotation
(
self
):
self
.
write
(
'</BQ>
\n
'
)
def
end_quotation
(
self
):
self
.
write
(
'</BQ>
\n
'
)
def
bgn_example
(
self
,
args
):
def
bgn_example
(
self
,
args
):
# this use of <CODE> would not be legal in HTML 2.0,
# but is in more recent DTDs.
self
.
nofill
=
self
.
nofill
+
1
self
.
nofill
=
self
.
nofill
+
1
self
.
write
(
'<PRE CLASS=example>'
)
self
.
write
(
'<PRE CLASS=example><CODE>'
)
def
end_example
(
self
):
self
.
write
(
"</CODE></PRE>
\n
"
)
self
.
nofill
=
self
.
nofill
-
1
def
bgn_flushleft
(
self
,
args
):
def
bgn_flushleft
(
self
,
args
):
self
.
nofill
=
self
.
nofill
+
1
self
.
nofill
=
self
.
nofill
+
1
...
...
Tools/scripts/texi2html.py
Dosyayı görüntüle @
abcb3825
...
@@ -1269,7 +1269,7 @@ class TexinfoParser:
...
@@ -1269,7 +1269,7 @@ class TexinfoParser:
self
.
nofill
=
self
.
nofill
+
1
self
.
nofill
=
self
.
nofill
+
1
self
.
write
(
'<PRE>'
)
self
.
write
(
'<PRE>'
)
def
end_example
(
self
):
def
end_example
(
self
):
self
.
write
(
'</PRE>'
)
self
.
write
(
'</PRE>
\n
'
)
self
.
nofill
=
self
.
nofill
-
1
self
.
nofill
=
self
.
nofill
-
1
bgn_lisp
=
bgn_example
# Synonym when contents are executable lisp code
bgn_lisp
=
bgn_example
# Synonym when contents are executable lisp code
...
@@ -1434,8 +1434,13 @@ class TexinfoParserHTML3(TexinfoParser):
...
@@ -1434,8 +1434,13 @@ class TexinfoParserHTML3(TexinfoParser):
def
end_quotation
(
self
):
self
.
write
(
'</BQ>
\n
'
)
def
end_quotation
(
self
):
self
.
write
(
'</BQ>
\n
'
)
def
bgn_example
(
self
,
args
):
def
bgn_example
(
self
,
args
):
# this use of <CODE> would not be legal in HTML 2.0,
# but is in more recent DTDs.
self
.
nofill
=
self
.
nofill
+
1
self
.
nofill
=
self
.
nofill
+
1
self
.
write
(
'<PRE CLASS=example>'
)
self
.
write
(
'<PRE CLASS=example><CODE>'
)
def
end_example
(
self
):
self
.
write
(
"</CODE></PRE>
\n
"
)
self
.
nofill
=
self
.
nofill
-
1
def
bgn_flushleft
(
self
,
args
):
def
bgn_flushleft
(
self
,
args
):
self
.
nofill
=
self
.
nofill
+
1
self
.
nofill
=
self
.
nofill
+
1
...
...
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