comparison Doc/texinputs/python.sty @ 16118:64545c986b98 legacy-trunk

Remove the dollar sign from the formatting of environment variables -- too Unix-specific, and not really needed. (Already fixed the HTML formatting, but forgot to mention it in the checkin for python.perl 1.94.)
author Fred Drake <fdrake@acm.org>
date Mon, 22 Jan 2001 17:50:42 +0000
parents 9a17cdcd3320
children 38e17a089492
comparison
equal deleted inserted replaced
16117:8e012ae9a042 16118:64545c986b98
803 {\tiny$^{^\lceil}\!\!$% 803 {\tiny$^{^\lceil}\!\!$%
804 {\normalsize\code{#1}}% 804 {\normalsize\code{#1}}%
805 $\!\rfloor\!$% 805 $\!\rfloor\!$%
806 }} 806 }}
807 \newcommand{\envvar}[1]{% 807 \newcommand{\envvar}[1]{%
808 \$#1% $ <-- bow to font-lock 3 times! 808 #1%
809 \index{#1@{\$#1}}% $ 809 \index{#1@{#1}}%
810 \index{environment variables!{\$#1}}% $ 810 \index{environment variables!{#1}}%
811 } 811 }
812 \newcommand{\makevar}[1]{#1} % variable in a Makefile 812 \newcommand{\makevar}[1]{#1} % variable in a Makefile
813 \newcommand{\character}[1]{\samp{#1}} 813 \newcommand{\character}[1]{\samp{#1}}
814 814
815 % constants defined in Python modules or C headers, not language constants: 815 % constants defined in Python modules or C headers, not language constants: