From: Fred Drake Date: Tue, 9 Nov 1999 17:02:11 +0000 (+0000) Subject: \programopt: New macro, used to mark command-line parameters in the X-Git-Tag: v1.6a1~756 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b8195a209cb1b9c63e189eb93ab01576038b4e4;p=thirdparty%2FPython%2Fcpython.git \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. --- diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty index 3c67818c3d57..76ae86ffedfe 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.