From a01c6cd8e1c9d57bfad552d26abc3d40a2f865a7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 16 Oct 2006 22:52:49 +0000 Subject: add bibtopic to tpm-ctan-check, update bibtopic git-svn-id: svn://tug.org/texlive/trunk@2337 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/bibtopic/bibtopic.dtx | 45 ++++++++++++++++------ .../texmf-dist/source/latex/bibtopic/bibtopic.ins | 2 +- 2 files changed, 35 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/source/latex') diff --git a/Master/texmf-dist/source/latex/bibtopic/bibtopic.dtx b/Master/texmf-dist/source/latex/bibtopic/bibtopic.dtx index bda6a4d78e7..32cc03aac48 100644 --- a/Master/texmf-dist/source/latex/bibtopic/bibtopic.dtx +++ b/Master/texmf-dist/source/latex/bibtopic/bibtopic.dtx @@ -92,7 +92,7 @@ % % =================================================================== % @LaTeX-package-file{ -% version = "1.0k", +% version = "1.1a", % date = "2002/08/22", % filename = "bibtopic.sty", % author-1 = "Pierre Basso", @@ -133,7 +133,7 @@ % % ^^A -------------------------------------------------- % -% \CheckSum{1732} +% \CheckSum{1747} % % \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 @@ -534,6 +534,13 @@ % \changes{v1.0k}{2002/08/22}{% % Fixed an incompatibility with KOMA classes v2.9 % } +% \changes{v1.1}{2004/01/16}{% +% Fixed an incompatibility with jurabib's ibidem mechanism for bib entries +% } +% \changes{v1.1a}{2006/09/08}{% +% Documented bug with alphabetical suffixes for multiple entries with +% same author and year. +% } % % ^^A -------------------------------------------------- % \title{\ThisPackage} @@ -1427,6 +1434,13 @@ % to different \Env{btSect}s, it won't be able to resolve the cross-reference. % % \item +% When the bibliography files have several items with the same author and +% the same year, they are tagged with `a', `b', `c' etc. extensions even if +% not all of them are cited. +% When the bibliography is printed with \Com{btPrintCited}, funny +% effects might occur, e.g. a bibliography where only a `b' item is shown. +% +% \item % \ThisPackage\ doesn't work with the `unsorted' citation % styles\label{sec:unsorted} such as \File{unsrt} or % \File{unsrtdin}.\footnote{^^A @@ -1675,7 +1689,7 @@ % \end{macrocode} % 1996/12/01 is the oldest \LaTeX\ version with which this package has been tested. % \begin{macrocode} -\NeedsTeXFormat{LaTeX2e}[1996/12/01] \ProvidesPackage{bibtopic}[2002/08/22 v1.0k +\NeedsTeXFormat{LaTeX2e}[1996/12/01] \ProvidesPackage{bibtopic}[2006/09/08 v1.1a Sectioned Bibliographies] % \end{macrocode} % @@ -2380,7 +2394,7 @@ Sectioned Bibliographies] \newcommand*\bt@savelist{} \newcommand*\bt@append@list[2]{% % \bt@debug{appending #1 to #2}% - \let\bt@savelist#2 + \let\bt@savelist#2% %<*debug> \bt@debug{list is: #2}% \bt@debug{bt@savelist is: \bt@savelist}% @@ -3163,14 +3177,14 @@ Sectioned Bibliographies] % \begin{macrocode} \def\cite{% \@ifstar{}{}% just gobble it - \@ifnextchar[{% brace matching ]}{ + \@ifnextchar[{% brace matching }]{ \@citex }{% \@citex[]% }% } \def\@citex[##1]{% - \@ifnextchar[{%]}{ + \@ifnextchar[{% brace matching }]{ \bt@gobble@citex[##1]% }{% \bt@gobble@citex[##1][]% @@ -3200,6 +3214,13 @@ Sectioned Bibliographies] % \begin{macrocode} \let\jbdoitem\relax \let\jbbibargs\bt@gobblethree +% \end{macrocode} +% To make \Env{ibidem@author} in \Package{jurabib} work: +% \begin{macrocode} + \let\bibnf\relax + \let\bibrnf\relax + \let\bibenf\relax + \let\bibrenf\relax } % \end{macrocode} % \end{macro} @@ -3322,7 +3343,7 @@ Sectioned Bibliographies] \@percentchar% \@percentchar% \@percentchar% - \space produced automatically by bibtopic.sty v1.0k% + \space produced automatically by bibtopic.sty v1.1% }% \begingroup \let\do\@makeother \dospecials @@ -3841,7 +3862,8 @@ Sectioned Bibliographies] % our `fake' environments, and then input the \Env{thebibliography} % environment. The only major difference between them is in setting the % \Com{@bt@print@\{positive$\mid$all\}@} flags that control printing inside -% \Com{bt@call@item}. +% \Com{bt@call@item}. \Com{bt@label} is used to make the label commands used +% by the keyval mechanism more flexible. % ^^A % \changes{v1.0b}{1999/09/20}{% % Added the \chCom{bt@curr@...} commands to the \chCom{btPrint...} commands @@ -3849,13 +3871,14 @@ Sectioned Bibliographies] % ^^A % \begin{macro}{\btPrintCited} % \begin{macrocode} +\newcommand*\bt@label@sec{\label}% \newcommand*\btPrintCited{% \ifthenelse{\boolean{bt@inside@sect}}{% \protected@edef\bt@curr@line{\the\inputlineno}% \def\bt@curr@cmd{\string\btPrintCited}% \bt@stepcnt\bt@internal@sect@cnt% \bt@print@citedtrue\bt@print@allfalse - \label{Sec:\bt@internal@sect@cnt}% + \bt@label@sec{Sec:\bt@internal@sect@cnt}% \bt@change@bibitem \bt@input@or@warn{\thebtauxfile}% % \end{macrocode} @@ -3880,7 +3903,7 @@ Sectioned Bibliographies] \def\bt@curr@cmd{\string\btPrintNotCited}% \bt@stepcnt\bt@internal@sect@cnt \bt@print@citedfalse\bt@print@allfalse - \label{Sec:\bt@internal@sect@cnt}% + \bt@label@sec{Sec:\bt@internal@sect@cnt}% \bt@change@bibitem \bt@input@or@warn{\thebtauxfile}% }{% @@ -3898,7 +3921,7 @@ Sectioned Bibliographies] \def\bt@curr@cmd{\string\btPrintAll}% \bt@stepcnt\bt@internal@sect@cnt \bt@print@citedfalse\bt@print@alltrue - \label{Sec:\bt@internal@sect@cnt}% + \bt@label@sec{Sec:\bt@internal@sect@cnt}% \bt@change@bibitem \bt@input@or@warn{\thebtauxfile}% \bt@print@keyvals{\bt@sect@ref@list}% diff --git a/Master/texmf-dist/source/latex/bibtopic/bibtopic.ins b/Master/texmf-dist/source/latex/bibtopic/bibtopic.ins index 33c99159a90..e334fe071b5 100644 --- a/Master/texmf-dist/source/latex/bibtopic/bibtopic.ins +++ b/Master/texmf-dist/source/latex/bibtopic/bibtopic.ins @@ -121,7 +121,7 @@ See \batchfile\space for the copyright details. %% !!! remove the following line and the `debug' option before releasing. %%% \askforoverwritefalse \generate{% - \file{bibtopic.sty}{\from{bibtopic.dtx}{package}} + \file{bibtopic.sty}{\from{bibtopic.dtx}{package,debug}} \usepreamble\texfilepreamble \file{sample.tex}{\from{bibtopic.dtx}{sample.tex}} \usepreamble\bibfilepreamble -- cgit v1.2.3