[Python-checkins] python/dist/src/Doc/texinputs python.sty, 1.106, 1.107

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Mon Feb 9 15:58:12 EST 2004


Update of /cvsroot/python/python/dist/src/Doc/texinputs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11178

Modified Files:
	python.sty 
Log Message:
support \e in \file and \filenq; this is useful for Windows paths


Index: python.sty
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/texinputs/python.sty,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** python.sty	23 Jan 2004 08:52:28 -0000	1.106
--- python.sty	9 Feb 2004 20:58:08 -0000	1.107
***************
*** 850,854 ****
  % let's experiment with a new font:
  \newcommand{\file}[1]{`\filenq{#1}'}
! \newcommand{\filenq}[1]{{\py at smallsize\textsf{#1}}}
  
  % Use this def/redef approach for \url{} since hyperref defined this already,
--- 850,854 ----
  % let's experiment with a new font:
  \newcommand{\file}[1]{`\filenq{#1}'}
! \newcommand{\filenq}[1]{{\py at smallsize\textsf{\let\e=\textbackslash#1}}}
  
  % Use this def/redef approach for \url{} since hyperref defined this already,




More information about the Python-checkins mailing list