diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/repeatindex | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/repeatindex')
-rw-r--r-- | Master/texmf-dist/doc/latex/repeatindex/README | 41 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/repeatindex/testrepeatindex.pdf | bin | 0 -> 14010 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/repeatindex/testrepeatindex.tex | 64 |
3 files changed, 105 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/repeatindex/README b/Master/texmf-dist/doc/latex/repeatindex/README new file mode 100644 index 00000000000..fe99d993166 --- /dev/null +++ b/Master/texmf-dist/doc/latex/repeatindex/README @@ -0,0 +1,41 @@ +repeatindex.sty + +Copyright 2001 Harald Harders (h.harders@tu-bs.de) +License is LPPL. + + +This Package repeats item of an index if a page or column +break occurs within a list of subitems. +This helps to find out to which main item a subitem belongs. + +Example: + + Main Item A, 1, 3, 6 Main Item A... + Subitem a, 1 Subitem g, 1 + Subitem b, 1 Subitem h, 1 + Subitem c, 2 Subitem i, 1 + Subitem d, 3 Subitem j, 1 + Subitem d, 1 Main Item B, 3, 6 + Subitem e, 4 Subitem a, 3 + Subitem f, 2 Subitem b, 4 + +To get that behaviour you have to include the package into your +document using \usepackage{repeatindex}, and you have to produce +the .ind file in a special format in which the entries of the \item +are enclosed in [...] (example: \item [Main Item A], 1, 3, 6 ). +This can be achieved using repeatindex.ist: + makeindex -s repeatindex file + +Problems: +- When an item is repeated a small vertical space is included two + items later +- If the last item is a subitem and the only entry on the last page + of the index the repeation is omitted + +This package has not been tested much, yet. Please help me to find +more problems and if possible solutions to my problems. +I have had much trouble in solving the problem that the code +defined in afterpage is executed with a delay. + +Harald Harders, 2001/10/13 +h.harders@tu-bs.de diff --git a/Master/texmf-dist/doc/latex/repeatindex/testrepeatindex.pdf b/Master/texmf-dist/doc/latex/repeatindex/testrepeatindex.pdf Binary files differnew file mode 100644 index 00000000000..49842041e2b --- /dev/null +++ b/Master/texmf-dist/doc/latex/repeatindex/testrepeatindex.pdf diff --git a/Master/texmf-dist/doc/latex/repeatindex/testrepeatindex.tex b/Master/texmf-dist/doc/latex/repeatindex/testrepeatindex.tex new file mode 100644 index 00000000000..e9b0258388a --- /dev/null +++ b/Master/texmf-dist/doc/latex/repeatindex/testrepeatindex.tex @@ -0,0 +1,64 @@ +\documentclass{article} +\usepackage[latin1]{inputenc} +\usepackage{afterpage} +\usepackage{makeidx} +\usepackage{repeatindex} + +\makeindex + +\textheight6cm% + +\begin{document} + +Hallo +\index{P01}% +\index{P01!U01}% +\index{P01!U02}% +\index{P01!U03}% +\index{P01!U04}% +\index{P01!U05}% +\index{P01!U06}% +\index{P01!U07}% +\index{P01!U08}% +\index{P01!U09}% +\index{P01a}% +\index{P01a!U10}% +\index{P01b}% +\index{P01b!U11}% +\index{P01b!U12}% +\index{P01b!U13}% +\index{P01b!U14}% +\index{P01b!U15}% +\index{P01b!U16}% +\index{P01b!U17}% +\index{P01b!U18}% +\index{P01b!U19}% +\index{P01b!U20}% +\index{P01b!U21}% +\index{P01b!U22}% +\index{P01b!U23}% +\index{P01b!U24}% +\index{P01b!U25}% +\index{P01b!U26}% +\index{P01b!U27}% +\index{P01b!U28}% +\index{P01b!U29}% +\index{P02}% +\index{P02!U01}% +\index{P02!U02}% +\index{P02!U03}% +\index{P02!U04}% +\index{P02!U05}% +\index{P02!U06}% +\index{P02!U07}% +\index{P02!U08}% +\index{P02!U09}% +\index{P02!U10}% +\index{P02!U11}% +\index{P02!U12}% +\index{P02!U13}% +\index{P02!U14}% +\index{P02!U15}% + +\printindex +\end{document} |