summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-06-25 23:34:47 +0000
committerKarl Berry <karl@freefriends.org>2014-06-25 23:34:47 +0000
commit8ab1044c7fde2baaaa3103ab3f47585b44c78344 (patch)
tree975e0eda6f930bfd43baf1e8972fbb2834f936c7 /Master
parentecaf632627f4b52388324beecebb00d0fe3a53c7 (diff)
biblatex-multiple-dm (25jun14)
git-svn-id: svn://tug.org/texlive/trunk@34416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-multiple-dm/README6
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-multiple-dm/biblatex-multiple-dm.pdfbin0 -> 53213 bytes
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-multiple-dm/biblatex-multiple-dm.tex83
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-multiple-dm/latexmkrc2
-rw-r--r--Master/texmf-dist/doc/latex/biblatex-multiple-dm/makefile12
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-multiple-dm/biblatex-multiple-dm.sty25
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/biblatex-multiple-dm.tlpsrc0
-rw-r--r--Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc1
9 files changed, 130 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-multiple-dm/README b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/README
new file mode 100644
index 00000000000..fef2e20573d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/README
@@ -0,0 +1,6 @@
+biblatex-multiple-dm
+====================
+
+Loading multiple datamodel with biblatex
+
+Inspired by http://tex.stackexchange.com/a/154568/7712. \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/biblatex-multiple-dm/biblatex-multiple-dm.pdf b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/biblatex-multiple-dm.pdf
new file mode 100644
index 00000000000..77a43fd694f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/biblatex-multiple-dm.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/biblatex-multiple-dm/biblatex-multiple-dm.tex b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/biblatex-multiple-dm.tex
new file mode 100644
index 00000000000..56e0d04b358
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/biblatex-multiple-dm.tex
@@ -0,0 +1,83 @@
+\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}}
+% Meta-datas
+\titlepage{%
+ title={Loading multiple data models with biblatex},
+ subtitle={},
+ email={maieul <at> maieul <dot> net},
+ author={Maïeul Rouquette},
+ revision={1.0.0},
+ date={25/06/2014},
+ url={https://github.com/maieul/biblatex-multiple-dm}}
+
+\begin{document}
+
+
+\printtitlepage
+\tableofcontents
+
+\section{Introduction}
+Datamodel in \biblatex are conceived to be distributed as a part of citations and bibliographic styles\footnote{See: \url{https://github.com/plk/biblatex/issues/220\#issuecomment-37761639}.}. However, sometime, the modification in datamodel is too tiny to need a new style, and can be easily integrated to standard \biblatex styles. That is the case in the two projects \emph{biblatex-realauthor} and \emph{biblatex-manuscripts-philology}. Because of \biblatex conception of datamodel distribution, it's not possible to load both datamodels of \emph{biblatex-realauthor} and \emph{biblatex-manuscripts-philology}.
+
+This package \emph{biblatex-multiple-dm} allows to load multiple datamodel without creating a full \biblatex style.
+
+\section{Use}
+The package must be loaded before the \biblatex package. It's loaded with two options:
+\begin{description}
+ \item[tools] which is a comma separated list of the datamodels to be loaded.
+ \item[bibstyle] which is the main bibstyle to be loaded.
+\end{description}
+
+For example:
+\begin{minted}{latex}
+\usepackage[tools={realauthor,manuscripts},bibstyle=verbose]{biblatex-multiple-dm}
+\end{minted}
+
+After that, the \biblatex package must be loaded with the bibstyle option equal to \verb+multiple-dm+:
+\begin{minted}{latex}
+\usepackage[bibstyle=multiple-dm,citestyle=verbose-trad2]{biblatex}
+\end{minted}
+
+
+\section{For developers}
+
+If one developer wants to allow is \enquote{bibliography style} be compatible with \verb+biblatex-multiple-dm+, he/she has just to try the existing of \cs{biblatexmultipledm@bibstyle} macro when loading primary bibstyle:
+
+\begin{minted}{latex}
+\ifdef{\biblatexmultipledm@bibstyle}
+ {\RequireBibliographyStyle{\biblatexmultipledm@bibstyle}}
+ {\RequireBibliographyStyle{verbose}}
+\end{minted}
+
+\section{Credits}
+
+This package was created for Maïeul Rouquette's phd dissertation\footnote{\url{http://apocryphes.hypothese.org}.} in 2014. It is licensed on the \emph{\LaTeX\ Project Public License}\footnote{\url{http://latex-project.org/lppl/lppl-1-3c.html}.}. It's freely inspired by a code of Oleg Domanov\footnote{\url{http://tex.stackexchange.com/a/154568/7712}.}.
+
+
+All issues can be submitted, in French or English, in the GitHub issues page\footnote{\url{https://github.com/maieul/biblatex-multiple-dm/issues}.}.
+
+\section{Change history}
+
+\begin{changelog}
+
+
+
+\begin{release}{1.0.0}{2014-06-25}
+\item First public release.
+\end{release}
+\end{changelog}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/biblatex-multiple-dm/latexmkrc b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/latexmkrc
new file mode 100644
index 00000000000..d6cfc714fa5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/latexmkrc
@@ -0,0 +1,2 @@
+$pdflatex = "xelatex --shell-escape %S";
+$pdf_mode = "1";
diff --git a/Master/texmf-dist/doc/latex/biblatex-multiple-dm/makefile b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/makefile
new file mode 100644
index 00000000000..b21a1f311f8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/makefile
@@ -0,0 +1,12 @@
+FILES = *sty *tex *pdf README makefile latexmkrc
+%.pdf: %.tex latexmkrc
+ latexmk *tex
+dist: biblatex-multiple-dm.pdf
+ @$(RM) ../biblatex-multiple-dm.zip
+ rm -rf biblatex-multiple-dm
+ mkdir biblatex-multiple-dm
+ cp $(FILES) biblatex-multiple-dm
+ zip -r ../biblatex-multiple-dm.zip biblatex-multiple-dm
+
+clean:
+ @$(RM) *.pdf *.toc *.aux *.out *.fdb_latexmk *.log *.bbl *.bcf *.blg *run.xml *.synctex.gz* \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/biblatex-multiple-dm/biblatex-multiple-dm.sty b/Master/texmf-dist/tex/latex/biblatex-multiple-dm/biblatex-multiple-dm.sty
new file mode 100644
index 00000000000..6617fa03620
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-multiple-dm/biblatex-multiple-dm.sty
@@ -0,0 +1,25 @@
+%% 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 multiple-dm.dbx, mutliple-dm.bbx, multiple-dm.sty
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{biblatex-multiple-dm}[2014/05/09 1.0.0]
+\RequirePackage{kvoptions,etoolbox}
+
+\SetupKeyvalOptions {family=@biblatexmultipledm@,prefix=biblatexmultipledm@}
+
+\DeclareStringOption[verbose]{bibstyle}
+\DeclareStringOption{tools}
+
+\ProcessKeyvalOptions* \ No newline at end of file
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index ff488e56e73..d9e57a552fa 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -80,7 +80,7 @@ my @TLP_working = qw(
biblatex-ieee biblatex-juradiss
biblatex-luh-ipw biblatex-manuscripts-philology
biblatex-mla biblatex-musuos biblatex-nature biblatex-nejm
- biblatex-philosophy biblatex-phys biblatex-publist
+ biblatex-multiple-dm biblatex-philosophy biblatex-phys biblatex-publist
biblatex-science biblatex-source-division biblatex-swiss-legal
biblatex-trad biblatex-true-citepages-omit
bibleref bibleref-french bibleref-german bibleref-lds bibleref-mouth
diff --git a/Master/tlpkg/tlpsrc/biblatex-multiple-dm.tlpsrc b/Master/tlpkg/tlpsrc/biblatex-multiple-dm.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/biblatex-multiple-dm.tlpsrc
diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
index af0de09ef56..b2009a26e47 100644
--- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc
@@ -31,6 +31,7 @@ depend biblatex-juradiss
depend biblatex-luh-ipw
depend biblatex-manuscripts-philology
depend biblatex-mla
+depend biblatex-multiple-dm
depend biblatex-musuos
depend biblatex-nature
depend biblatex-nejm