Current definition results in random original terms appearing in the flat index. Fix this by using "#3 #2" (second-level term) + (first-level term) for flat index. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- perfbook-lt.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perfbook-lt.tex b/perfbook-lt.tex index 3adf512effcb..cddff24f1d42 100644 --- a/perfbook-lt.tex +++ b/perfbook-lt.tex @@ -217,7 +217,7 @@ \newcommand{\indexhr}[3]{\indexhraw{#2}{#3}} \newcommand{\indexhmr}[3]{\ucindexhm{#2}{#3}} }{ -\newcommand{\indexh}[3]{\ucindex{#1}} +\newcommand{\indexh}[3]{\ucindex{#3 #2}} \newcommand{\indexhr}[3]{\index{#1}} \newcommand{\indexhmr}[3]{\index{#1}} } -- 2.25.1