summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/xindy/modules/base
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/xindy/modules/base')
-rw-r--r--Master/texmf-dist/xindy/modules/base/book-order.xdy24
-rw-r--r--Master/texmf-dist/xindy/modules/base/ff-ranges-only.xdy25
-rw-r--r--Master/texmf-dist/xindy/modules/base/ff-ranges.xdy27
-rw-r--r--Master/texmf-dist/xindy/modules/base/german-sty.xdy24
-rw-r--r--Master/texmf-dist/xindy/modules/base/ignore-hyphen.xdy18
-rw-r--r--Master/texmf-dist/xindy/modules/base/ignore-punctuation.xdy42
-rw-r--r--Master/texmf-dist/xindy/modules/base/keep-blanks.xdy40
-rw-r--r--Master/texmf-dist/xindy/modules/base/latex-loc-fmts.xdy25
-rw-r--r--Master/texmf-dist/xindy/modules/base/latex.xdy83
-rw-r--r--Master/texmf-dist/xindy/modules/base/latin-lettergroups.xdy26
-rw-r--r--Master/texmf-dist/xindy/modules/base/letter-order.xdy18
-rw-r--r--Master/texmf-dist/xindy/modules/base/makeindex.xdy46
-rw-r--r--Master/texmf-dist/xindy/modules/base/numeric-sort.xdy25
-rw-r--r--Master/texmf-dist/xindy/modules/base/page-ranges.xdy18
-rw-r--r--Master/texmf-dist/xindy/modules/base/tex.xdy74
-rw-r--r--Master/texmf-dist/xindy/modules/base/texindy.xdy20
-rw-r--r--Master/texmf-dist/xindy/modules/base/word-order.xdy20
17 files changed, 555 insertions, 0 deletions
diff --git a/Master/texmf-dist/xindy/modules/base/book-order.xdy b/Master/texmf-dist/xindy/modules/base/book-order.xdy
new file mode 100644
index 00000000000..aa5d078987b
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/ff-ranges-only.xdy b/Master/texmf-dist/xindy/modules/base/ff-ranges-only.xdy
new file mode 100644
index 00000000000..451ae9ac472
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/ff-ranges.xdy b/Master/texmf-dist/xindy/modules/base/ff-ranges.xdy
new file mode 100644
index 00000000000..f38b55765a7
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/german-sty.xdy b/Master/texmf-dist/xindy/modules/base/german-sty.xdy
new file mode 100644
index 00000000000..d0f4d367f18
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/ignore-hyphen.xdy b/Master/texmf-dist/xindy/modules/base/ignore-hyphen.xdy
new file mode 100644
index 00000000000..44d3743a48f
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/ignore-punctuation.xdy b/Master/texmf-dist/xindy/modules/base/ignore-punctuation.xdy
new file mode 100644
index 00000000000..051f2d63bc6
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/keep-blanks.xdy b/Master/texmf-dist/xindy/modules/base/keep-blanks.xdy
new file mode 100644
index 00000000000..892b5d70468
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/latex-loc-fmts.xdy b/Master/texmf-dist/xindy/modules/base/latex-loc-fmts.xdy
new file mode 100644
index 00000000000..3a39a5c922b
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/latex.xdy b/Master/texmf-dist/xindy/modules/base/latex.xdy
new file mode 100644
index 00000000000..e45dc67049d
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/latin-lettergroups.xdy b/Master/texmf-dist/xindy/modules/base/latin-lettergroups.xdy
new file mode 100644
index 00000000000..5a48b871600
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/letter-order.xdy b/Master/texmf-dist/xindy/modules/base/letter-order.xdy
new file mode 100644
index 00000000000..810b96d16c0
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/makeindex.xdy b/Master/texmf-dist/xindy/modules/base/makeindex.xdy
new file mode 100644
index 00000000000..c859ecac651
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/numeric-sort.xdy b/Master/texmf-dist/xindy/modules/base/numeric-sort.xdy
new file mode 100644
index 00000000000..65c84206628
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/page-ranges.xdy b/Master/texmf-dist/xindy/modules/base/page-ranges.xdy
new file mode 100644
index 00000000000..44ddeaa55b8
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/tex.xdy b/Master/texmf-dist/xindy/modules/base/tex.xdy
new file mode 100644
index 00000000000..197dba1b455
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/texindy.xdy b/Master/texmf-dist/xindy/modules/base/texindy.xdy
new file mode 100644
index 00000000000..a7e5ee8fbb2
--- /dev/null
+++ b/Master/texmf-dist/xindy/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/Master/texmf-dist/xindy/modules/base/word-order.xdy b/Master/texmf-dist/xindy/modules/base/word-order.xdy
new file mode 100644
index 00000000000..9741e2bd10e
--- /dev/null
+++ b/Master/texmf-dist/xindy/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".
+;;