summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cnltx/cnltx.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-05 21:31:22 +0000
committerKarl Berry <karl@freefriends.org>2013-10-05 21:31:22 +0000
commit7339f8c2554ea56f79258fcee0aac72fd23f184d (patch)
tree27dd493ae7c1f2afc34b1a676b1c956f75a7b233 /Master/texmf-dist/tex/latex/cnltx/cnltx.cbx
parent4d55f1c5f6f5c3f6b9b3e170f8ce3c1b013c7cb6 (diff)
cnltx (5oct13)
git-svn-id: svn://tug.org/texlive/trunk@31843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cnltx/cnltx.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/cnltx/cnltx.cbx26
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/cnltx/cnltx.cbx b/Master/texmf-dist/tex/latex/cnltx/cnltx.cbx
new file mode 100644
index 00000000000..142467d2af2
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/cnltx/cnltx.cbx
@@ -0,0 +1,26 @@
+\@ifclassloaded{cnltx-doc}{}{%
+ \GenericError
+ {(cnltx.cbx)\@spaces\@spaces\@spaces\@spaces}
+ {cnltx citation style error: invalid class}
+ {See the cnltx bundle documentation for explanation.}
+ {%
+ The `cnltx' citation style can only be used with the `cnltx-doc'
+ document class%
+ }%
+}
+\ProvidesFile{cnltx.cbx}[\cnltx@@date\space \cnltx@@version\space \cnltx@@info]
+
+\RequireCitationStyle{alphabetic}
+
+\renewbibmacro*{citeindex}{%
+ \ifciteindex
+ {%
+ \indexnames{labelname}%
+ \indexnames{maintainer}%
+ \indexfield{indextitle}%
+ }
+ {}%
+}
+
+
+\endinput