summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-05-12 22:37:48 +0000
committerKarl Berry <karl@freefriends.org>2015-05-12 22:37:48 +0000
commit282aba5292e7064912f8be31ce942ea9ea4a44ab (patch)
tree0f5590e2e76f0f2beba9cd39a5b93214c0b20061
parent798a00f49ea498ec77e2bc560317007b0315dea8 (diff)
biblatex-subseries (12may15)
git-svn-id: svn://tug.org/texlive/trunk@37359 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-subseries/README18
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.bib10
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.pdfbin0 -> 6783 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.tex7
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.pdfbin0 -> 59459 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.tex100
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-subseries/documentation/makefile11
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-subseries/makefile19
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx35
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx23
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/biblatex-subseries.tlpsrc0
-rw-r--r--Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc1
13 files changed, 225 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-subseries/README b/Master/texmf-dist/doc/latex/biblatex-subseries/README
new file mode 100644
index 00000000000..1ad6ad05807
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-subseries/README
@@ -0,0 +1,18 @@
+Managing subseries in biblatex, with number inside subseries.
+
+I.e
+
+````
+@book{xxx,
+ series={Corpus Scriptorum Christianorum Orientalum},
+ number={78},
+ subseries={Scriptores Arabici},
+ subnumber={12}
+ }
+````
+
+Maïeul Rouquette - 2015… - LPPL 1.3
+
+http://latex-project.org/lppl/lppl-1-3c.html
+
+Feature requests and bug reports can be made in https://git.framasoft.org/maieul/biblatex-subseries/issues \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.bib b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.bib
new file mode 100644
index 00000000000..7100fa452a4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.bib
@@ -0,0 +1,10 @@
+@book{CSCO545,
+ Number = {545},
+ Series = {Corpus Scriptorum Christianorum Orientalium},
+ Shortseries = {CSCO},
+ Shortsubseries = {Copt},
+ Subnumber = {48},
+ Subseries = {Scriptores Coptici},
+ Title = {Encomiastica from the Pierpont Morgan Library}
+}
+
diff --git a/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.pdf b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.pdf
new file mode 100644
index 00000000000..86e81a4c4ce
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.tex b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.tex
new file mode 100644
index 00000000000..f01d8acc25f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries-example.tex
@@ -0,0 +1,7 @@
+\documentclass{article}
+\usepackage[citestyle=verbose,bibstyle=subseries]{biblatex}
+\addbibresource{biblatex-subseries-example.bib}
+\begin{document}
+\cite{CSCO545}
+\end{document}
+
diff --git a/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.pdf b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.pdf
new file mode 100644
index 00000000000..9c450afe085
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.tex b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.tex
new file mode 100644
index 00000000000..060bba5618a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/biblatex-subseries.tex
@@ -0,0 +1,100 @@
+\documentclass{ltxdockit}[2011/03/25]
+\usepackage{btxdockit}
+\usepackage{fontspec}
+\usepackage[mono=false]{libertine}
+\usepackage{microtype}
+\usepackage[american]{babel}
+\usepackage[strict]{csquotes}
+\setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
+\usepackage{shortvrb}
+\usepackage{pifont}
+\usepackage{minted}
+% Usefull commands
+\newcommand{\biblatex}{biblatex\xspace}
+\pretocmd{\bibfield}{\sloppy}{}{}
+\pretocmd{\bibtype}{\sloppy}{}{}
+\newcommand{\namebibstyle}[1]{\texttt{#1}}
+\newrobustcmd*{\LF}{%
+ \textcolor{spot}{\margnotefont Label field}}
+\newrobustcmd*{\LFMark}{%
+ \leavevmode\marginpar{\LF}}
+% Meta-datas
+\titlepage{%
+ title={Description of subseries with biblatex},
+ subtitle={New data fields},
+ email={maieul <at> maieul <dot> net},
+ author={Maïeul Rouquette},
+ revision={1.0.0},
+ date={12/05/2015},
+ url={https://git.framasoft.org/maieul/biblatex-subseries}}
+
+% biblatex
+\usepackage[bibstyle=subseries,citestyle=verbose]{biblatex}
+\addbibresource{biblatex-subseries-example.bib}
+
+\begin{document}
+
+\printtitlepage
+\tableofcontents
+\section{Introduction}
+
+Some publishers organize book series with subseries. In this case, two numbers are associated with one volume: the number inside the series and the number inside the subseries. That is the case of the series \emph{\foreignlanguage{latin}{Corpus Scriptorium Christianorum Orientalium}} published by Peeters.\footnote{\url{http://www.peeters-leuven.be/search_serie_book.asp?nr=94}}
+This package provides new fields to manage such system.
+\section{Basic use}
+
+\subsection{The .bib file}
+You can use three more fields:
+\begin{fieldlist}
+
+\fielditem{shortsubseries}{literal\LFMark} The shorthand form of the subseries. Not used by default styles.
+\fielditem{subnumber}{literal} The number of the book inside the subseries.
+\fielditem{subseries}{literal} The subseries.
+
+\end{fieldlist}
+
+
+\inputminted{tex}{biblatex-subseries-example.bib}
+
+
+\subsection{Loading of the \biblatex package}
+
+When loading the \biblatex package, use the \namebibstyle{subseries} bibstyle, which is based on the \namebibstyle{verbose} bibstyle:
+
+\begin{minted}{latex}
+\usepackage[citestyle=verbose,bibstyle=subseries]{biblatex}
+\end{minted}
+
+\subsection{Example of result}
+
+Here, an example of result with the default setting:
+\begin{quotation}
+\cite{CSCO545}
+\end{quotation}
+
+\section{Customization}
+You can redefine \cmd{subseriesseparator} to change the separator between series and subseries.
+
+If you want to customize the \verb+series+number+ bibmacro, do not forget to call the \verb|subseries+subnumber| bibmacro inside. You can also redefine it.
+
+
+\section{Use with other packages which provide new fields}
+
+To use this package with the features of others which provide new fields, like \verb+biblatex-manuscripts-philology+, you must use the package \verb+biblatex-multiple-dm+.
+
+\section{Credits}
+
+This package was created for Maïeul Rouquette's phd dissertation\footnote{\url{http://apocryphes.hypothese.org}.} in 2015. It is licensed on the \emph{\LaTeX\ Project Public License}\footnote{\url{http://latex-project.org/lppl/lppl-1-3c.html}.}.
+
+
+All issues can be submitted, in French or English, in the Framagit issues page.\footnote{\url{https://git.framasoft.org/maieul/biblatex-subseriesissues}.}
+
+\section{Change history}
+
+\begin{changelog}
+
+
+\begin{release}{1.0.0}{2015-05-12}
+\item First public release.
+\end{release}
+\end{changelog}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/makefile b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/makefile
new file mode 100644
index 00000000000..faeca5ddf01
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-subseries/documentation/makefile
@@ -0,0 +1,11 @@
+all: *tex *bib
+ xelatex --shell-escape biblatex-subseries.tex
+ biber biblatex-subseries
+ xelatex --shell-escape biblatex-subseries.tex
+ xelatex --shell-escape biblatex-subseries-example.tex
+ biber biblatex-subseries-example
+ xelatex --shell-escape biblatex-subseries-example.tex
+
+clean:subseries
+ $(MAKE) -C documentation clean
+ @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz*
diff --git a/Master/texmf-dist/doc/latex/biblatex-subseries/makefile b/Master/texmf-dist/doc/latex/biblatex-subseries/makefile
new file mode 100644
index 00000000000..1c1c76c6ac1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-subseries/makefile
@@ -0,0 +1,19 @@
+FILES = *.bbx *.dbx *.lbx documentation makefile README
+
+
+dist: all
+ rm -rf biblatex-subseries
+ mkdir biblatex-subseries
+ ln README *bbx *dbx *makefile biblatex-subseries
+ mkdir biblatex-subseries/documentation
+ ln documentation/*tex documentation/*bib documentation/*pdf documentation/makefile biblatex-subseries/documentation
+ $(RM) ../biblatex-subseries.zip
+ zip -r ../biblatex-subseries.zip biblatex-subseries
+
+
+clean:
+ $(MAKE) -C documentation clean
+ @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz*
+
+all: documentation/biblatex-subseries-example.tex documentation/biblatex-subseries.tex documentation/biblatex-subseries-example.bib
+ $(MAKE) -C documentation all
diff --git a/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx b/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx
new file mode 100644
index 00000000000..41bc38b71cc
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.bbx
@@ -0,0 +1,35 @@
+%% Copyright 2014 Maïeul Rouquette
+%
+% 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 later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Maïeul Rouquette
+% This work consists of the files subseries.dbx, subseries.bbx
+\ProvidesFile{subseries.dbx}
+[2015/05/12 v1.0.0 biblatex bibliography style (MR)]
+
+\ifdef{\biblatexmultipledm@bibstyle}
+ {\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}}
+ {\RequireBibliographyStyle{verbose}}
+
+\RequirePackage{xpatch}
+
+\xapptobibmacro{series+number}{\usebibmacro{subseries+subnumber}}{}{}%Patch the standard bibmacro series+number
+
+\newbibmacro{subseries+subnumber}{%A default subseries+subnumber style
+ \setunit *{\subseriesseparator}%
+ \printfield{subseries}%
+ \setunit *{\addspace}%
+ \printfield{subnumber}%
+ \newunit%
+}
+
+\newcommand{\subseriesseparator}{\addspace---\addspace}
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx b/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx
new file mode 100644
index 00000000000..bbf4ed7a41e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-subseries/subseries.dbx
@@ -0,0 +1,23 @@
+%% Copyright 2014 Maïeul Rouquette
+%
+% 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 later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Maïeul Rouquette
+% This work consists of the files subseries.dbx, subseries.bbx
+\ProvidesFile{subseries.dbx}
+[2015/12/05 v1.0.0 biblatex bibliography style (MR)]
+
+\DeclareDatamodelFields[type=field,datatype=literal]{%
+ subnumber,%
+ subseries,%
+}
+\DeclareDatamodelFields[type=field,datatype=literal,label=true]{shortsubseries}
+\endinput \ No newline at end of file
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index e5b7fca1b4b..f503b03b366 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -85,7 +85,7 @@ my @TLP_working = qw(
biblatex-mla biblatex-musuos biblatex-nature biblatex-nejm
biblatex-multiple-dm biblatex-philosophy biblatex-phys biblatex-publist
biblatex-realauthor biblatex-science
- biblatex-source-division biblatex-swiss-legal
+ biblatex-source-division biblatex-subseries biblatex-swiss-legal
biblatex-trad biblatex-true-citepages-omit
bibleref bibleref-french bibleref-german bibleref-lds bibleref-mouth
bibleref-parse
diff --git a/Master/tlpkg/tlpsrc/biblatex-subseries.tlpsrc b/Master/tlpkg/tlpsrc/biblatex-subseries.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/biblatex-subseries.tlpsrc
diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
index 914a2f654c0..581e7ae56b7 100644
--- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
@@ -43,6 +43,7 @@ depend biblatex-publist
depend biblatex-realauthor
depend biblatex-science
depend biblatex-source-division
+depend biblatex-subseries
depend biblatex-swiss-legal
depend biblatex-trad
depend biblatex-true-citepages-omit