From b398d621f7d1d231a1a6f6cbe61c0c0f21fcecee Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 31 May 1990 21:05:10 +0000 Subject: [PATCH] working version; to be fixed to use real environment stuff.. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@971 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/api/functions.sty | 14 +++----------- doc/implement/functions.sty | 14 +++----------- 2 files changed, 6 insertions(+), 22 deletions(-) diff --git a/doc/api/functions.sty b/doc/api/functions.sty index c30c730b2..dcc27f32d 100644 --- a/doc/api/functions.sty +++ b/doc/api/functions.sty @@ -9,12 +9,12 @@ \fi \newcount\argc@ount % funcdecl is used as \begin{funcdecl}[funcname]{return type}{firstline} -\def\funcdecl{\makeunderletter\@moreindex} +\def\funcdecl{\underrealtrue\@moreindex} % % this isn't quite right; we need to have \@morefuncdecl{#1} get #1 % expanded and then re-scanned by TeX to reassign catcodes to _'s in it. % -\def\@moreindex[#1]{\index{#1}\makeunderactive\@morefuncdecl{#1}} +\def\@moreindex[#1]{\index{#1}\underrealfalse\@morefuncdecl{#1}} \def\@morefuncdecl#1#2#3{\argc@ount=0\begin{tabbing} #2 \\ {\bf #1}(\= \+ #3%\doindex% @@ -31,14 +31,6 @@ \newcommand{\funcparam}[1]{{\argfont #1}} \newcommand{\funcname}[1]{{\bf #1}()} \newcommand{\libname}[1]{{\argfont #1}} +\newcommand{\globalname}[1]{{\argfont #1}} \newcommand{\ptsto}{->\discretionary{}{}{}} \newcommand{\datatype}[1]{{\bf #1}} - - - - - - - - - diff --git a/doc/implement/functions.sty b/doc/implement/functions.sty index c30c730b2..dcc27f32d 100644 --- a/doc/implement/functions.sty +++ b/doc/implement/functions.sty @@ -9,12 +9,12 @@ \fi \newcount\argc@ount % funcdecl is used as \begin{funcdecl}[funcname]{return type}{firstline} -\def\funcdecl{\makeunderletter\@moreindex} +\def\funcdecl{\underrealtrue\@moreindex} % % this isn't quite right; we need to have \@morefuncdecl{#1} get #1 % expanded and then re-scanned by TeX to reassign catcodes to _'s in it. % -\def\@moreindex[#1]{\index{#1}\makeunderactive\@morefuncdecl{#1}} +\def\@moreindex[#1]{\index{#1}\underrealfalse\@morefuncdecl{#1}} \def\@morefuncdecl#1#2#3{\argc@ount=0\begin{tabbing} #2 \\ {\bf #1}(\= \+ #3%\doindex% @@ -31,14 +31,6 @@ \newcommand{\funcparam}[1]{{\argfont #1}} \newcommand{\funcname}[1]{{\bf #1}()} \newcommand{\libname}[1]{{\argfont #1}} +\newcommand{\globalname}[1]{{\argfont #1}} \newcommand{\ptsto}{->\discretionary{}{}{}} \newcommand{\datatype}[1]{{\bf #1}} - - - - - - - - - -- 2.26.2