diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-16 20:26:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-16 20:26:50 +0000 |
commit | 99b61eb759c55661a05ac34b0661970d39ec555e (patch) | |
tree | 981a8c7f471e8fcab120012186ac8699a551ef88 /Master/texmf-dist/doc/latex/biblatex/examples | |
parent | 815e54f6a349937be9afb419f12989c0b9652ab3 (diff) |
biblatex 3.4 (16may16)
git-svn-id: svn://tug.org/texlive/trunk@41192 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex/examples')
117 files changed, 432 insertions, 47 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/01-introduction.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/01-introduction-biber.pdf Binary files differindex c221513af60..87dbe0feb38 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/01-introduction.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/01-introduction-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/01-introduction-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/01-introduction-bibtex.pdf Binary files differindex 35ff0d28af3..b8238af5ab8 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/01-introduction-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/01-introduction-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/02-annotations.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/02-annotations-biber.pdf Binary files differindex 30097f0b5c9..812676379b7 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/02-annotations.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/02-annotations-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/02-annotations-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/02-annotations-bibtex.pdf Binary files differindex 4319601a780..2f20414ed0b 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/02-annotations-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/02-annotations-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys-biber.pdf Binary files differindex 19bd7fd1f3f..c4000e0fbd1 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys-bibtex.pdf Binary files differindex 81e6b52e807..bdbe1bfe7c6 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys.tex b/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys.tex index 4e7d82fbbdc..59277ad0b75 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/03-localization-keys.tex @@ -571,8 +571,8 @@ The following strings are intended for use in phrases like <translated from [the \keyitem{fromamerican} The expression <from [the] American> or <from [the] American English>. \keyitem{frombrazilian} The expression <from [the] Brazilian> or <from [the] Brazilian Portuguese>. \keyitem{fromcatalan} The expression <from [the] Catalan>. -\keyitem{fromczech} The expression <from [the] Czech>. \keyitem{fromcroatian} The expression <from [the] Croatian>. +\keyitem{fromczech} The expression <from [the] Czech>. \keyitem{fromdanish} The expression <from [the] Danish>. \keyitem{fromdutch} The expression <from [the] Dutch>. \keyitem{fromenglish} The expression <from [the] English>. diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/04-delimiters-biber.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/04-delimiters-biber.pdf Binary files differnew file mode 100644 index 00000000000..7df85bbbce2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/04-delimiters-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/04-delimiters-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/04-delimiters-bibtex.pdf Binary files differnew file mode 100644 index 00000000000..87a0e084e2a --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/04-delimiters-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/04-delimiters.tex b/Master/texmf-dist/doc/latex/biblatex/examples/04-delimiters.tex new file mode 100644 index 00000000000..29b1450ffa8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/04-delimiters.tex @@ -0,0 +1,68 @@ +\documentclass[a4paper]{article} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[american]{babel} +\usepackage{csquotes} +\usepackage{verbatim} +\usepackage[style=authortitle,backend=biber]{biblatex} +\addbibresource{biblatex-examples.bib} +\setlength{\parindent}{0pt} +\newcommand{\cmd}[1]{\texttt{\textbackslash #1}} + +\DeclareDelimFormat[bib]{space}{X} +\DeclareDelimFormat[test]{space}{Y} +\DeclareDelimFormat{testb}{B} +\DeclareDelimFormat[testbcontext]{testb}{C} +\DeclareDelimFormat{testc}{D} +\DeclareDelimFormat[testccontext]{testc}{E} +\makeatletter +% Some of these tests generate definition warnins which we don't want in tests +\def\blx@warn@delimdeclare#1#2{\relax} +\makeatother +\begin{document} +\section*{Context-Sensitive Delimiters} + +Normal cite uses global delim definition with comma:\\\\ +\cite{averroes/hannes}\\\\ +Textual cite uses "textcite" context without comma:\\\\ +\textcite{averroes/hannes}\\\\ +Reset of global delimiter with traditional method:\\\\ +\renewcommand*{\nametitledelim}{\addcomma\space} +\cite{averroes/hannes}\\\\ +Textual cite in "textcite" context is not reset:\\\\ +\textcite{averroes/hannes}\\\\ +\begingroup +\def\addcomma{,} +\let\space\textvisiblespace +Invoke default delimiter in context-sensitive interface:\\ +\printdelim{nametitledelim}\\\\ +Invoke global delimiter via normal macro:\\ +\nametitledelim\\\\ +Invoke delimiter in context-sensitive interface with explicit context:\\\\ +\printdelim[textcite]{nametitledelim}\\\\ +\endgroup +Default delimiter "testb":\\\\ +\printdelim{testb}\\\\ +Setting "testbcontext" with \cmd{delimcontext}:\\\\ +\delimcontext{testbcontext}\printdelim{testb}\\\\ +Redefine "testb" delim with starred version to remove all contexts:\\\\ +\DeclareDelimFormat*{testb}{B} +\printdelim{testb}\\\\ +Check nesting\\\\ +\begingroup +\delimcontext{testccontext}\printdelim{testc}\\\\ +\endgroup +\printdelim{testc}\\\\ +\printbibliography + +Reset the \cmd{space} command for this bibliography to use the +context-sensitive interface. First we use the default "bib" context: +\AtNextBibliography{\renewcommand*{\space}{\printdelim{space}}} +\printbibliography + +Now use a custom context "test" and \cmd{space} expands to something +different. Also, "nametitledelim" is back to default because we override +the default "bib" context: +\AtNextBibliography{\renewcommand*{\space}{\printdelim{space}}\delimcontext{test}} +\printbibliography +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/10-references-per-section.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/10-references-per-section-biber.pdf Binary files differindex 69f88d78270..e8ea19c9653 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/10-references-per-section.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/10-references-per-section-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/10-references-per-section-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/10-references-per-section-bibtex.pdf Binary files differindex b409e81b040..0e2c4a4d53b 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/10-references-per-section-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/10-references-per-section-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section-biber.pdf Binary files differindex 9c2ed931a44..4a14bcbe716 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section-bibtex.pdf Binary files differindex 90fbc56fa54..cfa3d762e93 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/11-references-by-section-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/12-references-by-segment.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/12-references-by-segment-biber.pdf Binary files differindex e2bc9010d9c..efdbab08534 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/12-references-by-segment.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/12-references-by-segment-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/12-references-by-segment-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/12-references-by-segment-bibtex.pdf Binary files differindex 2c7dd0c8fab..4a36eafcbb0 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/12-references-by-segment-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/12-references-by-segment-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/13-references-by-keyword.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/13-references-by-keyword-biber.pdf Binary files differindex ccf2300377f..d1f6c023b93 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/13-references-by-keyword.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/13-references-by-keyword-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/13-references-by-keyword-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/13-references-by-keyword-bibtex.pdf Binary files differindex 86e2077a8f6..b58647a6727 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/13-references-by-keyword-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/13-references-by-keyword-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/14-references-by-category.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/14-references-by-category-biber.pdf Binary files differindex 4a4786a9a13..0204a8d7558 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/14-references-by-category.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/14-references-by-category-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/14-references-by-category-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/14-references-by-category-bibtex.pdf Binary files differindex 3a87a445784..ae371ac6209 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/14-references-by-category-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/14-references-by-category-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/15-references-by-type.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/15-references-by-type-biber.pdf Binary files differindex a44dab94e9e..461b2f6fac7 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/15-references-by-type.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/15-references-by-type-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/15-references-by-type-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/15-references-by-type-bibtex.pdf Binary files differindex 9df8e5c5aef..7661294c11c 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/15-references-by-type-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/15-references-by-type-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1-biber.pdf Binary files differindex 833a9d1c24f..232c9a3d755 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1-bibtex.pdf Binary files differindex 67d388211bd..92f345b51be 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1-bibtex.tex b/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1-bibtex.tex new file mode 100644 index 00000000000..2ba9fa7417a --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1-bibtex.tex @@ -0,0 +1,53 @@ +% +% This file demonstrates how to configure biblatex to prefix +% numerical citations with a letter or a string. This will work with +% all numerical styles which ship with biblatex. Note that you must +% set defernumbers=true globally when using prefixes. +% +% Since the prefixes are assigned as the bibliography is generated, +% you may use any filter supported by biblatex to subdivide the +% references (by type, by category, by keyword, etc.). +% +\documentclass[a4paper,oneside]{article} +\usepackage[T1]{fontenc} +\usepackage[american]{babel} +\usepackage{csquotes} +% When using prefixed numerical labels, the labels must be assigned +% as the bibliography is generated. That's why we set +% defernumbers=true here: +\usepackage[style=numeric,defernumbers,backend=bibtex]{biblatex} +\usepackage{hyperref} +\usepackage{nameref} +\addbibresource{biblatex-examples.bib} +% A catch-all filter for all items which are not assigned to a +% dedicated sub-bibliography: +\defbibfilter{other}{ + not type=article + and + not type=book + and + not type=collection +} + +\begin{document} + +\section*{Prefixed numerical citations} + +% Some citations: +\cite{angenendt, kastenholz, augustine, companion, jaffe, ctan} + +\nocite{*} + +% Let's print the overall heading of the bibliography first: +\printbibheading + +% And now the sub-bibliographies: we use three of them (based on the +% entry type). Each sub-bibliography assigns a different prefix: +\printbibliography[heading=subbibliography,title={Articles},type=article, prefixnumbers={A}] +\printbibliography[heading=subbibliography,title={Books},type=book, prefixnumbers={B}] +\printbibliography[heading=subbibliography,title={Collections},type=collection, prefixnumbers={C}] + +% The catch-all sub-bibliography for all remaining types: +\printbibliography[heading=subbibliography,title={Other Sources},filter=other, prefixnumbers={O}] + +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1.tex b/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1.tex index 8835878e049..d8597789b13 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/16-numeric-prefixed-1.tex @@ -29,6 +29,7 @@ and not type=collection } + \begin{document} \section*{Prefixed numerical citations} @@ -43,11 +44,15 @@ % And now the sub-bibliographies: we use three of them (based on the % entry type). Each sub-bibliography assigns a different prefix: -\printbibliography[heading=subbibliography,title={Articles},type=article,prefixnumbers={A}] -\printbibliography[heading=subbibliography,title={Books},type=book,prefixnumbers={B}] -\printbibliography[heading=subbibliography,title={Collections},type=collection,prefixnumbers={C}] +\newrefcontext[labelprefix={A}] +\printbibliography[heading=subbibliography,title={Articles},type=article] +\newrefcontext[labelprefix={B}] +\printbibliography[heading=subbibliography,title={Books},type=book] +\newrefcontext[labelprefix={C}] +\printbibliography[heading=subbibliography,title={Collections},type=collection] % The catch-all sub-bibliography for all remaining types: -\printbibliography[heading=subbibliography,title={Other Sources},filter=other,prefixnumbers={O}] +\newrefcontext[labelprefix={O}] +\printbibliography[heading=subbibliography,title={Other Sources},filter=other] \end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-biber.pdf Binary files differindex dba3e4218d7..6dcc5a81bfd 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.pdf Binary files differindex 9cad8d32d08..6d40d1c5d9a 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.tex b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.tex new file mode 100644 index 00000000000..c0952bab424 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.tex @@ -0,0 +1,40 @@ +% +% This example is almost the same as the previous one except that +% the catch-all sub-bibliography does not assign any prefix. +% +\documentclass[a4paper,oneside]{article} +\usepackage[T1]{fontenc} +\usepackage[american]{babel} +\usepackage{csquotes} +\usepackage[style=numeric,defernumbers,backend=bibtex]{biblatex} +\usepackage{hyperref} +\usepackage{nameref} +\addbibresource{biblatex-examples.bib} +\defbibfilter{other}{ + not type=article + and + not type=book + and + not type=collection +} +\begin{document} + +\section*{Prefixed numerical citations} + +% Some citations: +\cite{angenendt, kastenholz, augustine, companion, jaffe, ctan} + +\nocite{*} + +\printbibheading + +\printbibliography[heading=subbibliography,title={Articles},type=article, prefixnumbers={A}] +\printbibliography[heading=subbibliography,title={Books},type=book, prefixnumbers={A}] +\printbibliography[heading=subbibliography,title={Collections},type=collection, prefixnumbers={C}] + +% The catch-all sub-bibliography for all remaining types. We don't +% use a prefix but we still need to set resetnumbers=true to restart +% the item numbering: +\printbibliography[heading=subbibliography,title={Other Sources},filter=other,resetnumbers] + +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2.tex b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2.tex index f16d2886146..cd00b02293d 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2.tex @@ -29,9 +29,13 @@ \printbibheading -\printbibliography[heading=subbibliography,title={Articles},type=article,prefixnumbers={A}] -\printbibliography[heading=subbibliography,title={Books},type=book,prefixnumbers={B}] -\printbibliography[heading=subbibliography,title={Collections},type=collection,prefixnumbers={C}] +\newrefcontext[labelprefix={A}] +\printbibliography[heading=subbibliography,title={Articles},type=article] +\newrefcontext[labelprefix={B}] +\printbibliography[heading=subbibliography,title={Books},type=book] +\newrefcontext[labelprefix={C}] +\printbibliography[heading=subbibliography,title={Collections},type=collection] +\endrefcontext % The catch-all sub-bibliography for all remaining types. We don't % use a prefix but we still need to set resetnumbers=true to restart diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid-biber.pdf Binary files differindex e51cf4e12ca..34fc63b7b69 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid-bibtex.pdf Binary files differindex 6b6686f6294..293cc184867 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid.tex b/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid.tex index ccd6d379437..ebf3117955a 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/18-numeric-hybrid.tex @@ -32,7 +32,7 @@ {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \printtext[bibhyperref]{% - \printfield{prefixnumber}% + \printfield{labelprefix}% \printfield{labelnumber}}} {\multicitedelim} {\usebibmacro{postnote}} @@ -43,7 +43,7 @@ {\list {\printtext[labelnumberwidth]{% \iffieldundef{shorthand} - {\printfield{prefixnumber}% + {\printfield{labelprefix}% \printfield{labelnumber}} {\printfield{shorthand}}}} {\setlength{\labelwidth}{\labelnumberwidth}% diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-biber.pdf Binary files differindex da16205e51f..d7377a694d4 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.pdf Binary files differindex f82df549e6c..5937a019cfd 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.tex b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.tex new file mode 100644 index 00000000000..31cac5de0b3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.tex @@ -0,0 +1,44 @@ +% +% Prefixes also work with alphabetic the styles. +% +\documentclass[a4paper,oneside]{article} +\usepackage[T1]{fontenc} +\usepackage[american]{babel} +\usepackage{csquotes} +\usepackage[style=alphabetic,backend=bibtex]{biblatex} +\usepackage{hyperref} +\usepackage{nameref} +\addbibresource{biblatex-examples.bib} +% A catch-all filter for all items which are not assigned to a +% dedicated sub-bibliography: +\defbibfilter{other}{ + not type=article + and + not type=book + and + not type=collection +} +\begin{document} + +\section*{Prefixed alphabetic citations} + +% Some citations: +\cite{angenendt, kastenholz, augustine, companion, jaffe, ctan} + +\nocite{*} + +% Let's print the overall heading of the bibliography first: +\printbibheading + +% And now the sub-bibliographies: we use three of them (based on the +% entry type). Each sub-bibliography assigns a different prefix. The +% option is called 'prefixnumbers' because it was originally intended +% for numeric citations only. It also works with alphabetic labels: +\printbibliography[heading=subbibliography,title={Articles},type=article,prefixnumbers={A-}] +\printbibliography[heading=subbibliography,title={Books},type=book,prefixnumbers={B-}] +\printbibliography[heading=subbibliography,title={Collections},type=collection,prefixnumbers={C-}] + +% The catch-all sub-bibliography for all remaining types: +\printbibliography[heading=subbibliography,title={Other Sources},filter=other,prefixnumbers={O-}] + +\end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed.tex b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed.tex index 2b130c7fe74..f670a33eb43 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed.tex @@ -32,14 +32,16 @@ \printbibheading % And now the sub-bibliographies: we use three of them (based on the -% entry type). Each sub-bibliography assigns a different prefix. The -% option is called 'prefixnumbers' because it was originally intended -% for numeric citations only. It also works with alphabetic labels: -\printbibliography[heading=subbibliography,title={Articles},type=article,prefixnumbers={A-}] -\printbibliography[heading=subbibliography,title={Books},type=book,prefixnumbers={B-}] -\printbibliography[heading=subbibliography,title={Collections},type=collection,prefixnumbers={C-}] +% entry type). Each sub-bibliography assigns a different prefix. +\newrefcontext[labelprefix={A-}] +\printbibliography[heading=subbibliography,title={Articles},type=article] +\newrefcontext[labelprefix={B-}] +\printbibliography[heading=subbibliography,title={Books},type=book] +\newrefcontext[labelprefix={C-}] +\printbibliography[heading=subbibliography,title={Collections},type=collection] % The catch-all sub-bibliography for all remaining types: -\printbibliography[heading=subbibliography,title={Other Sources},filter=other,prefixnumbers={O-}] +\newrefcontext[labelprefix={O-}] +\printbibliography[heading=subbibliography,title={Other Sources},filter=other] \end{document} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/20-indexing-single.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/20-indexing-single-biber.pdf Binary files differindex 5857fbdcfa7..76a1f1c8a1d 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/20-indexing-single.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/20-indexing-single-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/20-indexing-single-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/20-indexing-single-bibtex.pdf Binary files differindex b3c46b73fe6..5223aaecbad 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/20-indexing-single-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/20-indexing-single-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple-biber.pdf Binary files differindex d2c400155f0..a9ff3e50707 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple-bibtex.pdf Binary files differindex c329f5ae459..6a1d6f03613 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple.tex b/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple.tex index 81d8eee825a..3ae30c0a9a2 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/21-indexing-multiple.tex @@ -57,7 +57,6 @@ {\DeclareIndexNameFormat{default}{% \usebibmacro{index:name}{\index[names]}{#1}{#3}{#5}{#7}}} {\DeclareIndexNameFormat{default}{% - \nameparts{#1}% \usebibmacro{index:name}{\index[names]} {\namepartfamily} {\namepartgiven} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry-biber.pdf Binary files differindex b1ddc180b4c..6628fb808b1 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry-bibtex.pdf Binary files differindex 623581637f4..1e79f508ec7 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry.tex b/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry.tex index 52f92ecbf52..5be1df91f55 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/22-indexing-subentry.tex @@ -48,7 +48,6 @@ {\usebibmacro{index:name}{\index[name-title]}{#1}{#3}{#5}{#7}} {\usebibmacro{index:name:title}{\index[name-title]}{#1}{#3}{#5}{#7}}}} {\DeclareIndexNameFormat{name:title}{% - \nameparts{#1}% \iffieldundef{title} {\usebibmacro{index:name}{\index[name-title]} {\namepartfamily} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/30-style-numeric.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/30-style-numeric-biber.pdf Binary files differindex f947df523b1..e4ef3ffd3ae 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/30-style-numeric.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/30-style-numeric-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/30-style-numeric-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/30-style-numeric-bibtex.pdf Binary files differindex 3db7aaaab18..c4a58c2d13e 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/30-style-numeric-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/30-style-numeric-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/31-style-numeric-comp.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/31-style-numeric-comp-biber.pdf Binary files differindex cf0b4c64038..952eacb61c7 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/31-style-numeric-comp.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/31-style-numeric-comp-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/31-style-numeric-comp-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/31-style-numeric-comp-bibtex.pdf Binary files differindex 77a3b8fbf53..435b4f1be18 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/31-style-numeric-comp-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/31-style-numeric-comp-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/32-style-numeric-verb.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/32-style-numeric-verb-biber.pdf Binary files differindex 141a2626dfd..53c57cf4c66 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/32-style-numeric-verb.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/32-style-numeric-verb-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/32-style-numeric-verb-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/32-style-numeric-verb-bibtex.pdf Binary files differindex 8e860c89d89..8310512ab28 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/32-style-numeric-verb-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/32-style-numeric-verb-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/40-style-alphabetic.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/40-style-alphabetic-biber.pdf Binary files differindex 23b923fcb69..18f545cf638 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/40-style-alphabetic.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/40-style-alphabetic-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/40-style-alphabetic-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/40-style-alphabetic-bibtex.pdf Binary files differindex c8901188e0a..6c60f881ee7 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/40-style-alphabetic-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/40-style-alphabetic-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/41-style-alphabetic-verb.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/41-style-alphabetic-verb-biber.pdf Binary files differindex 3317a204d0b..78009c92758 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/41-style-alphabetic-verb.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/41-style-alphabetic-verb-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/41-style-alphabetic-verb-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/41-style-alphabetic-verb-bibtex.pdf Binary files differindex c45566b68c9..7f9806b9e7a 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/41-style-alphabetic-verb-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/41-style-alphabetic-verb-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template-biber.pdf Binary files differindex 9350caf4e38..8fbd0cf0b80 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template-bibtex.pdf Binary files differindex 7405e8b58ce..02920994551 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template.tex b/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template.tex index e7511032baf..976306cbc01 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/42-style-alphabetic-template.tex @@ -7,7 +7,7 @@ \usepackage[utf8]{inputenc} \usepackage[american]{babel} \usepackage{csquotes} -\usepackage[backend=biber,style=alphabetic,backend=biber]{biblatex} +\usepackage[style=alphabetic,backend=biber]{biblatex} \usepackage{hyperref} \addbibresource{biblatex-examples.bib} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/50-style-authoryear.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/50-style-authoryear-biber.pdf Binary files differindex 98d7b53e3cb..fd5d6dd1d94 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/50-style-authoryear.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/50-style-authoryear-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/50-style-authoryear-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/50-style-authoryear-bibtex.pdf Binary files differindex 12b94699917..d4b27d97f56 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/50-style-authoryear-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/50-style-authoryear-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/51-style-authoryear-ibid.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/51-style-authoryear-ibid-biber.pdf Binary files differindex 0977ae7ede5..34b1a352d90 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/51-style-authoryear-ibid.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/51-style-authoryear-ibid-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/51-style-authoryear-ibid-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/51-style-authoryear-ibid-bibtex.pdf Binary files differindex 2176417661e..6a1e41af6f2 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/51-style-authoryear-ibid-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/51-style-authoryear-ibid-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp-biber.pdf Binary files differindex 0418cf8b16b..075782a1525 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp-bibtex.pdf Binary files differindex a0d0fc538db..a5e4ed46cd2 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/53-style-authoryear-icomp.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/53-style-authoryear-icomp-biber.pdf Binary files differindex a393d821c44..37a8b822f6d 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/53-style-authoryear-icomp.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/53-style-authoryear-icomp-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/53-style-authoryear-icomp-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/53-style-authoryear-icomp-bibtex.pdf Binary files differindex aa12525b1bc..1b284f92256 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/53-style-authoryear-icomp-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/53-style-authoryear-icomp-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/60-style-authortitle.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/60-style-authortitle-biber.pdf Binary files differindex ce2d9087ee3..510d4af68bd 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/60-style-authortitle.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/60-style-authortitle-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/60-style-authortitle-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/60-style-authortitle-bibtex.pdf Binary files differindex 435a51b2823..9e43451dbf9 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/60-style-authortitle-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/60-style-authortitle-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/61-style-authortitle-ibid.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/61-style-authortitle-ibid-biber.pdf Binary files differindex 4c8c790b308..d12e69ae4d4 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/61-style-authortitle-ibid.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/61-style-authortitle-ibid-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/61-style-authortitle-ibid-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/61-style-authortitle-ibid-bibtex.pdf Binary files differindex 4bdea7aa2ef..5e49cadaa50 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/61-style-authortitle-ibid-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/61-style-authortitle-ibid-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/62-style-authortitle-comp.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/62-style-authortitle-comp-biber.pdf Binary files differindex 609fcd796ca..19ee46d0d0a 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/62-style-authortitle-comp.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/62-style-authortitle-comp-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/62-style-authortitle-comp-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/62-style-authortitle-comp-bibtex.pdf Binary files differindex c752967805a..1c41e4e47fa 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/62-style-authortitle-comp-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/62-style-authortitle-comp-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/63-style-authortitle-icomp.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/63-style-authortitle-icomp-biber.pdf Binary files differindex 335969f80d3..65714c22826 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/63-style-authortitle-icomp.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/63-style-authortitle-icomp-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/63-style-authortitle-icomp-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/63-style-authortitle-icomp-bibtex.pdf Binary files differindex 1ad56b94424..e436ca26061 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/63-style-authortitle-icomp-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/63-style-authortitle-icomp-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/64-style-authortitle-terse.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/64-style-authortitle-terse-biber.pdf Binary files differindex aa933d974ea..bf0b8db0a70 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/64-style-authortitle-terse.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/64-style-authortitle-terse-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/64-style-authortitle-terse-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/64-style-authortitle-terse-bibtex.pdf Binary files differindex 26890203454..d584b78702d 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/64-style-authortitle-terse-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/64-style-authortitle-terse-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/65-style-authortitle-tcomp.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/65-style-authortitle-tcomp-biber.pdf Binary files differindex e8add0b0bea..d489ea720c3 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/65-style-authortitle-tcomp.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/65-style-authortitle-tcomp-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/65-style-authortitle-tcomp-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/65-style-authortitle-tcomp-bibtex.pdf Binary files differindex 6179d094298..5bf03b156cd 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/65-style-authortitle-tcomp-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/65-style-authortitle-tcomp-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/66-style-authortitle-ticomp.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/66-style-authortitle-ticomp-biber.pdf Binary files differindex 27a9e61da9c..7df4876ab38 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/66-style-authortitle-ticomp.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/66-style-authortitle-ticomp-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/66-style-authortitle-ticomp-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/66-style-authortitle-ticomp-bibtex.pdf Binary files differindex 5ae7fec8531..7351b2d468e 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/66-style-authortitle-ticomp-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/66-style-authortitle-ticomp-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/70-style-verbose.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/70-style-verbose-biber.pdf Binary files differindex 978160bc9a1..b475ddf54f5 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/70-style-verbose.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/70-style-verbose-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/70-style-verbose-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/70-style-verbose-bibtex.pdf Binary files differindex e3434a18758..e483572a3fe 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/70-style-verbose-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/70-style-verbose-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/71-style-verbose-ibid.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/71-style-verbose-ibid-biber.pdf Binary files differindex 420f2068305..c01c1bcb874 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/71-style-verbose-ibid.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/71-style-verbose-ibid-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/71-style-verbose-ibid-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/71-style-verbose-ibid-bibtex.pdf Binary files differindex 0ef729cce7e..043ee3c0e3c 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/71-style-verbose-ibid-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/71-style-verbose-ibid-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/72-style-verbose-note.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/72-style-verbose-note-biber.pdf Binary files differindex 4c84b27426b..3cd79268f4e 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/72-style-verbose-note.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/72-style-verbose-note-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/72-style-verbose-note-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/72-style-verbose-note-bibtex.pdf Binary files differindex 1c1d5835438..da57900da0b 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/72-style-verbose-note-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/72-style-verbose-note-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/73-style-verbose-inote.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/73-style-verbose-inote-biber.pdf Binary files differindex 3ffd99dbd45..da7dd8825ba 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/73-style-verbose-inote.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/73-style-verbose-inote-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/73-style-verbose-inote-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/73-style-verbose-inote-bibtex.pdf Binary files differindex 79256d15ff6..88214751fcf 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/73-style-verbose-inote-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/73-style-verbose-inote-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/74-style-verbose-trad1.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/74-style-verbose-trad1-biber.pdf Binary files differindex 00cdf88fb84..5ca29b029c3 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/74-style-verbose-trad1.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/74-style-verbose-trad1-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/74-style-verbose-trad1-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/74-style-verbose-trad1-bibtex.pdf Binary files differindex 47a9b185a4a..b6f07e657d7 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/74-style-verbose-trad1-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/74-style-verbose-trad1-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/75-style-verbose-trad2.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/75-style-verbose-trad2-biber.pdf Binary files differindex 3f67a41f440..d9f1f5225ad 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/75-style-verbose-trad2.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/75-style-verbose-trad2-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/75-style-verbose-trad2-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/75-style-verbose-trad2-bibtex.pdf Binary files differindex f6f37a0617f..23b2b5546ae 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/75-style-verbose-trad2-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/75-style-verbose-trad2-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/76-style-verbose-trad3.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/76-style-verbose-trad3-biber.pdf Binary files differindex 0820a4837ef..c55593a7338 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/76-style-verbose-trad3.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/76-style-verbose-trad3-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/76-style-verbose-trad3-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/76-style-verbose-trad3-bibtex.pdf Binary files differindex 8bd1e14a49a..a9926a3e0ba 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/76-style-verbose-trad3-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/76-style-verbose-trad3-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/80-style-reading.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/80-style-reading-biber.pdf Binary files differindex 3f1f26c6aca..380a21f171c 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/80-style-reading.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/80-style-reading-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/80-style-reading-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/80-style-reading-bibtex.pdf Binary files differindex e8908c87e55..ed70a7526c2 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/80-style-reading-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/80-style-reading-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/81-style-draft.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/81-style-draft-biber.pdf Binary files differindex 12cd468d025..14296b6e05b 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/81-style-draft.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/81-style-draft-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/81-style-draft-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/81-style-draft-bibtex.pdf Binary files differindex aac1f76cf0a..3dcdb994462 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/81-style-draft-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/81-style-draft-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/82-style-debug.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/82-style-debug-biber.pdf Binary files differindex 6f183c9f848..2efab5faa01 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/82-style-debug.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/82-style-debug-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/82-style-debug-bibtex.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/82-style-debug-bibtex.pdf Binary files differindex a61aac1e5cb..eacff03116f 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/82-style-debug-bibtex.pdf +++ b/Master/texmf-dist/doc/latex/biblatex/examples/82-style-debug-bibtex.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries-biber.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries-biber.pdf Binary files differnew file mode 100644 index 00000000000..ccaccae5a99 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries.pdf Binary files differdeleted file mode 100644 index 13d59de1a93..00000000000 --- a/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries.tex b/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries.tex index a037d7554cd..916316b0f28 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/90-related-entries.tex @@ -1,11 +1,5 @@ -% -% This file presents related entries from biblatex-examples.bib -% \documentclass[a4paper]{article} \usepackage{fontspec} -\setmainfont{Cambria} -\setsansfont{Arial} -\setmonofont{Courier New} \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style=reading,backend=biber]{biblatex} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes-biber.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes-biber.pdf Binary files differnew file mode 100644 index 00000000000..71ef1b05106 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes.pdf Binary files differdeleted file mode 100644 index a1a3cfa0a9d..00000000000 --- a/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes.tex b/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes.tex index 7591fc234cb..799b57f182e 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes.tex @@ -1,12 +1,5 @@ -% -% This file presents the 'authoryear' style with different sorting schemes in -% citation lists and the bibliography. -% \documentclass[a4paper]{article} \usepackage{fontspec} -\setmainfont{Cambria} -\setsansfont{Arial} -\setmonofont{Courier New} \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style=authoryear,sortcites,sorting=ynt,backend=biber]{biblatex} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists-biber.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists-biber.pdf Binary files differnew file mode 100644 index 00000000000..3d39d979001 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists.pdf Binary files differdeleted file mode 100644 index 97c12f242f2..00000000000 --- a/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists.tex b/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists.tex index ff60eddc275..52661044fda 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/92-bibliographylists.tex @@ -1,12 +1,5 @@ -% -% This file demonstrates the facilities for printing arbitrary bibliography -% lists containing information about abbreviations etc. Biber only. -% \documentclass[a4paper]{article} \usepackage{fontspec} -\setmainfont{Cambria} -\setsansfont{Arial} -\setmonofont{Courier New} \usepackage[american]{babel} \usepackage{csquotes} \usepackage[style=authoryear,backend=biber]{biblatex} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/93-nameparts-biber.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/93-nameparts-biber.pdf Binary files differnew file mode 100644 index 00000000000..95405a0af79 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/93-nameparts-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/93-nameparts.tex b/Master/texmf-dist/doc/latex/biblatex/examples/93-nameparts.tex index c59cba1065a..9f07e567bd6 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/93-nameparts.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/93-nameparts.tex @@ -1,25 +1,20 @@ -% -% This file demonstrates modification of the datamodel to allow new -% nameparts. Biber only. -% \documentclass[a4paper]{article} \usepackage{fontspec} \setmainfont{Cambria} \setsansfont{Arial} \setmonofont{Courier New} \usepackage[russian]{babel} +\usepackage[russian]{babel} \usepackage{csquotes} \usepackage[style=authoryear,datamodel=93-nameparts,backend=biber]{biblatex} -\usepackage{hyperref} \addbibresource[datatype=biblatexml]{biblatex-examples.bltxml} % A format using the new name part \DeclareNameFormat{author}{% - \nameparts{#1}% \usebibmacro{name:delim}{#1}% \usebibmacro{name:hook}{#1}% \mkbibnamefamily{\namepartfamily}% - \ifempty{\namepartgiven} + \ifdefvoid\namepartgiven {} {\revsdnamepunct \bibnamedelimd diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/94-labelprefix-biber.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/94-labelprefix-biber.pdf Binary files differnew file mode 100644 index 00000000000..0328e582f1f --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/94-labelprefix-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/94-labelprefix.tex b/Master/texmf-dist/doc/latex/biblatex/examples/94-labelprefix.tex new file mode 100644 index 00000000000..81f244bc1eb --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/94-labelprefix.tex @@ -0,0 +1,77 @@ +\documentclass[a4paper]{article} +\usepackage{fontspec} +\usepackage{csquotes} +\usepackage[style=numeric, sorting=none, defernumbers=true, backend=biber]{biblatex} +\addbibresource{biblatex-examples.bib} + +\DeclareBibliographyCategory{cat1} +\addtocategory{cat1}{yoon} +\DeclareBibliographyCategory{cat2} +\addtocategory{cat2}{piccato} +\assignrefcontextcats[sorting=none,labelprefix=Q]{cat2} +\assignrefcontextentries[labelprefix=Q]{yoon} +\assignrefcontextkeyws*[sorting=none,labelprefix=S]{secondary} +\defbibfilter{cats}{category=cat1 or category=cat2} + +\setlength{\parindent}{0pt} +\newcommand{\cmd}[1]{\texttt{\textbackslash #1}} +\begin{document} +This example demonstrates the quite complex options for assigning +labelprefices to bibliographies and how citations decide which bibliography +to point to. The default rule is that a citation will point to its entry in +the last bibliography in which it appears. This can be overridden by +explicit assignment to particular refcontexts with the +\cmd{assignrefcontext*} macros.\\ + +% refcontext=none/global// + +This is a publication by Aristotle: +\cite{aristotle:anima} % comes from refcontext=none/global/R + +These are not publications by Aristotle: +\cite{yoon} % comes from default refcontext=none/global/Q due to \assignrefcontextentries +\cite{worman} % comes from default refcontext=nty/global// and not from + % nty/global/T in next refsection even though that is the + % last printed bib/biblist with worman in it. This is because + % refcontext defaults are local to refcontexts +\cite{piccato} % comes from refcontext=none/global/Q due to \assignrefcontextcats +\cite{nussbaum} % comes from refcontext=none/global/S due to \assignrefcontextkeyws* + +This is another publication by Aristotle: +\cite{aristotle:physics} % comes from refcontext=none/global/R + +\begin{refcontext}[labelprefix=R] +% refcontext=none/global/R +\printbibliography[keyword=primary, title={Aristotle Publications}] +% aristotle:anima and aristotle:physics default refcontext is this one +\end{refcontext} + +\begin{refcontext}[labelprefix=S] +% refcontext=none/global/S +\printbibliography[ notkeyword=primary, title={Other publications}] +\end{refcontext} + +\begin{refcontext}[labelprefix=Q] +% refcontext=none/global/Q +\printbibliography[filter=cats, title={Other publications}] +\end{refcontext} + +\begin{refcontext}[sorting=nty] +% refcontext=nty/global// +\printbibliography[resetnumbers, notkeyword=primary, title={More Other publications}] +% Nussbaum default refcontext is this one +% piccato default refcontext is this one +% yoon default refcontext is this one +% worman default refcontext is this one +\cite{nussbaum} % comes from refcontext=nty/global// due to weak \assignrefcontextkeyws* +\end{refcontext} + +\section*{New Refsection} +\newrefsection +\cite{worman} % comes from default refcontext=nty/global/T +\begin{refcontext}[sorting=nty, labelprefix=T] +% refcontext=nty/global// +\printbibliography[resetnumbers, notkeyword=primary, title={More Other publications}] +\end{refcontext} + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists-biber.pdf b/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists-biber.pdf Binary files differnew file mode 100644 index 00000000000..bfae8393fb3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists-biber.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists.bib b/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists.bib new file mode 100644 index 00000000000..611798f6b47 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists.bib @@ -0,0 +1,23 @@ +@ARTICLE{test1, + AUTHOR = {Arthur Smith and James Jones and Bill Smiley and Jake Wrath}, + JOURNALTITLE = {A Journal}, + YEAR = {2010} +} + +@ARTICLE{test2, + AUTHOR = {Philippa Smyth and Arthur Smith and Bill Likely}, + JOURNALTITLE = {Another Journal}, + YEAR = {2011} +} + +@ARTICLE{test3, + AUTHOR = {Arthur Smith}, + JOURNALTITLE = {The Best Journal}, + YEAR = {2013} +} + +@ARTICLE{test4, + AUTHOR = {Philippa Smyth and Arthur Smith and James Jones}, + JOURNALTITLE = {Again Another Journal}, + YEAR = {2014} +} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists.dbx b/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists.dbx new file mode 100644 index 00000000000..5abddf79e62 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists.dbx @@ -0,0 +1,3 @@ +\DeclareDatamodelFields[type=list, datatype=name, label=true]{coauthor} +\DeclareDatamodelEntrytypes{coauthor} +\DeclareDatamodelEntryfields[coauthor]{coauthor} diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists.tex b/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists.tex new file mode 100644 index 00000000000..20958c1c6c6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/95-customlists.tex @@ -0,0 +1,93 @@ +\documentclass[a4paper]{article} +\usepackage{fontspec} +% Using a custom data model to declare the "coauthor" field +\usepackage[style=authoryear,datamodel=95-customlists,backend=biber]{biblatex} +\addbibresource{95-customlists.bib} + +% 1. First, check if the author list contain me, here, "Arthur Smith" (and +% isn't *just* me as then we can ignore this entry as there are no coauthors) +% 2. Copy the author field to a temporary field "coauthortext". We don't need +% datamodel declarations for this as this will be deleted after use and +% will never get anywhere near code that queries the data model. +% 3. Remove me (Arthur Smith) from this temporary copy of the author list +% 4. Turn the resulting field into a comma-separated list +% 5. Loop over this comma-separated list, creating new entries of type +% "coauthor" each with a "coauthor" name list field containing the data +% from the loop variable +% 6. Remove the temporary author field copy "coauthortext" +% +% The special $MAPLOOP variable holds each value of the csv field named by +% the "foreach" option on the \map macro. +% The special $MAPUNIQ variable is a random string generated automatically +% at the beginning of each \map section. This is useful when you need a unique +% string as we do here because citation keys should be unique. +% $MAPLOOPVAL can be used to refer to the last created $MAPUNIQ +\DeclareSourcemap{ + \maps[datatype=bibtex]{ + \map[overwrite]{ + \step[fieldsource=author, + match=\regexp{Arthur\s+Smith}, final] + \step[fieldsource=author, + notmatch=\regexp{^Arthur\s+Smith$}, final] + \step[fieldsource=author, fieldset=coauthortext, origfieldval] + \step[fieldsource=coauthortext, + match=\regexp{Arthur\s+Smith\s+and\s+}, + replace={}] + \step[fieldsource=coauthortext, + match=\regexp{\s+and\s+Arthur\s+Smith}, + replace={}] + \step[fieldsource=coauthortext, + match=\regexp{\s+and\s+}, + replace={,}] + } + \map[overwrite, foreach=coauthortext]{ + \step[fieldsource=coauthortext, match=\regexp{.}, final] + \step[entrynew=\regexp{$MAPUNIQ}, entrynewtype=coauthor] + \step[entrytarget=\regexp{$MAPUNIQVAL}, fieldset=coauthor, fieldvalue=\regexp{$MAPLOOP}] + \step[entrytarget=\regexp{$MAPUNIQVAL}, fieldset=options, fieldvalue=skipbib] + } + \map[overwrite]{ + \step[fieldsource=coauthortext, null] + } + } +} + +% Sort the biblist by coauthor name +\DeclareSortingScheme{coauthor}{ + \sort{ + \field{coauthor} + } +} + +% Driver to print the biblist items +\DeclareBibliographyDriver{coauthor}{% + \printnames{coauthor}} + +% bibcheck to strip duplicates +\defbibcheck{coauthor}{% + \ifcsdef{\strname{coauthor}} + {\skipentry} + {\savenamecs{coauthor}{\strname{coauthor}}}} + +% Simple bibenvironment to print the biblist +\defbibenvironment{coauthor} +{\list{} + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}} +{\endlist} +{\item} + +\begin{document} +\nocite{*} +\printbibliography +% This will automatically use the "coauthor" sorting scheme/biblist/driver etc. +\printbiblist[title=CoAuthors]{coauthor} +\end{document} + + + + + + |