diff options
author | Karl Berry <karl@freefriends.org> | 2014-06-25 23:34:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-06-25 23:34:47 +0000 |
commit | 8ab1044c7fde2baaaa3103ab3f47585b44c78344 (patch) | |
tree | 975e0eda6f930bfd43baf1e8972fbb2834f936c7 /Master/texmf-dist/doc/latex/biblatex-multiple-dm | |
parent | ecaf632627f4b52388324beecebb00d0fe3a53c7 (diff) |
biblatex-multiple-dm (25jun14)
git-svn-id: svn://tug.org/texlive/trunk@34416 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex-multiple-dm')
5 files changed, 103 insertions, 0 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 Binary files differnew file mode 100644 index 00000000000..77a43fd694f --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-multiple-dm/biblatex-multiple-dm.pdf 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 |