From 3b98c6c20ec2ef980e128ce5938db48194d7147f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 3 Sep 2021 04:03:28 +0300 Subject: [PATCH] added TOC... Signed-off-by: Alex A. Naanou --- Makefile | 5 +++-- photobook.cls | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8b2075b..2b8dc0a 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ ARGS := -TEX := lualatex $(ARGS) +#TEX := lualatex $(ARGS) +TEX := latexmk -lualatex $(ARGS) @@ -88,7 +89,7 @@ install: dist .PHONY: sweep sweep: - rm -f *.{aux,fls,glo,gls,hd,idx,ilg,ind,ins,log,out} + rm -f *.{aux,fls,glo,gls,hd,idx,ilg,ind,ins,log,out,toc,fdb_latexmk} .PHONY: clean diff --git a/photobook.cls b/photobook.cls index 6adc961..ace3b79 100644 --- a/photobook.cls +++ b/photobook.cls @@ -32,6 +32,13 @@ %% \usepackage{doctools} %% \usepackage{environ} %% +%%% \usepackage{imakeidx} +%%% \makeindex[ +%%% columns=3, +%%% title=Alphabetical Index, +%%% intoc, +%%% options= -s photobook.cls] +%% %%% \newcommand\DescribeGlobal[1]{% %%% \DescribeMacro{#1}} %% @@ -61,7 +68,9 @@ %% \maketitle %% %% \fbox{\bf% -%% Note: all older templates/commnads/macros will get reworked soon! } +%% Note: all legacy templates/commnads/macros will get reworked soon! } +%% +%% \tableofcontents %% %%%% Usage % @@ -3491,6 +3500,12 @@ %---------------------------------------------------------------------- +% Tail stuff... +% +%%% \printindex + + +% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %%% XXX DEBUG... %%%\AtBeginDocument{ %%%}