diff options
Diffstat (limited to 'Build/source/utils/xindy/xindy-2.4/modules/base')
19 files changed, 1009 insertions, 0 deletions
diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/Makefile.am b/Build/source/utils/xindy/xindy-2.4/modules/base/Makefile.am new file mode 100644 index 00000000000..d49e9ea1f95 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/Makefile.am @@ -0,0 +1,48 @@ +## Use `autoreconf' in top-level directory to recreate all +## autoconf/automake files. +## Or, call `automake Makefile' to create only Makefile.in. + +## Copyright (C) 2004-2005 by Gour. +## +## This program is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License as +## published by the Free Software Foundation; either version 2 of the +## License, or (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program in the file COPYING; if not, write to the +## Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +## Boston, MA 02110-1301 USA. + +modulesdir = $(pkglibdir)/modules + +basedir = $(modulesdir)/base + +RULES = \ + book-order.xdy \ + ff-ranges-only.xdy \ + ff-ranges.xdy \ + german-sty.xdy \ + ignore-hyphen.xdy \ + ignore-punctuation.xdy \ + keep-blanks.xdy \ + latex-loc-fmts.xdy \ + latex.xdy \ + latin-lettergroups.xdy \ + letter-order.xdy \ + makeindex.xdy \ + numeric-sort.xdy \ + page-ranges.xdy \ + texindy.xdy \ + tex.xdy \ + word-order.xdy + +EXTRA_DIST = $(RULES) + +base_DATA = $(RULES) + diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/Makefile.in b/Build/source/utils/xindy/xindy-2.4/modules/base/Makefile.in new file mode 100644 index 00000000000..605c6bc801a --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/Makefile.in @@ -0,0 +1,406 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = xindy/modules/base +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-warnings.m4 \ + $(top_srcdir)/xindy/VERSION $(top_srcdir)/ac/xindy.ac \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(basedir)" +DATA = $(base_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +pkglibdir = @pkglibdir@ +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CLISP = @CLISP@ +CONVERT_FROM_UTF8 = @CONVERT_FROM_UTF8@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EXEEXT = @EXEEXT@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LATEX = @LATEX@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LEXLIB = @LEXLIB@ +LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LISP_RUN = @LISP_RUN@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PDFLATEX = @PDFLATEX@ +PERL = @PERL@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +WARNING_CFLAGS = @WARNING_CFLAGS@ +XINDY_RUN = @XINDY_RUN@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +memdir = @memdir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +modulesdir = $(pkglibdir)/modules +basedir = $(modulesdir)/base +RULES = \ + book-order.xdy \ + ff-ranges-only.xdy \ + ff-ranges.xdy \ + german-sty.xdy \ + ignore-hyphen.xdy \ + ignore-punctuation.xdy \ + keep-blanks.xdy \ + latex-loc-fmts.xdy \ + latex.xdy \ + latin-lettergroups.xdy \ + letter-order.xdy \ + makeindex.xdy \ + numeric-sort.xdy \ + page-ranges.xdy \ + texindy.xdy \ + tex.xdy \ + word-order.xdy + +EXTRA_DIST = $(RULES) +base_DATA = $(RULES) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign xindy/modules/base/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign xindy/modules/base/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-baseDATA: $(base_DATA) + @$(NORMAL_INSTALL) + test -z "$(basedir)" || $(MKDIR_P) "$(DESTDIR)$(basedir)" + @list='$(base_DATA)'; test -n "$(basedir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(basedir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(basedir)" || exit $$?; \ + done + +uninstall-baseDATA: + @$(NORMAL_UNINSTALL) + @list='$(base_DATA)'; test -n "$(basedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(basedir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(basedir)" && rm -f $$files +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: + for dir in "$(DESTDIR)$(basedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-baseDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-baseDATA + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-baseDATA install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-baseDATA + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/book-order.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/book-order.xdy new file mode 100644 index 00000000000..aa5d078987b --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/book-order.xdy @@ -0,0 +1,24 @@ +;; $Id: book-order.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; book order scheme +;;; + +;; NOTE: Assumes that makeindex.xdy has been loaded. + +(define-location-class-order ("roman-page-numbers" + "Roman-page-numbers" + "arabic-page-numbers" + "alpha-page-numbers" + "Alpha-page-numbers" + "see" + "seealso")) + + +;;====================================================================== +;; +;; $Log: book-order.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/ff-ranges-only.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/ff-ranges-only.xdy new file mode 100644 index 00000000000..451ae9ac472 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/ff-ranges-only.xdy @@ -0,0 +1,25 @@ +;; $Id: ff-ranges-only.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; ff ranges only +;;; +;;; Use "f" for two pages, "ff" notation for ranges of three and more pages +;;; + +;; FIXME: This will output a warning about a redefinition if latex.xdy +;; is already loaded. Which it is, most of the time. I don't want that +;; message, and we should get rid of it. +(define-location-class "arabic-page-numbers" + ("arabic-numbers") :min-range-length 1) + +(markup-range :sep "f" :length 1 :ignore-end :class "arabic-page-numbers") +(markup-range :sep "ff" :ignore-end :class "arabic-page-numbers") + + +;;====================================================================== +;; +;; $Log: ff-ranges-only.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/ff-ranges.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/ff-ranges.xdy new file mode 100644 index 00000000000..f38b55765a7 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/ff-ranges.xdy @@ -0,0 +1,27 @@ +;; $Id: ff-ranges.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; ff ranges +;;; +;;; Use "f" for two pages, "ff" notation for ranges of three pages, +;;; and explicit ranges thereafter: 2f, 2ff, 2--6. +;;; + +;; FIXME: This will output a warning about a redefinition if latex.xdy +;; is already loaded. Which it is, most of the time. I don't want that +;; message, and we should get rid of it. +(define-location-class "arabic-page-numbers" + ("arabic-numbers") :min-range-length 1) + +(markup-range :sep "f" :length 1 :ignore-end) +(markup-range :sep "ff" :length 2 :ignore-end) +(markup-range :sep "--") + + +;;====================================================================== +;; +;; $Log: ff-ranges.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/german-sty.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/german-sty.xdy new file mode 100644 index 00000000000..d0f4d367f18 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/german-sty.xdy @@ -0,0 +1,24 @@ +;; $Id: german-sty.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; german sty +;;; +;;; Map special German TeX letters (german.sty) to 8-bit characters. +;;; + +(merge-rule "~"A" "Ä" :again :string) +(merge-rule "~"O" "Ö" :again :string) +(merge-rule "~"U" "Ü" :again :string) +(merge-rule "~"a" "ä" :again :string) +(merge-rule "~"o" "ö" :again :string) +(merge-rule "~"u" "ü" :again :string) +(merge-rule "~"s" "ß" :again :string) + + +;;====================================================================== +;; +;; $Log: german-sty.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/ignore-hyphen.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/ignore-hyphen.xdy new file mode 100644 index 00000000000..44d3743a48f --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/ignore-hyphen.xdy @@ -0,0 +1,18 @@ +;; $Id: ignore-hyphen.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; ignore hyphen scheme +;;; +;;; hyphens are ignored, "ad-hoc" is sorted as "adhoc". +;;; + +(sort-rule "-" "") + + +;;====================================================================== +;; +;; $Log: ignore-hyphen.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/ignore-punctuation.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/ignore-punctuation.xdy new file mode 100644 index 00000000000..051f2d63bc6 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/ignore-punctuation.xdy @@ -0,0 +1,42 @@ +;; $Id: ignore-punctuation.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; ignore punctuation scheme +;;; +;;; all kind of punctuations are ignored during sorting +;;; + +;; accents and other special characters (plus, etc) are not considered +;; punctuations. + +(sort-rule "!" "") +(sort-rule "\"" "") +(sort-rule "/" "") +(sort-rule "(" "") +(sort-rule ")" "") +(sort-rule "{" "") +(sort-rule "}" "") +(sort-rule "[" "") +(sort-rule "]" "") +(sort-rule "<" "") +(sort-rule ">" "") +(sort-rule "=" "") +(sort-rule "?" "") +(sort-rule "\\" "") +(sort-rule "'" "") +(sort-rule "|" "") +(sort-rule "," "") +(sort-rule ";" "") +(sort-rule "." "") +(sort-rule ":" "") +(sort-rule "-" "") +(sort-rule "_" "") + + +;;====================================================================== +;; +;; $Log: ignore-punctuation.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/keep-blanks.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/keep-blanks.xdy new file mode 100644 index 00000000000..892b5d70468 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/keep-blanks.xdy @@ -0,0 +1,40 @@ +;; $Id: keep-blanks.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; keep blanks +;;; +;;; Don't trim white space at start or end, and don't collapse white +;;; space in an index key. +;;; + +;; This does not work currently. White space compression is +;; implemented by merge rules in tex.xdy; and we would need to undo +;; these rules. An implementation possibility is the postponing of +;; these merge rules and our ability to stop their activation. But +;; this is not implemented yet. Either we need a method to delete a +;; merge rule, or we need a hook in the kernel. + +;; FIXME: I must coerce the error string to a simple-string because we +;; use a special reader syntax in index styles. This reader syntax +;; parses C-like strings and creates character arrays, but not simple +;; strings. Frankly, I don't know how I may code this more easily, +;; perhaps by a reader macro? + +(base:oops (coerce " + +Module keep-blanks does not work currently, due to a missing +functionality in the xindy kernel. Please contact the xindy mailing +list for more information. + +" 'simple-string)) + +(base:error-exit) + + +;;====================================================================== +;; +;; $Log: keep-blanks.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/latex-loc-fmts.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/latex-loc-fmts.xdy new file mode 100644 index 00000000000..3a39a5c922b --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/latex-loc-fmts.xdy @@ -0,0 +1,25 @@ +;; $Id: latex-loc-fmts.xdy,v 1.2 2006/08/31 00:10:59 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; Define default location attributes, and their markup. +;;; + +;; Default attributes are all merged into one location group. +(define-attributes (("default" "textbf" "textit" "hyperpage"))) + +(markup-locref :open "\textbf{" :close "}" :attr "textbf") +(markup-locref :open "\textit{" :close "}" :attr "textit") +(markup-locref :open "\hyperpage{" :close "}" :attr "hyperpage") + + + +;;====================================================================== +;; +;; $Log: latex-loc-fmts.xdy,v $ +;; Revision 1.2 2006/08/31 00:10:59 jschrod +;; Ticket 1549661: Default attributes should be in the same location group. +;; +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/latex.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/latex.xdy new file mode 100644 index 00000000000..e45dc67049d --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/latex.xdy @@ -0,0 +1,83 @@ +;; $Id: latex.xdy,v 1.4 2008/01/09 15:13:29 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; LaTeX conventions +;;; +;;; both in raw index entries and output markup +;;; + + +;; We need to define merge rules for known macros first, as tex.xdy +;; has a merge-rule that will discard all macros. + +(merge-rule "\\LaTeXe *" "LaTeX2e" :eregexp :again) +(merge-rule "\\BibTeX *" "BibTeX" :eregexp :again) +(merge-rule "\\AmSTeX *" "AmSTeX" :eregexp :again) +(merge-rule "\\AmSLaTeX *" "AmSLaTeX" :eregexp :again) +(merge-rule "\\XeT *" "XeT" :eregexp :again) + + +;; LaTeX has the same conventions as TeX + +(require "tex.xdy") + + +;; We do not define attributes, this is done in latex-loc-fmts. + + +;; Standard location classes: arabic and roman numbers, and alphabets. + +(define-location-class "arabic-page-numbers" ("arabic-numbers")) +(define-location-class "roman-page-numbers" ("roman-numbers-lowercase")) +(define-location-class "Roman-page-numbers" ("roman-numbers-uppercase")) +(define-location-class "alpha-page-numbers" ("alpha")) +(define-location-class "Alpha-page-numbers" ("ALPHA")) + + +;;; +;;; Output Markup +;;; + +(markup-index :open +"\begin{theindex} + \providecommand*\lettergroupDefault[1]{} + \providecommand*\lettergroup[1]{% + \par\textbf{#1}\par + \nopagebreak + } +" + :close "~n~n\end{theindex}~n" + :tree) + +(markup-letter-group-list :sep "~n~n \indexspace~n") +(markup-letter-group :open-head "~n % ") + +(markup-indexentry :open "~n \item " :depth 0) +(markup-indexentry :open "~n \subitem " :depth 1) +(markup-indexentry :open "~n \subsubitem " :depth 2) + +(markup-locclass-list :open ", " :sep ", ") +(markup-locref-list :sep ", ") + + + + +;;====================================================================== +;; +;; $Log: latex.xdy,v $ +;; Revision 1.4 2008/01/09 15:13:29 jschrod +;; Configurable section headline for the Default letter group. +;; +;; Revision 1.3 2006/11/07 01:16:50 jschrod +;; Prevent page break after letter group heading. +;; Introduce a \lettergroup tag for that, which can be redefined +;; by the user in an own theindex environment. (Ticket 1255990) +;; +;; Revision 1.2 2005/05/09 20:21:11 jschrod +;; Support handling of some common macros for logos; ignore all other +;; TeX commands. +;; +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/latin-lettergroups.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/latin-lettergroups.xdy new file mode 100644 index 00000000000..5a48b871600 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/latin-lettergroups.xdy @@ -0,0 +1,26 @@ +;; $Id: latin-lettergroups.xdy,v 1.3 2008/01/09 15:13:29 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; latin lettergroups +;;; + +(markup-letter-group :open-head "~n \lettergroupDefault{" :close-head "}" + :group "default") +(markup-letter-group :open-head "~n \lettergroup{" :close-head "}") + + +;;====================================================================== +;; +;; $Log: latin-lettergroups.xdy,v $ +;; Revision 1.3 2008/01/09 15:13:29 jschrod +;; Configurable section headline for the Default letter group. +;; +;; Revision 1.2 2006/11/07 01:16:50 jschrod +;; Prevent page break after letter group heading. +;; Introduce a \lettergroup tag for that, which can be redefined +;; by the user in an own theindex environment. (Ticket 1255990) +;; +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/letter-order.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/letter-order.xdy new file mode 100644 index 00000000000..810b96d16c0 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/letter-order.xdy @@ -0,0 +1,18 @@ +;; $Id: letter-order.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; letter order scheme +;;; +;;; spaces are ignored, "index style" is sorted after "indexing". +;;; + +(sort-rule " " "") + + +;;====================================================================== +;; +;; $Log: letter-order.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/makeindex.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/makeindex.xdy new file mode 100644 index 00000000000..c859ecac651 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/makeindex.xdy @@ -0,0 +1,46 @@ +;; $Id: makeindex.xdy,v 1.3 2006/08/30 23:35:43 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; MakeIndex behaviour +;;; + +(define-crossref-class "see") +;; \see takes two parameters, the second one is for the page number. +;; We don't emit one in xindy, so we add an empty second argument. +(markup-crossref-list :class "see" :open "\see{" :sep "; " :close "}{}") + +;; FIXME: This does not work properly. This should be for entries that +;; have both a locref (e.g., the page number) and a cross reference. +;; Currently, it works as if it's the same as \see, just with another +;; macro. +(define-crossref-class "seealso") +(markup-crossref-list :class "seealso" :open "\seealso{" :sep "; " :close "}{}") + +;; Subentries in cross references are seperated by comma for all +;; crossref classes. +(markup-crossref-layer-list :sep ", ") + +(define-location-class-order ("roman-page-numbers" + "arabic-page-numbers" + "alpha-page-numbers" + "Roman-page-numbers" + "Alpha-page-numbers" + "see" + "seealso")) + + + +;;====================================================================== +;; +;; $Log: makeindex.xdy,v $ +;; Revision 1.3 2006/08/30 23:35:43 jschrod +;; Ticket 1255983: Markup for multiple cross references and cross +;; references to sub entries were missing. +;; +;; Revision 1.2 2005/05/09 20:19:15 jschrod +;; Typo in seealso crossref class definition. +;; +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/numeric-sort.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/numeric-sort.xdy new file mode 100644 index 00000000000..65c84206628 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/numeric-sort.xdy @@ -0,0 +1,25 @@ +;; $Id: numeric-sort.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; numerically sorting +;;; +;;; "V64" appears before "V128". +;;; + +;; FIXME: Works only for up to 7 digits. + +(merge-rule "[0-9][0-9][0-9][0-9][0-9][0-9]" "0&" :eregexp) +(merge-rule "[0-9][0-9][0-9][0-9][0-9]" "00&" :eregexp) +(merge-rule "[0-9][0-9][0-9][0-9]" "000&" :eregexp) +(merge-rule "[0-9][0-9][0-9]" "0000&" :eregexp) +(merge-rule "[0-9][0-9]" "00000&" :eregexp) +(merge-rule "[0-9]" "000000&" :eregexp) + + +;;====================================================================== +;; +;; $Log: numeric-sort.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/page-ranges.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/page-ranges.xdy new file mode 100644 index 00000000000..44ddeaa55b8 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/page-ranges.xdy @@ -0,0 +1,18 @@ +;; $Id: page-ranges.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; page ranges +;;; +;;; More than two consecutive pages are listed as a range. +;;; + +(markup-range :sep "--") + + +;;====================================================================== +;; +;; $Log: page-ranges.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/tex.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/tex.xdy new file mode 100644 index 00000000000..197dba1b455 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/tex.xdy @@ -0,0 +1,74 @@ +;; $Id: tex.xdy,v 1.3 2010/06/11 11:01:46 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; TeX conventions +;;; + +;; Discard leading and trailing white space. Collapse multiple white +;; space characters to blank. +;; +;; FIXME: How do I specify tabs in that regexp? [ \t] does *not* work, +;; it is taken as blank and t. +;; +;; FIXME: Definition of these rules should be postponed until we start +;; with the actual work. Then they should be only issued if module +;; keep-blanks is not loaded. Module keep-blanks would set a flag, and +;; this code would check for it. We will need a hook in the kernel, to +;; achieve that goal. + +(merge-rule "^ +" "" :eregexp) +(merge-rule " +$" "" :eregexp) +(merge-rule " +" " " :eregexp) + + +;; +;; Handle TeX markup +;; + + +;; First, some markup that produces output and that we want to keep. +;; If this module is required, similar merge-rules for other markup +;; that shall be kept must be defined first. Otherwise it will be +;; discarded, by the default rule below. + +(merge-rule "\\([{}$%&#])" "\1" :eregexp) +(merge-rule "~~" " ") +(merge-rule "---?" "-") +(merge-rule "\\TeX *" "TeX" :eregexp :again) +(merge-rule "\\LaTeX *" "LaTeX" :eregexp :again) +(merge-rule "\\MF *" "METAFONT" :eregexp :again) +(merge-rule "\\MP *" "METAPOST" :eregexp :again) + +;; Ignore TeX commands by default. Some macros are known to be written +;; to index files where the arguments must be ignored as well. Our +;; argument parsing code is optimistic -- it will be possible to break +;; it. Let's wait for an error report and repair it then... ;-) + +(merge-rule "\\discretionary *\{[^}]*\}\{[^}]*\}" "" :eregexp) +(merge-rule "\\kern *[-\.0-9a-z]* ?" "" :eregexp) + +(merge-rule "\\[a-zA-Z@]+ *" "" :eregexp) +(merge-rule "\\[^a-zA-Z@]" "" :eregexp) +(merge-rule "[{}$]" "" :eregexp) + + + +;;====================================================================== +;; +;; $Log: tex.xdy,v $ +;; Revision 1.3 2010/06/11 11:01:46 jschrod +;; New 2.4 ordrules supports regexps with start-anchored matches. +;; Thus we can activate the leading blank processing rule. The +;; parenthesis-discard rule must trigger everywhere, not just at the +;; start of the index key. +;; The blank suppression clause got optimized, it now triggers only +;; if there are multiple blanks and not for each appearing blank. +;; +;; Revision 1.2 2005/05/09 20:21:11 jschrod +;; Support handling of some common macros for logos; ignore all other +;; TeX commands. +;; +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/texindy.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/texindy.xdy new file mode 100644 index 00000000000..a7e5ee8fbb2 --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/texindy.xdy @@ -0,0 +1,20 @@ +;; $Id: texindy.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; all auto modules of texindy. +;;; + +(require "numeric-sort.xdy") +(require "latex.xdy") +(require "latex-loc-fmts.xdy") +(require "makeindex.xdy") +(require "latin-lettergroups.xdy") + + +;;====================================================================== +;; +;; $Log: texindy.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; diff --git a/Build/source/utils/xindy/xindy-2.4/modules/base/word-order.xdy b/Build/source/utils/xindy/xindy-2.4/modules/base/word-order.xdy new file mode 100644 index 00000000000..9741e2bd10e --- /dev/null +++ b/Build/source/utils/xindy/xindy-2.4/modules/base/word-order.xdy @@ -0,0 +1,20 @@ +;; $Id: word-order.xdy,v 1.1 2004/05/24 21:53:27 jschrod Exp $ +;;------------------------------------------------------------ + +;;; +;;; word order scheme +;;; +;;; a space comes before any letter in the alphabet: "index style" is +;;; listed before "indexing". + +; This is the default, we don't need any code for this behaviour. +; In fact, this module just exists to satisfy the Companion +; description... ;-) + + +;;====================================================================== +;; +;; $Log: word-order.xdy,v $ +;; Revision 1.1 2004/05/24 21:53:27 jschrod +;; Standard modules, introduced in "LaTeX Companion Release". +;; |