summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cnltx/cnltx.cbx
diff options
context:
space:
mode:
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