diff options
author | Karl Berry <karl@gnu.org> | 1997-07-26 19:12:35 +0000 |
---|---|---|
committer | Karl Berry <karl@gnu.org> | 1997-07-26 19:12:35 +0000 |
commit | 605e6c17a13f2c64a33fdfd17d11b4a1354dbcdf (patch) | |
tree | 2b53bebbff66d0470635741e90486c917689c586 /gcc/texinfo.tex | |
parent | 457bc04adf3759362b152e24950e7e5dedd0727f (diff) | |
download | gcc-605e6c17a13f2c64a33fdfd17d11b4a1354dbcdf.zip gcc-605e6c17a13f2c64a33fdfd17d11b4a1354dbcdf.tar.gz gcc-605e6c17a13f2c64a33fdfd17d11b4a1354dbcdf.tar.bz2 |
(\email): Let to \uref instead of \code, as a second optional argument
makes sense for this, too.
From-SVN: r14534
Diffstat (limited to 'gcc/texinfo.tex')
-rw-r--r-- | gcc/texinfo.tex | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gcc/texinfo.tex b/gcc/texinfo.tex index e68d15a..1d1e570 100644 --- a/gcc/texinfo.tex +++ b/gcc/texinfo.tex @@ -1,5 +1,5 @@ %% TeX macros to handle Texinfo files. -%% $Id: texinfo.tex,v 2.216 1997/07/10 17:34:25 karl Exp karl $ +%% $Id: texinfo.tex,v 2.217 1997/07/14 17:43:41 karl Exp karl $ % Copyright (C) 1985, 86, 88, 90, 91, 92, 93, % 94, 95, 96, 97 Free Software Foundation, Inc. @@ -36,7 +36,7 @@ % This automatically updates the version number based on RCS. \def\deftexinfoversion$#1: #2 ${\def\texinfoversion{#2}} -\deftexinfoversion$Revision: 2.216 $ +\deftexinfoversion$Revision: 2.217 $ \message{Loading texinfo package [Version \texinfoversion]:} % If in a .fmt file, print the version number @@ -1402,14 +1402,12 @@ where each line of input produces a line of output.} \else{\tclose{\kbdfont\look}}\fi \else{\tclose{\kbdfont\look}}\fi} -% @url, @email. Quotes do not seem necessary. -\let\url=\code % perhaps include a hypertex \special eventually -% rms does not like the angle brackets --karl, 17may97. -%\def\email#1{$\langle${\tt #1}$\rangle$} -\let\email=\code +% @url. Quotes do not seem necessary, so use \code. +\let\url=\code % @uref (abbreviation for `urlref') takes an optional second argument % specifying the text to display. First (mandatory) arg is the url. +% Perhaps eventually put in a hypertex \special here. % \def\uref#1{\urefxxx #1,,\finish} \def\urefxxx#1,#2,#3\finish{% @@ -1421,6 +1419,11 @@ where each line of input produces a line of output.} \fi } +% rms does not like the angle brackets --karl, 17may97. +% So now @email is just like @uref. +%\def\email#1{$\langle${\tt #1}$\rangle$} +\let\email=\uref + % Check if we are currently using a typewriter font. Since all the % Computer Modern typewriter fonts have zero interword stretch (and % shrink), and it is reasonable to expect all typewriter fonts to have |