texlive[76024] Build/source/texk/mendexk: mendex: Version 3.9

commits+takuji at tug.org commits+takuji at tug.org
Mon Aug 11 04:00:39 CEST 2025


Revision: 76024
          https://tug.org/svn/texlive?view=revision&revision=76024
Author:   takuji
Date:     2025-08-11 04:00:39 +0200 (Mon, 11 Aug 2025)
Log Message:
-----------
mendex: Version 3.9 [11-Aug-2025]

Modified Paths:
--------------
    trunk/Build/source/texk/mendexk/ChangeLog
    trunk/Build/source/texk/mendexk/Makefile.am
    trunk/Build/source/texk/mendexk/Makefile.in
    trunk/Build/source/texk/mendexk/configure
    trunk/Build/source/texk/mendexk/configure.ac
    trunk/Build/source/texk/mendexk/convert.c
    trunk/Build/source/texk/mendexk/fread.c
    trunk/Build/source/texk/mendexk/fwrite.c
    trunk/Build/source/texk/mendexk/styfile.c
    trunk/Build/source/texk/mendexk/tests/pprec.test
    trunk/Build/source/texk/mendexk/tests/range.idx
    trunk/Build/source/texk/mendexk/tests/range1.ind
    trunk/Build/source/texk/mendexk/tests/range2.ind
    trunk/Build/source/texk/mendexk/tests/range3.ind
    trunk/Build/source/texk/mendexk/version.h

Added Paths:
-----------
    trunk/Build/source/texk/mendexk/tests/range4.ind
    trunk/Build/source/texk/mendexk/tests/range4.ist

Modified: trunk/Build/source/texk/mendexk/ChangeLog
===================================================================
--- trunk/Build/source/texk/mendexk/ChangeLog	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/ChangeLog	2025-08-11 02:00:39 UTC (rev 76024)
@@ -1,3 +1,20 @@
+2025-08-11  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
+
+	* configure.ac, version.h:
+	Version 3.9 [11-Aug-2025].
+	* fwrite.c: Fix bug on page range.
+	Thanks to @pejsek02468.
+	https://github.com/t-tk/upmendex-package/issues/15
+	* fread.c, convert.c:
+	Avoid segmentation fault about page_compositor and page_precedence.
+	Thanks to Lemures Lemniscati.
+	https://okumuralab.org/tex/mod/forum/discuss.php?d=3976#p24754
+	https://github.com/texjporg/tex-jp-build/issues/181
+	* tests/pprec.test, tests/range.idx,
+	tests/range4.ist, tests/range{1,2,3,4}.ind:
+	Add tests for page range.
+	* Makefile.am: Adjust.
+
 2025-03-07  Karl Berry  <karl at tug.org>
 
 	* TL'25 release.

Modified: trunk/Build/source/texk/mendexk/Makefile.am
===================================================================
--- trunk/Build/source/texk/mendexk/Makefile.am	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/Makefile.am	2025-08-11 02:00:39 UTC (rev 76024)
@@ -67,8 +67,8 @@
 DISTCLEANFILES = foo.* uni.* tort*.*
 ## tests/pprec.test
 EXTRA_DIST += tests/range.idx \
-	tests/range1.ist tests/range2.ist tests/range3.ist \
-	tests/range1.ind tests/range2.ind tests/range3.ind \
+	tests/range1.ist tests/range2.ist tests/range3.ist tests/range4.ist \
+	tests/range1.ind tests/range2.ind tests/range3.ind tests/range4.ind \
 	tests/pprec0.ist tests/pprec1.ist tests/pprec2.ist tests/pprec3.ist \
 	tests/pprec4.ist tests/pprec5.ist tests/pprec6.ist tests/pprec7.ist \
 	tests/pprecA.idx tests/pprecA-0.ind tests/pprecA-1.ind tests/pprecA-2.ind \

Modified: trunk/Build/source/texk/mendexk/Makefile.in
===================================================================
--- trunk/Build/source/texk/mendexk/Makefile.in	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/Makefile.in	2025-08-11 02:00:39 UTC (rev 76024)
@@ -598,21 +598,22 @@
 	tests/uni1.ist tests/uni2.ist tests/uni.ind tests/tort.idx \
 	tests/tortW.idx tests/head1.ist tests/ok-tort.ind \
 	tests/ok-tort2.ind tests/range.idx tests/range1.ist \
-	tests/range2.ist tests/range3.ist tests/range1.ind \
-	tests/range2.ind tests/range3.ind tests/pprec0.ist \
-	tests/pprec1.ist tests/pprec2.ist tests/pprec3.ist \
-	tests/pprec4.ist tests/pprec5.ist tests/pprec6.ist \
-	tests/pprec7.ist tests/pprecA.idx tests/pprecA-0.ind \
-	tests/pprecA-1.ind tests/pprecA-2.ind tests/pprecB.idx \
-	tests/pprecB-0.ind tests/pprecB-3.ind tests/pprecB-4.ind \
-	tests/romalpA.idx tests/romalpA-5.ind tests/romalpA-6.ind \
-	tests/romalpB.idx tests/romalpB-5.ind tests/romalpB-6.ind \
-	tests/romalpB-7.ind tests/romalpC.idx tests/romalpC-5.ind \
-	tests/romalpD.idx tests/romalpD-5.ind tests/romalpD-6.ind \
-	tests/romalpD-7.ind tests/nested3.ist tests/nested3.ind \
-	tests/toodeep.idx tests/sjis.ist tests/euc.ist tests/jis.ist \
-	tests/enc-e.idx tests/enc-j.idx tests/enc-s.idx \
-	tests/enc-u.idx tests/enc-x.ind tests/enc.dic
+	tests/range2.ist tests/range3.ist tests/range4.ist \
+	tests/range1.ind tests/range2.ind tests/range3.ind \
+	tests/range4.ind tests/pprec0.ist tests/pprec1.ist \
+	tests/pprec2.ist tests/pprec3.ist tests/pprec4.ist \
+	tests/pprec5.ist tests/pprec6.ist tests/pprec7.ist \
+	tests/pprecA.idx tests/pprecA-0.ind tests/pprecA-1.ind \
+	tests/pprecA-2.ind tests/pprecB.idx tests/pprecB-0.ind \
+	tests/pprecB-3.ind tests/pprecB-4.ind tests/romalpA.idx \
+	tests/romalpA-5.ind tests/romalpA-6.ind tests/romalpB.idx \
+	tests/romalpB-5.ind tests/romalpB-6.ind tests/romalpB-7.ind \
+	tests/romalpC.idx tests/romalpC-5.ind tests/romalpD.idx \
+	tests/romalpD-5.ind tests/romalpD-6.ind tests/romalpD-7.ind \
+	tests/nested3.ist tests/nested3.ind tests/toodeep.idx \
+	tests/sjis.ist tests/euc.ist tests/jis.ist tests/enc-e.idx \
+	tests/enc-j.idx tests/enc-s.idx tests/enc-u.idx \
+	tests/enc-x.ind tests/enc.dic
 TESTS = tests/mendex.test \
 	tests/pprec.test \
 	tests/nest.test \

Modified: trunk/Build/source/texk/mendexk/configure
===================================================================
--- trunk/Build/source/texk/mendexk/configure	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/configure	2025-08-11 02:00:39 UTC (rev 76024)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for mendex (TeX Live) 3.8.
+# Generated by GNU Autoconf 2.72 for mendex (TeX Live) 3.9.
 #
 #
 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
@@ -611,8 +611,8 @@
 # Identity of this package.
 PACKAGE_NAME='mendex (TeX Live)'
 PACKAGE_TARNAME='mendex--tex-live-'
-PACKAGE_VERSION='3.8'
-PACKAGE_STRING='mendex (TeX Live) 3.8'
+PACKAGE_VERSION='3.9'
+PACKAGE_STRING='mendex (TeX Live) 3.9'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1366,7 +1366,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-'configure' configures mendex (TeX Live) 3.8 to adapt to many kinds of systems.
+'configure' configures mendex (TeX Live) 3.9 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1438,7 +1438,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of mendex (TeX Live) 3.8:";;
+     short | recursive ) echo "Configuration of mendex (TeX Live) 3.9:";;
    esac
   cat <<\_ACEOF
 
@@ -1560,7 +1560,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-mendex (TeX Live) configure 3.8
+mendex (TeX Live) configure 3.9
 generated by GNU Autoconf 2.72
 
 Copyright (C) 2023 Free Software Foundation, Inc.
@@ -2102,7 +2102,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by mendex (TeX Live) $as_me 3.8, which was
+It was created by mendex (TeX Live) $as_me 3.9, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -9001,7 +9001,7 @@
 
 # Define the identity of the package.
  PACKAGE='mendex--tex-live-'
- VERSION='3.8'
+ VERSION='3.9'
 
 
 # Some tools Automake needs.
@@ -16109,7 +16109,7 @@
 Report bugs to <bug-libtool at gnu.org>."
 
 lt_cl_version="\
-mendex (TeX Live) config.lt 3.8
+mendex (TeX Live) config.lt 3.9
 configured by $0, generated by GNU Autoconf 2.72.
 
 Copyright (C) 2024 Free Software Foundation, Inc.
@@ -17143,10 +17143,6 @@
 	cd ${top_builddir}/../kpathsea && $(MAKE) $(AM_MAKEFLAGS) rebuild'
 fi
 
-
-
-
-
 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libkpathsea supports debugging" >&5
 printf %s "checking if libkpathsea supports debugging... " >&6; }
 if test ${kpse_cv_kpse_debug+y}
@@ -17214,10 +17210,6 @@
 fi
 
 
-
-
-
-
 ac_config_files="$ac_config_files Makefile"
 
 
@@ -17769,7 +17761,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by mendex (TeX Live) $as_me 3.8, which was
+This file was extended by mendex (TeX Live) $as_me 3.9, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17837,7 +17829,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-mendex (TeX Live) config.status 3.8
+mendex (TeX Live) config.status 3.9
 configured by $0, generated by GNU Autoconf 2.72,
   with options \\"\$ac_cs_config\\"
 

Modified: trunk/Build/source/texk/mendexk/configure.ac
===================================================================
--- trunk/Build/source/texk/mendexk/configure.ac	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/configure.ac	2025-08-11 02:00:39 UTC (rev 76024)
@@ -8,7 +8,7 @@
 dnl   gives unlimited permission to copy and/or distribute it,
 dnl   with or without modifications, as long as this notice is preserved.
 dnl
-AC_INIT([mendex (TeX Live)], [3.8])
+AC_INIT([mendex (TeX Live)], [3.9])
 AC_PREREQ([2.71])
 AC_CONFIG_SRCDIR([main.c])
 AC_CONFIG_AUX_DIR([../../build-aux])

Modified: trunk/Build/source/texk/mendexk/convert.c
===================================================================
--- trunk/Build/source/texk/mendexk/convert.c	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/convert.c	2025-08-11 02:00:39 UTC (rev 76024)
@@ -369,6 +369,7 @@
 {
 	int i,cc=0;
 
+	if (attr<0) return 0;  /* inappropriate page type */
 	switch (page_precedence[attr]) {
 	case 'a':
 		cc=page[0]-'a'+1;

Modified: trunk/Build/source/texk/mendexk/fread.c
===================================================================
--- trunk/Build/source/texk/mendexk/fread.c	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/fread.c	2025-08-11 02:00:39 UTC (rev 76024)
@@ -77,7 +77,7 @@
 		}
 		indent=wflg=k=nest=esc=quo=0;
 
-/*   analize words   */
+/*   analyze words   */
 
 		for (;;j++,k++) {
 			if (buff[j]=='\n' || buff[j]=='\0') {
@@ -501,8 +501,7 @@
 		else {
 			cnt=0;
 			if (!((*page0>='0' && *page0<='9') || (*page0>='A' && *page0<='Z') || (*page0>='a' && *page0<='z'))) {
-				p->attr[cc]= -1;
-				if (cc<2) p->attr[++cc]= -1;
+				for (j=cc;j<PAGE_COMPOSIT_DEPTH;j++) p->attr[j]=-1;
 				return;
 			}
 			pcpos=strstr(page0,page_compositor);
@@ -588,7 +587,7 @@
 		}
 	}
 	p->attr[cc]=pattr[cc];
-	if (cc<2) p->attr[++cc]= -1;
+	for (j=cc+1;j<PAGE_COMPOSIT_DEPTH;j++) p->attr[j]=-1;
 }
 
 char *mfgets(char *buf, int size, FILE *fp)

Modified: trunk/Build/source/texk/mendexk/fwrite.c
===================================================================
--- trunk/Build/source/texk/mendexk/fwrite.c	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/fwrite.c	2025-08-11 02:00:39 UTC (rev 76024)
@@ -367,10 +367,6 @@
 		if (cc>j) {
 			int epage = pnumconv2(&ind[num].p[cc]);
 			int bpage = pnumconv2(&ind[num].p[j]);
-			if (epage==bpage) {
-				j=cc-1;
-				continue;
-			}
 /* range process */
 			if (ind[num].p[j].enc[0]==range_open
 				|| ind[num].p[j].enc[0]==range_close)
@@ -389,6 +385,8 @@
 			else if (strlen(suffix_2p)>0 && epage-bpage==1) {
 				SAPPENDF(buff,"%s",suffix_2p);
 			}
+			else if (epage-bpage==0) {
+			}
 			else {
 				SAPPENDF(buff,"%s",delim_r);
 				SAPPENDF(buff,"%s",ind[num].p[cc].page);

Modified: trunk/Build/source/texk/mendexk/styfile.c
===================================================================
--- trunk/Build/source/texk/mendexk/styfile.c	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/styfile.c	2025-08-11 02:00:39 UTC (rev 76024)
@@ -143,7 +143,7 @@
 	verb_printf(efp,"...done.\n");
 }
 
-/*   analize string parameter of style file   */
+/*   analyze string parameter of style file   */
 static void convline(char *buff1, int start, char *buff2)
 {
 	int i,j,cc;

Modified: trunk/Build/source/texk/mendexk/tests/pprec.test
===================================================================
--- trunk/Build/source/texk/mendexk/tests/pprec.test	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/tests/pprec.test	2025-08-11 02:00:39 UTC (rev 76024)
@@ -16,7 +16,7 @@
 rc=0
 
 # test for range suffix_2p, suffix_3p, suffix_mp
-for num in 1 2 3; do
+for num in 1 2 3 4; do
 $_mendex -s $srcdir/tests/range$num.ist $srcdir/tests/range.idx \
 	-o range$num.ind1 -t range$num.ilg \
 	&& diff $srcdir/tests/range$num.ind range$num.ind1 || rc=6

Modified: trunk/Build/source/texk/mendexk/tests/range.idx
===================================================================
--- trunk/Build/source/texk/mendexk/tests/range.idx	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/tests/range.idx	2025-08-11 02:00:39 UTC (rev 76024)
@@ -87,6 +87,10 @@
 \indexentry{entryA1|)}{iv}
 \indexentry{entryA1|(}{IX}
 \indexentry{entryA1|)}{X}
+\indexentry{entryA1|(textbf}{XX}
+\indexentry{entryA1|)textbf}{XXI}
+\indexentry{entryA2|(textbf}{XX}
+\indexentry{entryA2|)textbf}{XX}
 
 \indexentry{entryB1|(}{1}
 \indexentry{entryB1|)}{3}
@@ -94,6 +98,8 @@
 \indexentry{entryB1|)}{v}
 \indexentry{entryB1|(}{IX}
 \indexentry{entryB1|)}{XI}
+\indexentry{entryB1|(textbf}{XX}
+\indexentry{entryB1|)textbf}{XXII}
 
 \indexentry{entryC1|(}{1}
 \indexentry{entryC1|)}{4}
@@ -102,6 +108,8 @@
 \indexentry{entryC1|(}{IX}
 \indexentry{entryC1|bold}{X}
 \indexentry{entryC1|)}{XII}
+\indexentry{entryC1|(textbf}{XX}
+\indexentry{entryC1|)textbf}{XXIII}
 
 \indexentry{entryD1|(}{c-1}
 \indexentry{entryD1|)}{c-2}

Modified: trunk/Build/source/texk/mendexk/tests/range1.ind
===================================================================
--- trunk/Build/source/texk/mendexk/tests/range1.ind	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/tests/range1.ind	2025-08-11 02:00:39 UTC (rev 76024)
@@ -1,13 +1,16 @@
 \begin{theindex}
 
   \item entryA, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]]
-  \item entryA1, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]]
+  \item entryA1, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]], 
+		\textbf{XX[[sfx 2p]]}
+  \item entryA2, \textbf{XX}
   \item entryB, 1[[sfx mp]], iii[[sfx mp]], IX[[sfx mp]]
-  \item entryB1, 1[[sfx mp]], iii[[sfx mp]], IX[[sfx mp]]
+  \item entryB1, 1[[sfx mp]], iii[[sfx mp]], IX[[sfx mp]], 
+		\textbf{XX[[sfx mp]]}
   \item entryC, 1[[sfx mp]], \bold{iii[[sfx mp]]}, IX, \bold{X}, 
 		XI[[sfx 2p]]
   \item entryC1, 1[[sfx mp]], \bold{iii[[sfx mp]]}, \bold{X}, 
-		IX[[sfx mp]]
+		IX[[sfx mp]], \textbf{XX[[sfx mp]]}
   \item entryD, c-1[[sfx 2p]], d-IX[[sfx 2p]], i-iii[[sfx 2p]]
   \item entryD1, c-1[[sfx 2p]], d-IX[[sfx 2p]], i-iii[[sfx 2p]]
   \item entryE, c-1[[sfx mp]], d-IX[[sfx mp]], i-iii[[sfx mp]]

Modified: trunk/Build/source/texk/mendexk/tests/range2.ind
===================================================================
--- trunk/Build/source/texk/mendexk/tests/range2.ind	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/tests/range2.ind	2025-08-11 02:00:39 UTC (rev 76024)
@@ -1,13 +1,16 @@
 \begin{theindex}
 
   \item entryA, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]]
-  \item entryA1, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]]
+  \item entryA1, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]], 
+		\textbf{XX[[sfx 2p]]}
+  \item entryA2, \textbf{XX}
   \item entryB, 1[[sfx 3p]], iii[[sfx 3p]], IX[[sfx 3p]]
-  \item entryB1, 1[[sfx 3p]], iii[[sfx 3p]], IX[[sfx 3p]]
+  \item entryB1, 1[[sfx 3p]], iii[[sfx 3p]], IX[[sfx 3p]], 
+		\textbf{XX[[sfx 3p]]}
   \item entryC, 1[[delim r]]4, \bold{iii[[delim r]]vi}, IX, \bold{X}, 
 		XI[[sfx 2p]]
   \item entryC1, 1[[delim r]]4, \bold{iii[[delim r]]vi}, \bold{X}, 
-		IX[[delim r]]XII
+		IX[[delim r]]XII, \textbf{XX[[delim r]]XXIII}
   \item entryD, c-1[[sfx 2p]], d-IX[[sfx 2p]], i-iii[[sfx 2p]]
   \item entryD1, c-1[[sfx 2p]], d-IX[[sfx 2p]], i-iii[[sfx 2p]]
   \item entryE, c-1[[sfx 3p]], d-IX[[sfx 3p]], i-iii[[sfx 3p]]

Modified: trunk/Build/source/texk/mendexk/tests/range3.ind
===================================================================
--- trunk/Build/source/texk/mendexk/tests/range3.ind	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/tests/range3.ind	2025-08-11 02:00:39 UTC (rev 76024)
@@ -1,13 +1,16 @@
 \begin{theindex}
 
   \item entryA, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]]
-  \item entryA1, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]]
+  \item entryA1, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]], 
+		\textbf{XX[[sfx 2p]]}
+  \item entryA2, \textbf{XX}
   \item entryB, 1[[sfx 3p]], iii[[sfx 3p]], IX[[sfx 3p]]
-  \item entryB1, 1[[sfx 3p]], iii[[sfx 3p]], IX[[sfx 3p]]
+  \item entryB1, 1[[sfx 3p]], iii[[sfx 3p]], IX[[sfx 3p]], 
+		\textbf{XX[[sfx 3p]]}
   \item entryC, 1[[sfx mp]], \bold{iii[[sfx mp]]}, IX, \bold{X}, 
 		XI[[sfx 2p]]
   \item entryC1, 1[[sfx mp]], \bold{iii[[sfx mp]]}, \bold{X}, 
-		IX[[sfx mp]]
+		IX[[sfx mp]], \textbf{XX[[sfx mp]]}
   \item entryD, c-1[[sfx 2p]], d-IX[[sfx 2p]], i-iii[[sfx 2p]]
   \item entryD1, c-1[[sfx 2p]], d-IX[[sfx 2p]], i-iii[[sfx 2p]]
   \item entryE, c-1[[sfx 3p]], d-IX[[sfx 3p]], i-iii[[sfx 3p]]

Copied: trunk/Build/source/texk/mendexk/tests/range4.ind (from rev 76023, trunk/Build/source/texk/mendexk/tests/range2.ind)
===================================================================
--- trunk/Build/source/texk/mendexk/tests/range4.ind	                        (rev 0)
+++ trunk/Build/source/texk/mendexk/tests/range4.ind	2025-08-11 02:00:39 UTC (rev 76024)
@@ -0,0 +1,31 @@
+\begin{theindex}
+
+  \item entryA, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]]
+  \item entryA1, 1[[sfx 2p]], iii[[sfx 2p]], IX[[sfx 2p]], 
+		\textbf{XX[[sfx 2p]]}
+  \item entryA2, \textbf{XX}
+  \item entryB, 1[[delim r]]3, iii[[delim r]]v, IX[[delim r]]XI
+  \item entryB1, 1[[delim r]]3, iii[[delim r]]v, IX[[delim r]]XI, 
+		\textbf{XX[[delim r]]XXII}
+  \item entryC, 1[[delim r]]4, \bold{iii[[delim r]]vi}, IX, \bold{X}, 
+		XI[[sfx 2p]]
+  \item entryC1, 1[[delim r]]4, \bold{iii[[delim r]]vi}, \bold{X}, 
+		IX[[delim r]]XII, \textbf{XX[[delim r]]XXIII}
+  \item entryD, c-1[[sfx 2p]], d-IX[[sfx 2p]], i-iii[[sfx 2p]]
+  \item entryD1, c-1[[sfx 2p]], d-IX[[sfx 2p]], i-iii[[sfx 2p]]
+  \item entryE, c-1[[delim r]]c-3, d-IX[[delim r]]d-XI, 
+		i-iii[[delim r]]i-v
+  \item entryE1, c-1[[delim r]]c-3, d-IX[[delim r]]d-XI, 
+		i-iii[[delim r]]i-v
+  \item entryF, C-I[[delim r]]C-IV, D-DI[[delim r]]D-DIV, 
+		V-LIII[[delim r]]V-LVI
+  \item entryF1, C-I[[delim r]]C-IV, \bold{D-DII}, D-DI[[delim r]]D-DIV, 
+		V-LIII[[delim r]]V-LVI
+  \item entryP, A-a-1-VII-iii[[delim r]]A-a-1-VII-v, A-a-1-VIII-iii, 
+		A-a-1-IX-iii, A-a-2-VII-iii, A-a-3-VII-iii
+  \item entryQ, 1-2-3-4-5-6-7-8-9-10[[sfx 2p]], 
+		1-2-3-4-5-6-7-8-9-14[[delim r]]1-2-3-4-5-6-7-8-9-16, 
+		1-2-3-4-5-6-7-8-9-22[[delim r]]1-2-3-4-5-6-7-8-9-25, 
+		1-2-3-4-5-6-7-8-9-i[[delim r]]1-2-3-4-5-6-7-8-9-v
+
+\end{theindex}

Added: trunk/Build/source/texk/mendexk/tests/range4.ist
===================================================================
--- trunk/Build/source/texk/mendexk/tests/range4.ist	                        (rev 0)
+++ trunk/Build/source/texk/mendexk/tests/range4.ist	2025-08-11 02:00:39 UTC (rev 76024)
@@ -0,0 +1,3 @@
+page_precedence "nrRaA"
+delim_r "[[delim r]]"
+suffix_2p "[[sfx 2p]]"

Modified: trunk/Build/source/texk/mendexk/version.h
===================================================================
--- trunk/Build/source/texk/mendexk/version.h	2025-08-11 02:00:32 UTC (rev 76023)
+++ trunk/Build/source/texk/mendexk/version.h	2025-08-11 02:00:39 UTC (rev 76024)
@@ -1,2 +1,2 @@
-#define VERSION  "version " PACKAGE_VERSION " [09-Feb-2025]"
+#define VERSION  "version " PACKAGE_VERSION " [11-Aug-2025]"
 #define BUG_ADDRESS "issue at texjp.org"



More information about the tex-live-commits mailing list.