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
f877b250
Kaydet (Commit)
f877b250
authored
Ara 09, 2006
tarafından
Matthias Klose
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
- Fix the build of the library reference in info format.
üst
2bcf0154
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
14 deletions
+35
-14
libmsilib.tex
Doc/lib/libmsilib.tex
+2
-2
py2texi.el
Doc/tools/py2texi.el
+31
-12
NEWS
Misc/NEWS
+2
-0
No files found.
Doc/lib/libmsilib.tex
Dosyayı görüntüle @
f877b250
...
@@ -344,8 +344,8 @@ the string inside the exception will contain more detail.
...
@@ -344,8 +344,8 @@ the string inside the exception will contain more detail.
\subsection
{
Features
\label
{
features
}}
\subsection
{
Features
\label
{
features
}}
\begin{classdesc}
{
Feature
}{
database, id, title, desc, display
\optional
{
,
\begin{classdesc}
{
Feature
}{
database, id, title, desc, display
\optional
{
,
level=1
\optional
{
, parent
\optional
\
{
, directory
\optional
{
,
level=1
\optional
{
, parent
\optional
{
, directory
\optional
{
,
attributes=0
}}}}
attributes=0
}}}}
}
Add a new record to the
\code
{
Feature
}
table, using the values
Add a new record to the
\code
{
Feature
}
table, using the values
\var
{
id
}
,
\var
{
parent.id
}
,
\var
{
title
}
,
\var
{
desc
}
,
\var
{
display
}
,
\var
{
id
}
,
\var
{
parent.id
}
,
\var
{
title
}
,
\var
{
desc
}
,
\var
{
display
}
,
...
...
Doc/tools/py2texi.el
Dosyayı görüntüle @
f877b250
;;; py2texi.el -- Conversion of Python LaTeX documentation to Texinfo
;;; py2texi.el -- Conversion of Python LaTeX documentation to Texinfo
;; Copyright (C) 2006 Jeroen Dekkers <jeroen@dekkers.cx>
;; Copyright (C) 1998, 1999, 2001, 2002 Milan Zamazal
;; Copyright (C) 1998, 1999, 2001, 2002 Milan Zamazal
;; Author: Milan Zamazal <pdm@zamazal.org>
;; Author: Milan Zamazal <pdm@zamazal.org>
...
@@ -168,6 +169,7 @@ Otherwise a generated Info file name is used.")
...
@@ -168,6 +169,7 @@ Otherwise a generated Info file name is used.")
"@end table\n"
)
"@end table\n"
)
(
"productionlist"
0
"\n@table @code\n"
"@end table\n"
)
(
"productionlist"
0
"\n@table @code\n"
"@end table\n"
)
(
"quotation"
0
"@quotation"
"@end quotation"
)
(
"quotation"
0
"@quotation"
"@end quotation"
)
(
"quote"
0
"@quotation"
"@end quotation"
)
(
"seealso"
0
"See also:\n@table @emph\n"
"@end table\n"
)
(
"seealso"
0
"See also:\n@table @emph\n"
"@end table\n"
)
(
"seealso*"
0
"@table @emph\n"
"@end table\n"
)
(
"seealso*"
0
"@table @emph\n"
"@end table\n"
)
(
"sloppypar"
0
""
""
)
(
"sloppypar"
0
""
""
)
...
@@ -246,11 +248,12 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
...
@@ -246,11 +248,12 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"env"
1
"@code{\\1}"
)
(
"env"
1
"@code{\\1}"
)
(
"EOF"
0
"@code{EOF}"
)
(
"EOF"
0
"@code{EOF}"
)
(
"email"
1
"@email{\\1}"
)
(
"email"
1
"@email{\\1}"
)
(
"em"
1
"@emph{\\1}"
)
(
"emph"
1
"@emph{\\1}"
)
(
"emph"
1
"@emph{\\1}"
)
(
"envvar"
1
"@env{\\1}"
)
(
"envvar"
1
"@env{\\1}"
)
(
"exception"
1
"@code{\\1}"
)
(
"exception"
1
"@code{\\1}"
)
(
"exindex"
1
(
progn
(
setq
obindex
t
)
"@obindex{\\1}"
))
(
"exindex"
1
(
progn
(
setq
obindex
t
)
"@obindex{\\1}"
))
(
"fi"
0
(
concat
"@end "
last-if
))
(
"fi"
0
(
if
(
equal
last-if
"ifx"
)
""
(
concat
"@end "
last-if
)
))
(
"file"
1
"@file{\\1}"
)
(
"file"
1
"@file{\\1}"
)
(
"filenq"
1
"@file{\\1}"
)
(
"filenq"
1
"@file{\\1}"
)
(
"filevar"
1
"@file{@var{\\1}}"
)
(
"filevar"
1
"@file{@var{\\1}}"
)
...
@@ -262,6 +265,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
...
@@ -262,6 +265,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"grammartoken"
1
"@code{\\1}"
)
(
"grammartoken"
1
"@code{\\1}"
)
(
"guilabel"
1
"@strong{\\1}"
)
(
"guilabel"
1
"@strong{\\1}"
)
(
"hline"
0
""
)
(
"hline"
0
""
)
(
"ifx"
0
(
progn
(
setq
last-if
"ifx"
)
""
))
(
"ifhtml"
0
(
concat
"@"
(
setq
last-if
"ifinfo"
)))
(
"ifhtml"
0
(
concat
"@"
(
setq
last-if
"ifinfo"
)))
(
"iftexi"
0
(
concat
"@"
(
setq
last-if
"ifinfo"
)))
(
"iftexi"
0
(
concat
"@"
(
setq
last-if
"ifinfo"
)))
(
"index"
1
(
progn
(
setq
cindex
t
)
"@cindex{\\1}"
))
(
"index"
1
(
progn
(
setq
cindex
t
)
"@cindex{\\1}"
))
...
@@ -284,6 +288,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
...
@@ -284,6 +288,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"lineiii"
3
"@item \\1 @tab \\2 @tab \\3"
)
(
"lineiii"
3
"@item \\1 @tab \\2 @tab \\3"
)
(
"lineiv"
4
"@item \\1 @tab \\2 @tab \\3 @tab \\4"
)
(
"lineiv"
4
"@item \\1 @tab \\2 @tab \\3 @tab \\4"
)
(
"linev"
5
"@item \\1 @tab \\2 @tab \\3 @tab \\4 @tab \\5"
)
(
"linev"
5
"@item \\1 @tab \\2 @tab \\3 @tab \\4 @tab \\5"
)
(
"locallinewidth"
0
""
)
(
"localmoduletable"
0
""
)
(
"localmoduletable"
0
""
)
(
"longprogramopt"
1
"@option{--\\1}"
)
(
"longprogramopt"
1
"@option{--\\1}"
)
(
"macro"
1
"@code{@backslash{}\\1}"
)
(
"macro"
1
"@code{@backslash{}\\1}"
)
...
@@ -307,6 +312,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
...
@@ -307,6 +312,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"moreargs"
0
"@dots{}"
)
(
"moreargs"
0
"@dots{}"
)
(
"n"
0
"@backslash{}n"
)
(
"n"
0
"@backslash{}n"
)
(
"newcommand"
2
""
)
(
"newcommand"
2
""
)
(
"newlength"
1
""
)
(
"newsgroup"
1
"@samp{\\1}"
)
(
"newsgroup"
1
"@samp{\\1}"
)
(
"nodename"
1
(
"nodename"
1
(
save-excursion
(
save-excursion
...
@@ -322,6 +328,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
...
@@ -322,6 +328,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"opindex"
1
(
progn
(
setq
cindex
t
)
"@cindex{\\1}"
))
(
"opindex"
1
(
progn
(
setq
cindex
t
)
"@cindex{\\1}"
))
(
"option"
1
"@option{\\1}"
)
(
"option"
1
"@option{\\1}"
)
(
"optional"
1
"[\\1]"
)
(
"optional"
1
"[\\1]"
)
(
"paragraph"
1
"@subsubheading \\1"
)
(
"pep"
1
(
progn
(
setq
cindex
t
)
"PEP@ \\1@cindex PEP \\1\n"
))
(
"pep"
1
(
progn
(
setq
cindex
t
)
"PEP@ \\1@cindex PEP \\1\n"
))
(
"pi"
0
"pi"
)
(
"pi"
0
"pi"
)
(
"platform"
1
""
)
(
"platform"
1
""
)
...
@@ -363,6 +370,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
...
@@ -363,6 +370,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"seetitle"
1
"@cite{\\1}"
)
(
"seetitle"
1
"@cite{\\1}"
)
(
"seeurl"
2
"\n@table @url\n@item \\1\n\\2\n@end table\n"
)
(
"seeurl"
2
"\n@table @url\n@item \\1\n\\2\n@end table\n"
)
(
"setindexsubitem"
1
(
progn
(
setq
cindex
t
)
"@cindex \\1"
))
(
"setindexsubitem"
1
(
progn
(
setq
cindex
t
)
"@cindex \\1"
))
(
"setlength"
2
""
)
(
"setreleaseinfo"
1
(
progn
(
setq
py2texi-releaseinfo
""
)))
(
"setreleaseinfo"
1
(
progn
(
setq
py2texi-releaseinfo
""
)))
(
"setshortversion"
1
(
"setshortversion"
1
(
progn
(
setq
py2texi-python-short-version
(
match-string
1
string
))
""
))
(
progn
(
setq
py2texi-python-short-version
(
match-string
1
string
))
""
))
...
@@ -382,8 +390,8 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
...
@@ -382,8 +390,8 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"textasciicircum"
0
"^"
)
(
"textasciicircum"
0
"^"
)
(
"textbackslash"
0
"@backslash{}"
)
(
"textbackslash"
0
"@backslash{}"
)
(
"textbar"
0
"|"
)
(
"textbar"
0
"|"
)
; Some common versions of Texinfo don't support @euro yet:
(
"textbf"
1
"@strong{\\1}"
)
;
("texteuro" 0 "@euro{}")
(
"texteuro"
0
"@euro{}"
)
; Unfortunately, this alternate spelling doesn't actually apply to
; Unfortunately, this alternate spelling doesn't actually apply to
; the usage found in Python Tutorial, which actually requires a
; the usage found in Python Tutorial, which actually requires a
; Euro symbol to make sense, so this is commented out as well.
; Euro symbol to make sense, so this is commented out as well.
...
@@ -394,6 +402,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
...
@@ -394,6 +402,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"textrm"
1
"\\1"
)
(
"textrm"
1
"\\1"
)
(
"texttt"
1
"@code{\\1}"
)
(
"texttt"
1
"@code{\\1}"
)
(
"textunderscore"
0
"_"
)
(
"textunderscore"
0
"_"
)
(
"tilde"
0
"~"
)
(
"title"
1
(
progn
(
setq
title
(
match-string
1
string
))
"@settitle \\1"
))
(
"title"
1
(
progn
(
setq
title
(
match-string
1
string
))
"@settitle \\1"
))
(
"today"
0
"@today{}"
)
(
"today"
0
"@today{}"
)
(
"token"
1
"@code{\\1}"
)
(
"token"
1
"@code{\\1}"
)
...
@@ -402,6 +411,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
...
@@ -402,6 +411,7 @@ Both BEGIN and END are evaled. Moreover, you can reference arguments through
(
"u"
0
"@backslash{}u"
)
(
"u"
0
"@backslash{}u"
)
(
"ulink"
2
"\\1"
)
(
"ulink"
2
"\\1"
)
(
"UNIX"
0
"UNIX"
)
(
"UNIX"
0
"UNIX"
)
(
"undefined"
0
""
)
(
"unspecified"
0
"@dots{}"
)
(
"unspecified"
0
"@dots{}"
)
(
"url"
1
"@url{\\1}"
)
(
"url"
1
"@url{\\1}"
)
(
"usepackage"
1
""
)
(
"usepackage"
1
""
)
...
@@ -534,15 +544,20 @@ Each list item is of the form (COMMAND ARGNUM SUBSTITUTION) where:
...
@@ -534,15 +544,20 @@ Each list item is of the form (COMMAND ARGNUM SUBSTITUTION) where:
beg
beg
end
)
end
)
(
py2texi-search-safe
"\\\\begin{\\(verbatim\\|displaymath\\)}"
(
py2texi-search-safe
"\\\\begin{\\(verbatim\\|displaymath\\)}"
(
replace-match
"@example"
)
(
when
(
save-excursion
(
setq
beg
(
copy-marker
(
point
)
nil
))
; Make sure we aren't looking at a commented out version
(
re-search-forward
"\\\\end{\\(verbatim\\|displaymath\\)}"
)
; of a verbatim environment
(
setq
end
(
copy-marker
(
match-beginning
0
)
nil
))
(
beginning-of-line
)
(
replace-match
"@end example"
)
(
not
(
looking-at
"%"
)))
(
py2texi-texinfo-escape
beg
end
)
(
replace-match
"@example "
)
(
put-text-property
(
-
beg
(
length
"@example"
))
(
setq
beg
(
copy-marker
(
point
)
nil
))
(
+
end
(
length
"@end example"
))
(
re-search-forward
"\\\\end{\\(verbatim\\|displaymath\\)}"
)
'py2texi-protected
t
))
(
setq
end
(
copy-marker
(
match-beginning
0
)
nil
))
(
replace-match
"@end example"
)
(
py2texi-texinfo-escape
beg
end
)
(
put-text-property
(
-
beg
(
length
"@example "
))
(
+
end
(
length
"@end example"
))
'py2texi-protected
t
)))
(
py2texi-search-safe
"\\\\verb\\([^a-z]\\)"
(
py2texi-search-safe
"\\\\verb\\([^a-z]\\)"
(
setq
delimiter
(
match-string
1
))
(
setq
delimiter
(
match-string
1
))
(
replace-match
"@code{"
)
(
replace-match
"@code{"
)
...
@@ -883,6 +898,10 @@ Do not include .ind files."
...
@@ -883,6 +898,10 @@ Do not include .ind files."
(
defun
py2texi-fix-braces
()
(
defun
py2texi-fix-braces
()
"Escape braces for Texinfo."
"Escape braces for Texinfo."
(
py2texi-search
"{@{}"
(
replace-match
"@{"
))
(
py2texi-search
"{@}}"
(
replace-match
"@}"
))
(
let
(
string
)
(
let
(
string
)
(
py2texi-search
"{"
(
py2texi-search
"{"
(
unless
(
or
(
py2texi-protected
)
(
unless
(
or
(
py2texi-protected
)
...
...
Misc/NEWS
Dosyayı görüntüle @
f877b250
...
@@ -229,6 +229,8 @@ Build
...
@@ -229,6 +229,8 @@ Build
-
Fix
build
failure
on
kfreebsd
and
on
the
hurd
.
-
Fix
build
failure
on
kfreebsd
and
on
the
hurd
.
-
Fix
the
build
of
the
library
reference
in
info
format
.
Windows
Windows
-------
-------
...
...
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