aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-06-04 13:58:52 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-06-04 13:58:52 +0000
commit9eecc0f871b387fb3ee627bf9318f43a5b080703 (patch)
treefd565a580df116ad53f471b90f1b30fb118fe86e /doc
parentd58ec2194da438e313064a646d8c0fbd4cf93ba3 (diff)
downloadkrb5-9eecc0f871b387fb3ee627bf9318f43a5b080703.zip
krb5-9eecc0f871b387fb3ee627bf9318f43a5b080703.tar.gz
krb5-9eecc0f871b387fb3ee627bf9318f43a5b080703.tar.bz2
add \funcfont
add funcnamenoparens; use index on funcname git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@990 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'doc')
-rw-r--r--doc/api/functions.sty5
-rw-r--r--doc/implement/functions.sty5
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/api/functions.sty b/doc/api/functions.sty
index 103a4e6..5fb9f9c 100644
--- a/doc/api/functions.sty
+++ b/doc/api/functions.sty
@@ -7,6 +7,7 @@
\font\argfont = c-bol
\hyphenchar\argfont = -1
\fi
+\let\funcfont=\bf
\newcount\argc@ount
%
% funcdecl is used as \begin{funcdecl}{funcname}{return type}{firstline}
@@ -27,7 +28,6 @@
\newcommand{\funcout}{\docomm@\argc@ount=0{\it /* OUT */}\\}
\newcommand{\funcarg}[2]{\docomm@#1 {\argfont #2}\advance\argc@ount by1}
\newcommand{\funcparam}[1]{{\argfont #1}}
-\newcommand{\funcname}[1]{{\bf #1}()}
\newcommand{\funcfuncarg}[2]{\docomm@#1 {\argfont #2}(\= \+ \argc@ount=0}
\newcommand{\funcendfuncarg}{), \- \\ \argc@ount=0}
\newcommand{\libname}[1]{{\argfont #1}}
@@ -35,3 +35,6 @@
\newcommand{\ptsto}{->\discretionary{}{}{}}
\newcommand{\datatype}[1]{{\bf #1}}
\newcommand{\filename}[1]{{\sl #1\/}}
+
+\newcommand{\funcname}[1]{\underrealtrue\index{#1}\underrealfalse{\funcfont #1}()}
+\newcommand{\funcnamenoparens}[1]{\underrealtrue\index{#1}\underrealfalse{\funcfont #1}}
diff --git a/doc/implement/functions.sty b/doc/implement/functions.sty
index 103a4e6..5fb9f9c 100644
--- a/doc/implement/functions.sty
+++ b/doc/implement/functions.sty
@@ -7,6 +7,7 @@
\font\argfont = c-bol
\hyphenchar\argfont = -1
\fi
+\let\funcfont=\bf
\newcount\argc@ount
%
% funcdecl is used as \begin{funcdecl}{funcname}{return type}{firstline}
@@ -27,7 +28,6 @@
\newcommand{\funcout}{\docomm@\argc@ount=0{\it /* OUT */}\\}
\newcommand{\funcarg}[2]{\docomm@#1 {\argfont #2}\advance\argc@ount by1}
\newcommand{\funcparam}[1]{{\argfont #1}}
-\newcommand{\funcname}[1]{{\bf #1}()}
\newcommand{\funcfuncarg}[2]{\docomm@#1 {\argfont #2}(\= \+ \argc@ount=0}
\newcommand{\funcendfuncarg}{), \- \\ \argc@ount=0}
\newcommand{\libname}[1]{{\argfont #1}}
@@ -35,3 +35,6 @@
\newcommand{\ptsto}{->\discretionary{}{}{}}
\newcommand{\datatype}[1]{{\bf #1}}
\newcommand{\filename}[1]{{\sl #1\/}}
+
+\newcommand{\funcname}[1]{\underrealtrue\index{#1}\underrealfalse{\funcfont #1}()}
+\newcommand{\funcnamenoparens}[1]{\underrealtrue\index{#1}\underrealfalse{\funcfont #1}}