diff options
Diffstat (limited to 'Master/texmf-doc/doc/russian/mpman-ru/idx1.awk')
-rw-r--r-- | Master/texmf-doc/doc/russian/mpman-ru/idx1.awk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/russian/mpman-ru/idx1.awk b/Master/texmf-doc/doc/russian/mpman-ru/idx1.awk new file mode 100644 index 00000000000..2cea7ac68f5 --- /dev/null +++ b/Master/texmf-doc/doc/russian/mpman-ru/idx1.awk @@ -0,0 +1,16 @@ +{ + p=1 +} +/\\indexspace|\\begin\{theindex|\\end\{theindex/ { + p=0 +} +/\\item|\\subitem/ { + p=0 + printf "\n%s", $0 +} +{ + if (p) printf "%s", $0 +} +END { + printf "\n" +} |