diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/testidx/samples')
24 files changed, 547 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-a4.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-a4.pdf Binary files differnew file mode 100644 index 00000000000..ba228b3e554 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-a4.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-a4.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-a4.tex new file mode 100644 index 00000000000..6de97e11eb0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-a4.tex @@ -0,0 +1,28 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with A4 paper. You can build this document using: +% +% pdflatex sample-idx-a4 +% makeindex sample-idx-a4.idx +% pdflatex sample-idx-a4 +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: makeindex +% arara: pdflatex +\documentclass[a4paper]{article} + +\usepackage{geometry} +\usepackage{makeidx} +\usepackage{testidx} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-amsmath.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-amsmath.pdf Binary files differnew file mode 100644 index 00000000000..2d95b52f6f4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-amsmath.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-amsmath.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-amsmath.tex new file mode 100644 index 00000000000..9e3a62a5bb0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-amsmath.tex @@ -0,0 +1,28 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with the amsmath package. You can build this document using: +% +% pdflatex sample-idx-amsmath +% makeindex sample-idx-amsmath.idx +% pdflatex sample-idx-amsmath +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: makeindex +% arara: pdflatex +\documentclass{article} + +\usepackage{makeidx} +\usepackage{amsmath} +\usepackage{testidx} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-babel-german.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-babel-german.pdf Binary files differnew file mode 100644 index 00000000000..0a3a69fdfbd --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-babel-german.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-babel-german.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-babel-german.tex new file mode 100644 index 00000000000..3f0719aa348 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-babel-german.tex @@ -0,0 +1,45 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with babel and the -g (German) makeindex option. +% You can build this document using: +% +% pdflatex sample-idx-babel-german +% makeindex -g -s sample-idx-babel-german.idx sample-idx-babel-german.idx +% pdflatex sample-idx-babel-german +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: makeindex: { german: on, style: sample-idx-german.ist } +% arara: pdflatex +\documentclass[ngerman]{article} + +\usepackage{filecontents} +\usepackage{makeidx} +\usepackage{babel} +\usepackage{testidx} + +\providecommand*\lettergroup[1]{% + \par\textbf{#1}\par + \nopagebreak +} +\begin{filecontents*}{\jobname.ist} +quote '+' +headings_flag 1 +heading_prefix "\\item\\lettergroup{" +heading_suffix "}\n" +symhead_positive "Symbole" +symhead_negative "symbole" +numhead_positive "Zahlen" +numhead_negative "zahlen" +\end{filecontents*} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-german.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-german.pdf Binary files differnew file mode 100644 index 00000000000..e6cbc73f389 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-german.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-german.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-german.tex new file mode 100644 index 00000000000..0a3543bbeab --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-german.tex @@ -0,0 +1,45 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with ngerman.sty and the -g (German) makeindex option. +% You can build this document using: +% +% pdflatex sample-idx-german +% makeindex -g -s sample-idx-german.idx sample-idx-german.idx +% pdflatex sample-idx-german +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: makeindex: { german: on, style: sample-idx-german.ist } +% arara: pdflatex +\documentclass{article} + +\usepackage{filecontents} +\usepackage{makeidx} +\usepackage{ngerman} +\usepackage[german]{testidx} + +\providecommand*\lettergroup[1]{% + \par\textbf{#1}\par + \nopagebreak +} +\begin{filecontents*}{\jobname.ist} +quote '+' +headings_flag 1 +heading_prefix "\\item\\lettergroup{" +heading_suffix "}\n" +symhead_positive "Symbole" +symhead_negative "symbole" +numhead_positive "Zahlen" +numhead_negative "zahlen" +\end{filecontents*} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.pdf Binary files differnew file mode 100644 index 00000000000..3bcf22dba8a --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.tex new file mode 100644 index 00000000000..f2328b2a0bc --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-hyp.tex @@ -0,0 +1,28 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with hyperref.sty makeindex. You can build this document using: +% +% pdflatex sample-idx-hyp +% makeindex sample-idx-hyp.idx +% pdflatex sample-idx-hyp +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: makeindex +% arara: pdflatex +\documentclass{article} + +\usepackage{makeidx} +\usepackage{testidx} +\usepackage[hidelinks]{hyperref} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.pdf Binary files differnew file mode 100644 index 00000000000..ffcfcadc657 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex new file mode 100644 index 00000000000..ff822977e99 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-letter.tex @@ -0,0 +1,30 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with US Letter paper and the book class. You can build +% this document using: +% +% pdflatex sample-idx-letter +% makeindex sample-idx-letter.idx +% pdflatex sample-idx-letter +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: makeindex +% arara: pdflatex +\documentclass[letterpaper]{book} + +\usepackage[marginpar=1in]{geometry} +\usepackage{makeidx} +\usepackage{testidx} + +\makeindex + +\begin{document} +\chapter{Sample} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-lua.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-lua.pdf Binary files differnew file mode 100644 index 00000000000..595df828e7f --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-lua.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-lua.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-lua.tex new file mode 100644 index 00000000000..382069e0850 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-lua.tex @@ -0,0 +1,78 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with LuaLaTeX and xindy. You can build this document using: +% +% lualatex sample-idx-lua +% xindy -M sample-idx-lua -M texindy -C utf8 -L english -t sample-idx-lua.ilg sample-idx-lua.idx +% lualatex sample-idx-lua +% +% If you are using arara, the directives are: +% +% arara: lualatex +% arara: xindy: {language: english, codepage: utf8, +% arara: --> log: sample-idx-lua.ilg, +% arara: --> modules: [basename, texindy]} +% arara: lualatex +\documentclass{article} + +\usepackage{filecontents} +\usepackage{fontspec} +\usepackage{makeidx} +\usepackage{testidx} + +% Create the .xdy file for this example: +\begin{filecontents*}{\jobname.xdy} +; list of allowed attributes + +(define-attributes (( + "tstidxencapi" + "tstidxencapii" + "tstidxencapiii" +))) + +; define format to use for locations + +(markup-locref :open "\tstidxencapi{" + :close "}" + :attr "tstidxencapi") + +(markup-locref :open "\tstidxencapii{" + :close "}" + :attr "tstidxencapii") + +(markup-locref :open "\tstidxencapiii{" + :close "}" + :attr "tstidxencapiii") + +(markup-locref-list :sep ",") +(markup-range :sep "--") + +; define a numbers group + +(define-letter-group "Numbers" + :prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") + :before "A") + +; define a "Maths" group for keys starting with "+" + +(define-letter-group "Maths" + :prefixes (">" ) + :before "Numbers") + +; define a "Markers" group for keys starting with "." + +(define-letter-group "Markers" + :prefixes ("<" ) + :before "Maths") + +\end{filecontents*} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-subset.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-subset.pdf Binary files differnew file mode 100644 index 00000000000..2ff5ecb69d1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-subset.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-subset.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-subset.tex new file mode 100644 index 00000000000..2fc5029bede --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-subset.tex @@ -0,0 +1,28 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with a subset of the test paragraphs. You can build this +% document using: +% +% pdflatex sample-idx-subset +% makeindex sample-idx-subset.idx +% pdflatex sample-idx-subset +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: makeindex +% arara: pdflatex +\documentclass{article} + +\usepackage{makeidx} +\usepackage{testidx} + +\makeindex + +\begin{document} +\testidx[1,8,10-14,\tstidxmaxblocks] + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-t1.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-t1.pdf Binary files differnew file mode 100644 index 00000000000..22bc174e6e7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-t1.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-t1.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-t1.tex new file mode 100644 index 00000000000..6d50be97f06 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-t1.tex @@ -0,0 +1,37 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with makeindex. You can build this document using: +% +% pdflatex sample-idx-t1 +% makeindex sample-idx-t1.idx +% pdflatex sample-idx-t1 +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: makeindex +% arara: pdflatex +\documentclass{article} + +\usepackage[T1]{fontenc} +\usepackage{makeidx} +\usepackage + [% options: + stripaccents,% strip accents from sort key (default) + %nostripaccents,% don't strip accents from sort key + %verbose,% show \index commands in the text + noverbose,% don't show \index commands in the text (default) + showmarks,% highlight where \index has been used (default) + %hidemarks,% don't highlight where \index has been used + %notestencaps,% don't test the encaps + ]{testidx} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-utf8.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-utf8.pdf Binary files differnew file mode 100644 index 00000000000..f6dabb82ef0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-utf8.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-utf8.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-utf8.tex new file mode 100644 index 00000000000..54eda5316d0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-utf8.tex @@ -0,0 +1,87 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with inputenc.sty and xindy. You can build this document using: +% +% pdflatex sample-idx-utf8 +% xindy -M sample-idx-utf8 -M texindy -C utf8 -L english -t sample-idx-utf8.ilg sample-idx-utf8.idx +% pdflatex sample-idx-utf8 +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: xindy: {language: english, codepage: utf8, +% arara: --> modules: [basename, texindy]} +% arara: pdflatex +\documentclass{article} + +\usepackage{filecontents} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{makeidx} +\usepackage + [ + %nosanitize,% don't sanitize characters in the dummy entries + sanitize,% sanitize characters in the dummy entries + showmarks,% show where the indexing command has been used + %hidemarks,% hide the visual effects + %verbose,% show the argument that's being passed to \index + % warning: will cause overfull lines! + noverbose% default + ] + {testidx} + +% Create the .xdy file for this example: +\begin{filecontents*}{\jobname.xdy} +; list of allowed attributes + +(define-attributes (( + "tstidxencapi" + "tstidxencapii" + "tstidxencapiii" +))) + +; define format to use for locations + +(markup-locref :open "\tstidxencapi{" + :close "}" + :attr "tstidxencapi") + +(markup-locref :open "\tstidxencapii{" + :close "}" + :attr "tstidxencapii") + +(markup-locref :open "\tstidxencapiii{" + :close "}" + :attr "tstidxencapiii") + +(markup-locref-list :sep ",") +(markup-range :sep "--") + +; define a numbers group + +(define-letter-group "Numbers" + :prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") + :before "A") + +; define a "Maths" group for keys starting with "+" + +(define-letter-group "Maths" + :prefixes (">" ) + :before "Numbers") + +; define a "Markers" group for keys starting with "." + +(define-letter-group "Markers" + :prefixes ("<" ) + :before "Maths") +\end{filecontents*} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-xe.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-xe.pdf Binary files differnew file mode 100644 index 00000000000..3e9264747e9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-xe.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-xe.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-xe.tex new file mode 100644 index 00000000000..0619b5aa826 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx-xe.tex @@ -0,0 +1,77 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with XeLaTeX and xindy. You can build this document using: +% +% xelatex sample-idx-xe +% xindy -M sample-idx-xe -M texindy -C utf8 -L english -t sample-idx-xe.ilg sample-idx-xe.idx +% xelatex sample-idx-xe +% +% If you are using arara, the directives are: +% +% arara: xelatex +% arara: xindy: {language: english, codepage: utf8, +% arara: --> modules: [basename, texindy]} +% arara: xelatex +\documentclass{article} + +\usepackage{filecontents} +\usepackage{fontspec} +\usepackage{makeidx} +\usepackage{testidx} + +% Create the .xdy file for this example: +\begin{filecontents*}{\jobname.xdy} +; list of allowed attributes + +(define-attributes (( + "tstidxencapi" + "tstidxencapii" + "tstidxencapiii" +))) + +; define format to use for locations + +(markup-locref :open "\tstidxencapi{" + :close "}" + :attr "tstidxencapi") + +(markup-locref :open "\tstidxencapii{" + :close "}" + :attr "tstidxencapii") + +(markup-locref :open "\tstidxencapiii{" + :close "}" + :attr "tstidxencapiii") + +(markup-locref-list :sep ",") +(markup-range :sep "--") + +; define a numbers group + +(define-letter-group "Numbers" + :prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") + :before "A") + +; define a "Maths" group for keys starting with "+" + +(define-letter-group "Maths" + :prefixes (">" ) + :before "Numbers") + +; define a "Markers" group for keys starting with "." + +(define-letter-group "Markers" + :prefixes ("<" ) + :before "Maths") + +\end{filecontents*} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.pdf b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.pdf Binary files differnew file mode 100644 index 00000000000..fc7d00b7fbd --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.pdf diff --git a/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.tex b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.tex new file mode 100644 index 00000000000..964dc13e292 --- /dev/null +++ b/Master/texmf-dist/doc/latex/testidx/samples/sample-idx.tex @@ -0,0 +1,36 @@ +% This file is public domain. +% +% This example document demonstrates the testidx package +% with makeindex. You can build this document using: +% +% pdflatex sample-idx +% makeindex sample-idx.idx +% pdflatex sample-idx +% +% If you are using arara, the directives are: +% +% arara: pdflatex +% arara: makeindex +% arara: pdflatex +\documentclass{article} + +\usepackage{makeidx} +\usepackage + [% options: + stripaccents,% strip accents from sort key (default) + %nostripaccents,% don't strip accents from sort key + %verbose,% show \index commands in the text + noverbose,% don't show \index commands in the text (default) + showmarks,% highlight where \index has been used (default) + %hidemarks,% don't highlight where \index has been used + %notestencaps,% don't test the encaps + ]{testidx} + +\makeindex + +\begin{document} +\testidx + +\printindex +\end{document} + |