comparison Doc/texinputs/python.sty @ 20841:eacf81df6c42 legacy-trunk

Fix stupid bug recently introduced for DVI version of the docs (used to generate PostScript).
author Fred Drake <fdrake@acm.org>
date Fri, 02 Nov 2001 20:53:19 +0000
parents 85109a6099b5
children 0a67463f8b7d
comparison
equal deleted inserted replaced
20840:3803af9d8796 20841:eacf81df6c42
881 \ifpdf 881 \ifpdf
882 \newcommand{\citetitle}[2][\py@modulebadkey]{% 882 \newcommand{\citetitle}[2][\py@modulebadkey]{%
883 \ifx\py@modulebadkey#1\emph{#2}\else\ulink{\emph{#2}}{#1}\fi% 883 \ifx\py@modulebadkey#1\emph{#2}\else\ulink{\emph{#2}}{#1}\fi%
884 } 884 }
885 \else 885 \else
886 \newcommand{\citetitle}[2][URL]{#1} 886 \newcommand{\citetitle}[2][URL]{\emph{#2}}
887 \fi 887 \fi
888 888
889 889
890 890
891 \newcommand{\grammartoken}[1]{\texttt{#1}} 891 \newcommand{\grammartoken}[1]{\texttt{#1}}