diff options
| author | georg.brandl <devnull@localhost> | 2007-12-16 12:20:41 +0000 |
|---|---|---|
| committer | georg.brandl <devnull@localhost> | 2007-12-16 12:20:41 +0000 |
| commit | 8e2c44dc4bdb59dfb03f6b94776a91c1da797f2d (patch) | |
| tree | aa5cd23469ca20c26370312874a531010be2b554 /sphinx/texinputs/python.sty | |
| parent | 823edf09970730a133bd7c58ccfa695fc0c09b40 (diff) | |
| download | sphinx-8e2c44dc4bdb59dfb03f6b94776a91c1da797f2d.tar.gz | |
Implement index entries, production lists and the glossary.
Diffstat (limited to 'sphinx/texinputs/python.sty')
| -rw-r--r-- | sphinx/texinputs/python.sty | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/sphinx/texinputs/python.sty b/sphinx/texinputs/python.sty index e3ee51a2..9ae7dd57 100644 --- a/sphinx/texinputs/python.sty +++ b/sphinx/texinputs/python.sty @@ -855,26 +855,26 @@ % Use this def/redef approach for \url{} since hyperref defined this already, % but only if we actually used hyperref: -\ifpdf - \newcommand{\url}[1]{{% - \py@pdfstartlink% - attr{ /Border [0 0 0] }% - user{% - /Subtype/Link% - /A<<% - /Type/Action% - /S/URI% - /URI(#1)% - >>% - }% - \py@LinkColor% color of the link text - \py@smallsize\sf #1% - \py@NormalColor% Turn it back off; these are declarative - \pdfendlink}% and don't appear bound to the current - }% formatting "box". -\else - \newcommand{\url}[1]{\mbox{\py@smallsize\textsf{#1}}} -\fi +%\ifpdf +% \newcommand{\url}[1]{{% +% \py@pdfstartlink% +% attr{ /Border [0 0 0] }% +% user{% +% /Subtype/Link% +% /A<<% +% /Type/Action% +% /S/URI% +% /URI(#1)% +% >>% +% }% +% \py@LinkColor% color of the link text +% \py@smallsize\sf #1% +% \py@NormalColor% Turn it back off; these are declarative +% \pdfendlink}% and don't appear bound to the current +% }% formatting "box". +%\else +% \newcommand{\url}[1]{\mbox{\py@smallsize\textsf{#1}}} +%\fi \newcommand{\email}[1]{{\py@smallsize\textsf{#1}}} \newcommand{\newsgroup}[1]{{\py@smallsize\textsf{#1}}} |
