summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty
index d823017e23a..822806b6238 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-idxlayout.sty
@@ -17,16 +17,16 @@
%% version 2005/12/01 or later.
\LWR@ProvidesPackageDrop{idxlayout}[2012/03/30]
\newcommand{\LWR@indexprenote}{}
+\AtBeginDocument{
+ \preto\printindex{
-\preto\printindex{
+ \LWR@maybe@orignewpage
+ \LWR@startpars
-\LWR@orignewpage
-\LWR@startpars
-
-\LWR@indexprenote
+ \LWR@indexprenote
+ }
}
-
\newcommand{\setindexprenote}[1]{\renewcommand{\LWR@indexprenote}{#1}}
\newcommand*{\noindexprenote}{\renewcommand{\LWR@indexprenote}{}}