diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/intex/latex |
Initial commit
Diffstat (limited to 'support/intex/latex')
-rw-r--r-- | support/intex/latex/FILES | 17 | ||||
-rw-r--r-- | support/intex/latex/Makefile | 325 | ||||
-rw-r--r-- | support/intex/latex/Makefile.am | 16 | ||||
-rw-r--r-- | support/intex/latex/Makefile.in | 325 | ||||
-rw-r--r-- | support/intex/latex/intex.aux | 108 | ||||
-rw-r--r-- | support/intex/latex/intex.dtx | 1519 | ||||
-rw-r--r-- | support/intex/latex/intex.glo | 1 | ||||
-rw-r--r-- | support/intex/latex/intex.idx | 6 | ||||
-rw-r--r-- | support/intex/latex/intex.ilg | 6 | ||||
-rw-r--r-- | support/intex/latex/intex.ind | 25 | ||||
-rw-r--r-- | support/intex/latex/intex.ito | 63 | ||||
-rw-r--r-- | support/intex/latex/intex.itx | 84 | ||||
-rw-r--r-- | support/intex/latex/intex.log | 730 | ||||
-rw-r--r-- | support/intex/latex/intex.out | 16 | ||||
-rw-r--r-- | support/intex/latex/intex.pdf | bin | 0 -> 528600 bytes | |||
-rw-r--r-- | support/intex/latex/intex.rid | 64 | ||||
-rw-r--r-- | support/intex/latex/intex.rix | 46 | ||||
-rw-r--r-- | support/intex/latex/intex.sty | 407 | ||||
-rw-r--r-- | support/intex/latex/intex.tmp | 8 |
19 files changed, 3766 insertions, 0 deletions
diff --git a/support/intex/latex/FILES b/support/intex/latex/FILES new file mode 100644 index 0000000000..f3341e8a36 --- /dev/null +++ b/support/intex/latex/FILES @@ -0,0 +1,17 @@ +$Id$ + +The only files in this directory that are under revision control are + + intex.dtx + intex.itx + +and, of course this file that you are reading now + + FILES + + +That should be all. All other files are automatically generated by +running + + latex intex.dtx + diff --git a/support/intex/latex/Makefile b/support/intex/latex/Makefile new file mode 100644 index 0000000000..cf7b4744ae --- /dev/null +++ b/support/intex/latex/Makefile @@ -0,0 +1,325 @@ +# Makefile.in generated by automake 1.11.3 from Makefile.am. +# latex/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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. + + + +pkgdatadir = $(datadir)/intex +pkgincludedir = $(includedir)/intex +pkglibdir = $(libdir)/intex +pkglibexecdir = $(libexecdir)/intex +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 = : +subdir = latex +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(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 = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/mtr/projects/intex/missing --run aclocal-1.11 +AMTAR = $${TAR-tar} +AUTOCONF = ${SHELL} /home/mtr/projects/intex/missing --run autoconf +AUTOHEADER = ${SHELL} /home/mtr/projects/intex/missing --run autoheader +AUTOMAKE = ${SHELL} /home/mtr/projects/intex/missing --run automake-1.11 +AWK = gawk +CYGPATH_W = echo +DEFS = -DPACKAGE_NAME=\"intex\" -DPACKAGE_TARNAME=\"intex\" -DPACKAGE_VERSION=\"1.8.0\" -DPACKAGE_STRING=\"intex\ 1.8.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"intex\" -DVERSION=\"1.8.0\" +ECHO_C = +ECHO_N = -n +ECHO_T = +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LIBOBJS = +LIBS = +LTLIBOBJS = +MAKEINFO = ${SHELL} /home/mtr/projects/intex/missing --run makeinfo +MKDIR_P = /bin/mkdir -p +PACKAGE = intex +PACKAGE_BUGREPORT = +PACKAGE_NAME = intex +PACKAGE_STRING = intex 1.8.0 +PACKAGE_TARNAME = intex +PACKAGE_URL = +PACKAGE_VERSION = 1.8.0 +PATH_SEPARATOR = : +PYTHON = /usr/bin/python +PYTHON_EXEC_PREFIX = ${exec_prefix} +PYTHON_PLATFORM = linux2 +PYTHON_PREFIX = ${prefix} +PYTHON_VERSION = 2.7 +SET_MAKE = +SHELL = /bin/bash +STRIP = +VERSION = 1.8.0 +abs_builddir = /home/mtr/projects/intex/latex +abs_srcdir = /home/mtr/projects/intex/latex +abs_top_builddir = /home/mtr/projects/intex +abs_top_srcdir = /home/mtr/projects/intex +am__leading_dot = . +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build_alias = +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host_alias = +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/mtr/projects/intex/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +pkgpyexecdir = ${pyexecdir}/intex +pkgpythondir = ${pythondir}/intex +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +pyexecdir = ${exec_prefix}/lib/python2.7/dist-packages +pythondir = ${prefix}/lib/python2.7/dist-packages +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = ../ +top_builddir = .. +top_srcdir = .. +doc_root = intex +dtx_src = $(doc_root).dtx +internal = $(doc_root).rix +index = $(doc_root).rid +mkintex = ../src/mkintex.py +flags = --debug --index-file=$(internal) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(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) --gnu latex/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu latex/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: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +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 +installdirs: +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: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +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-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-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.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-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 + + +pdf: + pdflatex $(dtx_src) + PYTHONPATH=../lib python $(mkintex) $(flags) $(doc_root) + makeindex $(doc_root) + makeindex -o $(index) $(internal) + pdflatex $(dtx_src) + +all: pdf + +# 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/support/intex/latex/Makefile.am b/support/intex/latex/Makefile.am new file mode 100644 index 0000000000..3e3512638e --- /dev/null +++ b/support/intex/latex/Makefile.am @@ -0,0 +1,16 @@ +doc_root = intex +dtx_src = $(doc_root).dtx +internal = $(doc_root).rix +index = $(doc_root).rid + +mkintex = ../src/mkintex.py +flags = --debug --index-file=$(internal) + +pdf: + pdflatex $(dtx_src) + PYTHONPATH=../lib python $(mkintex) $(flags) $(doc_root) + makeindex $(doc_root) + makeindex -o $(index) $(internal) + pdflatex $(dtx_src) + +all: pdf diff --git a/support/intex/latex/Makefile.in b/support/intex/latex/Makefile.in new file mode 100644 index 0000000000..7a256b907a --- /dev/null +++ b/support/intex/latex/Makefile.in @@ -0,0 +1,325 @@ +# Makefile.in generated by automake 1.11.3 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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@ +pkglibdir = $(libdir)/@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 = : +subdir = latex +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(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 = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +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@ +PYTHON = @PYTHON@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +am__leading_dot = @am__leading_dot@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +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@ +doc_root = intex +dtx_src = $(doc_root).dtx +internal = $(doc_root).rix +index = $(doc_root).rid +mkintex = ../src/mkintex.py +flags = --debug --index-file=$(internal) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(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) --gnu latex/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu latex/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: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +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 +installdirs: +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: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +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-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-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.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-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 + + +pdf: + pdflatex $(dtx_src) + PYTHONPATH=../lib python $(mkintex) $(flags) $(doc_root) + makeindex $(doc_root) + makeindex -o $(index) $(internal) + pdflatex $(dtx_src) + +all: pdf + +# 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/support/intex/latex/intex.aux b/support/intex/latex/intex.aux new file mode 100644 index 0000000000..e3a1751ac6 --- /dev/null +++ b/support/intex/latex/intex.aux @@ -0,0 +1,108 @@ +\relax +\catcode`"\active +\ifx\hyper@anchor\@undefined +\global \let \oldcontentsline\contentsline +\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}} +\global \let \oldnewlabel\newlabel +\gdef \newlabel#1#2{\newlabelxx{#1}#2} +\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}} +\AtEndDocument{\let \contentsline\oldcontentsline +\let \newlabel\oldnewlabel} +\else +\global \let \hyper@last\relax +\fi + +\reset@newl@bel +\select@language{english} +\@writefile{toc}{\select@language{english}} +\@writefile{lof}{\select@language{english}} +\@writefile{lot}{\select@language{english}} +\@writefile{toc}{\contentsline {section}{\numberline {1}Introduction}{1}{section.1}} +\@writefile{default}{\indexentry{intex\actualchar \string \verb \quotechar *\verbatimchar \bslash intex\verbatimchar \encapchar usage|hyperpage}{1}} +\@writefile{default}{\indexentry{co\actualchar \string \verb \quotechar *\verbatimchar \bslash co\verbatimchar \encapchar usage|hyperpage}{1}} +\@writefile{toc}{\contentsline {section}{\numberline {2}Background}{1}{section.2}} +\@writefile{default}{\indexentry{acronym\actualchar \string \verb \quotechar *\verbatimchar \bslash acronym\verbatimchar \encapchar usage|hyperpage}{1}} +\@writefile{default}{\indexentry{index\actualchar \string \verb \quotechar *\verbatimchar \bslash index\verbatimchar \encapchar usage|hyperpage}{1}} +\@writefile{raw}{\indexentry{Python|hyperpage}{2}} +\newlabel{itxpl-1}{{2}{2}{Background\relax }{section.2}{}} +\@writefile{toc}{\contentsline {section}{\numberline {3}Usage}{2}{section.3}} +\@writefile{raw}{\indexentry{concept|hyperpage}{2}} +\@writefile{raw}{\indexentry{concept|hyperpage}{2}} +\newlabel{itxpl-2}{{3}{2}{Usage\relax }{section.3}{}} +\@writefile{raw}{\indexentry{acronym|hyperpage}{2}} +\@writefile{raw}{\indexentry{person concept|hyperpage}{2}} +\newlabel{itxpl-3}{{3}{2}{Usage\relax }{section.3}{}} +\newlabel{itxpl-4}{{3}{2}{Usage\relax }{section.3}{}} +\@writefile{raw}{\indexentry{concepts|hyperpage}{2}} +\@writefile{raw}{\indexentry{acronym concepts|hyperpage}{2}} +\@writefile{raw}{\indexentry{person concepts|hyperpage}{2}} +\@writefile{raw}{\indexentry{plain concepts|hyperpage}{2}} +\newlabel{itxpl-5}{{3}{2}{Usage\relax }{section.3}{}} +\newlabel{itxpl-6}{{3}{2}{Usage\relax }{section.3}{}} +\newlabel{itxpl-7}{{3}{2}{Usage\relax }{section.3}{}} +\newlabel{itxpl-8}{{3}{2}{Usage\relax }{section.3}{}} +\@writefile{raw}{\indexentry{concept|hyperpage}{2}} +\@writefile{raw}{\indexentry{plain|hyperpage}{2}} +\newlabel{itxpl-9}{{3}{2}{Usage\relax }{section.3}{}} +\@writefile{raw}{\indexentry{plain|hyperpage}{2}} +\@writefile{raw}{\indexentry{sub-concepts|hyperpage}{2}} +\newlabel{itxpl-10}{{3}{2}{Usage\relax }{section.3}{}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Package Options}{2}{subsection.3.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Examples}{2}{subsection.3.2}} +\@writefile{raw}{\indexentry{H2O|hyperpage}{2}} +\@writefile{raw}{\indexentry{H2O reserve|hyperpage}{2}} +\@writefile{raw}{\indexentry{Python|hyperpage}{2}} +\@writefile{raw}{\indexentry{IDs|hyperpage}{3}} +\@writefile{raw}{\indexentry{ID|hyperpage}{3}} +\@writefile{raw}{\indexentry{ID|hyperpage}{3}} +\@writefile{raw}{\indexentry{ID|hyperpage}{3}} +\@writefile{raw}{\indexentry{ID|hyperpage}{3}} +\@writefile{raw}{\indexentry{Swedish SIMPLE|hyperpage}{3}} +\@writefile{raw}{\indexentry{SIMPLE|hyperpage}{3}} +\@writefile{raw}{\indexentry{compound-word analyzer|hyperpage}{3}} +\newlabel{itxpl-11}{{3.2}{3}{Examples\relax }{subsection.3.2}{}} +\@writefile{raw}{\indexentry{compound-word analyzer|hyperpage}{3}} +\@writefile{raw}{\indexentry{Norwegian compound-word analysis|hyperpage}{3}} +\@writefile{raw}{\indexentry{non-deverbal verb compounds|hyperpage}{3}} +\newlabel{itxpl-12}{{3.2}{3}{Examples\relax }{subsection.3.2}{}} +\newlabel{itxpl-13}{{3.2}{3}{Examples\relax }{subsection.3.2}{}} +\@writefile{raw}{\indexentry{Bokmålsordboka|hyperpage}{3}} +\@writefile{raw}{\indexentry{compounds|hyperpage}{3}} +\newlabel{itxpl-14}{{3.2}{3}{Examples\relax }{subsection.3.2}{}} +\newlabel{itxpl-15}{{3.2}{3}{Examples\relax }{subsection.3.2}{}} +\@writefile{raw}{\indexentry{carnivore|hyperpage}{3}} +\@writefile{raw}{\indexentry{meat eater|hyperpage}{3}} +\@writefile{raw}{\indexentry{feline|hyperpage}{3}} +\@writefile{raw}{\indexentry{canine|hyperpage}{3}} +\@writefile{raw}{\indexentry{meat eaters|hyperpage}{3}} +\@writefile{raw}{\indexentry{water|hyperpage}{3}} +\newlabel{itxpl-16}{{3.2}{3}{Examples\relax }{subsection.3.2}{}} +\@writefile{raw}{\indexentry{Carnivore|hyperpage}{3}} +\@writefile{raw}{\indexentry{index|hyperpage}{4}} +\@writefile{raw}{\indexentry{indices|hyperpage}{4}} +\@writefile{raw}{\indexentry{vertex|hyperpage}{4}} +\@writefile{raw}{\indexentry{vertices|hyperpage}{4}} +\@writefile{raw}{\indexentry{dog|hyperpage}{4}} +\@writefile{raw}{\indexentry{dogs|hyperpage}{4}} +\@writefile{raw}{\indexentry{EAPK|hyperpage}{4}} +\newlabel{itxpl-17}{{3.2}{4}{Examples\relax }{subsection.3.2}{}} +\@writefile{raw}{\indexentry{EAP|hyperpage}{4}} +\newlabel{itxpl-18}{{3.2}{4}{Examples\relax }{subsection.3.2}{}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {3.2.1}Index Definitions}{4}{subsubsection.3.2.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {3.3}Compilation}{6}{subsection.3.3}} +\newlabel{sec:compilation}{{3.3}{6}{Compilation\relax }{subsection.3.3}{}} +\@writefile{default}{\indexentry{mkintex\actualchar \string \verb \quotechar *\verbatimchar \bslash mkintex\verbatimchar \encapchar usage|hyperpage}{6}} +\@writefile{raw}{\indexentry{concept|hyperpage}{6}} +\newlabel{itxpl-19}{{3.3}{6}{Compilation\relax }{subsection.3.3}{}} +\@writefile{toc}{\contentsline {section}{\numberline {4}Macros}{6}{section.4}} +\@writefile{default}{\indexentry{InTeX\actualchar \string \verb \quotechar *\verbatimchar \bslash InTeX\verbatimchar \encapchar usage|hyperpage}{6}} +\@writefile{raw}{\indexentry{InTeX logo|hyperpage}{6}} +\newlabel{itxpl-20}{{4}{6}{Macros\relax }{section.4}{}} +\@writefile{toc}{\contentsline {section}{\numberline {5}Implementation}{6}{section.5}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}Package Options}{7}{subsection.5.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.2}External Packages}{7}{subsection.5.2}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.3}The \textsl {In}\kern -.07emT\kern -.1667em\lower .5ex\hbox {E}\kern -.125emX\spacefactor \@m \ Logo}{8}{subsection.5.3}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.4}Font Definitions}{8}{subsection.5.4}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.5}The (Low-Level) Clockwork of the Package}{9}{subsection.5.5}} +\@writefile{toc}{\contentsline {subsubsection}{\numberline {5.5.1}Typesetting of Margin Labels}{9}{subsubsection.5.5.1}} +\@writefile{toc}{\contentsline {subsection}{\numberline {5.6}The Internal \textsl {In}\kern -.07emT\kern -.1667em\lower .5ex\hbox {E}\kern -.125emX\spacefactor \@m \ File}{21}{subsection.5.6}} diff --git a/support/intex/latex/intex.dtx b/support/intex/latex/intex.dtx new file mode 100644 index 0000000000..564c81d820 --- /dev/null +++ b/support/intex/latex/intex.dtx @@ -0,0 +1,1519 @@ +% \iffalse meta-comment +% $Id$ +% Copyright (C) 2005--2008 by Martin Thorsen Ranang <mtr@ranang.org> +% ------------------------------------------------------- +% +% This file may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in: +% +% http://www.latex-project.org/lppl.txt +% +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% \fi +% +% \iffalse +%<*driver> +\ProvidesFile{intex.dtx} +%</driver> +%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] +%<package>\ProvidesPackage{intex} +%<*package> + [2008/10/13 v1.1 A concept indexing and typesetting package] +%</package> +%<*batchfile> +\begingroup +%% +%% Copyright (C) 2005--2008 by Martin Thorsen Ranang <mtr@ranang.org> +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% +\input docstrip.tex +\keepsilent + +\usedir{tex/latex/intex} + +\preamble + +This is a generated file. + +Copyright (C) 2005--2008 by Martin Thorsen Ranang <mtr@ranang.org> + +This file may be distributed and/or modified under the conditions of +the LaTeX Project Public License, either version 1.2 of this license +or (at your option) any later version. The latest version of this +license is in: + + http://www.latex-project.org/lppl.txt + +and version 1.2 or later is part of all distributions of LaTeX version +1999/12/01 or later. + +\endpreamble + +\askforoverwritefalse +\generate{\file{intex.sty}{\from{intex.dtx}{intex}}} + +\obeyspaces +\Msg{*************************************************************} +\Msg{* *} +\Msg{* To finish the installation you have to move the following *} +\Msg{* file into a directory searched by TeX: *} +\Msg{* *} +\Msg{* intex.sty *} +\Msg{* *} +\Msg{* To produce the documentation run the file intex.dtx *} +\Msg{* through LaTeX. *} +\Msg{* *} +\Msg{* Happy TeXing! *} +\Msg{* *} +\Msg{*************************************************************} + +\endgroup +%</batchfile> +% +%<*driver> +\documentclass{ltxdoc} +\usepackage{intex}[2008/10/13] +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} +\usepackage[norsk,english]{babel} +\usepackage{fancyvrb} +\usepackage{url} +\usepackage[colorlinks=true]{hyperref} +\usepackage{svn} +\usepackage{booktabs} +\SVN $Rev$ +\SVN $Date$ +\EnableCrossrefs +%\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{intex.dtx} + %\PrintChanges + %\PrintIndex +\end{document} +%</driver> +% \fi +% +% \CheckSum{0} ^^A Should be 0 during development. +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} +% +% +% \changes{v1.0}{2005/08/05}{Initial version} +% +% \GetFileInfo{intex.dtx} +% +% \DoNotIndex{\newcommand,\newenvironment} +% +% ^^A From ltugboat.cls +% +% ^^A Typeset the name of an environment +% \providecommand\env[1]{\textsf{#1}} +% \providecommand\clsname[1]{\textsf{#1}} +% \providecommand\pkgname[1]{\textsf{#1}} +% \providecommand\optname[1]{\textsf{#1}} +% \providecommand\progname[1]{\textsf{#1}} +% +% ^^A A list of options for a package/class +% \newenvironment{optlist}{\begin{description}% +% \renewcommand\makelabel[1]{% +% \descriptionlabel{\mdseries\optname{##1}}}% +% \itemsep0.25\itemsep}% +% {\end{description}} +% +% ^^A Utility macros +% +% ^^A Special dashes +% \def\thinskip{\hskip 0.16667em\relax} +% \def\endash{--} +% \def\emdash{\endash-} +% \def\d@sh#1#2{\unskip#1\thinskip#2\thinskip\ignorespaces} +% \def\dash{\d@sh\nobreak\endash} +% \def\Dash{\d@sh\nobreak\emdash} +% +% ^^A Example macros - adapted from the `fvrb-ex' package +% ^^A --------------------------------------------------- +% +% ^^A Take care that we use here the "Z" character as comment character, +% ^^A to avoid to use an 8 bit one which can cause portability problems. +% ^^A But we can't use any more the "Z" into the example environments +% ^^A of this documentation. +% +% \makeatletter +% \newcommand{\BeginExample}[1][0]{% +% \parindent=0pt +% \multiply\topsep by 2 +% \VerbatimEnvironment +% \begin{VerbatimOut}[gobble=#1]{\jobname.tmp}} +% +% \newcommand{\BelowExample}[1]{% +% \VerbatimInput[gobble=4,commentchar=Z,numbersep=3pt,frame=single, +% numbers=left]{\jobname.tmp} +% \catcode`\Z=9\relax% +% #1\par} +% +% \newcommand{\SideBySide@Example}[1]{% +% \@tempdimb=\FV@XRightMargin +% \advance\@tempdimb -5mm +% \vspace{2mm} +% \begin{minipage}[c]{\@tempdimb} +% \fvset{xrightmargin=0pt}% +% \catcode`\Z=9\relax% +% #1 +% \end{minipage}% +% \@tempdimb=\textwidth +% \advance\@tempdimb -\FV@XRightMargin +% \advance\@tempdimb 5mm +% \begin{minipage}[c]{\@tempdimb} +% \VerbatimInput[commentchar=Z,numbersep=3pt,frame=single, +% numbers=left,xleftmargin=5mm,xrightmargin=0pt]{\jobname.tmp} +% \end{minipage} +% \vspace{2mm}} +% +% \def\Example{% +% \catcode`\^^M=\active +% \@ifnextchar[{\catcode`\^^M=5\Example@}{\catcode`\^^M=5\Example@@}} +% \def\Example@[#1]{\fvset{#1}\Example@@} +% \def\Example@@{\BeginExample} +% \def\endExample{% +% \end{VerbatimOut}% +% \BelowExample{\input{\jobname.tmp}}} +% +% \def\CenterExample{% +% \catcode`\^^M=\active +% \@ifnextchar[{\catcode`\^^M=5\CenterExample@} +% {\catcode`\^^M=5\CenterExample@@}} +% \def\CenterExample@[#1]{\fvset{#1}\CenterExample@@} +% \def\CenterExample@@{\BeginExample} +% \def\endCenterExample{% +% \end{VerbatimOut}% +% \center +% \BelowExample{\input{\jobname.tmp}} +% \endcenter} +% +% \def\SideBySideExample{% +% \catcode`\^^M=\active +% \@ifnextchar[{\catcode`\^^M=5\SideBySideExample@}% +% {\catcode`\^^M=5\SideBySideExample@@}} +% \def\SideBySideExample@[#1]{\fvset{#1}\SideBySideExample@@} +% \def\SideBySideExample@@{\BeginExample[4]} +% \def\endSideBySideExample{% +% \end{VerbatimOut}% +% \SideBySide@Example{\input{\jobname.tmp}}} +% \makeatother +% +% ^^A End of example macros from `fvrb-ex' +% +% \makeatletter +% \date{\the\year/\two@digits{\the\month}/\two@digits{\the\day}} +% \makeatother +% +% ^^A The beginning of the documentation itself. +% +% \title{The \textsf{\InTeX} Package\thanks{This document corresponds +% to \textsf{intex}, revision~\SVNRev, dated \today.}} +% \author{Martin Thorsen Ranang \\ \texttt{mtr@ranang.org}} +% +% \maketitle +% +% \section{Introduction} +% This package adds functionality to \LaTeX\ that eases typesetting +% and indexing of phrases, acronyms and names in a consistent manner. +% +% \DescribeMacro{intex} \DescribeMacro{\co} +% The really short usage description is that in order to use the +% package, insert |\usepackage{intex}| at the beginning of your +% \LaTeX\ source file. After that, you can wrap the macro +% |\co{|\meta{concept}|}| around any concept you want to typeset +% and/or typeset in some special way. +% +% \section{Background} +% I have been using \LaTeX\ since the spring of 1997. Since then I +% have written several technical documents. Like many others, I try +% to present my work in an accessible way to the reader, and I believe +% that \LaTeX\ can help with the technicalities of presenting +% technical writing in a clear and precise way. For example, I have +% always tried to explain every non-trivial acronym used in my +% documents; include a meaningful index; and to also leave some clues +% to the reader through the typesetting, so that it will be easier to +% find the key phrases in the document. +% +% Already, packages exist that provide functionality that eases the +% \DescribeMacro{acronym}acronym\footnote{The |acronym| package, +% written by Tobias Oetiker, available from +% \url{CTAN:/macros/latex/contrib/acronym}.} and +% \DescribeMacro{index}indexing\footnote{The |index| package, written +% by David M.\,Jones, available from +% \url{CTAN:/macros/latex/contrib/index}.} operations mentioned +% above. However, problems quickly arise when writing about an +% acronym in both singular and plural. For example, let's say you +% want to use the concept \emph{informed search} (abbreviated IS). +% Then, if you want to write about that concept in plural, the logical +% acronym would be ISes (informed searches). At the same time, you +% probably want those two occurences---perhaps typeset several +% chapters apart---to be indexed as being the same concept. +% +% The \InTeX\ package was written to reduce the work needed to handle +% such a task. This has been done by combining the functionality of +% the |acronym| and the |index| packages with an external +% \co{Python}\footnote{\co{Python} is available from +% \url{http://www.python.org/}.} script. +% +% \section{Usage} +% How you can use \InTeX\ should be clearer after examining some +% examples. The central idea in \InTeX\ is that a phrase or a word +% worth indexing constitutes some kind of a \co{concept}---in a broad +% sense of the word. A \co{concept} can be of several kinds. It can +% be either an \co{acronym} (or abbreviation), the name of an entity +% (a \co{person concept}, or an organization), or of the ``plain'' +% kind (simply a phrase). Hence, we will refer to the three kinds of +% \co{concepts} as \emph{\co{acronym concepts}}, \emph{\co{person +% concepts}}, and \emph{\co{plain concepts}}. +% +% In the above paragraph, the word ``concepts'' was defined as a +% \co{concept} of the \co{plain} kind, and it was defined to be +% indexed as the word ``concept''. Furthermore, the words +% ``acronym'', ``person'', and ``plain'' where also defined as +% \co{plain}. However, these concepts are defined as +% \co{sub-concepts} of ``concept'' and should be indexed accordingly. +% +% \subsection{Package Options} +% \begin{optlist} +% \item[noindex]: Whether \InTeX\ should generate an index or not. +% (\emph{Default: true}). +% \item[nowarnundef]: Whether \InTeX\ should generate in-document +% warnings where unknown/undeclared concepts are encountered. +% (\emph{Default: true}). +% \item[nomargin\meta{type}]: Tell \InTeX\ not to add margin notes +% whenever \emph{new} concepts of kind \meta{type} are typeset, where +% \meta{type} is one of \optname{plain}, \optname{acronym}, or +% \optname{person}. +% \end{optlist} +% +% \subsection{Examples} +% \begin{SideBySideExample}[xrightmargin=5cm] +% \makeatletter +% \@itx@margin@acronymfalse% +% \makeatother +% It is easy to refer to (and thus index) +% acronyms, like \co{H2O}. And +% sub-concepts, like \co{H2O reserve} +% \end{SideBySideExample} +% +% \begin{SideBySideExample}[xrightmargin=5cm] +% \makeatletter +% \@itx@margin@acronymfalse% +% \makeatother +% We could talk about multiple \co{IDs}, +% or a single \co{ID}. The following +% table shows explicitly defined +% formatting:\\ +% +% \begin{tabular}{@{}ll@{}} +% \toprule +% Format & Expansion \\ +% \midrule +% forced long & ``\coL{ID}''\\ +% short & ``\coS{ID}''\\ +% full & ``\coF{ID}'' \\ +% \bottomrule +% \end{tabular} +% \end{SideBySideExample} +% +% \begin{SideBySideExample}[xrightmargin=5cm] +% \makeatletter +% \@itx@margin@acronymfalse% +% \makeatother +% The \InTeX\ package also supports +% indexing sub-terms of acronyms, +% like the \co{Swedish SIMPLE}, which +% is part of the \co{SIMPLE} project. +% \end{SideBySideExample} +% +% The package supports typesetting words differently in the text and +% in the index. For example, take a look at the definition of the +% term ``\co{compound-word analyzer}'' in the \InTeX-file. Example +% that provokes hyphenation: a new, experimental \co{compound-word +% analyzer}, used for \co{Norwegian compound-word analysis} of +% \co{non-deverbal verb compounds}, perhaps found in +% \co{Bokmålsordboka}. Generally, analyzing \co{compounds}. +% +% \makeatletter +% \@itx@margin@plainfalse% +% \makeatother +% \begin{SideBySideExample}[xrightmargin=5cm] +% The word \co{carnivore} means +% \co{meat eater}. There are both +% \co{feline} and \co{canine} +% \co{meat eaters} in the animal +% kingdom. +% \end{SideBySideExample} +% \makeatletter +% \@itx@margin@plaintrue% +% \makeatother +% +% It is also possible to refer to acronyms from non-acronym entries, +% like \co{water}. +% +% It is also possible to refer to a concept using capitalized words, +% as in +% +% \makeatletter +% \@itx@margin@plainfalse% +% \makeatother +% \begin{SideBySideExample}[xrightmargin=5cm] +% \co{Carnivore} eat meat. +% \end{SideBySideExample} +% \makeatletter +% \@itx@margin@plaintrue% +% \makeatother +% +% The package also supports ``special'' typesetting of acronyms, like +% +% \makeatletter +% \@itx@margin@plainfalse% +% \makeatother +% \begin{SideBySideExample}[xrightmargin=5cm] +% \verb|mkintex| automatically inflects +% words following common patterns. For +% example, \co{index} and \co{indices} +% both refer to the same concept, even +% though only \verb|index| is entered +% in the \InTeX-file. The same goes for +% \co{vertex} and \co{vertices}, and +% \co{dog} and \co{dogs}. +% \end{SideBySideExample} +% \makeatletter +% \@itx@margin@plaintrue% +% \makeatother +% +% The \InTeX\ package handles the notion of multiple names for the +% same concept too. For example, a lot of people believes that +% \co{EAPK} is referring to one person only, and that is the late +% \co{EAP}. +% +% \subsubsection{Index Definitions} +% The concept index definition file used for the above paragraph looks +% like: +% \VerbatimInput[showtabs=true,tabsize=4,numbers=left,fontsize=\small,lastline=1]{intex.itx} +% The file can be divided into different sections, according to the +% kind of concepts to be declared. To set the +% current section, use a single line that must contain exactly +% |"% *|\meta{type}|*"|, where \meta{type} is either |ACRONYMS|, +% |CONCEPTS|, or |PERSONS|. +% +% \VerbatimInput[showtabs=true,tabsize=4,numbers=left,fontsize=\small,firstline=2,lastline=10]{intex.itx} +% the above line should mean that |\co{synsets}| in the text should be +% indexed as if it read |\co{synset}|. However, if the plural of the +% concept occurs first (in the [part of] document), its full-form +% should be \emph{typeset} ``synonym set'' + ``s'' (indicated by the |#y|) in +% the index file. In other words, it only a short-hand notation. On the +% other hand, in the next definition, another short-hand notation |#y| +% is used that will transform ``y'' into ``ies'' as the end of the last +% word: +% +% \VerbatimInput[showtabs=true,tabsize=4,numbers=left,fontsize=\small,firstline=11]{intex.itx} +% +% \subsection{Compilation} +% \label{sec:compilation} +% \DescribeMacro{mkintex} As mentioned earlier, the package includes +% an external program named |mkintex|. The typical usage of +% |mkintex|, given that your document is named \meta{name}, would +% be \co{concept}: +% +% \begin{enumerate} +% \item |latex |\meta{name}|.tex| +% \item |mkintex |\meta{name} \meta{name}|.itx -o |\meta{name}|.rix [-a acronyms.tex -p persons.tex]| +% \item |makeindex |\meta{name} +% \item |makeindex -o |\meta{name}|.rid |\meta{name}|.rix| +% \item |latex |\meta{name}|.tex| +% \end{enumerate} +% +% \section{Macros} +% +% \DescribeMacro{\InTeX} +% This is simply a macro for typesetting the \co{InTeX logo}. +% +% \StopEventually{} +% +% \section{Implementation} +% +% After the customary identification, +% \begin{macrocode} +\def\filename{intex}% +\ProvidesPackage{intex}[2008/10/13 v1.1 +Support for concept, acronym, and proper-name typesetting and indexing]% +% \end{macrocode} +% we continue by defining the package options. +% +% \subsection{Package Options} +% +% \begin{macro}{noindex} +% \begin{macro}{\if@itx@index} +% Let the conditional |\if@itx@index| control whether +% \InTeX\ should generate an index or not. The default is to perform +% indexing. The option |noindex| turns this feature off. +% \begin{macrocode} +\newif\if@itx@index% +\@itx@indextrue% +\DeclareOption{noindex}{\@itx@indexfalse}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% \begin{macro}{nowarnundef} +% \begin{macro}{\if@itx@nowarnundef} +% The conditional |\if@itx@nowarnundef| controls whether +% \InTeX\ should include in-document warnings about undefined concepts +% or not. The default is to warn about undefined concepts inside the +% document. The |nowarnundef| option turns this feature off. +% \begin{macrocode} +\newif\if@itx@warn@undef% +\@itx@warn@undeftrue% +\DeclareOption{nowarnundef}{\@itx@warn@undeffalse}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% \begin{macro}{nomarginplain} +% \begin{macro}{nomarginacronym} +% \begin{macro}{nomarginperson} +% \begin{macro}{\if@itx@margin@plain} +% \begin{macro}{\if@itx@margin@acronym} +% \begin{macro}{\if@itx@margin@person} +% +% The conditionals |\if@itx@margin@|\meta{kind}---where \meta{kind} is +% one of |plain|, |acronym|, and |person|---control whether the short +% version of each first-occurrence of a concept (of kind \meta{kind}, +% per significant document part) should also be typeset as a +% margin-label. +% +% \begin{macrocode} +\newif\if@itx@margin@plain% +\newif\if@itx@margin@acronym% +\newif\if@itx@margin@person% +\@itx@margin@plaintrue% +\@itx@margin@acronymtrue% +\@itx@margin@persontrue% +\DeclareOption{nomarginplain}{\@itx@margin@plainfalse}% +\DeclareOption{nomarginacronym}{\@itx@margin@acronymfalse}% +\DeclareOption{nomarginperson}{\@itx@margin@personfalse}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% Next, process the options. +% \begin{macrocode} +\ProcessOptions% +% \end{macrocode} +% +% \subsection{External Packages} +% +% \begin{macro}{index} +% Now, if |\if@itx@index| is \emph{true}, then require the package +% |index| to be loaded. If not, we define a handy macro usually +% defined in that package. +% \begin{macrocode} +\if@itx@index% + \RequirePackage{index}% + \makeindex% + \newindex{raw}{rix}{rid}{Index}% +\else% + \def\@nearverbatim{\expandafter\strip@prefix\meaning}% +\fi% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{marginnote} +% Only require the marginnote package if it is really required. +% This is done in an attempt to avoid wasting counters. +% \begin{macrocode} +\if@itx@margin@plain% + \RequirePackage{marginnote}[2006/10/26]% +\fi% +\if@itx@margin@acronym% + \RequirePackage{marginnote}[2006/10/26]% +\fi% +\if@itx@margin@person% + \RequirePackage{marginnote}[2006/10/26]% +\fi% +% \end{macrocode} +% Please note that the |marginnote| package will only be loaded once, +% even if it gets required multiple times. +% \end{macro} +% +% \begin{macro}{acronym} +% \begin{macro}{ifthen} +% Anyhow, require the |acronym| and the |ifthen| packages to be +% loaded. +% \begin{macrocode} +\RequirePackage{acronym}[2008/05/28]% +\RequirePackage{ifthen}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% +% \subsection{The \InTeX\ Logo} +% \begin{macro}{\InTeX} +% Define a \TeX-ish logo for this package. +% \begin{macrocode} +\newcommand*{\InTeX}{\textsl{In}\kern-.07em\TeX}% +% \end{macrocode} +% \end{macro} +% +% \subsection{Font Definitions} +% +% The following commands define the font-selection commands used to +% typeset the different kinds of concepts in different situations. +% +% \begin{macro}{\itxplaindeffont} +% \begin{macro}{\itxplainfollowfont} +% \begin{macro}{\itxplainmarginfont} +% These commands are used to typeset plain concepts. +% \begin{macrocode} +\newcommand\itxplaindeffont[1]{\emph{#1}}% +\newcommand\itxplainfollowfont[1]{#1}% +\newcounter{itxpl}% +\newcommand\@itxbasemarginfont[1]{% + \stepcounter{itxpl}% + \ifthenelse{\isodd{\pageref{itxpl-\theitxpl}}}{% + \raggedright\hspace{0pt}\footnotesize\textsf{#1}% odd + }{% + \raggedleft\hspace{0pt}\footnotesize\textsf{#1}% even + }% + \label{itxpl-\theitxpl}% +}% +\newcommand\itxplainmarginfont[1]{% + \@itxbasemarginfont{#1}% +}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \begin{macro}{\itxacronymdeffont} +% \begin{macro}{\itxacronymdefshortfont} +% \begin{macro}{\itxacronymshortfont} +% \begin{macro}{\itxacronymmarginfont} +% +% For acronyms: +% \begin{macrocode} +\newcommand{\itxacronymdeffont}[1]{#1}% +\newcommand{\itxacronymdefshortfont}[1]{\emph{#1}}% +\newcommand{\itxacronymshortfont}[1]{#1}% +\newcommand{\itxacronymmarginfont}[1]{% + \@itxbasemarginfont{#1}% + %\raggedleft\hspace{0pt}\footnotesize\textsf{#1}% +}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \begin{macro}{\itxpersondeffont} +% \begin{macro}{\itxpersonfirstfont} +% \begin{macro}{\itxpersonlastfont} +% \begin{macro}{\itxpersonmarginfont} +% +% For persons: +% \begin{macrocode} +\newcommand{\itxpersondeffont}[1]{\emph{#1}}% +\newcommand{\itxpersonfirstfont}[1]{#1}% +\newcommand{\itxpersonlastfont}[1]{#1}% +\newcommand{\itxpersonmarginfont}[1]{% + \@itxbasemarginfont{#1}% + %\raggedleft\hspace{0pt}\footnotesize\textsf{#1}% +}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \subsection{The (Low-Level) Clockwork of the Package} +% +% \begin{macro}{co@serial} +% First, define a counter that is used to enumerate new concept +% definitions. +% \begin{macrocode} +\newcounter{co@serial}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{co@equiv@serial} +% First, define a counter that is used to enumerate new concept +% definitions. +% \begin{macrocode} +%\newcounter{co@equiv@serial}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{co@type} +% First, define a counter that is used to enumerate new concept +% definitions. +% \begin{macrocode} +\newcounter{co@type}% +% \end{macrocode} +% The |co@type| counter is used only inside the |\@itx| command. +% \end{macro} +% +% \begin{macro}{\itxundefcomment} +% Then, define the comment to display where use of undefined concepts +% are detected. +% \begin{macrocode} +\newcommand*\itxundefcomment[1]{\emph{(undefined concept ``#1'')}}% +% \end{macrocode} +% \end{macro} +% +% Define a couple of convenience macros. +% \begin{macrocode} +\long\def\@firstofthree#1#2#3{#1}% +\long\def\@secondofthree#1#2#3{#2}% +%\newcommand*\@secondofthree[3]{#2}% +% \end{macrocode} +% +% Make it possible to reset the ``defined'' flag for each concept. +% After a reset, the next time that concept occurs, it is typeset as +% if it's the first occurrence of that concept. +% \begin{macrocode} +\def\ITX@reset#1{% + \global\expandafter\let\csname itx@#1\endcsname\relax}% +% \end{macrocode} +% +% \subsubsection{Typesetting of Margin Labels} +% \begin{macro}{\@itxmarginlabel} +% +% Define a macro to typeset the concepts at first-occurrence points in +% the margin. +% +% \begin{macrocode} +\newcommand*\@itxmarginlabel[2]{% + \hspace{0pt}% +% \end{macrocode} +% +% The second argument is the \meta{identity} of the entity we're +% typesetting, while the first argument signals its \meta{type}; that +% is, whether we're typesetting a\ldots +% +% \begin{macrocode} + \ifcase#1% +% \end{macrocode} + % \ldots plain concept, \ldots +% \begin{macrocode} + \if@itx@margin@plain% + \marginpar{\itxplainmarginfont{\ITX@itxs{#1}{#2}}}% + %\marginnote{\itxplainmarginfont{\ITX@itxs{#1}{#2}}}% + \fi% + \or% +% \end{macrocode} + % \ldots an acronym, \ldots +% \begin{macrocode} + \if@itx@margin@acronym% + \marginpar{\itxacronymmarginfont{\ITX@itxs{#1}{#2}}}% + \fi% + \or% +% \end{macrocode} + % \ldots or a person's name. +% \begin{macrocode} + \if@itx@margin@person% + \marginpar{\itxpersonmarginfont{\ITX@itxl{#1}{#2}}}% + \fi% + \fi% +}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{\ITX@used} +% Value to flag a concept as used. +% \begin{macrocode} +\newcommand*\ITX@used{@<>@<>@}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\ITX@get} +% \begin{macrocode} +\newcommand*\ITX@get[2]{% + \ifx#1\relax% + \else% + \expandafter#2#1% + \fi% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\itxplainarea} +% \begin{macro}{\itxacronymarea} +% \begin{macro}{\itxpersonarea} +% \begin{macro}{\@itxarea} +% Significant-area definitions. When these counters change, the +% concepts concerned will be typeset as first occurrences. +% \begin{macrocode} +\newcommand*\itxplainarea{\thesubparagraph:\thepage}% +\newcommand*\itxacronymarea{\thechapter}% +\newcommand*\itxpersonarea{\thesubsubsection}% +\newcommand*\@itxarea[1]{% + \ifcase#1% + {\itxplainarea}% + \or% + {\itxacronymarea}% + \or% + {\itxpersonarea}% + \fi% +}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \begin{macro}{\itx@last@pos0} +% \begin{macro}{\itx@last@pos1} +% \begin{macro}{\itx@last@pos2} +% The default (empty) area definitions. +% \begin{macrocode} +\def\itx@last@pos0{}% +\def\itx@last@pos1{}% +\def\itx@last@pos2{}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \begin{macro}{\ITX@itxs} +% \begin{macrocode} +\newcommand*\ITX@itxs[2]{% + \csname fnss@\number#2\endcsname% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\ITX@itxl} +% \begin{macrocode} +\newcommand*\ITX@itxl[2]{% + \csname fnsl@\number#2\endcsname% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\itxs} +% The syntax is |\itxs{|\meta{type}|}{|\meta{identity}|}|. A +% wrapper for |\@itxs|. +% \begin{macrocode} +\newcommand*{\itxs}[2]{% + \texorpdfstring{\protect\@itxs{#1}{#2}}{#1}}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itxs} +% The syntax is |\@itxs{|\meta{type}|}{|\meta{identity}|}|. +% Typesets the concept referred to by \meta{identity} in its +% \emph{short form} according to its \meta{type}. +% \begin{macrocode} +\newcommand*{\@itxs}[2]{% + \ifcase\number#1% +% \end{macrocode} +% \begin{description} +% \item[Plain Concept] +% \begin{macrocode} + \itxplainfollowfont{\ITX@itxs{#1}{#2}}% + \or% +% \end{macrocode} +% \item[Acronym] +% \begin{macrocode} + \itxacronymshortfont{\ITX@itxs{#1}{#2}}% + \or% +% \end{macrocode} +% \item[Person] +% \begin{macrocode} + \itxpersonlastfont{\ITX@itxl{#1}{#2}}% + \fi% +}% +% \end{macrocode} +% \end{description} +% \end{macro} +% +% \begin{macro}{\itxl} +% The syntax is |\itxl{|\meta{type}|}{|\meta{identity}|}|. A +% wrapper for |\@itxl|. +% \begin{macrocode} +\newcommand*{\itxl}{\protect\@itxl}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itxl} +% The syntax is |\@itxl{|\meta{type}|}{|\meta{identity}|}|. +% Typesets the concept referred to by \meta{identity} in its +% \emph{long form} according to its \meta{type}. +% \begin{macrocode} +\newcommand*{\@itxl}[2]{% + %\ITX@itxl{#1}{#2}% + \ifcase\number#1% +% \end{macrocode} +% \begin{description} +% \item[Plain Concept] Typeset the concept, \ldots +% \begin{macrocode} + \itxplainfollowfont{\ITX@itxs{#1}{#2}}\nolinebreak % + \or% +% \end{macrocode} +% \item[Acronym] Typeset the concept (note in-between margin +% label), \ldots +% \begin{macrocode} + \itxacronymdeffont{\ITX@itxl{#1}{#2}}% + \or% +% \end{macrocode} +% \item[Person] Typeset the concept (note the in-between margin +% label), \ldots +% \begin{macrocode} + \itxpersondeffont{% + \itxpersonfirstfont{\ITX@itxs{#1}{#2}} % + %\nolinebreak[3] % + \itxpersonlastfont{\ITX@itxl{#1}{#2}}% + }% + \fi% +}% +% \end{macrocode} +% \end{description} +% \end{macro} +% +% \begin{macro}{\itxf} +% The syntax is |\itxf{|\meta{type}|}{|\meta{identity}|}|. A wrapper +% for |\@itxf|. +% \begin{macrocode} +\newcommand*{\itxf}[2]{% + \texorpdfstring{\protect\@itxf{#1}{#2}}{\ITX@itxl{#1}{#2} (#1)}% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itxf} +% The syntax is |\@itxf{|\meta{type}|}{|\meta{identity}|}|. +% Typesets the concept referred to by \meta{identity} in its +% \emph{full form} according to its \meta{type}. +% \begin{macrocode} +\newcommand*{\@itxf}[2]{% + \ifcase\number#1% +% \end{macrocode} +% \begin{description} +% \item[Plain Concept] Typeset margin-notes if applicable, \ldots +% \begin{macrocode} + \@itxmarginlabel{#1}{#2}% +% \end{macrocode} +% \ldots typeset the concept, \ldots +% \begin{macrocode} + \itxplaindeffont{\ITX@itxs{#1}{#2}}\nolinebreak % + \or% +% \end{macrocode} +% \item[Acronym] Typeset the concept (note in-between margin +% label), \ldots +% \begin{macrocode} + \itxacronymdeffont{% + \ITX@itxl{#1}{#2} % + %\nolinebreak[3] % +% \end{macrocode} +% \ldots typeset margin-notes if applicable, \ldots +% \begin{macrocode} + \@itxmarginlabel{#1}{#2}% +% \end{macrocode} +% \ldots continue typesetting the concept. +% \begin{macrocode} + \itxacronymdefshortfont{% + \itxacronymshortfont{(\ITX@itxs{#1}{#2})}}% + }% + \or% +% \end{macrocode} +% \item[Person] Typeset the concept (note the in-between margin +% label), \ldots +% \begin{macrocode} + \itxpersondeffont{% + \itxpersonfirstfont{% + \ITX@itxs{#1}{#2}} % + %\nolinebreak[3] % +% \end{macrocode} +% \ldots typeset margin-notes if applicable, \ldots +% \begin{macrocode} + \@itxmarginlabel{#1}{#2}% +% \end{macrocode} +% \ldots continue typesetting the concept. +% \begin{macrocode} + \itxpersonlastfont{% + \ITX@itxl{#1}{#2}% + }% + }% + \fi% +% \end{macrocode} +% \end{description} +% Now, do the used/unused accounting. +% \begin{macrocode} + \expandafter\ifx\csname itx@#2\endcsname\ITX@used% + %\relax% + \else% + \global\expandafter\let\csname itx@#2\endcsname\ITX@used% + %\ITX@addtoclearlist{#2}% MTR + \fi% + %\ITX@logged{#2} MTR +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itxrecordarea} +% The syntax is |\@itxrecordarea{|\meta{type}|}{|\meta{identity}|}|. +% A macro used to update the current used/non-used status of each +% concept. This macro only use the \emph{type} and \emph{numeric +% id} of the concept. +% \begin{macrocode} +\newcommand*{\@itxrecordarea}[2]{% +% \end{macrocode} + % Record this area: +% \begin{macrocode} + \edef\curr@pos{\@itxarea{#1}}% + %\PackageWarning{InTeX}{Current position for type "#1" is "\curr@pos"}% +% \end{macrocode} + % Remember the last area where this concept (second argument) was used. +% \begin{macrocode} + \edef\last@pos{\csname itx@last@pos#1@#2\endcsname}% + \ifx\curr@pos\last@pos% +% \end{macrocode} + % We're still in the same area. Hence, we do nothing. +% \begin{macrocode} + \else% +% \end{macrocode} + % The area has changed. +% \begin{macrocode} + \ITX@reset{#2}% + \fi% + \expandafter\xdef\csname itx@last@pos#1@#2\endcsname{\curr@pos}% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itx@init@nonbookmode} +% The syntax is |\@itx@init@nonbookmode|. This command is responsible +% for setting up miscellaneous aspects of the package when used in +% nonbook environments. +% \begin{macrocode} +\newcommand\@itx@init@nonbookmode{% + \newcommand*{\@itxtypeset}[3]{% Article-mode. + \ifx##3A% + %\PackageWarning{InTeX}{Typesetting format is automatic}% + \expandafter\ifx\csname itx@##2\endcsname\ITX@used% +% \end{macrocode} +% The concept was last used in this area. Hence, it is typeset in its +% short form. +% \begin{macrocode} + \itxs{##1}{##2}% + \else% +% \end{macrocode} +% The concept has not yet been used, or it was last used in another +% area. Hence, it is typeset in its full form. +% \begin{macrocode} + \itxf{##1}{##2}% + \fi% + \else% +% \end{macrocode} +% Explicit selected typesetting format. +% \begin{macrocode} + %\PackageWarning{InTeX}{Typesetting format = "##3"}% + \ifx##3S\itxs{##1}{##2}\fi% + \ifx##3L\itxl{##1}{##2}\fi% + \ifx##3F\itxf{##1}{##2}\fi% + \fi% + }% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itx@init@bookmode} +% The syntax is |\@itx@init@bookmode|. This command is responsible +% for setting up miscellaneous aspects of the package when used in +% book environments. +% \begin{macrocode} +\newcommand\@itx@init@bookmode{% + \PackageInfo{InTeX}{Adjusting behavior to suite book/report document + classes\@gobble}% + \newcommand*{\@itxtypeset}[3]{% Book/report-mode. + \ifx##3A% + %\PackageWarning{InTeX}{Typesetting format is automatic}% +% \end{macrocode} +% \emph{Automatic} typesetting. +% \begin{macrocode} + \if@mainmatter% + \expandafter\ifx\csname itx@##2\endcsname\ITX@used% +% \end{macrocode} +% The concept was last used in this area. Hence, it is typeset in its +% short form. +% \begin{macrocode} + \itxs{##1}{##2}% + \else% +% \end{macrocode} +% The concept has not yet been used, or it was last used in another +% area. Hence, it is typeset in its full form. +% \begin{macrocode} + \itxf{##1}{##2}% + \fi% + \else% +% \end{macrocode} +% Either in frontmatter or in backmatter. +% \begin{macrocode} + \itxl{##1}{##2}% + \fi% + \else% +% \end{macrocode} +% Explicit selected typesetting format. +% \begin{macrocode} + %\PackageWarning{InTeX}{Typesetting format = "##3"}% + \ifx##3S\itxs{##1}{##2}\fi% + \ifx##3L\itxl{##1}{##2}\fi% + \ifx##3F\itxf{##1}{##2}\fi% + \fi% + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itxtypeset} +% The syntax is +% |\@itxtypeset{|\meta{type}|}{|\meta{identity}|}{|\meta{format +% code}|}|. This command is responsible for typesetting the +% $\left(\meta{type}, \meta{identity}\right)$ tuple. +% +% If the \meta{identity} was referred to in the frontmatter (part of +% books and reports), then a different set of rules should dictate +% the typesetting of the according concept. Therefore, first find +% out if the package is used in an article, which does not have any +% |\if@mainmatter| macro. +% \begin{macrocode} +\newif\if@itx@bookmode% +\@itx@bookmodetrue% +% \end{macrocode} +% Adjust the defaults so they make sense when used with the article +% document class. +% \begin{macrocode} +\@ifclassloaded{article}{% + \PackageInfo{InTeX}{Adjusting behavior to suite the article document + class\@gobble}% + \@itx@init@nonbookmode% + \@itx@bookmodefalse% +}{}% +% \end{macrocode} +% Adjust the defaults so they make sense when used with the beamer +% document class. +% \begin{macrocode} +\@ifclassloaded{beamer}{% + \PackageInfo{InTeX}{Adjusting behavior to suite the beamer document + class\@gobble}% + \@itx@init@nonbookmode% + \@itx@bookmodefalse% + \renewcommand*\itxacronymarea{0}% + \@itx@margin@plainfalse% + \@itx@margin@acronymfalse% + \@itx@margin@personfalse% +}{}% +% \end{macrocode} +% Assume that the current document class is one of the book or report +% classes, or another class with a definition of |\thechapter|. +% \begin{macrocode} +\if@itx@bookmode% + \@itx@init@bookmode% +\fi% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itxplain} +% The syntax is +% |\@itxplain{|\meta{type}|}{|\meta{identity}|}{|\meta{format +% code}|}|. This command is responsible for keeping track of +% where the $\left(\meta{type}, \meta{identity}\right)$ tuple was +% last used and for typesetting it accordingly. +% +% The \meta{format code} can be one of +% \begin{description} +% \item[|A|] for \emph{automatic} selection of any of the following, +% explicit, format codes. +% \item[|S|] for typesetting the entry in its \emph{short} form. +% \item[|L|] for typesetting the entry in its \emph{long} form. +% \item[|F|] for \emph{full-form} typesetting. +% \end{description} +% \begin{macrocode} +\newcommand*{\@itxplain}[3]{% +% \end{macrocode} +% +% First, update the ``last used'' status of the current concept so +% that it refers to the current area. +% \begin{macrocode} + \@itxrecordarea{#1}{#2}% +% \end{macrocode} +% Then, typeset the concept. +% \begin{macrocode} + \@itxtypeset{#1}{#2}{#3}% +}% +% \end{macro} +% +% \begin{macro}{\@itxalias} +% Define the identity of the equivalent entry. Get the identity of the main +% index entry for which this is an alias. Keep the original +% definition as |\@orig|. Redefine the main entry (as in +% |\expandafter\gdef\csname fn@#1\endcsname{{#2}{#2}}|.) Now, +% typeset the alias by using the main index entry identity. Finally, +% reset the definition of the main entry. \textbf{|FIXME:|} This +% command is (probably) not used at the moment (2007-07-14) and is +% not doing what this paragraph states. +% \begin{macrocode} +\newcommand*{\@itxalias}[2]{% + \edef\@mainserial{\expandafter\@firstoftwo#2}% + \edef\@equivserial{\expandafter\@secondoftwo#2}% +% \end{macrocode} +% Record usage of the main concept entry. +% \begin{macrocode} + %\@itxrecordarea{#1}{\@mainserial}% + \@itxplain{#1}{\@equivserial}% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itx@fakeindex} +% If no index is to be generated, we still need some output for +% |mkintex| to work with. Hence, this command substitutes the +% |\index| command in the |index| package, and makes sure that an +% index entry with \emph{page} equal to |\thepage| is written to the +% auxiliary file instead. However, the \emph{page} value will then +% be used only for providing more detailed warnings about references +% to undefined concepts. +% \begin{macrocode} +\newcommand{\@itx@fakeindex}[1]{% + \begingroup% + \edef\@tempa{% + \write\@auxout{% + \string\@writefile{raw}{% + \string\indexentry{#1}{\thepage}% + }% + }% + }% + \expandafter\endgroup\@tempa% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\co} +% +% The |\co| command is the only command the user should \emph{need} +% to use. The syntax is |\co{|\meta{identity}|}[|\meta{format +% code}|]|, where \meta{identity} refers to a concept and +% \meta{format code} is an optional argument that can be used to +% force a particular kind of typesetting. The idea is that the +% |\co{}| command should be wrapped around every concept the user +% want to either typeset or index in a special and consistent way +% (or both). Note that |\co| is a wrapper for the |\@itx| command. +% Please see the definition of |\@itxplain| for a description of the +% available format codes. The default \meta{format code} is |A|. +% \begin{macrocode} +%\newcommand*{\co}{\protect\@itx}% +\newcommand{\co}{\@itx}% +\newcommand{\coS}[1]{\@itx[S]{#1}}% +\newcommand{\coL}[1]{\@itx[L]{#1}}% +\newcommand{\coF}[1]{\@itx[F]{#1}}% +%\DeclareRobustCommand*{\co}{\protect\@itx}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{\@itx} +% The |\@itx| command works just as described for |\co| above. +% Hence, |#1| is the \meta{format code}, and |#2| is the +% \meta{identity}. +% \begin{macrocode} +%\newcommand*{\@itx}[2][A]{% +\DeclareRobustCommand*{\@itx}[2][A]{% + \def\@tempa{#2}% +% \end{macrocode} +% Handle, e.g., backslashes. +% \begin{macrocode} + \edef\@tempb{\@nearverbatim\@tempa}% +% \end{macrocode} +% +% If \InTeX\ should generate an index, simply use the |index| package +% to write the identifying index entry. The intricacies of how this +% concept should be indexed is handled externally by the |mkintex| +% program that is part of the \InTeX\ package. +% +% \begin{macrocode} + \if@itx@index% + \index[raw]{#2}% + \else% + \@itx@fakeindex{\@tempb}% + \fi% +% \end{macrocode} +% +% Define a new conditional, |found|, to signal whether the +% \meta{identity} is found. +% \begin{macrocode} + \newif\iffound% +% \end{macrocode} +% +% Now, let the |co@type| counter loop through the values $\left[0, 1, +% 2\right]$. +% \begin{macrocode} + \setcounter{co@type}{0}% + \loop\ifnum\theco@type<3% +% \end{macrocode} +% Check to see if the \meta{identity} is an (acronym or person) +% \emph{alias} or a \emph{main} entry. If it is an \emph{alias}, +% there exists a variable named |fn|$n$|e@|\meta{identity} (note the +% extra `|e|'). However, if \meta{identity} refers to a \emph{main} +% entry, a variable named |fn|$n$|@|\meta{identity} exists; that is, +% without the `|e|' before the `|@|'. Also, it should be noted that +% \emph{no alias can exists without a main entry with the same +% \meta{identity}}. +% +% If an expansion of \meta{identity} is found, typeset it accordingly +% and flag the finding by setting |\iffound|. +% \begin{macrocode} + \expandafter\ifx\csname fn\number\theco@type e@\@tempb\endcsname\relax% + \expandafter\ifx\csname fn\number\theco@type @\@tempb\endcsname\relax% +% \end{macrocode} +% The \meta{identity} may refer to both a main entry \emph{and} an +% alias entry (because of the requirement mentioned above). Do +% nothing. The reason the code is written in this way is to implement +% a preference to main entries over alias entries (see the order +% below). +% \begin{macrocode} + % \PackageWarning{InTeX}{Main AND alias reference `#2' occurred}% + % The reference refers to both main _and_ alias entries. Do + % nothing, this will be resolved through the |else|-cases + % immediately below. + \else% +% \end{macrocode} +% The \meta{identity} refers to a main-entry. +% \begin{macrocode} + %\PackageInfo{InTeX}{Main reference `#2' occurred}% + \edef\co@id{\csname fn\number\theco@type @\@tempb\endcsname}% + \@itxplain{\number\theco@type}{\co@id}{#1}% + \foundtrue% + \fi% +% \else% +% \end{macrocode} +% The \meta{identity} refers to an alias-entry. +% \begin{macrocode} +% \PackageWarning{InTeX}{Alias reference `#2' occurred}% +% % XXX: It seems that this case never occurrs. +% \edef\co@id{\csname fn\number\theco@type e@\@tempb\endcsname}% +% \@itxalias{\number\theco@type}{\co@id}% +% \foundtrue% + \fi% +% \end{macrocode} +% Increase |co@type| by $1$ and perform a new iteration of the loop. +% In other words, check if the reference (\meta{identity}) is referring to +% another kind of entry. +% \begin{macrocode} + \stepcounter{co@type}% + \repeat% +% \end{macrocode} +% If no expansion of \meta{identity} could be found, warn the user. +% Furthermore, an in-document warning will be typeset if +% |@itx@warn@undef| is \emph{true}. +% \begin{macrocode} + \iffound% +% Do nothing. + \else% + \PackageWarning{InTeX}{Reference `#2' to undefined concept}% + \if@itx@warn@undef% + \textbf{\itxundefcomment{#2}}% + \else% + #2% + \fi% + \fi% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\personused} +% \begin{macrocode} +\newcommand*{\personused}[1]{% + \expandafter\ifx\csname pnused@#1\endcsname\PN@used% + \relax% + \else% + \global\expandafter\let\csname pnused@#1\endcsname\PN@used% + \global\let\PN@populated\PN@used% + \fi% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@itxdefineforms} +% \begin{macrocode} +\newcommand\@itxdefineforms[3]{% + \expandafter\gdef\csname fnss@\number#1\endcsname{#2}% + \expandafter\gdef\csname fnsl@\number#1\endcsname{#3}% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@newentry} +% The macros |\new|\meta{type}, where +% \meta{type} $\in \{|acronym|, |concept|, |person|\}$ (as described +% below), all call |\@newentry| with an additional first argument, +% namely the numeric \meta{type} identifier of the new entry. The +% syntax is +% \begin{displaymath} +% |\@newentry{|\meta{type}|}{|\meta{reference}|}{|\meta{typeset 1}|}{|\meta{typeset 2}|}|, +% \end{displaymath} +% where \meta{reference} is the string later refered to as +% |\co{|\meta{string}|}|, and \meta{typeset 1} and \meta{typeset 2} +% define how the concept will be typeset where it was refered to in +% the text. The exact meaning of \meta{typeset 1} and \meta{typeset +% 2} depends on what \meta{type} this entry has. +% \begin{macrocode} +\newcommand\@newentry[4]{% + \def\@tempa{#2}% + \edef\@tempb{\@nearverbatim\@tempa}% + % + \stepcounter{co@serial}% + %\PackageWarning{init}{serial counter = \expandafter\theco@serial}% + \expandafter\xdef\csname fn\number#1@\@tempb\endcsname{% + \number\theco@serial}% + %\PackageWarning{init}{Def: \meaning\csname fn\number#1@\@tempb\endcsname}% + \@itxdefineforms{\theco@serial}{#3}{#4}% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\newconcept} +% \begin{macrocode} +\newcommand*\newconcept[3]{% + \@newentry{0}{#1}{#2}{#3}% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\newacronym} +% \begin{macrocode} +\newcommand*\newacronym[3]{% + \@newentry{1}{#1}{#2}{#3}% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\newperson} +% The syntax is +% \begin{displaymath} +% |\newperson{|\meta{reference}|}{|\meta{short-form typeset}|}{|\meta{full-form typeset}|}|. +% \end{displaymath} +% \begin{macrocode} +\newcommand*\newperson[3]{% + \@newentry{2}{#1}{#2}{#3}% +}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\@newentryequiv} +% The syntax for this command is +% \begin{displaymath} +% |\@newentryequiv{|\meta{type}|}{|\meta{parent}|}{|\meta{typeset}|}{|\meta{reference}|}{|\meta{full-form typeset}|}|, +% \end{displaymath} +% where \meta{type} $\in \{|acronym|, |concept|, |person|\}$, +% \meta{parent} is the (reference) identity of the concept for which +% this is an equivalent, \meta{typeset} defines how this equivalent +% should be typeset in text (short-form if it is an acronym), +% \meta{reference} is the identity of this entry (referred to as +% |\co{|\meta{reference}|}|), and \meta{full-form typeset} defines +% how this concept should be typeset in the text in its full-form. +% +% Note that the macros |\new|\meta{type}|equiv|, where \meta{type} +% $\in \{|acronym|, |concept|, |person|\}$, all are wrappers for +% this command. +% \begin{macrocode} +\newcommand*\@newentryequiv[5]{% + \newif\iffound% + \def\@tempa{#2}% + \edef\@tempb{\@nearverbatim\@tempa}% + \expandafter\ifx\csname fn\number#1 @\@tempb\endcsname\relax% +% \end{macrocode} +% Nothing is done if |\csname fn\number#1 @\@tempb\endcsname| is not +% defined here, but notice that the default value of |found| is +% \emph{false}. +% \begin{macrocode} + \else% + \foundtrue% + \edef\co@id{\csname fn\number#1@\@tempb\endcsname}% + %\PackageWarning{init}{Found `\@tempb' (type=\number#1, serial=\co@id)}% +% \end{macrocode} +% Store the \emph{short} and the \emph{long} +% versions of the alias, in that order. +% \begin{macrocode} + \stepcounter{co@serial}% + \@itxdefineforms{\theco@serial}{#3}{#5}% +% \end{macrocode} +% Store the numeric identity of the concept alias. +% \begin{macrocode} + \def\@tempa{#4}% + \edef\@tempb{\@nearverbatim\@tempa}% + \expandafter\xdef\csname fn\number#1 e@\@tempb\endcsname{% + {\co@id}{\theco@serial}}% + \fi% + \iffound% + \else% + %\PackageWarning{InTeX}{Can't find `#2' for sub-concept `#3'}% + \fi% +}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{\newconceptequiv} +% \begin{macro}{\newacronymequiv} +% \begin{macro}{\newpersonequiv} +% Wrappers for the |\@newentryequiv| command, where each wrapper +% specifies the entry's \meta{type} through the first argument to +% |\@newentryequiv|. +% \begin{macrocode} +\newcommand*\newconceptequiv[4]{% + \@newentryequiv{0}{#1}{#2}{#3}{#4}% +}% +\newcommand*\newacronymequiv[4]{% + \@newentryequiv{1}{#1}{#2}{#3}{#4}% +}% +\newcommand*\newpersonequiv[4]{% + \@newentryequiv{2}{#1}{#2}{#3}{#4}% +}% +% \end{macrocode} +% \end{macro} +% \end{macro} +% \end{macro} +% +% \subsection{The Internal \InTeX\ File} +% \begin{macro}{\InTeX} +% After the first run of {Make\InTeX}, the file |\jobname.ito| will +% contain the different concept definitions. The |.ito| file is +% loaded at the beginning of the document. +% \begin{macrocode} +\AtBeginDocument{\@input{\jobname.ito}}% +% \end{macrocode} +% \end{macro} +% +% \printindex[raw] +% \Finale +\endinput% diff --git a/support/intex/latex/intex.glo b/support/intex/latex/intex.glo new file mode 100644 index 0000000000..8ca6fcebe8 --- /dev/null +++ b/support/intex/latex/intex.glo @@ -0,0 +1 @@ +\glossaryentry{v1.0> =General:>Initial version}{1} diff --git a/support/intex/latex/intex.idx b/support/intex/latex/intex.idx new file mode 100644 index 0000000000..f5cc32d0ae --- /dev/null +++ b/support/intex/latex/intex.idx @@ -0,0 +1,6 @@ +\indexentry {intex\actualchar \string \verb \quotechar *\verbatimchar \bslash intex\verbatimchar \encapchar usage|hyperpage}{1} +\indexentry {co\actualchar \string \verb \quotechar *\verbatimchar \bslash co\verbatimchar \encapchar usage|hyperpage}{1} +\indexentry {acronym\actualchar \string \verb \quotechar *\verbatimchar \bslash acronym\verbatimchar \encapchar usage|hyperpage}{1} +\indexentry {index\actualchar \string \verb \quotechar *\verbatimchar \bslash index\verbatimchar \encapchar usage|hyperpage}{1} +\indexentry {mkintex\actualchar \string \verb \quotechar *\verbatimchar \bslash mkintex\verbatimchar \encapchar usage|hyperpage}{6} +\indexentry {InTeX\actualchar \string \verb \quotechar *\verbatimchar \bslash InTeX\verbatimchar \encapchar usage|hyperpage}{6} diff --git a/support/intex/latex/intex.ilg b/support/intex/latex/intex.ilg new file mode 100644 index 0000000000..9fe6343295 --- /dev/null +++ b/support/intex/latex/intex.ilg @@ -0,0 +1,6 @@ +This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support). +Scanning input file intex.rix....done (33 entries accepted, 0 rejected). +Sorting entries....done (176 comparisons). +Generating output file intex.rid....done (64 lines written, 0 warnings). +Output written in intex.rid. +Transcript written in intex.ilg. diff --git a/support/intex/latex/intex.ind b/support/intex/latex/intex.ind new file mode 100644 index 0000000000..2dcce8733b --- /dev/null +++ b/support/intex/latex/intex.ind @@ -0,0 +1,25 @@ +\begin{theindex} + + \item acronym\actualchar \string \verb \quotechar *\verbatimchar \bslash acronym\verbatimchar \encapchar usage, + \hyperpage{1} + + \indexspace + + \item co\actualchar \string \verb \quotechar *\verbatimchar \bslash co\verbatimchar \encapchar usage, + \hyperpage{1} + + \indexspace + + \item index\actualchar \string \verb \quotechar *\verbatimchar \bslash index\verbatimchar \encapchar usage, + \hyperpage{1} + \item InTeX\actualchar \string \verb \quotechar *\verbatimchar \bslash InTeX\verbatimchar \encapchar usage, + \hyperpage{6} + \item intex\actualchar \string \verb \quotechar *\verbatimchar \bslash intex\verbatimchar \encapchar usage, + \hyperpage{1} + + \indexspace + + \item mkintex\actualchar \string \verb \quotechar *\verbatimchar \bslash mkintex\verbatimchar \encapchar usage, + \hyperpage{6} + +\end{theindex} diff --git a/support/intex/latex/intex.ito b/support/intex/latex/intex.ito new file mode 100644 index 0000000000..26b4d04ff1 --- /dev/null +++ b/support/intex/latex/intex.ito @@ -0,0 +1,63 @@ +\newconcept{Python}{Python}{XC.0} +\newconcept{Python}{Python}{XC.1} +\newconcept{concept}{concept}{XC.0} +\newconcept{concept}{concept}{XC.1} +\newconcept{acronym concept}{acronym}{XC.0} +\newconcept{acronym}{acronym}{XC.1} +\newconcept{person concept}{person}{XC.0} +\newconcept{person}{person}{XC.1} +\newconcept{concepts}{concepts}{XC.0} +\newconcept{concepts}{concepts}{XC.1} +\newconcept{acronym concepts}{acronym}{XC.0} +\newconcept{person concepts}{person}{XC.0} +\newconcept{plain concepts}{plain}{XC.0} +\newconcept{plain}{plain}{XC.1} +\newconcept{plain concept}{plain}{XC.0} +\newconcept{sub-concepts}{sub-concepts}{XC.0} +\newconcept{sub-concepts}{sub-concepts}{XC.1} +\newacronym{H2O}{H$_{2}$O}{dihydrogen monoxide} +\newacronym{H2O reserve}{H$_{2}$O reserve}{dihydrogen monoxide reserve} +\newacronym{IDs}{IDs}{identities} +\newacronym{ID}{ID}{identity} +\newacronym{Swedish SIMPLE}{Swedish SIMPLE}{\textit{Swedish \textit{Semantic Information for Multifunctional Plurilingual Lexica}}} +\newacronym{SIMPLE}{SIMPLE}{\textit{Semantic Information for Multifunctional Plurilingual Lexica}} +\newconcept{compound-word analyzer}{com\-pound-word analyzer}{XC.0} +\newconcept{compound-word analyzer}{com\-pound-word analyzer}{XC.1} +\newconcept{Norwegian compound-word analysis}{Norwegian com\-pound-word analysis}{XC.0} +\newconcept{Norwegian compound-word analysis}{Norwegian com\-pound-word analysis}{XC.1} +\newconcept{non-deverbal verb compounds}{non-deverbal verb com\-pounds}{XC.0} +\newconcept{non-deverbal verb compounds}{non-deverbal verb com\-pounds}{XC.1} +\newconcept{Bokmålsordboka}{\textit{Bokmålsordboka}}{XC.0} +\newconcept{Bokmålsordboka}{\textit{Bokmålsordboka}}{XC.1} +\newconcept{compounds}{com\-pounds}{XC.0} +\newconcept{compounds}{com\-pounds}{XC.1} +\newconcept{carnivore}{carnivore}{XC.0} +\newconcept{carnivore}{carnivore}{XC.1} +\newconcept{meat eater}{m$^{\textrm{e}}$a$_{\textrm{t}}$ eater}{XC.0} +\newconcept{meat eater}{m$^{\textrm{e}}$a$_{\textrm{t}}$ eater}{XC.1} +\newconcept{feline}{feline}{XC.0} +\newconcept{feline}{feline}{XC.1} +\newconcept{canine}{canine}{XC.0} +\newconcept{canine}{canine}{XC.1} +\newconcept{meat eaters}{m$^{\textrm{e}}$a$_{\textrm{t}}$ eaters}{XC.0} +\newconcept{meat eaters}{m$^{\textrm{e}}$a$_{\textrm{t}}$ eaters}{XC.1} +\newconcept{water}{water}{XC.0} +\newconcept{water}{water}{XC.1} +\newconcept{Carnivore}{Carnivore}{XC.0} +\newconcept{Carnivore}{Carnivore}{XC.1} +\newconcept{index}{index}{XC.0} +\newconcept{index}{index}{XC.1} +\newconcept{indices}{indices}{XC.0} +\newconcept{indices}{indices}{XC.1} +\newconcept{vertex}{vertex}{XC.0} +\newconcept{vertex}{vertex}{XC.1} +\newconcept{vertices}{vertices}{XC.0} +\newconcept{vertices}{vertices}{XC.1} +\newconcept{dog}{dog}{XC.0} +\newconcept{dog}{dog}{XC.1} +\newconcept{dogs}{dogs}{XC.0} +\newconcept{dogs}{dogs}{XC.1} +\newperson{EAPK}{}{the King} +\newperson{EAP}{Elvis Aaron}{Presley} +\newconcept{InTeX logo}{{\InTeX\ logo}}{XC.0} +\newconcept{InTeX logo}{{\InTeX\ logo}}{XC.1} diff --git a/support/intex/latex/intex.itx b/support/intex/latex/intex.itx new file mode 100644 index 0000000000..c9eadd07a8 --- /dev/null +++ b/support/intex/latex/intex.itx @@ -0,0 +1,84 @@ +% -*- latex -*- +% +% $Id$ +% +% name=main +% default_inflection=singular +% +% Copyright (C) 2005--2007 by Martin Thorsen Ranang +% + +% In general, to refer to the full-form of a concept, use the \cof +% macro. +% +% *ACRONYMS* +AI Artificial Intelligence + AIC - Complete + +H2O@H$_{2}$O dihydrogen monoxide + - reserve + +ID identity + +SIMPLE \textit{Semantic Information for Multifunctional Plurilingual Lexica} :sort_as=Semantic Information for Multifunctional Plurilingual Lexica + Swedish - \textit{Swedish -} + +synset synonym set + +% *PEOPLE* +EAP Presley, Elvis Aaron +EAPK King, the --> EAP +JFK Kennedy, John Fitzgerald +MLK King, Martin Luther +Madonna Madonna +VWvG van Gogh, Vincent Willem + +% *CONCEPTS* +Bokmålsordboka@\textit{Bokmålsordboka} :sort_as=Bokmålsordboka + +carnivore + feline + domestic cat + tiger + canine + Gray Wolf + domestic dog +compound@com\\\-pound + -\-word analyzer + non\-deverbal verb - + Norwegian -\-word analysis +concept + acronym (-) + person (-) + plain (-) + sub\-- + +dog :sort_as=sog me bold :comment=\textit{(explicitly sorted)} + +idea +index + +(meat eater)@{m$^{\textrm{e}}$a$_{\textrm{t}}$ eater} --> carnivore + +synonymy +synonym --> synonymy + direct - + indirect - + +(InTeX logo)@{{\InTeX\ logo}} + +Python + +TeXnician@{\TeX}nician + -'s tool + +vertex + +water --> H2O + +% Local Variables: +% mode: latex +% TeX-master: t +% ispell-local-dictionary: "american" +% mode: flyspell +% End: diff --git a/support/intex/latex/intex.log b/support/intex/latex/intex.log new file mode 100644 index 0000000000..202b0182fb --- /dev/null +++ b/support/intex/latex/intex.log @@ -0,0 +1,730 @@ +This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2012.5.3) 12 MAR 2013 12:00 +entering extended mode + %&-line parsing enabled. +**intex.dtx +(./intex.dtx +LaTeX2e <2009/09/24> +Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh +yphenation, bokmal, nynorsk, loaded. +File: intex.dtx 2008/10/13 v1.1 A concept indexing and typesetting package +(/usr/share/texmf-texlive/tex/latex/base/docstrip.tex +\blockLevel=\count79 +\emptyLines=\count80 +\processedLines=\count81 +\commentsRemoved=\count82 +\commentsPassed=\count83 +\codeLinesPassed=\count84 +\TotalprocessedLines=\count85 +\TotalcommentsRemoved=\count86 +\TotalcommentsPassed=\count87 +\TotalcodeLinesPassed=\count88 +\NumberOfFiles=\count89 +\inFile=\read1 +\inputcheck=\read2 +\off@0=\count90 +\off@1=\count91 +\off@2=\count92 +\off@3=\count93 +\off@4=\count94 +\off@5=\count95 +\off@6=\count96 +\off@7=\count97 +\off@8=\count98 +\off@9=\count99 +\off@10=\count100 +\off@11=\count101 +\off@12=\count102 +\off@13=\count103 +\off@14=\count104 +\off@15=\count105 +\@maxfiles=\count106 +\@maxoutfiles=\count107 + +Utility: `docstrip' 2.5d <2005/07/29> +English documentation <1999/03/31> + +********************************************************** +* This program converts documented macro-files into fast * +* loadable files by stripping off (nearly) all comments! * +********************************************************** + +******************************************************** +* No Configuration file found, using default settings. * +******************************************************** + +) + +Generating file(s) ./intex.sty +\openout0 = `./intex.sty'. + + +Processing file intex.dtx (intex) -> intex.sty +Lines processed: 1519 +Comments removed: 1050 +Comments passed: 13 +Codelines passed: 446 + +************************************************************* +* * +* To finish the installation you have to move the following * +* file into a directory searched by TeX: * +* * +* intex.sty * +* * +* To produce the documentation run the file intex.dtx * +* through LaTeX. * +* * +* Happy TeXing! * +* * +************************************************************* +(/usr/share/texmf-texlive/tex/latex/base/ltxdoc.cls +Document Class: ltxdoc 2007/11/11 v2.0u Standard LaTeX documentation class +(/usr/share/texmf-texlive/tex/latex/base/article.cls +Document Class: article 2007/10/19 v1.4h Standard LaTeX document class +(/usr/share/texmf-texlive/tex/latex/base/size10.clo +File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) +) +\c@part=\count108 +\c@section=\count109 +\c@subsection=\count110 +\c@subsubsection=\count111 +\c@paragraph=\count112 +\c@subparagraph=\count113 +\c@figure=\count114 +\c@table=\count115 +\abovecaptionskip=\skip41 +\belowcaptionskip=\skip42 +\bibindent=\dimen102 +) +(/usr/share/texmf-texlive/tex/latex/base/doc.sty +Package: doc 2006/02/02 v2.1d Standard LaTeX documentation package (FMi) +\c@StandardModuleDepth=\count116 +\guard@level=\count117 +\MacrocodeTopsep=\skip43 +\MacroIndent=\dimen103 +\macro@cnt=\count118 +\MacroTopsep=\skip44 +\index@excludelist=\toks14 + +(/usr/share/texmf-texlive/tex/latex/tools/multicol.sty +Package: multicol 2008/12/05 v1.6h multicolumn formatting (FMi) +\c@tracingmulticols=\count119 +\mult@box=\box26 +\multicol@leftmargin=\dimen104 +\c@unbalance=\count120 +\c@collectmore=\count121 +\doublecol@number=\count122 +\multicoltolerance=\count123 +\multicolpretolerance=\count124 +\full@width=\dimen105 +\page@free=\dimen106 +\premulticols=\dimen107 +\postmulticols=\dimen108 +\multicolsep=\skip45 +\multicolbaselineskip=\skip46 +\partial@page=\box27 +\last@line=\box28 +\mult@rightbox=\box29 +\mult@grightbox=\box30 +\mult@gfirstbox=\box31 +\mult@firstbox=\box32 +\@tempa=\box33 +\@tempa=\box34 +\@tempa=\box35 +\@tempa=\box36 +\@tempa=\box37 +\@tempa=\box38 +\@tempa=\box39 +\@tempa=\box40 +\@tempa=\box41 +\@tempa=\box42 +\@tempa=\box43 +\@tempa=\box44 +\@tempa=\box45 +\@tempa=\box46 +\@tempa=\box47 +\@tempa=\box48 +\@tempa=\box49 +\c@columnbadness=\count125 +\c@finalcolumnbadness=\count126 +\last@try=\dimen109 +\multicolovershoot=\dimen110 +\multicolundershoot=\dimen111 +\mult@nat@firstbox=\box50 +\colbreak@box=\box51 +) +\IndexMin=\dimen112 +\c@IndexColumns=\count127 +\GlossaryMin=\dimen113 +\c@GlossaryColumns=\count128 +\check@sum=\count129 +\bslash@cnt=\count130 +\wrong@table=\toks15 +\c@CodelineNo=\count131 +)) (./intex.sty +Package: intex 2008/10/13 v1.1 Support for concept, acronym, and proper-name ty +pesetting and indexing + +(/home/mtr/texmf/tex/latex/index/index.sty +Package: index 2004/01/20 v4.2beta Improved index support (dmj) +\@indexbox=\insert233 +\indexproofstyle=\toks16 +) +\idxtitle@default=\toks17 +\tf@default=\write3 +\openout3 = `intex.idx'. + +Package index Info: Writing index file intex.idx on input line 44. +\idxtitle@raw=\toks18 +\tf@raw=\write4 +\openout4 = `intex.rix'. + +Package index Info: Writing index file intex.rix on input line 45. + +(/home/mtr/texmf/tex/latex/marginnote/marginnote.sty +Package: marginnote 2009/02/26 v1.1c non floating margin notes for LaTeX +\c@mn@abspage=\count132 +) +(/home/mtr/texmf/tex/latex/acronym/acronym.sty +Package: acronym 2008/05/28 v1.32 Support for acronyms (Tobias Oetiker) + +(/usr/share/texmf-texlive/tex/latex/bigfoot/suffix.sty +Package: suffix 2006/07/15 1.5 Variant command support +) +\AC@clearlist=\toks19 +) +(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty +Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC) +) +\c@itxpl=\count133 +\c@co@serial=\count134 +\c@co@type=\count135 +Package InTeX Info: Adjusting behavior to suite the article document class. +) +(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty +Package: fontenc 2005/09/27 v1.99g Standard LaTeX package + +(/usr/share/texmf-texlive/tex/latex/base/t1enc.def +File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file +LaTeX Font Info: Redeclaring font encoding T1 on input line 43. +)) +(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty +Package: inputenc 2008/03/30 v1.1d Input encoding file +\inpenc@prehook=\toks20 +\inpenc@posthook=\toks21 + +(/usr/share/texmf-texlive/tex/latex/base/latin1.def +File: latin1.def 2008/03/30 v1.1d Input encoding file +)) +(/usr/share/texmf-texlive/tex/generic/babel/babel.sty +Package: babel 2008/07/06 v3.8l The Babel package + +(/usr/share/texmf-texlive/tex/generic/babel/norsk.ldf +Language: norsk 2005/03/30 v2.0h Norsk support from the babel system + +(/usr/share/texmf-texlive/tex/generic/babel/babel.def +File: babel.def 2008/07/06 v3.8l Babel common definitions +\babel@savecnt=\count136 +\U@D=\dimen114 +) +Package babel Info: Making " an active character on input line 113. +) +(/usr/share/texmf-texlive/tex/generic/babel/english.ldf +Language: english 2005/03/30 v3.3o English support from the babel system +\l@british = a dialect from \language\l@english +\l@UKenglish = a dialect from \language\l@english +\l@canadian = a dialect from \language\l@american +\l@australian = a dialect from \language\l@british +\l@newzealand = a dialect from \language\l@british +)) +(/usr/share/texmf-texlive/tex/latex/fancyvrb/fancyvrb.sty +Package: fancyvrb 2008/02/07 + +Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix +<2008/02/07> (tvz) (/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty +Package: keyval 1999/03/16 v1.13 key=value parser (DPC) +\KV@toks@=\toks22 +) +\FV@CodeLineNo=\count137 +\FV@InFile=\read3 +\FV@TabBox=\box52 +\c@FancyVerbLine=\count138 +\FV@StepNumber=\count139 +\FV@OutFile=\write5 +) +(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty +\Urlmuskip=\muskip10 +Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc. +) +(/home/mtr/texmf/tex/latex/hyperref/hyperref.sty +Package: hyperref 2008/09/27 v6.78k Hypertext links for LaTeX + +(/home/mtr/texmf/tex/generic/oberdiek/ifpdf.sty +Package: ifpdf 2007/12/12 v1.6 Provides the ifpdf switch (HO) +Package ifpdf Info: pdfTeX in pdf mode detected. +) +(/home/mtr/texmf/tex/generic/oberdiek/ifvtex.sty +Package: ifvtex 2007/09/09 v1.3 Switches for detecting VTeX and its modes (HO) +Package ifvtex Info: VTeX not detected. +) +(/home/mtr/texmf/tex/generic/ifxetex/ifxetex.sty +Package: ifxetex 2008/09/18 v0.4 Provides ifxetex conditional +) +(/home/mtr/texmf/tex/latex/oberdiek/hycolor.sty +Package: hycolor 2007/04/11 v1.1 Code for color options of hyperref/bookmark (H +O) +) +\@linkdim=\dimen115 +\Hy@linkcounter=\count140 +\Hy@pagecounter=\count141 + +(/home/mtr/texmf/tex/latex/hyperref/pd1enc.def +File: pd1enc.def 2008/09/27 v6.78k Hyperref: PDFDocEncoding definition (HO) +) +(/home/mtr/texmf/tex/generic/oberdiek/etexcmds.sty +Package: etexcmds 2007/12/12 v1.2 Prefix for e-TeX command names (HO) + +(/home/mtr/texmf/tex/generic/oberdiek/infwarerr.sty +Package: infwarerr 2007/09/09 v1.2 Providing info/warning/message (HO) +) +Package etexcmds Info: Could not find \expanded. +(etexcmds) That can mean that you are not using pdfTeX 1.50 or +(etexcmds) that some package has redefined \expanded. +(etexcmds) In the latter case, load this package earlier. +) +(/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg +File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive +) +(/home/mtr/texmf/tex/latex/oberdiek/kvoptions.sty +Package: kvoptions 2007/10/18 v3.0 Keyval support for LaTeX options (HO) +) +Package hyperref Info: Option `colorlinks' set `true' on input line 2782. +Package hyperref Info: Hyper figures OFF on input line 2893. +Package hyperref Info: Link nesting OFF on input line 2898. +Package hyperref Info: Hyper index ON on input line 2901. +Package hyperref Info: Plain pages OFF on input line 2908. +Package hyperref Info: Backreferencing OFF on input line 2913. + +Implicit mode ON; LaTeX internals redefined +Package hyperref Info: Bookmarks ON on input line 3103. +LaTeX Info: Redefining \url on input line 3337. +(/home/mtr/texmf/tex/generic/oberdiek/bitset.sty +Package: bitset 2007/09/28 v1.0 Data type bit set (HO) + +(/home/mtr/texmf/tex/generic/oberdiek/intcalc.sty +Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO) +) +(/home/mtr/texmf/tex/generic/oberdiek/bigintcalc.sty +Package: bigintcalc 2007/11/11 v1.1 Expandable big integer calculations (HO) + +(/home/mtr/texmf/tex/generic/oberdiek/pdftexcmds.sty +Package: pdftexcmds 2007/12/12 v0.3 LuaTeX support for pdfTeX utility functions + (HO) +Package pdftexcmds Info: LuaTeX not detected on input line 139. +))) +(/home/mtr/texmf/tex/generic/oberdiek/kvsetkeys.sty +Package: kvsetkeys 2007/09/29 v1.3 Key value parser with default handler suppor +t (HO) +) +\Fld@menulength=\count142 +\Field@Width=\dimen116 +\Fld@charsize=\dimen117 +\Field@toks=\toks23 +Package hyperref Info: Hyper figures OFF on input line 4254. +Package hyperref Info: Link nesting OFF on input line 4259. +Package hyperref Info: Hyper index ON on input line 4262. +Package hyperref Info: backreferencing OFF on input line 4269. +Package hyperref Info: Link coloring ON on input line 4272. +Package hyperref Info: Link coloring with OCG OFF on input line 4279. +Package hyperref Info: PDF/A mode OFF on input line 4284. + +(/home/mtr/texmf/tex/generic/oberdiek/atbegshi.sty +Package: atbegshi 2007/09/09 v1.6 At begin shipout hook (HO) +) +\Hy@abspage=\count143 +\c@Item=\count144 +\c@Hfootnote=\count145 +) +*hyperref using default driver hpdftex* +(/home/mtr/texmf/tex/latex/hyperref/hpdftex.def +File: hpdftex.def 2008/09/27 v6.78k Hyperref driver for pdfTeX +\Fld@listcount=\count146 +) +(/home/mtr/texmf/tex/latex/svn/svn.sty +Package: svn 2003/09/21 r32 Typeset Subversion keywords. +) +(/usr/share/texmf-texlive/tex/latex/booktabs/booktabs.sty +Package: booktabs 2005/04/14 v1.61803 publication quality tables +\heavyrulewidth=\dimen118 +\lightrulewidth=\dimen119 +\cmidrulewidth=\dimen120 +\belowrulesep=\dimen121 +\belowbottomsep=\dimen122 +\aboverulesep=\dimen123 +\abovetopsep=\dimen124 +\cmidrulesep=\dimen125 +\cmidrulekern=\dimen126 +\defaultaddspace=\dimen127 +\@cmidla=\count147 +\@cmidlb=\count148 +\@aboverulesep=\dimen128 +\@belowrulesep=\dimen129 +\@thisruleclass=\count149 +\@lastruleclass=\count150 +\@thisrulewidth=\dimen130 +) +\@glossaryfile=\write6 +\openout6 = `intex.glo'. + + +Writing glossary file intex.glo +(./intex.aux) +\openout1 = `intex.aux'. + +LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 102. +LaTeX Font Info: ... okay on input line 102. +LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 102. +LaTeX Font Info: ... okay on input line 102. +LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 102. +LaTeX Font Info: ... okay on input line 102. +LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 102. +LaTeX Font Info: ... okay on input line 102. +LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 102. +LaTeX Font Info: ... okay on input line 102. +LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 102. +LaTeX Font Info: ... okay on input line 102. +LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 102. +LaTeX Font Info: ... okay on input line 102. +Package doc Info: Made | a short reference for \verb on input line 102. +Package marginnote Info: \pdfoutput not 0 and \pdflastxpos available. +(marginnote) Extended position detection mode activated. + (./intex.ito) +(/usr/share/texmf-texlive/tex/latex/graphics/color.sty +Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC) + +(/etc/texmf/tex/latex/config/color.cfg +File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive +) +Package color Info: Driver file: pdftex.def on input line 130. + +(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def +File: pdftex.def 2010/03/12 v0.04p Graphics/color for pdfTeX +\Gread@gobject=\count151 + +(/usr/share/texmf-texlive/tex/context/base/supp-pdf.mkii +[Loading MPS to PDF converter (version 2006.09.02).] +\scratchcounter=\count152 +\scratchdimen=\dimen131 +\scratchbox=\box53 +\nofMPsegments=\count153 +\nofMParguments=\count154 +\everyMPshowfont=\toks24 +\MPscratchCnt=\count155 +\MPscratchDim=\dimen132 +\MPnumerator=\count156 +\everyMPtoPDFconversion=\toks25 +))) +Package hyperref Info: Link coloring ON on input line 102. + (/home/mtr/texmf/tex/latex/hyperref/nameref.sty +Package: nameref 2007/05/29 v2.31 Cross-referencing by name of section + +(/home/mtr/texmf/tex/latex/oberdiek/refcount.sty +Package: refcount 2006/02/20 v3.0 Data extraction from references (HO) +) +\c@section@level=\count157 +) +LaTeX Info: Redefining \ref on input line 102. +LaTeX Info: Redefining \pageref on input line 102. + (./intex.out) (./intex.out) +\@outlinefile=\write7 +\openout7 = `intex.out'. + +\AtBeginShipoutBox=\box54 + +(./intex.dtx +*************************** +* Character table correct * +*************************** +LaTeX Font Info: Try loading font information for T1+cmss on input line 245. + +(/usr/share/texmf-texlive/tex/latex/base/t1cmss.fd +File: t1cmss.fd 1999/05/25 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <17.28> on input line 245. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <12> on input line 245. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <8> on input line 245. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <6> on input line 245. +LaTeX Font Info: Try loading font information for T1+cmtt on input line 245. + + +(/usr/share/texmf-texlive/tex/latex/base/t1cmtt.fd +File: t1cmtt.fd 1999/05/25 v2.5h Standard LaTeX font definitions +) +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <5> on input line 245. +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <7> on input line 247. + + +LaTeX Warning: Marginpar on page 1 moved. + +[1 + +{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] + +LaTeX Warning: Marginpar on page 2 moved. + + +LaTeX Warning: Marginpar on page 2 moved. + + +LaTeX Warning: Marginpar on page 2 moved. + + +LaTeX Warning: Marginpar on page 2 moved. + + +LaTeX Warning: Marginpar on page 2 moved. + +\openout5 = `intex.tmp'. + +(./intex.tmp) +Overfull \hbox (2.22168pt too wide) in paragraph at lines 328--329 +$[]$ $[]$ + [] + +\openout5 = `intex.tmp'. + +(./intex.tmp +Underfull \hbox (badness 10000) in paragraph at lines 4--8 + + [] + +) +Overfull \hbox (2.22168pt too wide) in paragraph at lines 348--349 +[]$[]$ $[]$ + [] + +[2] +\openout5 = `intex.tmp'. + + (./intex.tmp) +Underfull \hbox (badness 10000) in paragraph at lines 4--358 +[]\T1/cmr/m/n/10 The \T1/cmr/m/sl/10 In\T1/cmr/m/n/10 T[]X pack-age also + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 4--358 +\T1/cmr/m/it/10 Se-man-tic In-for-ma-tion for + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 4--358 +\T1/cmr/m/it/10 Mul-ti-func-tional Plurilin-gual + [] + + +Underfull \hbox (badness 2846) in paragraph at lines 4--358 +\T1/cmr/m/it/10 Lex-ica (Swedish SIM-PLE)\T1/cmr/m/n/10 , + [] + + +Underfull \hbox (badness 4266) in paragraph at lines 4--358 +\T1/cmr/m/it/10 In-for-ma-tion for Mul-ti-func- + [] + + +Underfull \hbox (badness 10000) in paragraph at lines 4--358 +\T1/cmr/m/it/10 tional Plurilin-gual Lex-ica + [] + + +Overfull \hbox (2.22168pt too wide) in paragraph at lines 358--359 +[]$[]$ $[]$ + [] + + +LaTeX Warning: Marginpar on page 3 moved. + + +LaTeX Warning: Marginpar on page 3 moved. + + +LaTeX Warning: Marginpar on page 3 moved. + +\openout5 = `intex.tmp'. + +(./intex.tmp) +Underfull \hbox (badness 5064) in paragraph at lines 1--377 +\T1/cmr/m/it/10 m$[]$a$[]$ eater\T1/cmr/m/n/10 . There are + [] + + +Underfull \hbox (badness 1107) in paragraph at lines 1--377 +\T1/cmr/m/it/10 eaters \T1/cmr/m/n/10 in the an-i-mal king- + [] + + +Overfull \hbox (2.22168pt too wide) in paragraph at lines 377--381 +[]$[]$ $[]$ + [] + +\openout5 = `intex.tmp'. + +(./intex.tmp) +Overfull \hbox (2.22168pt too wide) in paragraph at lines 393--397 +[]$[]$ $[]$ + [] + +[3] +\openout5 = `intex.tmp'. + + (./intex.tmp) +Underfull \hbox (badness 6284) in paragraph at lines 1--412 +[][]\T1/cmtt/m/n/10 mkintex \T1/cmr/m/n/10 au-to-mat-i-cally in- + [] + + +Overfull \hbox (2.22168pt too wide) in paragraph at lines 412--416 +[]$[]$ $[]$ + [] + +LaTeX Font Info: External font `cmex10' loaded for size +(Font) <9> on input line 442. +[4] [5] +Overfull \hbox (46.50687pt too wide) in paragraph at lines 453--454 +[][]\T1/cmtt/m/n/10 mkintex $\OMS/cmsy/m/n/10 h$[]\T1/cmr/m/it/10 name$\OMS/cms +y/m/n/10 i$ $h$\T1/cmr/m/it/10 name$\OMS/cmsy/m/n/10 i$[][]\T1/cmtt/m/n/10 .itx + -o $\OMS/cmsy/m/n/10 h$[]\T1/cmr/m/it/10 name$\OMS/cmsy/m/n/10 i$[][]\T1/cmtt/ +m/n/10 .rix [-a acronyms.tex -p persons.tex] + [] + + +LaTeX Warning: Marginpar on page 6 moved. + +[6] [7] + +Package hyperref Warning: Token not allowed in a PDFDocEncoded string: +(hyperref) \kern -0.69989pt +(hyperref) removed on input line 587. + +[8] [9] [10] [11] [12] +Overfull \hbox (0.5075pt too wide) in paragraph at lines 999--999 + [][] \T1/cmtt/m/n/9 %\PackageWarning{InTeX}{Current position for type "#1" is + "\curr@pos"}% + [] + +[13] [14] [15] +LaTeX Font Info: Font shape `T1/cmtt/bx/n' in size <10> not available +(Font) Font shape `T1/cmtt/m/n' tried instead on input line 1159. + +Overfull \hbox (24.12674pt too wide) in paragraph at lines 1193--1193 + [][]\T1/cmtt/m/n/9 % Define the identity of the equivalent entry. Get the i +dentity of the main + [] + +[16] [17] +Overfull \hbox (9.9552pt too wide) in paragraph at lines 1299--1299 + [][] \T1/cmtt/m/n/9 \expandafter\ifx\csname fn\number\theco@type e@\@tempb\ +endcsname\relax% + [] + + +Overfull \hbox (14.67905pt too wide) in paragraph at lines 1299--1299 + [][] \T1/cmtt/m/n/9 \expandafter\ifx\csname fn\number\theco@type @\@tempb +\endcsname\relax% + [] + + +Overfull \hbox (0.5075pt too wide) in paragraph at lines 1311--1311 + [][] \T1/cmtt/m/n/9 % \PackageWarning{InTeX}{Main AND alias reference ` +#2' occurred}% + [] + +[18] +Overfull \hbox (19.4029pt too wide) in paragraph at lines 1403--1403 + [][] \T1/cmtt/m/n/9 %\PackageWarning{init}{Def: \meaning\csname fn\number#1@\ +@tempb\endcsname}% + [] + +[19] +Overfull \hbox (5.67596pt too wide) detected at line 1438 +[]\OMS/cmsy/m/n/10 h[]i[]h[]i[]h[]i[]h[]i[]h[]i[]\OML/cmm/m/it/10 ; + [] + + +Overfull \hbox (22.9303pt too wide) in paragraph at lines 1447--1450 +[]\T1/cmr/m/n/10 Note that the macros []\T1/cmtt/m/n/10 \new$\OMS/cmsy/m/n/10 h +$[]\T1/cmr/m/it/10 type$\OMS/cmsy/m/n/10 i$[][]\T1/cmtt/m/n/10 equiv\T1/cmr/m/n +/10 , where $\OMS/cmsy/m/n/10 h$[]\T1/cmr/m/it/10 type$\OMS/cmsy/m/n/10 i$ $2 f +[]\OML/cmm/m/it/10 ; []; []\OMS/cmsy/m/n/10 g$[]\T1/cmr/m/n/10 , + [] + + +Overfull \hbox (14.67905pt too wide) in paragraph at lines 1465--1465 + [][] \T1/cmtt/m/n/9 %\PackageWarning{init}{Found `\@tempb' (type=\number#1, + serial=\co@id)}% + [] + +[20] + +Package hyperref Warning: Token not allowed in a PDFDocEncoded string: +(hyperref) \kern -0.69989pt +(hyperref) removed on input line 1507. + +(./intex.rid [21] +Overfull \hbox (1.00923pt too wide) in paragraph at lines 51--53 +\T1/cmr/m/it/10 for Mul-ti-func-tional Plurilin- + [] + +[22 + + +]) +********************************** +* This macro file has no checksum! +* The checksum should be 667! +********************************** +) (./intex.aux) ) +Here is how much of TeX's memory you used: + 6709 strings out of 494937 + 91551 string characters out of 1180324 + 162698 words of memory out of 3000000 + 9708 multiletter control sequences out of 15000+50000 + 25752 words of font info for 54 fonts, out of 3000000 for 9000 + 118 hyphenation exceptions out of 8191 + 36i,8n,38p,276b,691s stack positions out of 5000i,500n,10000p,200000b,50000s +{/usr/share/texmf/fonts/enc/dvips/cm-super/cm-super-t1.enc}</u +sr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/te +xmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texmf-texlive/ +fonts/type1/public/amsfonts/cm/cmr7.pfb></usr/share/texmf-texlive/fonts/type1/p +ublic/amsfonts/cm/cmsy10.pfb></usr/share/texmf-texlive/fonts/type1/public/amsfo +nts/cm/cmsy5.pfb></usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmsy6 +.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfbl1200.pfb></usr/share/tex +mf/fonts/type1/public/cm-super/sfbx1000.pfb></usr/share/texmf/fonts/type1/publi +c/cm-super/sfbx1200.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfbx1440. +pfb></usr/share/texmf/fonts/type1/public/cm-super/sfrm0500.pfb></usr/share/texm +f/fonts/type1/public/cm-super/sfrm0600.pfb></usr/share/texmf/fonts/type1/public +/cm-super/sfrm0700.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfrm0800.p +fb></usr/share/texmf/fonts/type1/public/cm-super/sfrm1000.pfb></usr/share/texmf +/fonts/type1/public/cm-super/sfrm1200.pfb></usr/share/texmf/fonts/type1/public/ +cm-super/sfrm1728.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfsi0800.pf +b></usr/share/texmf/fonts/type1/public/cm-super/sfsi1000.pfb></usr/share/texmf/ +fonts/type1/public/cm-super/sfsi1728.pfb></usr/share/texmf/fonts/type1/public/c +m-super/sfsl1000.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfss0800.pfb +></usr/share/texmf/fonts/type1/public/cm-super/sfss1000.pfb></usr/share/texmf/f +onts/type1/public/cm-super/sfss1728.pfb></usr/share/texmf/fonts/type1/public/cm +-super/sfti1000.pfb></usr/share/texmf/fonts/type1/public/cm-super/sftt0800.pfb> +</usr/share/texmf/fonts/type1/public/cm-super/sftt0900.pfb></usr/share/texmf/fo +nts/type1/public/cm-super/sftt1000.pfb></usr/share/texmf/fonts/type1/public/cm- +super/sftt1200.pfb> +Output written on intex.pdf (22 pages, 528600 bytes). +PDF statistics: + 337 PDF objects out of 1000 (max. 8388607) + 48 named destinations out of 1000 (max. 500000) + 141 words of extra memory for PDF output out of 10000 (max. 10000000) + diff --git a/support/intex/latex/intex.out b/support/intex/latex/intex.out new file mode 100644 index 0000000000..02ac6d0cbd --- /dev/null +++ b/support/intex/latex/intex.out @@ -0,0 +1,16 @@ +\BOOKMARK [1][-]{section.1}{Introduction}{} +\BOOKMARK [1][-]{section.2}{Background}{} +\BOOKMARK [1][-]{section.3}{Usage}{} +\BOOKMARK [2][-]{subsection.3.1}{Package Options}{section.3} +\BOOKMARK [2][-]{subsection.3.2}{Examples}{section.3} +\BOOKMARK [3][-]{subsubsection.3.2.1}{Index Definitions}{subsection.3.2} +\BOOKMARK [2][-]{subsection.3.3}{Compilation}{section.3} +\BOOKMARK [1][-]{section.4}{Macros}{} +\BOOKMARK [1][-]{section.5}{Implementation}{} +\BOOKMARK [2][-]{subsection.5.1}{Package Options}{section.5} +\BOOKMARK [2][-]{subsection.5.2}{External Packages}{section.5} +\BOOKMARK [2][-]{subsection.5.3}{The InTeX Logo}{section.5} +\BOOKMARK [2][-]{subsection.5.4}{Font Definitions}{section.5} +\BOOKMARK [2][-]{subsection.5.5}{The \(Low-Level\) Clockwork of the Package}{section.5} +\BOOKMARK [3][-]{subsubsection.5.5.1}{Typesetting of Margin Labels}{subsection.5.5} +\BOOKMARK [2][-]{subsection.5.6}{The Internal InTeX File}{section.5} diff --git a/support/intex/latex/intex.pdf b/support/intex/latex/intex.pdf Binary files differnew file mode 100644 index 0000000000..f887fa7e56 --- /dev/null +++ b/support/intex/latex/intex.pdf diff --git a/support/intex/latex/intex.rid b/support/intex/latex/intex.rid new file mode 100644 index 0000000000..d722587a3d --- /dev/null +++ b/support/intex/latex/intex.rid @@ -0,0 +1,64 @@ +\begin{theindex} + + \item \textit{Bokmålsordboka}, \hyperpage{3} + + \indexspace + + \item carnivore, \hyperpage{3} + \subitem canine, \hyperpage{3} + \subitem feline, \hyperpage{3} + \item com\-pound, \hyperpage{3} + \subitem ---word analyzer, \hyperpage{3} + \subitem non-deverbal verb --, \hyperpage{3} + \subitem Norwegian ---word analysis, \hyperpage{3} + \item concept, \hyperpage{2}, \hyperpage{6} + \subitem acronym --, \hyperpage{2} + \subitem person --, \hyperpage{2} + \subitem plain --, \hyperpage{2} + \subitem sub---, \hyperpage{2} + + \indexspace + + \item dihydrogen monoxide, \hyperpage{2, 3} + \subitem -- reserve, \hyperpage{2} + + \indexspace + + \item H$_{2}$O, \see{dihydrogen monoxide}{0} + \subitem -- reserve, \see{---, -- reserve}{0} + + \indexspace + + \item ID, \see{identity}{0} + \item identity, \hyperpage{3} + \item index, \hyperpage{4} + \item {\InTeX\ logo}, \hyperpage{6} + + \indexspace + + \item m$^{\textrm{e}}$a$_{\textrm{t}}$ eater, \see{carnivore}{0} + + \indexspace + + \item Presley, Elvis~Aaron, \hyperpage{4} + \item Python, \hyperpage{2} + + \indexspace + + \item \textit{Semantic Information for Multifunctional Plurilingual Lexica}, + \hyperpage{3} + \subitem \textit{Swedish --}, \hyperpage{3} + \item SIMPLE, + \see{\textit{Semantic Information for Multifunctional Plurilingual Lexica}}{0} + \subitem Swedish --, \see{---, \textit{Swedish --}}{0} + \item dog \textit{(explicitly sorted)}, \hyperpage{4} + + \indexspace + + \item vertex, \hyperpage{4} + + \indexspace + + \item water, \see{dihydrogen monoxide}{0} + +\end{theindex} diff --git a/support/intex/latex/intex.rix b/support/intex/latex/intex.rix new file mode 100644 index 0000000000..6777de3b4d --- /dev/null +++ b/support/intex/latex/intex.rix @@ -0,0 +1,46 @@ +\indexentry {Python|hyperpage}{2} +\indexentry {concept|hyperpage}{2} +\indexentry {concept|hyperpage}{2} +\indexentry {acronym|hyperpage}{2} +\indexentry {person concept|hyperpage}{2} +\indexentry {concepts|hyperpage}{2} +\indexentry {acronym concepts|hyperpage}{2} +\indexentry {person concepts|hyperpage}{2} +\indexentry {plain concepts|hyperpage}{2} +\indexentry {concept|hyperpage}{2} +\indexentry {plain|hyperpage}{2} +\indexentry {plain|hyperpage}{2} +\indexentry {sub-concepts|hyperpage}{2} +\indexentry {H2O|hyperpage}{2} +\indexentry {H2O reserve|hyperpage}{2} +\indexentry {Python|hyperpage}{2} +\indexentry {IDs|hyperpage}{3} +\indexentry {ID|hyperpage}{3} +\indexentry {ID|hyperpage}{3} +\indexentry {ID|hyperpage}{3} +\indexentry {ID|hyperpage}{3} +\indexentry {Swedish SIMPLE|hyperpage}{3} +\indexentry {SIMPLE|hyperpage}{3} +\indexentry {compound-word analyzer|hyperpage}{3} +\indexentry {compound-word analyzer|hyperpage}{3} +\indexentry {Norwegian compound-word analysis|hyperpage}{3} +\indexentry {non-deverbal verb compounds|hyperpage}{3} +\indexentry {Bokmålsordboka|hyperpage}{3} +\indexentry {compounds|hyperpage}{3} +\indexentry {carnivore|hyperpage}{3} +\indexentry {meat eater|hyperpage}{3} +\indexentry {feline|hyperpage}{3} +\indexentry {canine|hyperpage}{3} +\indexentry {meat eaters|hyperpage}{3} +\indexentry {water|hyperpage}{3} +\indexentry {Carnivore|hyperpage}{3} +\indexentry {index|hyperpage}{4} +\indexentry {indices|hyperpage}{4} +\indexentry {vertex|hyperpage}{4} +\indexentry {vertices|hyperpage}{4} +\indexentry {dog|hyperpage}{4} +\indexentry {dogs|hyperpage}{4} +\indexentry {EAPK|hyperpage}{4} +\indexentry {EAP|hyperpage}{4} +\indexentry {concept|hyperpage}{6} +\indexentry {InTeX logo|hyperpage}{6} diff --git a/support/intex/latex/intex.sty b/support/intex/latex/intex.sty new file mode 100644 index 0000000000..c6d8f48059 --- /dev/null +++ b/support/intex/latex/intex.sty @@ -0,0 +1,407 @@ +%% +%% This is file `intex.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% intex.dtx (with options: `intex') +%% +%% This is a generated file. +%% +%% Copyright (C) 2005--2008 by Martin Thorsen Ranang <mtr@ranang.org> +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 of this license +%% or (at your option) any later version. The latest version of this +%% license is in: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% and version 1.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% +\def\filename{intex}% +\ProvidesPackage{intex}[2008/10/13 v1.1 +Support for concept, acronym, and proper-name typesetting and indexing]% +\newif\if@itx@index% +\@itx@indextrue% +\DeclareOption{noindex}{\@itx@indexfalse}% +\newif\if@itx@warn@undef% +\@itx@warn@undeftrue% +\DeclareOption{nowarnundef}{\@itx@warn@undeffalse}% +\newif\if@itx@margin@plain% +\newif\if@itx@margin@acronym% +\newif\if@itx@margin@person% +\@itx@margin@plaintrue% +\@itx@margin@acronymtrue% +\@itx@margin@persontrue% +\DeclareOption{nomarginplain}{\@itx@margin@plainfalse}% +\DeclareOption{nomarginacronym}{\@itx@margin@acronymfalse}% +\DeclareOption{nomarginperson}{\@itx@margin@personfalse}% +\ProcessOptions% +\if@itx@index% + \RequirePackage{index}% + \makeindex% + \newindex{raw}{rix}{rid}{Index}% +\else% + \def\@nearverbatim{\expandafter\strip@prefix\meaning}% +\fi% +\if@itx@margin@plain% + \RequirePackage{marginnote}[2006/10/26]% +\fi% +\if@itx@margin@acronym% + \RequirePackage{marginnote}[2006/10/26]% +\fi% +\if@itx@margin@person% + \RequirePackage{marginnote}[2006/10/26]% +\fi% +\RequirePackage{acronym}[2008/05/28]% +\RequirePackage{ifthen}% +\newcommand*{\InTeX}{\textsl{In}\kern-.07em\TeX}% +\newcommand\itxplaindeffont[1]{\emph{#1}}% +\newcommand\itxplainfollowfont[1]{#1}% +\newcounter{itxpl}% +\newcommand\@itxbasemarginfont[1]{% + \stepcounter{itxpl}% + \ifthenelse{\isodd{\pageref{itxpl-\theitxpl}}}{% + \raggedright\hspace{0pt}\footnotesize\textsf{#1}% odd + }{% + \raggedleft\hspace{0pt}\footnotesize\textsf{#1}% even + }% + \label{itxpl-\theitxpl}% +}% +\newcommand\itxplainmarginfont[1]{% + \@itxbasemarginfont{#1}% +}% +\newcommand{\itxacronymdeffont}[1]{#1}% +\newcommand{\itxacronymdefshortfont}[1]{\emph{#1}}% +\newcommand{\itxacronymshortfont}[1]{#1}% +\newcommand{\itxacronymmarginfont}[1]{% + \@itxbasemarginfont{#1}% + %\raggedleft\hspace{0pt}\footnotesize\textsf{#1}% +}% +\newcommand{\itxpersondeffont}[1]{\emph{#1}}% +\newcommand{\itxpersonfirstfont}[1]{#1}% +\newcommand{\itxpersonlastfont}[1]{#1}% +\newcommand{\itxpersonmarginfont}[1]{% + \@itxbasemarginfont{#1}% + %\raggedleft\hspace{0pt}\footnotesize\textsf{#1}% +}% +\newcounter{co@serial}% +\newcounter{co@type}% +\newcommand*\itxundefcomment[1]{\emph{(undefined concept ``#1'')}}% +\long\def\@firstofthree#1#2#3{#1}% +\long\def\@secondofthree#1#2#3{#2}% +\def\ITX@reset#1{% + \global\expandafter\let\csname itx@#1\endcsname\relax}% +\newcommand*\@itxmarginlabel[2]{% + \hspace{0pt}% + \ifcase#1% + % \ldots plain concept, \ldots + \if@itx@margin@plain% + \marginpar{\itxplainmarginfont{\ITX@itxs{#1}{#2}}}% + %\marginnote{\itxplainmarginfont{\ITX@itxs{#1}{#2}}}% + \fi% + \or% + % \ldots an acronym, \ldots + \if@itx@margin@acronym% + \marginpar{\itxacronymmarginfont{\ITX@itxs{#1}{#2}}}% + \fi% + \or% + % \ldots or a person's name. + \if@itx@margin@person% + \marginpar{\itxpersonmarginfont{\ITX@itxl{#1}{#2}}}% + \fi% + \fi% +}% +\newcommand*\ITX@used{@<>@<>@}% +\newcommand*\ITX@get[2]{% + \ifx#1\relax% + \else% + \expandafter#2#1% + \fi% +}% +\newcommand*\itxplainarea{\thesubparagraph:\thepage}% +\newcommand*\itxacronymarea{\thechapter}% +\newcommand*\itxpersonarea{\thesubsubsection}% +\newcommand*\@itxarea[1]{% + \ifcase#1% + {\itxplainarea}% + \or% + {\itxacronymarea}% + \or% + {\itxpersonarea}% + \fi% +}% +\def\itx@last@pos0{}% +\def\itx@last@pos1{}% +\def\itx@last@pos2{}% +\newcommand*\ITX@itxs[2]{% + \csname fnss@\number#2\endcsname% +}% +\newcommand*\ITX@itxl[2]{% + \csname fnsl@\number#2\endcsname% +}% +\newcommand*{\itxs}[2]{% + \texorpdfstring{\protect\@itxs{#1}{#2}}{#1}}% +\newcommand*{\@itxs}[2]{% + \ifcase\number#1% + \itxplainfollowfont{\ITX@itxs{#1}{#2}}% + \or% + \itxacronymshortfont{\ITX@itxs{#1}{#2}}% + \or% + \itxpersonlastfont{\ITX@itxl{#1}{#2}}% + \fi% +}% +\newcommand*{\itxl}{\protect\@itxl}% +\newcommand*{\@itxl}[2]{% + %\ITX@itxl{#1}{#2}% + \ifcase\number#1% + \itxplainfollowfont{\ITX@itxs{#1}{#2}}\nolinebreak % + \or% + \itxacronymdeffont{\ITX@itxl{#1}{#2}}% + \or% + \itxpersondeffont{% + \itxpersonfirstfont{\ITX@itxs{#1}{#2}} % + %\nolinebreak[3] % + \itxpersonlastfont{\ITX@itxl{#1}{#2}}% + }% + \fi% +}% +\newcommand*{\itxf}[2]{% + \texorpdfstring{\protect\@itxf{#1}{#2}}{\ITX@itxl{#1}{#2} (#1)}% +}% +\newcommand*{\@itxf}[2]{% + \ifcase\number#1% + \@itxmarginlabel{#1}{#2}% + \itxplaindeffont{\ITX@itxs{#1}{#2}}\nolinebreak % + \or% + \itxacronymdeffont{% + \ITX@itxl{#1}{#2} % + %\nolinebreak[3] % + \@itxmarginlabel{#1}{#2}% + \itxacronymdefshortfont{% + \itxacronymshortfont{(\ITX@itxs{#1}{#2})}}% + }% + \or% + \itxpersondeffont{% + \itxpersonfirstfont{% + \ITX@itxs{#1}{#2}} % + %\nolinebreak[3] % + \@itxmarginlabel{#1}{#2}% + \itxpersonlastfont{% + \ITX@itxl{#1}{#2}% + }% + }% + \fi% + \expandafter\ifx\csname itx@#2\endcsname\ITX@used% + %\relax% + \else% + \global\expandafter\let\csname itx@#2\endcsname\ITX@used% + %\ITX@addtoclearlist{#2}% MTR + \fi% + %\ITX@logged{#2} MTR +}% +\newcommand*{\@itxrecordarea}[2]{% + % Record this area: + \edef\curr@pos{\@itxarea{#1}}% + %\PackageWarning{InTeX}{Current position for type "#1" is "\curr@pos"}% + % Remember the last area where this concept (second argument) was used. + \edef\last@pos{\csname itx@last@pos#1@#2\endcsname}% + \ifx\curr@pos\last@pos% + % We're still in the same area. Hence, we do nothing. + \else% + % The area has changed. + \ITX@reset{#2}% + \fi% + \expandafter\xdef\csname itx@last@pos#1@#2\endcsname{\curr@pos}% +}% +\newcommand\@itx@init@nonbookmode{% + \newcommand*{\@itxtypeset}[3]{% Article-mode. + \ifx##3A% + %\PackageWarning{InTeX}{Typesetting format is automatic}% + \expandafter\ifx\csname itx@##2\endcsname\ITX@used% + \itxs{##1}{##2}% + \else% + \itxf{##1}{##2}% + \fi% + \else% + %\PackageWarning{InTeX}{Typesetting format = "##3"}% + \ifx##3S\itxs{##1}{##2}\fi% + \ifx##3L\itxl{##1}{##2}\fi% + \ifx##3F\itxf{##1}{##2}\fi% + \fi% + }% +}% +\newcommand\@itx@init@bookmode{% + \PackageInfo{InTeX}{Adjusting behavior to suite book/report document + classes\@gobble}% + \newcommand*{\@itxtypeset}[3]{% Book/report-mode. + \ifx##3A% + %\PackageWarning{InTeX}{Typesetting format is automatic}% + \if@mainmatter% + \expandafter\ifx\csname itx@##2\endcsname\ITX@used% + \itxs{##1}{##2}% + \else% + \itxf{##1}{##2}% + \fi% + \else% + \itxl{##1}{##2}% + \fi% + \else% + %\PackageWarning{InTeX}{Typesetting format = "##3"}% + \ifx##3S\itxs{##1}{##2}\fi% + \ifx##3L\itxl{##1}{##2}\fi% + \ifx##3F\itxf{##1}{##2}\fi% + \fi% + }% +} +\newif\if@itx@bookmode% +\@itx@bookmodetrue% +\@ifclassloaded{article}{% + \PackageInfo{InTeX}{Adjusting behavior to suite the article document + class\@gobble}% + \@itx@init@nonbookmode% + \@itx@bookmodefalse% +}{}% +\@ifclassloaded{beamer}{% + \PackageInfo{InTeX}{Adjusting behavior to suite the beamer document + class\@gobble}% + \@itx@init@nonbookmode% + \@itx@bookmodefalse% + \renewcommand*\itxacronymarea{0}% + \@itx@margin@plainfalse% + \@itx@margin@acronymfalse% + \@itx@margin@personfalse% +}{}% +\if@itx@bookmode% + \@itx@init@bookmode% +\fi% +\newcommand*{\@itxplain}[3]{% + \@itxrecordarea{#1}{#2}% + \@itxtypeset{#1}{#2}{#3}% +}% +\newcommand*{\@itxalias}[2]{% + \edef\@mainserial{\expandafter\@firstoftwo#2}% + \edef\@equivserial{\expandafter\@secondoftwo#2}% + %\@itxrecordarea{#1}{\@mainserial}% + \@itxplain{#1}{\@equivserial}% +}% +\newcommand{\@itx@fakeindex}[1]{% + \begingroup% + \edef\@tempa{% + \write\@auxout{% + \string\@writefile{raw}{% + \string\indexentry{#1}{\thepage}% + }% + }% + }% + \expandafter\endgroup\@tempa% +}% +\newcommand{\co}{\@itx}% +\newcommand{\coS}[1]{\@itx[S]{#1}}% +\newcommand{\coL}[1]{\@itx[L]{#1}}% +\newcommand{\coF}[1]{\@itx[F]{#1}}% +\DeclareRobustCommand*{\@itx}[2][A]{% + \def\@tempa{#2}% + \edef\@tempb{\@nearverbatim\@tempa}% + \if@itx@index% + \index[raw]{#2}% + \else% + \@itx@fakeindex{\@tempb}% + \fi% + \newif\iffound% + \setcounter{co@type}{0}% + \loop\ifnum\theco@type<3% + \expandafter\ifx\csname fn\number\theco@type e@\@tempb\endcsname\relax% + \expandafter\ifx\csname fn\number\theco@type @\@tempb\endcsname\relax% + % \PackageWarning{InTeX}{Main AND alias reference `#2' occurred}% + % The reference refers to both main _and_ alias entries. Do + % nothing, this will be resolved through the |else|-cases + % immediately below. + \else% + %\PackageInfo{InTeX}{Main reference `#2' occurred}% + \edef\co@id{\csname fn\number\theco@type @\@tempb\endcsname}% + \@itxplain{\number\theco@type}{\co@id}{#1}% + \foundtrue% + \fi% + \fi% + \stepcounter{co@type}% + \repeat% + \iffound% + \else% + \PackageWarning{InTeX}{Reference `#2' to undefined concept}% + \if@itx@warn@undef% + \textbf{\itxundefcomment{#2}}% + \else% + #2% + \fi% + \fi% +}% +\newcommand*{\personused}[1]{% + \expandafter\ifx\csname pnused@#1\endcsname\PN@used% + \relax% + \else% + \global\expandafter\let\csname pnused@#1\endcsname\PN@used% + \global\let\PN@populated\PN@used% + \fi% +}% +\newcommand\@itxdefineforms[3]{% + \expandafter\gdef\csname fnss@\number#1\endcsname{#2}% + \expandafter\gdef\csname fnsl@\number#1\endcsname{#3}% +}% +\newcommand\@newentry[4]{% + \def\@tempa{#2}% + \edef\@tempb{\@nearverbatim\@tempa}% + % + \stepcounter{co@serial}% + %\PackageWarning{init}{serial counter = \expandafter\theco@serial}% + \expandafter\xdef\csname fn\number#1@\@tempb\endcsname{% + \number\theco@serial}% + %\PackageWarning{init}{Def: \meaning\csname fn\number#1@\@tempb\endcsname}% + \@itxdefineforms{\theco@serial}{#3}{#4}% +}% +\newcommand*\newconcept[3]{% + \@newentry{0}{#1}{#2}{#3}% +}% +\newcommand*\newacronym[3]{% + \@newentry{1}{#1}{#2}{#3}% +}% +\newcommand*\newperson[3]{% + \@newentry{2}{#1}{#2}{#3}% +}% +\newcommand*\@newentryequiv[5]{% + \newif\iffound% + \def\@tempa{#2}% + \edef\@tempb{\@nearverbatim\@tempa}% + \expandafter\ifx\csname fn\number#1 @\@tempb\endcsname\relax% + \else% + \foundtrue% + \edef\co@id{\csname fn\number#1@\@tempb\endcsname}% + %\PackageWarning{init}{Found `\@tempb' (type=\number#1, serial=\co@id)}% + \stepcounter{co@serial}% + \@itxdefineforms{\theco@serial}{#3}{#5}% + \def\@tempa{#4}% + \edef\@tempb{\@nearverbatim\@tempa}% + \expandafter\xdef\csname fn\number#1 e@\@tempb\endcsname{% + {\co@id}{\theco@serial}}% + \fi% + \iffound% + \else% + %\PackageWarning{InTeX}{Can't find `#2' for sub-concept `#3'}% + \fi% +}% +\newcommand*\newconceptequiv[4]{% + \@newentryequiv{0}{#1}{#2}{#3}{#4}% +}% +\newcommand*\newacronymequiv[4]{% + \@newentryequiv{1}{#1}{#2}{#3}{#4}% +}% +\newcommand*\newpersonequiv[4]{% + \@newentryequiv{2}{#1}{#2}{#3}{#4}% +}% +\AtBeginDocument{\@input{\jobname.ito}}% +\endinput% +\endinput +%% +%% End of file `intex.sty'. diff --git a/support/intex/latex/intex.tmp b/support/intex/latex/intex.tmp new file mode 100644 index 0000000000..8e40b94d03 --- /dev/null +++ b/support/intex/latex/intex.tmp @@ -0,0 +1,8 @@ +\verb|mkintex| automatically inflects +words following common patterns. For +example, \co{index} and \co{indices} +both refer to the same concept, even +though only \verb|index| is entered +in the \InTeX-file. The same goes for +\co{vertex} and \co{vertices}, and +\co{dog} and \co{dogs}. |