From: John Kohl Date: Wed, 5 Sep 1990 14:08:32 +0000 (+0000) Subject: change operating system to separate section; add some fixes for fancy X-Git-Tag: krb5-1.0-alpha2~328 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=73852f609a18070297176f5f40622a385a552516;p=krb5.git change operating system to separate section; add some fixes for fancy headings git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1083 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/doc/api/library.tex b/doc/api/library.tex index 7f6c7d300..1263597b3 100644 --- a/doc/api/library.tex +++ b/doc/api/library.tex @@ -12,8 +12,12 @@ \typein{Draft flag? (type \noexpand\draftfalse if not draft...)} \ifdraft \pagestyle{fancy} -\lhead[\fancyplain{}\thepage]{\fancyplain{}{\sl \leftmark}} -\rhead[\fancyplain{}{\sl \leftmark}]{\fancyplain{}\thepage} +\makeatletter +\renewcommand{\sectionmark}[1]{\markboth {\uppercase{\ifnum \c@secnumdepth >\z@ + \thesection\hskip 1em\relax \fi #1}}{}}% +\renewcommand{\subsectionmark}[1]{\markright {\ifnum \c@secnumdepth >\@ne + \thesubsection\hskip 1em\relax \fi #1}} +\makeatother \cfoot{{\bf DRAFT---DO NOT REDISTRIBUTE}} \else\pagestyle{headings}\fi \begin{document} @@ -41,7 +45,7 @@ programming, maintenance, and porting. \subsection{Key table functions} \input{keytab.tex} -\subsection{Operating-system specific functions} +\section{Operating-system specific functions} \input{libos.tex} \section{Principal database functions} diff --git a/doc/implement/implement.tex b/doc/implement/implement.tex index 7f6c7d300..1263597b3 100644 --- a/doc/implement/implement.tex +++ b/doc/implement/implement.tex @@ -12,8 +12,12 @@ \typein{Draft flag? (type \noexpand\draftfalse if not draft...)} \ifdraft \pagestyle{fancy} -\lhead[\fancyplain{}\thepage]{\fancyplain{}{\sl \leftmark}} -\rhead[\fancyplain{}{\sl \leftmark}]{\fancyplain{}\thepage} +\makeatletter +\renewcommand{\sectionmark}[1]{\markboth {\uppercase{\ifnum \c@secnumdepth >\z@ + \thesection\hskip 1em\relax \fi #1}}{}}% +\renewcommand{\subsectionmark}[1]{\markright {\ifnum \c@secnumdepth >\@ne + \thesubsection\hskip 1em\relax \fi #1}} +\makeatother \cfoot{{\bf DRAFT---DO NOT REDISTRIBUTE}} \else\pagestyle{headings}\fi \begin{document} @@ -41,7 +45,7 @@ programming, maintenance, and porting. \subsection{Key table functions} \input{keytab.tex} -\subsection{Operating-system specific functions} +\section{Operating-system specific functions} \input{libos.tex} \section{Principal database functions}