diff options
author | Fred Drake <fdrake@acm.org> | 1999-11-09 17:02:11 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-11-09 17:02:11 (GMT) |
commit | 7b8195a209cb1b9c63e189eb93ab01576038b4e4 (patch) | |
tree | f2976d6e4b21d9dd2260e492dcdf7682916eca16 /Doc | |
parent | c9f5fe0d1c692c0f720a951db863d7665b331eab (diff) | |
download | cpython-7b8195a209cb1b9c63e189eb93ab01576038b4e4.zip cpython-7b8195a209cb1b9c63e189eb93ab01576038b4e4.tar.gz cpython-7b8195a209cb1b9c63e189eb93ab01576038b4e4.tar.bz2 |
\programopt: New macro, used to mark command-line parameters in the
text. Looks like \program.
\citetitle: New macro, used to mark titles of cited works (like the
names of the Python manuals). Accepts & discards an
optional parameter that is only used by the HTML
formatter. Looks like \emph.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/texinputs/python.sty | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 3c67818..76ae86f 100644 --- a/Doc/texinputs/python.sty +++ b/Doc/texinputs/python.sty @@ -762,6 +762,11 @@ \newcommand{\manpage}[2]{{\emph{#1}(#2)}} \newcommand{\rfc}[1]{RFC #1\index{RFC!RFC #1}} \newcommand{\program}[1]{\strong{#1}} +\newcommand{\programopt}[1]{\strong{#1}} + +% cited titles: \citetitle{Title of Work} +% online: \citetitle[url-to-resource]{Title of Work} +\newcommand{\citetitle}[2][URL]{\emph{#1}} % Deprecation stuff. |