Skip to content

Commit

Permalink
Fix index generation
Browse files Browse the repository at this point in the history
Signed-off-by: James Dinan <[email protected]>
  • Loading branch information
James Dinan authored and BryantLam committed Nov 2, 2017
1 parent 98b5f3c commit 4441cbe
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ all: ${TARGET}.pdf

${TARGET}.pdf: ${SOURCES} ${FIGURES} ${EXAMPLES}
pdflatex $(LATEXOPT) ${TARGET}
makeindex ${TARGET}
pdflatex $(LATEXOPT) ${TARGET}
pdflatex $(LATEXOPT) ${TARGET}

Expand Down
3 changes: 0 additions & 3 deletions content/backmatter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,4 @@ \section{Version 1.1}
%
\end{itemize}




} %end of setlength command that was started in frontmatter.tex
1 change: 0 additions & 1 deletion content/frontmatter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@
%\setlength{\baselineskip}{3pt plus 3pt minus 3pt}

\setlength{\parskip}{3pt}

13 changes: 4 additions & 9 deletions main_spec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

\input{utils/defs}

\makeindex

\begin{document}

\input{content/frontmatter}
Expand Down Expand Up @@ -324,16 +322,13 @@ \subsection{Cache Management}
\subsubsection{\textbf{SHMEM\_CACHE}}\label{subsec:shmem_cache}
\input{content/shmem_cache.tex}





\clearpage



\input{content/backmatter}

\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\printindex

\end{document}

2 changes: 2 additions & 0 deletions utils/defs.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
\makeindex

\definecolor{ListingBG}{rgb}{0.91,0.91,0.91}
\definecolor{shadecolor}{rgb}{0.92,0.92,0.92}

Expand Down

0 comments on commit 4441cbe

Please sign in to comment.