summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/splitbib
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2006-11-06 01:06:06 +0000
committerNorbert Preining <preining@logic.at>2006-11-06 01:06:06 +0000
commit6ebd159ea2e62827f832b12137ec75a322e32ec0 (patch)
tree317793a8c1f76e8d6dcf3046420392fbd599f4ba /Master/texmf-dist/tex/latex/splitbib
parent3d2caaeddabf9f9bf2b309c6d3ba42e6b5dc71fa (diff)
Again loads of updates due to a long train ride
updates to: eskdx screenplay syntax (dvi->pdf) swebib substr (dvi->pdf) stdpage (one new test file) stdclsdv (dvi->pdf) ssqquote sseq sprite splitbib snapshot (pdf doc) smartref (new doc) smalltableof (new doc) siggraph sidecap shorttoc (new doc) sffms script (new doc) scientificpaper (new doc) scale savefnmark (new doc) sauterfonts (new doc) rtkinenc (new doc) added to tpm-ctan-check: tableaux syntax swebib svn supertabular substr subfloat subeqnarray subeqn stdpage stdclsdv stage stack ssqquote sseq srcltx sprite splitbib splines spie soul snapshot smartref smalltableof slideshow siggraph sidecap showlabels showdim shorttoc shadbox sffms seqsplit semaphor script scientificpaper scalebar scale savetrees savesym savefnmark sauterfonts rtkinenc most of them license checked in the TeX Catalogue git-svn-id: svn://tug.org/texlive/trunk@2392 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/splitbib')
-rw-r--r--Master/texmf-dist/tex/latex/splitbib/splitbib.sty42
1 files changed, 16 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/splitbib/splitbib.sty b/Master/texmf-dist/tex/latex/splitbib/splitbib.sty
index fd926d11b57..4ee8d9dbdd2 100644
--- a/Master/texmf-dist/tex/latex/splitbib/splitbib.sty
+++ b/Master/texmf-dist/tex/latex/splitbib/splitbib.sty
@@ -24,7 +24,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{splitbib}
- [2005/02/25 v1.12 Splits bibliography into categories]
+ [2005/12/22 v1.17 Splits bibliography into categories]
\newif\ifNMSB@strict\NMSB@strictfalse
\DeclareOption{strict}{\NMSB@stricttrue}
\DeclareOption{nonstrict}{\NMSB@strictfalse}
@@ -78,49 +78,49 @@
\def\NMSB@penalty{5000}
\def\NMSB@halfpenalty{500}
\def\NMSB@warnnocateg#1,\end{%
- \message{---- SortBib warning ----^^J%
+ \message{---- Splitbib warning ----^^J%
-- The following bib entries have no category: #1^^J}}
\def\NMSB@warndblcateg#1,\end{%
- \message{---- SortBib warning ----^^J%
+ \message{---- Splitbib warning ----^^J%
-- The following bib entries have several categories: #1^^J%
-- The first one will be used.^^J}}
\def\NMSB@warnwronglongest{%
\expandafter\NMSB@tok\expandafter{\NMSB@reallylongestlabel}
- \message{---- SortBib warning ----^^J%
+ \message{---- Splitbib warning ----^^J%
-- The longest label appears to be [\the\NMSB@tok]
instead of}
\@ifundefined{SBlongestlabel}{}{\message{(forced)}}
\expandafter\NMSB@tok\expandafter{\NMSB@longestlabel}
\message{[\the\NMSB@tok]^^J}}
\def\NMSB@errtoomanycat#1{%
- \message{---- SortBib error ----^^J%
+ \message{---- Splitbib error ----^^J%
-- You defined too many level-#1 categories (max = 89).^^J}}
\def\NMSB@errtoomanyent{%
\setcounter{NMSB@maxent}{\NMSB@initent0}
\addtocounter{NMSB@maxent}{-\NMSB@initent}
- \message{---- SortBib error ----^^J%
+ \message{---- Splitbib error ----^^J%
-- You defined too many entries in one category %
(max = \theNMSB@maxent)^^J}}
\def\NMSB@errcattoodeep{%
- \message{---- Sortbib error ----^^J
+ \message{---- Splitbib error ----^^J
-- Only two category depth allowed.^^J}}
\def\NMSB@errentriesoutsidecat{%
- \message{---- Sortbib error ----^^J
+ \message{---- Splitbib error ----^^J
-- \string\SBentries outside category environment.^^J}}
\def\NMSB@errentrieswithoptinsidecat{%
- \message{----Sortbib error ----^^J
+ \message{----Splitbib error ----^^J
-- \string\SBentries with optional argument inside category env.^^J}}
\def\NMSB@erraliasoutsidecat{%
- \message{----Sortbib error ----^^J
+ \message{----Splitbib error ----^^J
-- \string\SBalias used outside category environment.^^J}}
\def\NMSB@erraliasalreadydef#1{%
- \message{----Sortbib error ----^^J
+ \message{----Splitbib error ----^^J
-- Alias #1 multiply defined.^^J}}
\def\NMSB@erraliasundefined#1{%
- \message{----Sortbib error ----^^J
+ \message{----Splitbib error ----^^J
-- Alias #1 undefined.^^J}}
\def\NMSB@errcommentoutsidecat{%
- \message{----Sortbib error ----^^J
+ \message{----Splitbib error ----^^J
-- \string\SBcomment used outside category environment.^^J}}
\def\SBtitlestyle#1{\gdef\NMSB@titlestyle{#1}}
\def\SBsubtitlestyle#1{\gdef\NMSB@subtitlestyle{#1}}
@@ -163,7 +163,7 @@
\def\NMSB@stylesimple#1#2{\hskip-\leftmargin%
\csname SB\NMSB@level font\endcsname{#1#2}
}
-\def\category{\@ifnextchar[{\@lNMSBcategory}{\@NMSBcategory}}
+\def\category{\@ifnextchar[{\@lNMSBcategory}{\@lNMSBcategory[]}}
\def\@lNMSBcategory[#1]#2{%
\stepcounter{NMSB@catlevel}%
\ifnum\theNMSB@catlevel>2\relax
@@ -360,10 +360,6 @@
\expandafter\ifx\csname NMSBcateg@#2\endcsname\relax
\expandafter\gdef\csname NMSBcateg@#2\endcsname{9999}%
\edef\NMSB@missingcat{\NMSB@missingcat #2,}%
- \ifNMSB@ownorder
- \expandafter\xdef\csname NMSBcateg@\@citeb\endcsname{%
- \csname NMSBcateg@\@citeb\endcsname\theNMSB@maxent}%
- \fi
\fi
\let\@tempa\relax
\ifNMSB@ownorder
@@ -423,10 +419,6 @@
\def\@bibitem#1#2\par{%
\expandafter\ifx\csname NMSBcateg@#1\endcsname\relax
\expandafter\gdef\csname NMSBcateg@#1\endcsname{9999}%
- \ifNMSB@ownorder
- \expandafter\xdef\csname NMSBcateg@\@citeb\endcsname{%
- \csname NMSBcateg@\@citeb\endcsname\theNMSB@maxent}%
- \fi
\edef\NMSB@missingcat{\NMSB@missingcat #1,}%
\fi
\def\@tempa{}%
@@ -654,17 +646,15 @@
\immediate\write\NMSB@catbib{%
\string\bibitem}%
\expandafter\ifx\expandafter\relax\the\NMSB@currprefixtok
- \expandafter\def\expandafter\NMSB@tempentry
- \expandafter{\the\value{\@listctr}}%
\else
\expandafter\expandafter\expandafter\def
\expandafter\expandafter\expandafter\NMSB@tempentry
\expandafter\expandafter\expandafter{%
\expandafter\the\expandafter\NMSB@currprefixtok
\the\value{\@listctr}}%
+ \expandafter\NMSB@writecatbib\expandafter{%
+ \expandafter[\NMSB@tempentry]}%
\fi
- \expandafter\NMSB@writecatbib\expandafter{%
- \expandafter[\NMSB@tempentry]}%
\immediate\write\NMSB@catbib{%
{\csname NMSBkey@#5\endcsname}}
\expandafter\let\expandafter\NMSB@tempentry