summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-06-25 22:57:28 +0000
committerKarl Berry <karl@freefriends.org>2013-06-25 22:57:28 +0000
commit9fdac4f2d07b457ea0e9d036623028657fd34cc7 (patch)
tree21ae974b7b1ab30d7a8ac40e75fec21cd872715a /Master/texmf-dist
parentc796b9fc94e24ed88fd9ba614b77f54c315edd66 (diff)
multibibliography (25jun13)
git-svn-id: svn://tug.org/texlive/trunk@30939 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/multibibliography/Makefile4
-rw-r--r--Master/texmf-dist/doc/latex/multibibliography/README7
-rw-r--r--Master/texmf-dist/doc/latex/multibibliography/figure.PDFbin33586 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/multibibliography/figure.pdfbin0 -> 33730 bytes
-rw-r--r--Master/texmf-dist/doc/latex/multibibliography/multibibliography.pdfbin234521 -> 235019 bytes
-rw-r--r--Master/texmf-dist/doc/latex/multibibliography/tug-paper.pdfbin212479 -> 212629 bytes
-rw-r--r--Master/texmf-dist/doc/latex/multibibliography/tug-paper.tex2
-rwxr-xr-xMaster/texmf-dist/scripts/multibibliography/multibibliography.pl64
-rw-r--r--Master/texmf-dist/source/latex/multibibliography/multibibliography.dtx10
-rw-r--r--Master/texmf-dist/tex/latex/multibibliography/multibibliography.sty5
10 files changed, 48 insertions, 44 deletions
diff --git a/Master/texmf-dist/doc/latex/multibibliography/Makefile b/Master/texmf-dist/doc/latex/multibibliography/Makefile
index f5f0c725dbc..005a8a0775a 100644
--- a/Master/texmf-dist/doc/latex/multibibliography/Makefile
+++ b/Master/texmf-dist/doc/latex/multibibliography/Makefile
@@ -3,7 +3,7 @@
#
# This file is in public domain
#
-# $Id: Makefile,v 1.3 2013-03-26 22:58:39 boris Exp $
+# $Id: Makefile,v 1.4 2013-05-30 02:20:11 boris Exp $
#
PACKAGE=multibibliography
@@ -47,7 +47,7 @@ clean:
*.dvi *.ps *.tgz *.zip *.brf
veryclean: clean
- $(RM) *.pdf
+ $(RM) $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf}
distclean: veryclean
diff --git a/Master/texmf-dist/doc/latex/multibibliography/README b/Master/texmf-dist/doc/latex/multibibliography/README
index ce2467125f3..b728a0d4d61 100644
--- a/Master/texmf-dist/doc/latex/multibibliography/README
+++ b/Master/texmf-dist/doc/latex/multibibliography/README
@@ -1,8 +1,8 @@
The Multibibliography Package
- Michael Cohen and Yannis Haralambous
+ Michael Cohen, Yannis Haralambous, & Boris Veytsman
- 2013/02/03 v1.0
+ 2013/05/29 v1.03
Conventional standards for bibliography styles entail a forced choice
between index and name/year citations and corresponding references.
@@ -11,3 +11,6 @@ comprising alphabetic, sequenced, and even chronological orderings of
references. An extended inline citation format is also proposed to
integrate such heterogeneous styles, and is usable and useful even
without separate bibliographies.
+
+
+Version 1.03: New multibibliography.pl script \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/multibibliography/figure.PDF b/Master/texmf-dist/doc/latex/multibibliography/figure.PDF
deleted file mode 100644
index 315f2f03ef6..00000000000
--- a/Master/texmf-dist/doc/latex/multibibliography/figure.PDF
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/multibibliography/figure.pdf b/Master/texmf-dist/doc/latex/multibibliography/figure.pdf
new file mode 100644
index 00000000000..022002eaef3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/multibibliography/figure.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/multibibliography/multibibliography.pdf b/Master/texmf-dist/doc/latex/multibibliography/multibibliography.pdf
index 54e8af2f860..0e681b8ee55 100644
--- a/Master/texmf-dist/doc/latex/multibibliography/multibibliography.pdf
+++ b/Master/texmf-dist/doc/latex/multibibliography/multibibliography.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/multibibliography/tug-paper.pdf b/Master/texmf-dist/doc/latex/multibibliography/tug-paper.pdf
index a2ce99df979..b5f7755de47 100644
--- a/Master/texmf-dist/doc/latex/multibibliography/tug-paper.pdf
+++ b/Master/texmf-dist/doc/latex/multibibliography/tug-paper.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/multibibliography/tug-paper.tex b/Master/texmf-dist/doc/latex/multibibliography/tug-paper.tex
index 14368ee9930..1c1a5c2999a 100644
--- a/Master/texmf-dist/doc/latex/multibibliography/tug-paper.tex
+++ b/Master/texmf-dist/doc/latex/multibibliography/tug-paper.tex
@@ -195,7 +195,7 @@ may be elided.)
\begin{figure*}[ht*]
\begin{center}
-\includegraphics[width=\textwidth]{figure.PDF}
+\includegraphics[width=\textwidth]{figure.pdf}
\caption{Hyperreferential links across document and among the multibibliographies:
Each inline citation,
exemplified by the block in the center,
diff --git a/Master/texmf-dist/scripts/multibibliography/multibibliography.pl b/Master/texmf-dist/scripts/multibibliography/multibibliography.pl
index e1293f474d9..16374700359 100755
--- a/Master/texmf-dist/scripts/multibibliography/multibibliography.pl
+++ b/Master/texmf-dist/scripts/multibibliography/multibibliography.pl
@@ -1,9 +1,8 @@
#!/usr/bin/perl
# Usage: perl multibibliography.pl jobname
-# Version: 2011-04-11T10:18Z
# By Yannis Haralambous and Michael Cohen
-# Changes by Boris Veytsman, $Revision: 1.4 $, $Date: 2013-03-26 20:56:02 $
+# Changes by Boris Veytsman, $Revision: 1.6 $, $Date: 2013-06-25 03:37:30 $
# This perl script does the bibtexing part, generating 3 separate .bbl
# files with descriptive names derived from source file name, so no
@@ -42,16 +41,15 @@ if (-e $filename.".aux") {
}
}
close IN;
- open OUT, ">".$filename.".aux";
+ open OUT, "> $filename-sequence.aux";
print OUT $BIG;
close OUT;
- system("bibtex $filename");
- system("mv $filename".".bbl $filename"."-sequence.bbl");
+ system("bibtex $filename-sequence");
# Now, change "unsrt" in the aux file to "chronological"
# and generate bbl file, renamed to "fn-timeline.bbl".
- open IN, $filename.".aux";
+ open IN, "$filename-sequence.aux";
$BIG="";
while (<IN>) {
if (m/\\bibstyle\{unsrt\}/) {
@@ -61,16 +59,15 @@ if (-e $filename.".aux") {
}
}
close IN;
- open OUT, ">".$filename.".aux";
+ open OUT, "> $filename-timeline.aux";
print OUT $BIG;
close OUT;
- system("bibtex $filename");
- system("mv $filename".".bbl $filename"."-timeline.bbl");
+ system("bibtex $filename-timeline");
# Lastly, change "chronological" in the aux file to "apalike"
# and generate bbl file, retaining name "fn.bbl".
-
- open IN, $filename.".aux";
+
+ open IN, "$filename-timeline.aux";
$BIG="";
while (<IN>) {
if (m/\\bibstyle\{chronological\}/) {
@@ -80,16 +77,16 @@ if (-e $filename.".aux") {
}
}
close IN;
- open OUT, ">".$filename.".aux";
+ open OUT, "> $filename.aux";
print OUT $BIG;
close OUT;
system("bibtex $filename");
- &cleanup($filename.".bbl");
- &cleanup($filename."-sequence.bbl");
- &cleanup($filename."-timeline.bbl");
+ cleanup("$filename.bbl");
+ cleanup("$filename-sequence.bbl");
+ cleanup("$filename-timeline.bbl");
- open IN, $filename."-sequence.bbl";
+ open IN, "$filename-sequence.bbl";
my $counter=1;
my %UNSRT;
my %DATE;
@@ -106,48 +103,51 @@ if (-e $filename.".aux") {
$counter=1;
while (<IN>) {
if (m/\\bibitem\[([^\]]+)\]{([^}]+?)}/) {
- my $longdesc=$1;
- my $label=$2;
- if ($longdesc =~ /^(.*),\s+(\S+)$/) {
- $NAME{$label}=$1;
- $DATE{$label}=$2;
- }
- }
+ my $longdesc=$1;
+ my $label=$2;
+ if ($longdesc =~ /^(.*),\s+(\S+)$/) {
+ $NAME{$label}=$1;
+ $DATE{$label}=$2;
+ }
+ }
}
close IN;
open IN, $filename."-sequence.bbl";
$counter=1;
- open OUT, ">tmp123456";
+ $BIG="";
while (<IN>) {
if (s/\\bibitem{(.+?)}/\\bibitem[\\MBlabel{$counter}{$NAME{$1}}{$DATE{$1}}]{$1}\n/) {
$counter++;
}
- print OUT;
+ $BIG .= $_;
}
close IN;
+ open OUT, "> $filename-sequence.bbl";
+ print OUT $BIG;
close OUT;
- system("mv tmp123456 $filename"."-sequence.bbl");
open IN, $filename.".bbl";
- open OUT, ">tmp123456";
+ $BIG="";
while (<IN>) {
s/\\bibitem\[[^\]]+\]{(.+?)}/\\bibitem[\\MBlabel{$UNSRT{$1}}{$NAME{$1}}{$DATE{$1}}]{$1}/;
- print OUT $_;
+ $BIG .= $_;
}
close IN;
+ open OUT, ">$filename.bbl";
+ print OUT $BIG;
close OUT;
- system("mv tmp123456 $filename".".bbl");
open IN, $filename."-timeline.bbl";
- open OUT, ">tmp123456";
+ $BIG="";
while (<IN>) {
s/\\bibitem\[[^\]]+\]{(.+?)}/\\bibitem[\\MBlabel{$UNSRT{$1}}{$NAME{$1}}{$DATE{$1}}]{$1}/;
- print OUT $_;
+ $BIG .= $_;
}
close IN;
+ open OUT, ">$filename-timeline.bbl";
+ print OUT $BIG;
close OUT;
- system("mv tmp123456 $filename"."-timeline.bbl");
}
diff --git a/Master/texmf-dist/source/latex/multibibliography/multibibliography.dtx b/Master/texmf-dist/source/latex/multibibliography/multibibliography.dtx
index 6786a624a50..62928a272c6 100644
--- a/Master/texmf-dist/source/latex/multibibliography/multibibliography.dtx
+++ b/Master/texmf-dist/source/latex/multibibliography/multibibliography.dtx
@@ -1,9 +1,8 @@
% \iffalse
-% $Id: multibibliography.dtx,v 1.8 2013-05-16 02:47:54 boris Exp $
+% $Id: multibibliography.dtx,v 1.10 2013-05-30 02:22:26 boris Exp $
%
%% Copyright 2013, Michael Cohen <mcohen@u-aizu.ac.jp>
-%% Yannis Haralambous <yannis.haralambous@telecom-bretagne.eu>
-%% Boris Veytsman <borisv@lk.net>
+%% and Yannis Haralambous, <yannis.haralambous@telecom-bretagne.eu>
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3 of this license or (at your option) any
@@ -61,6 +60,9 @@
% \MakeShortVerb{|}
% \GetFileInfo{multibibliography.sty}
%
+% \changes{v1.03}{2013/05/29}{Rewrote multibibliography.pl: no more
+% temp files}
+%
% \title{The Multibibliography Package\thanks{\copyright 2013 Michael
% Cohen and Yannis Haralambous}}
% \author{Michael Cohen\thanks{mcohen@u-aizu.ac.jp} \and
@@ -184,7 +186,7 @@
%</gobble>
%<style>\ProvidesPackage{multibibliography}
%<*style>
-[2013/03/26 v1.02 Multibibliography support for LaTeX]
+[2013/05/29 v1.03 Multibibliography support for LaTeX]
% \end{macrocode}
%
%
diff --git a/Master/texmf-dist/tex/latex/multibibliography/multibibliography.sty b/Master/texmf-dist/tex/latex/multibibliography/multibibliography.sty
index 210d2c9de5b..9c6e69b0072 100644
--- a/Master/texmf-dist/tex/latex/multibibliography/multibibliography.sty
+++ b/Master/texmf-dist/tex/latex/multibibliography/multibibliography.sty
@@ -21,8 +21,7 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%% Copyright 2013, Michael Cohen <mcohen@u-aizu.ac.jp>
-%% Yannis Haralambous <yannis.haralambous@telecom-bretagne.eu>
-%% Boris Veytsman <borisv@lk.net>
+%% and Yannis Haralambous, <yannis.haralambous@telecom-bretagne.eu>
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3 of this license or (at your option) any
@@ -42,7 +41,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{multibibliography}
-[2013/03/26 v1.02 Multibibliography support for LaTeX]
+[2013/05/29 v1.03 Multibibliography support for LaTeX]
\providecommand\NAT@parse[1]{}
\providecommand*\@extra@binfo{}
\providecommand*\@extra@b@citeb{}