texlive[74800] Master/texmf-dist: bibbreeze (31mar25)
commits+karl at tug.org
commits+karl at tug.org
Mon Mar 31 21:48:23 CEST 2025
Revision: 74800
https://tug.org/svn/texlive?view=revision&revision=74800
Author: karl
Date: 2025-03-31 21:48:23 +0200 (Mon, 31 Mar 2025)
Log Message:
-----------
bibbreeze (31mar25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.tex
trunk/Master/texmf-dist/doc/latex/bibbreeze/README.md
trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.bbx
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.bib
trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.pdf
trunk/Master/texmf-dist/doc/latex/bibbreeze/Instructions-Descriptions.md
trunk/Master/texmf-dist/doc/latex/bibbreeze/LICENSE.txt
trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze-authoryear.cbx
trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.dbx
trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.def
Deleted: trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.bib
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.bib 2025-03-31 16:33:16 UTC (rev 74799)
+++ trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.bib 2025-03-31 19:48:23 UTC (rev 74800)
@@ -1,310 +0,0 @@
-%% BibBreeze.bib
-
-% Author: Amir Mohammad Tahsiri
-% contact: https://github.com/mamadgit/BibBreeze
-
-%% Copyright 2025 Amir Mohammad Tahsiri
-%
-% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3c
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% https://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2008 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Amir Mohammad Tahsiri.
-%
-% This work consists of the files BibBreeze.tex, BibBreeze.bbx, BibBreeze-authoryear.cbx, BibBreeze.dbx, BibBreeze.bib, BibBreeze.def, Instructions-Descriptions.md, README.md and the derived file LICENSE.txt.
-
-\ProvidesFile{BibBreeze.bib}[version 1.0]
- at inproceedings{DBLP:conf/mallow/AlechinaL10,
- author = {Natasha Alechina and
- Brian Logan},
- editor = {Olivier Boissier and
- Amal El Fallah Seghrouchni and
- Salima Hassas and
- Nicolas Maudet},
- title = {Computationally Grounded Account of Belief and Awareness for {AI}
- Agents},
- booktitle = {Proceedings of The Multi-Agent Logics, Languages, and Organisations
- Federated Workshops {(MALLOW} 2010), Lyon, France, August 30 - September
- 2, 2010},
- series = {{CEUR} Workshop Proceedings},
- volume = {627},
- publisher = {CEUR-WS.org},
- year = {2010},
- url = {https://ceur-ws.org/Vol-627/lrba\_1.pdf},
- timestamp = {Fri, 10 Mar 2023 16:23:29 +0100},
- biburl = {https://dblp.org/rec/conf/mallow/AlechinaL10.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org},
- pages = {1--14}
-}
- at book{DBLP:books/mit/FHMV1995,
- author = {Ronald Fagin and
- Joseph Y. Halpern and
- Yoram Moses and
- Moshe Y. Vardi},
- title = {Reasoning About Knowledge},
- publisher = {{MIT} Press},
- year = {1995},
- doi = {https://doi.org/10.7551/mitpress/5803.001.0001},
- isbn = {9780262562003},
- timestamp = {Tue, 18 Aug 2020 16:05:04 +0200},
- biburl = {https://dblp.org/rec/books/mit/FHMV1995.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org}
-}
- at book{alma990002228290206881,
-author = {Hintikka, Jaakko},
-address = {Ithaca, N.Y},
-title = {Knowledge and belief : an introduction to the logic of the two notions},
-keywords = {Knowledge, Theory of},
-language = {eng},
-lccn = {62014461},
-publisher = {Cornell University Press},
-series = {Contemporary philosophy},
-year = {1962},
-}
- at inproceedings{10.1007/978-3-642-02658-4_55,
-author="Lomuscio, Alessio
-and Qu, Hongyang
-and Raimondi, Franco",
-editor="Bouajjani, Ahmed
-and Maler, Oded",
-title="MCMAS: A Model Checker for the Verification of Multi-Agent Systems",
-booktitle="Computer Aided Verification",
-year="2009",
-publisher="Springer Berlin Heidelberg",
-address="Berlin, Heidelberg",
-pages="682--688",
-isbn="978-3-642-02658-4"
-}
-
- at phdthesis{DBLP:phd/ethos/Raimondi06,
- author = {Franco Raimondi},
- title = {Model checking multi-agent systems},
- school = {University College London, {UK}},
- year = {2006},
- url = {http://discovery.ucl.ac.uk/5627/},
- timestamp = {Tue, 05 Apr 2022 10:59:16 +0200},
- biburl = {https://dblp.org/rec/phd/ethos/Raimondi06.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org}
-}
-
- at inproceedings{DBLP:conf/cie/AlechinaL16,
- author = {Natasha Alechina and
- Brian Logan},
- editor = {Arnold Beckmann and
- Laurent Bienvenu and
- Natasa Jonoska},
- title = {Verifying Systems of Resource-Bounded Agents},
- booktitle = {Pursuit of the Universal - 12th Conference on Computability in Europe,
- CiE 2016, Paris, France, June 27 - July 1, 2016, Proceedings},
- series = {Lecture Notes in Computer Science},
- volume = {9709},
- pages = {3--12},
- publisher = {Springer},
- year = {2016},
- doi = {10.1007/978-3-319-40189-8\_1},
- timestamp = {Wed, 08 Dec 2021 09:19:07 +0100},
- biburl = {https://dblp.org/rec/conf/cie/AlechinaL16.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org}
-}
- at article{DBLP:journals/igpl/HoekW03a,
- author = {Wiebe van der Hoek and
- Michael J. Wooldridge},
- title = {Towards a Logic of Rational Agency},
- journal = {Log. J. {IGPL}},
- volume = {11},
- number = {2},
- pages = {135--159},
- year = {2003},
- doi = {10.1093/jigpal/11.2.135},
- timestamp = {Fri, 06 Mar 2020 22:00:00 +0100},
- biburl = {https://dblp.org/rec/journals/igpl/HoekW03a.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org}
-}
- at article{10.1145/585265.585270,
-author = {Alur, Rajeev and Henzinger, Thomas A. and Kupferman, Orna},
-title = {Alternating-time temporal logic},
-year = {2002},
-issue_date = {September 2002},
-publisher = {Association for Computing Machinery},
-address = {New York, NY, USA},
-volume = {49},
-number = {5},
-issn = {0004-5411},
-url = {https://doi.org/10.1145/585265.585270},
-doi = {10.1145/585265.585270},
-journal = {J. ACM},
-month = {sep},
-pages = {672–713},
-numpages = {42},
-keywords = {temporaxl logic, model checking, games, Alternation}
-}
- at article{COHEN1990213,
-title = {Intention is choice with commitment},
-journal = {Artificial Intelligence},
-volume = {42},
-number = {2},
-pages = {213-261},
-year = {1990},
-issn = {0004-3702},
-doi = {https://doi.org/10.1016/0004-3702(90)90055-5},
-url = {https://www.sciencedirect.com/science/article/pii/0004370290900555},
-author = {Philip R. Cohen and Hector J. Levesque},
-}
- at inproceedings{10.5555/3087158.3087205,
-author = {Rao, Anand S. and Georgeff, Michael P.},
-editor = {Allen James and Fikes Richard and Sandewall Erik},
-title = {Modeling rational agents within a BDI-architecture},
-year = {1991},
-isbn = {1558601651},
-publisher = {Morgan Kaufmann Publishers Inc.},
-address = {San Francisco, CA, USA},
-booktitle = {Proceedings of the Second International Conference on Principles of Knowledge Representation and Reasoning},
-pages = {473–484},
-numpages = {12},
-location = {Cambridge, MA, USA},
-series = {KR'91}
-}
- at article{DRAWEL2017632,
-title = {Reasoning about Trust and Time in a System of Agents},
-journal = {Procedia Computer Science},
-volume = {109},
-pages = {632-639},
-year = {2017},
-note = {8th International Conference on Ambient Systems, Networks and Technologies, ANT-2017 and the 7th International Conference on Sustainable Energy Information Technology, SEIT 2017, 16-19 May 2017, Madeira, Portugal},
-issn = {1877-0509},
-doi = {https://doi.org/10.1016/j.procs.2017.05.369},
-url = {https://www.sciencedirect.com/science/article/pii/S1877050917310384},
-author = {Nagat Drawel and Jamal Bentahar and Elhadi Shakshuki},
-keywords = {Multi-Agent Systems (MASs), trust, temporal logic},
-}
- at article{DRAWEL20201047,
-title = {Specification and automatic verification of trust-based multi-agent systems},
-journal = {Future Generation Computer Systems},
-volume = {107},
-pages = {1047-1060},
-year = {2020},
-issn = {0167-739X},
-doi = {https://doi.org/10.1016/j.future.2018.01.040},
-url = {https://www.sciencedirect.com/science/article/pii/S0167739X17321349},
-author = {Nagat Drawel and Hongyang Qu and Jamal Bentahar and Elhadi Shakshuki},
-keywords = {Trust, Multi-agent systems, Temporal logic, Model checking, Reasoning postulates, MCMAS-T, VISPL},
-}
- at article{DBLP:journals/jetai/Elgot-DrapkinP90,
- author = {Jennifer J. Elgot{-}Drapkin and
- Donald Perlis},
- title = {Reasoning situated in time {I:} basic concepts},
- journal = {J. Exp. Theor. Artif. Intell.},
- volume = {2},
- number = {1},
- pages = {75--98},
- year = {1990},
- doi = {10.1080/09528139008953715},
- timestamp = {Thu, 18 May 2017 09:50:38 +0200},
- biburl = {https://dblp.org/rec/journals/jetai/Elgot-DrapkinP90.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org}
-}
- at inproceedings{DBLP:conf/prima/LiuL17,
- author = {Fenrong Liu and
- Emiliano Lorini},
- editor = {Bo An and
- Ana L. C. Bazzan and
- Jo{\~{a}}o Leite and
- Serena Villata and
- Leendert W. N. van der Torre},
- title = {Reasoning About Belief, Evidence and Trust in a Multi-agent Setting},
- booktitle = {{PRIMA} 2017: Principles and Practice of Multi-Agent Systems - 20th
- International Conference, Nice, France, October 30 - November 3, 2017,
- Proceedings},
- series = {Lecture Notes in Computer Science},
- volume = {10621},
- pages = {71--89},
- publisher = {Springer},
- year = {2017},
- doi = {10.1007/978-3-319-69131-2\_5},
- timestamp = {Fri, 07 Aug 2020 08:55:19 +0200},
- biburl = {https://dblp.org/rec/conf/prima/LiuL17.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org}
-}
- at inproceedings{DBLP:conf/ijcai/DrawelBLR20,
- author = {Nagat Drawel and
- Jamal Bentahar and
- Amine Laarej and
- Gaith Rjoub},
- editor = {Christian Bessiere},
- title = {Formalizing Group and Propagated Trust in Multi-Agent Systems},
- booktitle = {Proceedings of the Twenty-Ninth International Joint Conference on
- Artificial Intelligence, {IJCAI} 2020},
- pages = {60--66},
- publisher = {ijcai.org},
- year = {2020},
- doi = {10.24963/ijcai.2020/9},
- timestamp = {Mon, 20 Jul 2020 12:38:52 +0200},
- biburl = {https://dblp.org/rec/conf/ijcai/DrawelBLR20.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org}
-}
- at inproceedings{DBLP:conf/icmas/Wooldridge00,
- author = {Michael J. Wooldridge},
- title = {Computationally Grounded Theories of Agency},
- booktitle = {4th International Conference on Multi-Agent Systems, {ICMAS} 2000, Boston, MA, USA, July 10-12, 2000},
- pages = {13--22},
- publisher = {{IEEE} Computer Society},
- year = {2000},
- url = {https://doi.org/10.1109/ICMAS.2000.858426},
- doi = {10.1109/ICMAS.2000.858426},
- timestamp = {Thu, 23 Mar 2023 23:59:57 +0100},
- biburl = {https://dblp.org/rec/conf/icmas/Wooldridge00.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org}
-}
- at inproceedings{DBLP:journals/entcs/RaimondiL04,
- author = {Franco Raimondi and
- Alessio Lomuscio},
- editor = {Wiebe van der Hoek and
- Alessio Lomuscio and
- Erik P. de Vink and
- Michael J. Wooldridge},
- title = {A Tool For Specification And Verification Of Epistemic Properties
- In Interpreted Systems},
- booktitle = {1st International Workshop on Logic and Communication in Multi-Agent
- Systems, {LCMAS} 2003, Eindhoven, The Netherlands, June 29, 2003},
- series = {Electronic Notes in Theoretical Computer Science},
- volume = {85},
- pages = {176--191},
- publisher = {Elsevier},
- year = {2003},
- doi = {10.1016/S1571-0661(05)82609-X},
- timestamp = {Thu, 08 Dec 2022 14:13:49 +0100},
- biburl = {https://dblp.org/rec/journals/entcs/RaimondiL04.bib},
- bibsource = {dblp computer science bibliography, https://dblp.org}
-}
-
- at inproceedings{ijcai2020p1,
- title = {An Algorithm for Multi-Attribute Diverse Matching},
- author = {Ahmadi, Saba and Ahmed, Faez and Dickerson, John P. and Fuge, Mark and Khuller, Samir},
- booktitle = {Proceedings of the Twenty-Ninth International Joint Conference on
- Artificial Intelligence, {IJCAI-20}},
- publisher = {International Joint Conferences on Artificial Intelligence Organization},
- editor = {Christian Bessiere},
- pages = {3--9},
- year = {2020},
- month = {7},
- note = {Main track},
- doi = {10.24963/ijcai.2020/1},
- url = {https://doi.org/10.24963/ijcai.2020/1},
-}
- at inproceedings{10.5555/3491440.3491441,
-author = {Ahmadi, Saba and Ahmed, Faez and Dickerson, John P. and Fuge, Mark and Khuller, Samir},
-title = {An algorithm for multi-attribute diverse matching},
-year = {2021},
-isbn = {9780999241165},
-booktitle = {Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence},
-articleno = {1},
-pages = {7--11},
-location = {Yokohama, Yokohama, Japan},
-series = {IJCAI'20}
-}
\ No newline at end of file
Deleted: trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.tex 2025-03-31 16:33:16 UTC (rev 74799)
+++ trunk/Master/texmf-dist/doc/latex/bibbreeze/BibBreeze.tex 2025-03-31 19:48:23 UTC (rev 74800)
@@ -18,7 +18,7 @@
% The Current Maintainer of this work is Amir Mohammad Tahsiri.
%
% This work consists of the files BibBreeze.tex, BibBreeze.bbx, BibBreeze-authoryear.cbx, BibBreeze.dbx, BibBreeze.bib, BibBreeze.def, Instructions-Descriptions.md, README.md and the derived file LICENSE.txt.
-\ProvidesFile{BibBreeze.tex}[version 1.0]
+\ProvidesFile{BibBreeze.tex}[version 1.1]
\documentclass{article}
\usepackage{graphicx}%
\usepackage{multirow}%
Deleted: trunk/Master/texmf-dist/doc/latex/bibbreeze/Instructions-Descriptions.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bibbreeze/Instructions-Descriptions.md 2025-03-31 16:33:16 UTC (rev 74799)
+++ trunk/Master/texmf-dist/doc/latex/bibbreeze/Instructions-Descriptions.md 2025-03-31 19:48:23 UTC (rev 74800)
@@ -1,14 +0,0 @@
-# Instructions & Descriptions
-This Markdown file provides descriptions of the reasons behind code implementations in various branches, including the main branch. For sections of code that require manual setup, this document will offer precise instructions on what to do.
-
-## Main Branch
-**Standard APA style**: The code allows for the APA style to be used with `numeric` in-text citations and the `author-year` version. To use `author-year` in-text citations please follow the instructions below.
-
-**Instructions**:
-
-For MikTeX users:
-1. In the `BibBreeze.tex` file, set the `citestyle` of the `biblatex` package to `BibBreeze-authoryear`.
-2. In the `BibBreeze.bbx` file, set the `numeric` of `RequireBibliographyStyle` as `BibBreeze-authoryear`.
-
-## Customising-BibLaTeX's.def-file branch
-Building the project requires a `.def` file. The purpose of this branch is to create my own custom `.def` file based on my needs. However, for now I am using a modified version of the default `biblatex.def` (for MikTeX users) renamed to `BibBreeze.def`. This is a temporary measure until I can decide which sections I require for my own custom `BibBreeze.def` file.
Deleted: trunk/Master/texmf-dist/doc/latex/bibbreeze/LICENSE.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bibbreeze/LICENSE.txt 2025-03-31 16:33:16 UTC (rev 74799)
+++ trunk/Master/texmf-dist/doc/latex/bibbreeze/LICENSE.txt 2025-03-31 19:48:23 UTC (rev 74800)
@@ -1,415 +0,0 @@
-The LaTeX Project Public License
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
-LPPL Version 1.3c 2008-05-04
-
-Copyright 1999 2002-2008 LaTeX3 Project
- Everyone is allowed to distribute verbatim copies of this
- license document, but modification of it is not allowed.
-
-
-PREAMBLE
-========
-
-The LaTeX Project Public License (LPPL) is the primary license under
-which the LaTeX kernel and the base LaTeX packages are distributed.
-
-You may use this license for any work of which you hold the copyright
-and which you wish to distribute. This license may be particularly
-suitable if your work is TeX-related (such as a LaTeX package), but
-it is written in such a way that you can use it even if your work is
-unrelated to TeX.
-
-The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
-below, gives instructions, examples, and recommendations for authors
-who are considering distributing their works under this license.
-
-This license gives conditions under which a work may be distributed
-and modified, as well as conditions under which modified versions of
-that work may be distributed.
-
-We, the LaTeX3 Project, believe that the conditions below give you
-the freedom to make and distribute modified versions of your work
-that conform with whatever technical specifications you wish while
-maintaining the availability, integrity, and reliability of
-that work. If you do not see how to achieve your goal while
-meeting these conditions, then read the document `cfgguide.tex'
-and `modguide.tex' in the base LaTeX distribution for suggestions.
-
-
-DEFINITIONS
-===========
-
-In this license document the following terms are used:
-
- `Work'
- Any work being distributed under this License.
-
- `Derived Work'
- Any work that under any applicable law is derived from the Work.
-
- `Modification'
- Any procedure that produces a Derived Work under any applicable
- law -- for example, the production of a file containing an
- original file associated with the Work or a significant portion of
- such a file, either verbatim or with modifications and/or
- translated into another language.
-
- `Modify'
- To apply any procedure that produces a Derived Work under any
- applicable law.
-
- `Distribution'
- Making copies of the Work available from one person to another, in
- whole or in part. Distribution includes (but is not limited to)
- making any electronic components of the Work accessible by
- file transfer protocols such as FTP or HTTP or by shared file
- systems such as Sun's Network File System (NFS).
-
- `Compiled Work'
- A version of the Work that has been processed into a form where it
- is directly usable on a computer system. This processing may
- include using installation facilities provided by the Work,
- transformations of the Work, copying of components of the Work, or
- other activities. Note that modification of any installation
- facilities provided by the Work constitutes modification of the Work.
-
- `Current Maintainer'
- A person or persons nominated as such within the Work. If there is
- no such explicit nomination then it is the `Copyright Holder' under
- any applicable law.
-
- `Base Interpreter'
- A program or process that is normally needed for running or
- interpreting a part or the whole of the Work.
-
- A Base Interpreter may depend on external components but these
- are not considered part of the Base Interpreter provided that each
- external component clearly identifies itself whenever it is used
- interactively. Unless explicitly specified when applying the
- license to the Work, the only applicable Base Interpreter is a
- `LaTeX-Format' or in the case of files belonging to the
- `LaTeX-format' a program implementing the `TeX language'.
-
-
-
-CONDITIONS ON DISTRIBUTION AND MODIFICATION
-===========================================
-
-1. Activities other than distribution and/or modification of the Work
-are not covered by this license; they are outside its scope. In
-particular, the act of running the Work is not restricted and no
-requirements are made concerning any offers of support for the Work.
-
-2. You may distribute a complete, unmodified copy of the Work as you
-received it. Distribution of only part of the Work is considered
-modification of the Work, and no right to distribute such a Derived
-Work may be assumed under the terms of this clause.
-
-3. You may distribute a Compiled Work that has been generated from a
-complete, unmodified copy of the Work as distributed under Clause 2
-above, as long as that Compiled Work is distributed in such a way that
-the recipients may install the Compiled Work on their system exactly
-as it would have been installed if they generated a Compiled Work
-directly from the Work.
-
-4. If you are the Current Maintainer of the Work, you may, without
-restriction, modify the Work, thus creating a Derived Work. You may
-also distribute the Derived Work without restriction, including
-Compiled Works generated from the Derived Work. Derived Works
-distributed in this manner by the Current Maintainer are considered to
-be updated versions of the Work.
-
-5. If you are not the Current Maintainer of the Work, you may modify
-your copy of the Work, thus creating a Derived Work based on the Work,
-and compile this Derived Work, thus creating a Compiled Work based on
-the Derived Work.
-
-6. If you are not the Current Maintainer of the Work, you may
-distribute a Derived Work provided the following conditions are met
-for every component of the Work unless that component clearly states
-in the copyright notice that it is exempt from that condition. Only
-the Current Maintainer is allowed to add such statements of exemption
-to a component of the Work.
-
- a. If a component of this Derived Work can be a direct replacement
- for a component of the Work when that component is used with the
- Base Interpreter, then, wherever this component of the Work
- identifies itself to the user when used interactively with that
- Base Interpreter, the replacement component of this Derived Work
- clearly and unambiguously identifies itself as a modified version
- of this component to the user when used interactively with that
- Base Interpreter.
-
- b. Every component of the Derived Work contains prominent notices
- detailing the nature of the changes to that component, or a
- prominent reference to another file that is distributed as part
- of the Derived Work and that contains a complete and accurate log
- of the changes.
-
- c. No information in the Derived Work implies that any persons,
- including (but not limited to) the authors of the original version
- of the Work, provide any support, including (but not limited to)
- the reporting and handling of errors, to recipients of the
- Derived Work unless those persons have stated explicitly that
- they do provide such support for the Derived Work.
-
- d. You distribute at least one of the following with the Derived Work:
-
- 1. A complete, unmodified copy of the Work;
- if your distribution of a modified component is made by
- offering access to copy the modified component from a
- designated place, then offering equivalent access to copy
- the Work from the same or some similar place meets this
- condition, even though third parties are not compelled to
- copy the Work along with the modified component;
-
- 2. Information that is sufficient to obtain a complete,
- unmodified copy of the Work.
-
-7. If you are not the Current Maintainer of the Work, you may
-distribute a Compiled Work generated from a Derived Work, as long as
-the Derived Work is distributed to all recipients of the Compiled
-Work, and as long as the conditions of Clause 6, above, are met with
-regard to the Derived Work.
-
-8. The conditions above are not intended to prohibit, and hence do not
-apply to, the modification, by any method, of any component so that it
-becomes identical to an updated version of that component of the Work as
-it is distributed by the Current Maintainer under Clause 4, above.
-
-9. Distribution of the Work or any Derived Work in an alternative
-format, where the Work or that Derived Work (in whole or in part) is
-then produced by applying some process to that format, does not relax or
-nullify any sections of this license as they pertain to the results of
-applying that process.
-
-10. a. A Derived Work may be distributed under a different license
- provided that license itself honors the conditions listed in
- Clause 6 above, in regard to the Work, though it does not have
- to honor the rest of the conditions in this license.
-
- b. If a Derived Work is distributed under a different license, that
- Derived Work must provide sufficient documentation as part of
- itself to allow each recipient of that Derived Work to honor the
- restrictions in Clause 6 above, concerning changes from the Work.
-
-11. This license places no restrictions on works that are unrelated to
-the Work, nor does this license place any restrictions on aggregating
-such works with the Work by any means.
-
-12. Nothing in this license is intended to, or may be used to, prevent
-complete compliance by all parties with all applicable laws.
-
-
-NO WARRANTY
-===========
-
-There is no warranty for the Work. Except when otherwise stated in
-writing, the Copyright Holder provides the Work `as is', without
-warranty of any kind, either expressed or implied, including, but not
-limited to, the implied warranties of merchantability and fitness for a
-particular purpose. The entire risk as to the quality and performance
-of the Work is with you. Should the Work prove defective, you assume
-the cost of all necessary servicing, repair, or correction.
-
-In no event unless required by applicable law or agreed to in writing
-will The Copyright Holder, or any author named in the components of the
-Work, or any other party who may distribute and/or modify the Work as
-permitted above, be liable to you for damages, including any general,
-special, incidental or consequential damages arising out of any use of
-the Work or out of inability to use the Work (including, but not limited
-to, loss of data, data being rendered inaccurate, or losses sustained by
-anyone as a result of any failure of the Work to operate with any other
-programs), even if the Copyright Holder or said author or said other
-party has been advised of the possibility of such damages.
-
-
-MAINTENANCE OF THE WORK
-=======================
-
-The Work has the status `author-maintained' if the Copyright Holder
-explicitly and prominently states near the primary copyright notice in
-the Work that the Work can only be maintained by the Copyright Holder
-or simply that it is `author-maintained'.
-
-The Work has the status `maintained' if there is a Current Maintainer
-who has indicated in the Work that they are willing to receive error
-reports for the Work (for example, by supplying a valid e-mail
-address). It is not required for the Current Maintainer to acknowledge
-or act upon these error reports.
-
-The Work changes from status `maintained' to `unmaintained' if there
-is no Current Maintainer, or the person stated to be Current
-Maintainer of the work cannot be reached through the indicated means
-of communication for a period of six months, and there are no other
-significant signs of active maintenance.
-
-You can become the Current Maintainer of the Work by agreement with
-any existing Current Maintainer to take over this role.
-
-If the Work is unmaintained, you can become the Current Maintainer of
-the Work through the following steps:
-
- 1. Make a reasonable attempt to trace the Current Maintainer (and
- the Copyright Holder, if the two differ) through the means of
- an Internet or similar search.
-
- 2. If this search is successful, then enquire whether the Work
- is still maintained.
-
- a. If it is being maintained, then ask the Current Maintainer
- to update their communication data within one month.
-
- b. If the search is unsuccessful or no action to resume active
- maintenance is taken by the Current Maintainer, then announce
- within the pertinent community your intention to take over
- maintenance. (If the Work is a LaTeX work, this could be
- done, for example, by posting to comp.text.tex.)
-
- 3a. If the Current Maintainer is reachable and agrees to pass
- maintenance of the Work to you, then this takes effect
- immediately upon announcement.
-
- b. If the Current Maintainer is not reachable and the Copyright
- Holder agrees that maintenance of the Work be passed to you,
- then this takes effect immediately upon announcement.
-
- 4. If you make an `intention announcement' as described in 2b. above
- and after three months your intention is challenged neither by
- the Current Maintainer nor by the Copyright Holder nor by other
- people, then you may arrange for the Work to be changed so as
- to name you as the (new) Current Maintainer.
-
- 5. If the previously unreachable Current Maintainer becomes
- reachable once more within three months of a change completed
- under the terms of 3b) or 4), then that Current Maintainer must
- become or remain the Current Maintainer upon request provided
- they then update their communication data within one month.
-
-A change in the Current Maintainer does not, of itself, alter the fact
-that the Work is distributed under the LPPL license.
-
-If you become the Current Maintainer of the Work, you should
-immediately provide, within the Work, a prominent and unambiguous
-statement of your status as Current Maintainer. You should also
-announce your new status to the same pertinent community as
-in 2b) above.
-
-
-WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
-======================================================
-
-This section contains important instructions, examples, and
-recommendations for authors who are considering distributing their
-works under this license. These authors are addressed as `you' in
-this section.
-
-Choosing This License or Another License
-----------------------------------------
-
-If for any part of your work you want or need to use *distribution*
-conditions that differ significantly from those in this license, then
-do not refer to this license anywhere in your work but, instead,
-distribute your work under a different license. You may use the text
-of this license as a model for your own license, but your license
-should not refer to the LPPL or otherwise give the impression that
-your work is distributed under the LPPL.
-
-The document `modguide.tex' in the base LaTeX distribution explains
-the motivation behind the conditions of this license. It explains,
-for example, why distributing LaTeX under the GNU General Public
-License (GPL) was considered inappropriate. Even if your work is
-unrelated to LaTeX, the discussion in `modguide.tex' may still be
-relevant, and authors intending to distribute their works under any
-license are encouraged to read it.
-
-A Recommendation on Modification Without Distribution
------------------------------------------------------
-
-It is wise never to modify a component of the Work, even for your own
-personal use, without also meeting the above conditions for
-distributing the modified component. While you might intend that such
-modifications will never be distributed, often this will happen by
-accident -- you may forget that you have modified that component; or
-it may not occur to you when allowing others to access the modified
-version that you are thus distributing it and violating the conditions
-of this license in ways that could have legal implications and, worse,
-cause problems for the community. It is therefore usually in your
-best interest to keep your copy of the Work identical with the public
-one. Many works provide ways to control the behavior of that work
-without altering any of its licensed components.
-
-How to Use This License
------------------------
-
-To use this license, place in each of the components of your work both
-an explicit copyright notice including your name and the year the work
-was authored and/or last substantially modified. Include also a
-statement that the distribution and/or modification of that
-component is constrained by the conditions in this license.
-
-Here is an example of such a notice and statement:
-
- %% pig.dtx
- %% Copyright 2008 M. Y. Name
- %
- % 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
- % https://www.latex-project.org/lppl.txt
- % and version 1.3c or later is part of all distributions of LaTeX
- % version 2008 or later.
- %
- % This work has the LPPL maintenance status `maintained'.
- %
- % The Current Maintainer of this work M. Y. Name.
- %
- % This work consists of the files pig.dtx and pig.ins
- % and the derived file pig.sty.
-
-Given such a notice and statement in a file, the conditions
-given in this license document would apply, with the `Work' referring
-to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
-generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
-referring to any `LaTeX-Format', and both `Copyright Holder' and
-`Current Maintainer' referring to the person `M. Y. Name'.
-
-If you do not want the Maintenance section of LPPL to apply to your
-Work, change `maintained' above into `author-maintained'.
-However, we recommend that you use `maintained', as the Maintenance
-section was added in order to ensure that your Work remains useful to
-the community even when you can no longer maintain and support it
-yourself.
-
-Derived Works That Are Not Replacements
----------------------------------------
-
-Several clauses of the LPPL specify means to provide reliability and
-stability for the user community. They therefore concern themselves
-with the case that a Derived Work is intended to be used as a
-(compatible or incompatible) replacement of the original Work. If
-this is not the case (e.g., if a few lines of code are reused for a
-completely different task), then clauses 6b and 6d shall not apply.
-
-
-Important Recommendations
--------------------------
-
- Defining What Constitutes the Work
-
- The LPPL requires that distributions of the Work contain all the
- files of the Work. It is therefore important that you provide a
- way for the licensee to determine which files constitute the Work.
- This could, for example, be achieved by explicitly listing all the
- files of the Work near the copyright notice of each file or by
- using a line such as:
-
- % This work consists of all files listed in manifest.txt.
-
- in that place. In the absence of an unequivocal list it might be
- impossible for the licensee to determine what is considered by you
- to comprise the Work and, in such a case, the licensee would be
- entitled to make reasonable conjectures as to which files comprise
- the Work.
Modified: trunk/Master/texmf-dist/doc/latex/bibbreeze/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bibbreeze/README.md 2025-03-31 16:33:16 UTC (rev 74799)
+++ trunk/Master/texmf-dist/doc/latex/bibbreeze/README.md 2025-03-31 19:48:23 UTC (rev 74800)
@@ -12,8 +12,10 @@
version 2008 or later.
This work has the LPPL maintenance status `maintained'.
The Current Maintainer of this work is Amir Mohammad Tahsiri.
-% This work consists of the files BibBreeze.tex, BibBreeze.bbx, BibBreeze-authoryear.cbx, BibBreeze.dbx, BibBreeze.bib, BibBreeze.def (all version 1.0), Instructions-Descriptions.md, README.md and the derived file LICENSE.txt.
+% This work consists of the files BibBreeze.tex, BibBreeze.bbx (version 1.1), BibBreeze-authoryear.cbx, BibBreeze.dbx, BibBreeze.bib, BibBreeze.def (version 1.0), Instructions-Descriptions.md, README.md and the derived file LICENSE.txt.
+%The file BibBreeze.bbx variable names have changed to internal (non-public) to avoid clash when building upon this package. The BibBreeze.tex is also affected by BibBreeze.bbx.
+
Modified Files: The 'BiBreeze-authoryear.cbx' is a modified version of 'authoryear.cbx' from BibLaTeX and 'BibBreeze.def' is a modified version of 'biblatex.def'.
Copyright (c) 2006-2011 Philipp Lehman.
2012-2017 Philip Kime, Audrey Boruvka, Joseph Wright
Deleted: trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze-authoryear.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze-authoryear.cbx 2025-03-31 16:33:16 UTC (rev 74799)
+++ trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze-authoryear.cbx 2025-03-31 19:48:23 UTC (rev 74800)
@@ -1,188 +0,0 @@
-%BibBreeze-authoryear.cbx
-
-%Orginally authoryear.cbx from BibLaTeX
-
-% Copyright (c) 2006-2011 Philipp Lehman.
-% 2012-2017 Philip Kime, Audrey Boruvka, Joseph Wright
-% 2018- Philip Kime, Moritz Wemheuer
-%
-% Permission is granted to copy, distribute and/or modify this
-% software under the terms of the LaTeX Project Public License
-% (LPPL), version 1.3c.
-%
-% This software is provided 'as is', without warranty of any kind,
-% either expressed or implied, including, but not limited to, the
-% implied warranties of merchantability and fitness for a
-% particular purpose.
-
-%Modified by [Amir Mohammad Tahsiri], 2025
-%Contact: https://github.com/mamadgit/BibBreeze
-%Modifications: Adjusted authoryear style to correctly support APA (7th edition) in-text citations (lines 23 and 34-55).
-% This work consists of the files BibBreeze.tex, BibBreeze.bbx, BibBreeze-authoryear.cbx, BibBreeze.dbx, BibBreeze.bib, BibBreeze.def, Instructions-Descriptions.md, README.md and the derived file LICENSE.txt.
-
-\ProvidesFile{BibBreeze-authoryear.cbx}[version 1.0]
-[\abx at cbxid]
-
-\ExecuteBibliographyOptions{labeldateparts,uniquename,uniquelist,autocite=inline}
-
-\renewcommand*{\iffinalcitedelim}{\iflastcitekey}
-
-\newbool{cbx:parens}
-
-\renewcommand*{\nameyeardelim}{,\space} % Adds ", " between authors and year
-
-\DeclareNameFormat{labelname}{%
- \ifnumcomp{\value{listtotal}}{>}{2} % More than 2 authors
- {\ifnumcomp{\value{listcount}}{=}{1} % Only print first author
- {\namepartfamily%
- \ifgiveninits
- {\namepartgiveni}
- {}%
- \space et al.}%
- {}} % Stop after first author
- {\ifnumcomp{\value{listtotal}}{=}{2} % Exactly 2 authors
- {\namepartfamily%
- \ifgiveninits
- {\namepartgiveni}
- {}%
- \ifnumcomp{\value{listcount}}{=}{1} % Add "&" before second author
- {\space\&\space}
- {}}%
- {\namepartfamily% Single author case
- \ifgiveninits
- {\namepartgiveni}
- {}}}%
- \ifmorenames{\relax}{\relax}}
-
-\newbibmacro*{cite}{%
- \iffieldundef{shorthand}
- {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
- {\usebibmacro{cite:label}%
- \setunit{\printdelim{nonameyeardelim}}}
- {\printnames{labelname}%
- \setunit{\printdelim{nameyeardelim}}}%
- \usebibmacro{cite:labeldate+extradate}}
- {\usebibmacro{cite:shorthand}}}
-
-\newbibmacro*{textcite}{%
- \ifnameundef{labelname}
- {\iffieldundef{shorthand}
- {\usebibmacro{cite:label}%
- \setunit{%
- \global\booltrue{cbx:parens}%
- \printdelim{nonameyeardelim}\bibopenparen}%
- \ifnumequal{\value{citecount}}{1}
- {\usebibmacro{prenote}}
- {}%
- \usebibmacro{cite:labeldate+extradate}}
- {\usebibmacro{cite:shorthand}}}
- {\printnames{labelname}%
- \setunit{%
- \global\booltrue{cbx:parens}%
- \printdelim{nameyeardelim}\bibopenparen}%
- \ifnumequal{\value{citecount}}{1}
- {\usebibmacro{prenote}}
- {}%
- \usebibmacro{citeyear}}}
-
-\newbibmacro*{citeyear}{%
- \iffieldundef{shorthand}
- {\iffieldundef{labelyear}
- {\usebibmacro{cite:label}}
- {\usebibmacro{cite:labeldate+extradate}}}
- {\usebibmacro{cite:shorthand}}}
-
-\newbibmacro*{cite:shorthand}{%
- \printtext[bibhyperref]{\printfield{shorthand}}}
-
-\newbibmacro*{cite:label}{%
- \iffieldundef{label}
- {\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
- {\printtext[bibhyperref]{\printfield{label}}}}
-
-\newbibmacro*{cite:labeldate+extradate}{%
- \iffieldundef{labelyear}
- {}
- {\printtext[bibhyperref]{\printlabeldateextra}}}
-
-\newbibmacro{cite:labelyear+extrayear}{%
- \blx at warning{bibmacro 'cite:labelyear+extrayear' is deprecated.\MessageBreak
- Please use 'cite:labeldate+extradate'.\MessageBreak
- Using 'cite:labeldate+extradate' instead}%
- \usebibmacro{cite:labeldate+extradate}}
-
-\newbibmacro*{textcite:postnote}{%
- \iffieldundef{postnote}
- {\ifbool{cbx:parens}
- {\bibcloseparen}
- {}}
- {\ifbool{cbx:parens}
- {\setunit{\printdelim{postnotedelim}}}
- {\setunit{\printdelim{extpostnotedelim}\bibopenparen}}%
- \printfield{postnote}\bibcloseparen}}
-
-\DeclareCiteCommand{\cite}
- {\usebibmacro{prenote}}%
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand*{\cite}
- {\usebibmacro{prenote}}%
- {\usebibmacro{citeindex}%
- \usebibmacro{citeyear}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\parencite}[\mkbibparens]
- {\usebibmacro{prenote}}%
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand*{\parencite}[\mkbibparens]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{citeyear}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\footcite}[\mkbibfootnote]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\footcitetext}[\mkbibfootnotetext]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\smartcite}[\iffootnote\mkbibparens\mkbibfootnote]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\textcite}
- {\boolfalse{cbx:parens}}
- {\usebibmacro{citeindex}%
- \iffirstcitekey
- {\setcounter{textcitetotal}{1}}
- {\stepcounter{textcitetotal}%
- \textcitedelim}%
- \usebibmacro{textcite}}
- {\ifbool{cbx:parens}
- {\bibcloseparen\global\boolfalse{cbx:parens}}
- {}}
- {\usebibmacro{textcite:postnote}}
-
-\DeclareMultiCiteCommand{\textcites}{\textcite}{}
-
-\endinput
Modified: trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.bbx 2025-03-31 16:33:16 UTC (rev 74799)
+++ trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.bbx 2025-03-31 19:48:23 UTC (rev 74800)
@@ -19,7 +19,7 @@
%
% This work consists of the files BibBreeze.tex, BibBreeze.bbx, BibBreeze-authoryear.cbx, BibBreeze.dbx, BibBreeze.bib, BibBreeze.def, Instructions-Descriptions.md, README.md and the derived file LICENSE.txt.
-\ProvidesFile{BibBreeze.bbx}[version 1.0]
+\ProvidesFile{BibBreeze.bbx}[version 1.1]
\RequireBibliographyStyle{numeric}% If users want there references based on author-year, change "numeric" to "BibBreeze-authoryear".
\DeclareSortingTemplate{nyt}
@@ -248,16 +248,16 @@
\ExplSyntaxOn% This function is written using commands from the expl3 package and requires loading its own enviornment
% Declare variables
-\seq_new:N \l_my_input_seq % Sequence for input items
-\tl_new:N \l_my_input_tl % Token list for input string
-\tl_new:N \l_my_item_tl % Token list for current item
-\tl_new:N \g_my_date_tl % Token list for date
-\tl_new:N \g_my_location_tl % Token list for storing location parameters
-\tl_new:N \g_my_title_tl % Token list for title
-\seq_new:N \l_my_location_list_seq % Sequence for location
-\int_new:N \l_my_counter_int % Integer variable as a counter
-\bool_new:N \l_my_continue_bool % Boolean for while loop
-\bool_new:N \l_my_nested_loop_bool % Boolean while loop for putting items in location sequence
+\seq_new:N \l__bibbreeze_input_seq %Internal sequence for input items
+\tl_new:N \l__bibbreeze_input_tl %Internal token list for input string
+\tl_new:N \l__bibbreeze_item_tl %Internal token list for current item
+\seq_new:N \l__bibbreeze_location_list_seq %Internal sequence for location
+\int_new:N \l__bibbreeze_counter_int %Internal integer variable as a counter
+\bool_new:N \l__bibbreeze_continue_bool %Internal boolean for main loop
+\bool_new:N \l__bibbreeze_nestedloop_bool %Internal boolean loop for putting items in location sequence
+\tl_new:N \g_bibbreeze_date_tl %Public token list for date
+\tl_new:N \g_bibbreeze_location_tl %Public token list for storing location parameters
+\tl_new:N \g_bibbreeze_title_tl %Public token list for title
% Define the macro
@@ -264,128 +264,128 @@
%%%%%%%The algorithm for extracting field information bundeled in another field
\NewDocumentCommand{\ExtractFieldInfo}{m}
{
- \tl_set:Nx \l_my_input_tl {\expandafter\use:n{#1}}%Use \expandafter to acsses the characters of the input variable. Also use \tl_set:Nx to expand l_my_input_tl before passing to function.
- \seq_set_split:NnV \l_my_input_seq {,} \l_my_input_tl %Split the list into items based on commas
- \seq_log:N \l_my_input_seq %Check the log file for output of l_my_input_seq
+ \tl_set:Ne \l__bibbreeze_input_tl {#1}%Use \Ne to expand to acsses the characters of the input variable. Also use \tl_set:Ne to expand l_my_input_tl before passing to function.
+ \seq_set_split:NnV \l__bibbreeze_input_seq {,} \l__bibbreeze_input_tl %Split the list into items based on commas
+ \seq_log:N \l__bibbreeze_input_seq %Check the log file for output of l_my_input_seq
- \bool_set_true:N \l_my_continue_bool
+ \bool_set_true:N \l__bibbreeze_continue_bool
%Set title, location and date as global tokens instead of local to acesses them outside ExtractFieldInfo
- \tl_gset:Nn \g_my_title_tl {}
- \tl_gset:Nn \g_my_location_tl {}
- \tl_gset:Nn \g_my_date_tl {}
+ \tl_gset:Nn \g_bibbreeze_title_tl {}
+ \tl_gset:Nn \g_bibbreeze_location_tl {}
+ \tl_gset:Nn \g_bibbreeze_date_tl {}
- \bool_while_do:Nn \l_my_continue_bool
+ \bool_while_do:Nn \l__bibbreeze_continue_bool
{
%Get the first item in case it matches the first regex, as popping it would require insearting it again.
- \seq_get_right:NN \l_my_input_seq \l_my_item_tl
+ \seq_get_right:NN \l__bibbreeze_input_seq \l__bibbreeze_item_tl
%Trim spaces in case of spaces before or after the item
- \tl_trim_spaces:N \l_my_item_tl
+ \tl_trim_spaces:N \l__bibbreeze_item_tl
- \regex_match:nVTF {.\d{4}\Z} \l_my_item_tl
+ \regex_match:nVTF {.\d{4}\Z} \l__bibbreeze_item_tl
{
% Last item matches four digits at the end of the string
- \seq_pop_right:NN \l_my_input_seq \l_my_item_tl
- \tl_set:Nx \l_my_parenthesized_item_tl {( \l_my_item_tl )}
+ \seq_pop_right:NN \l__bibbreeze_input_seq \l__bibbreeze_item_tl
+ \tl_set:Ne \l_my_parenthesized_item_tl {( \l__bibbreeze_item_tl )}
% Construct title with consistent formatting
- \tl_gset:Nx \g_my_title_tl {
- \seq_use:Nn \l_my_input_seq {,~}
+ \tl_gset:Ne \g_bibbreeze_title_tl {
+ \seq_use:Nn \l__bibbreeze_input_seq {,~}
\c_space_tl \l_my_parenthesized_item_tl
}
- \tl_log:N \g_my_title_tl
- \bool_set_false:N \l_my_continue_bool % Exit loop since we've handled the year
+ \tl_log:N \g_bibbreeze_title_tl
+ \bool_set_false:N \l__bibbreeze_continue_bool % Exit loop since we've handled the year
}
{
% If the last item doesn't match, we proceed with other checks
- \seq_pop_right:NN \l_my_input_seq \l_my_item_tl
- \tl_trim_spaces:N \l_my_item_tl
+ \seq_pop_right:NN \l__bibbreeze_input_seq \l__bibbreeze_item_tl
+ \tl_trim_spaces:N \l__bibbreeze_item_tl
- \tl_if_eq:nVT {Proceedings} \l_my_item_tl
+ \tl_if_eq:nVT {Proceedings} \l__bibbreeze_item_tl
{
% If it is Proceedings, pop the next item
- \seq_pop_right:NN \l_my_input_seq \l_my_item_tl
- \tl_trim_spaces:N \l_my_item_tl
+ \seq_pop_right:NN \l__bibbreeze_input_seq \l__bibbreeze_item_tl
+ \tl_trim_spaces:N \l__bibbreeze_item_tl
}
- \regex_match:nVTF { ^\d{4} } \l_my_item_tl
+ \regex_match:nVTF { ^\d{4} } \l__bibbreeze_item_tl
{
% If it is a four-digit number, treat it as a year
- %\tl_set:Nx \l_my_date_tl {\l_my_item_tl}
- \seq_pop_right:NN \l_my_input_seq \l_my_item_tl
- \tl_trim_spaces:N \l_my_item_tl
+ %\tl_set:Ne \l_my_date_tl {\l__bibbreeze_item_tl}
+ \seq_pop_right:NN \l__bibbreeze_input_seq \l__bibbreeze_item_tl
+ \tl_trim_spaces:N \l__bibbreeze_item_tl
% Check if the next item is a month
- \regex_match:nVT { ^(J|F|Mar|A|May|Jun|Jul|Aug|S|O|N|D) } \l_my_item_tl % High probability of month for \l_my_item_tl at this stage; minimal check is sufficent
+ \regex_match:nVT { ^(J|F|Mar|A|May|Jun|Jul|Aug|S|O|N|D) } \l__bibbreeze_item_tl % High probability of month for \l__bibbreeze_item_tl at this stage; minimal check is sufficent
{
- \tl_gset:Nx \g_my_date_tl {\l_my_item_tl}
- \seq_pop_right:NN \l_my_input_seq \l_my_item_tl
- \tl_trim_spaces:N \l_my_item_tl
- \seq_put_left:Nx \l_my_location_list_seq {\l_my_item_tl}
+ \tl_gset:Ne \g_bibbreeze_date_tl {\l__bibbreeze_item_tl}
+ \seq_pop_right:NN \l__bibbreeze_input_seq \l__bibbreeze_item_tl
+ \tl_trim_spaces:N \l__bibbreeze_item_tl
+ \seq_put_left:Ne \l__bibbreeze_location_list_seq {\l__bibbreeze_item_tl}
}
% Determine location item count based on whether "USA" is present
- \tl_if_eq:nVTF { USA } {\l_my_item_tl}
+ \tl_if_eq:nVTF { USA } {\l__bibbreeze_item_tl}
{
%If USA pop out the next two items
- \int_set:Nn \l_my_counter_int {2}
+ \int_set:Nn \l__bibbreeze_counter_int {2}
}
{
%If not USA pop out only the next item
- \int_set:Nn \l_my_counter_int {1}
+ \int_set:Nn \l__bibbreeze_counter_int {1}
}
%Use another while loop for handeling the location items
- \bool_set_true:N \l_my_nested_loop_bool
- \bool_while_do:Nn \l_my_nested_loop_bool
+ \bool_set_true:N \l__bibbreeze_nestedloop_bool
+ \bool_while_do:Nn \l__bibbreeze_nestedloop_bool
{
- \int_compare:nTF {\l_my_counter_int > 0}
+ \int_compare:nTF {\l__bibbreeze_counter_int > 0}
{
- \seq_if_empty:NF \l_my_input_seq
+ \seq_if_empty:NF \l__bibbreeze_input_seq
{
- \seq_pop_right:NN \l_my_input_seq \l_my_item_tl
- \tl_log:N \l_my_item_tl
+ \seq_pop_right:NN \l__bibbreeze_input_seq \l__bibbreeze_item_tl
+ \tl_log:N \l__bibbreeze_item_tl
%Store popped locations in a new variable from left to right
- \seq_put_left:Nx \l_my_location_list_seq {\l_my_item_tl}
- \tl_trim_spaces:N \l_my_item_tl
- \int_decr:N \l_my_counter_int
+ \seq_put_left:Ne \l__bibbreeze_location_list_seq {\l__bibbreeze_item_tl}
+ \tl_trim_spaces:N \l__bibbreeze_item_tl
+ \int_decr:N \l__bibbreeze_counter_int
}
%Specifically indiate that if counter hits zero, exit the loop
- \int_compare:nT {\l_my_counter_int == 0}
+ \int_compare:nT {\l__bibbreeze_counter_int == 0}
{
- \bool_set_false:N \l_my_nested_loop_bool
+ \bool_set_false:N \l__bibbreeze_nestedloop_bool
}
}
{
- \bool_set_false:N \l_my_nested_loop_bool
+ \bool_set_false:N \l__bibbreeze_nestedloop_bool
}
}
- \seq_log:N \l_my_location_list_seq
+ \seq_log:N \l__bibbreeze_location_list_seq
%After extracting the location set in new variable
- \tl_gset:Nx \g_my_location_tl { \seq_use:Nn \l_my_location_list_seq {,~} }
+ \tl_gset:Ne \g_bibbreeze_location_tl {\seq_use:Nn \l__bibbreeze_location_list_seq {,~}}
% After handling location, check for the year again
- \seq_if_empty:NF \l_my_input_seq
+ \seq_if_empty:NF \l__bibbreeze_input_seq
{
- \bool_set_true:N \l_my_continue_bool
+ \bool_set_true:N \l__bibbreeze_continue_bool
}
{
- \bool_set_false:N \l_my_continue_bool
+ \bool_set_false:N \l__bibbreeze_continue_bool
}
}
{
% If no special conditions are met, add to title or check if we're done
- \tl_if_empty:NF \g_my_title_tl
+ \tl_if_empty:NF \g_bibbreeze_title_tl
{
- \tl_gput_left:Nn \g_my_title_tl {,~} % Add comma and space only if title is not empty
+ \tl_gput_left:Nn \g_bibbreeze_title_tl {,~} % Add comma and space only if title is not empty
}
%Set comma right-seperated items of title from left in g_my_title_tl
- \tl_gput_left:Nx \g_my_title_tl {\l_my_item_tl}
- \seq_if_empty:NTF \l_my_input_seq
+ \tl_gput_left:Ne \g_bibbreeze_title_tl {\l__bibbreeze_item_tl}
+ \seq_if_empty:NTF \l__bibbreeze_input_seq
{
% Remove the last comma if this was the last item
%\tl_remove_trailing:Nn \l_my_title_tl {,}
- \bool_set_false:N \l_my_continue_bool
+ \bool_set_false:N \l__bibbreeze_continue_bool
}
{
- \bool_set_true:N \l_my_continue_bool
+ \bool_set_true:N \l__bibbreeze_continue_bool
}
}
}
@@ -394,62 +394,57 @@
%Define new commands for making the title, location and date available for printing
\NewDocumentCommand{\PrintDatetl}{}
{
- \tl_if_empty:NF \g_my_date_tl
+ \tl_if_empty:NF \g_bibbreeze_date_tl
{
\addspace
- \tl_use:N \g_my_date_tl
- \tl_log:N \g_my_date_tl
+ \tl_use:N \g_bibbreeze_date_tl
+ \tl_log:N \g_bibbreeze_date_tl
}
}
\NewDocumentCommand{\PrintLocationtl}{}
{
- \tl_if_empty:NF \g_my_location_tl
+ \tl_if_empty:NF \g_bibbreeze_location_tl
{
\addspace
\ifnameundef{editor}
- {\tl_use:N \g_my_location_tl}
+ {\tl_use:N \g_bibbreeze_location_tl}
{}
- \tl_log:N \g_my_location_tl
+ \tl_log:N \g_bibbreeze_location_tl
}
}
\NewDocumentCommand{\PrintTitletl}{}
{
- \tl_if_empty:NF \g_my_title_tl
+ \tl_if_empty:NF \g_bibbreeze_title_tl
{
\addspace
\ifboolexpr{
test {\ifnameundef{editor}} and test {\iffieldundef{isbn}}% The isbn is included when a proceedings paper in an edited book lacks an editor field.
}
- {\tl_use:N \g_my_title_tl}
- {\textit{\tl_use:N \g_my_title_tl}}
+ {\tl_use:N \g_bibbreeze_title_tl}
+ {\textit{\tl_use:N \g_bibbreeze_title_tl}}
}
}
\cs_new_protected:Npn \ExtractURLInfo #1#2#3#4
{
- % Set biburl string
- \str_set:Nx \l_url_str {#1}
- \tl_log:N \l_url_str
- % Split the biburl into segments
- \seq_set_split:NnV \l_segments_seq {/} {\l_url_str}
- \seq_log:N \l_segments_seq
- % Initialize the found boolean
- \bool_set_false:N \l_found_bool
- % Map through each segment of the biburl
- \seq_map_inline:Nn \l_segments_seq
+ \str_set:Ne \l__bibbreeze_url_str {#1}
+ \tl_log:N \l__bibbreeze_url_str
+ \seq_set_split:NnV \l__bibbreeze_segments_seq {/} \l__bibbreeze_url_str
+ \seq_log:N \l__bibbreeze_segments_seq
+ \bool_set_false:N \l__bibbreeze_found_bool
+ \seq_map_inline:Nn \l__bibbreeze_segments_seq
{
\regex_match:nnTF {^#2\Z} {##1}
{
- \bool_set_true:N \l_found_bool
+ \bool_set_true:N \l__bibbreeze_found_bool
\tl_log:n { Found~#2~in~segment:~##1 }
\seq_map_break:
}
- {}% If regex not found, do nothing
+ {}
}
- % Execute the appropriate code based on whether the segment was found
- \bool_if:NTF \l_found_bool
- {#3}% If segment found, execute #3
- {#4}% If not found, execute #4
+ \bool_if:NTF \l__bibbreeze_found_bool
+ {#3}
+ {#4}
}
\ExplSyntaxOff
@@ -481,7 +476,7 @@
\printtext{In }%
\ifnameundef{editor}% In case edtior's field is missing.
{%
- \printtext{\textcolor[rgb]{0.695, 0.0, 0.0}{Find editors from publisher's source}}
+ \printtext{\textcolor[rgb]{0.695, 0.0, 0.0}{Find editors from publisher's source!}}
\addspace%
}%
{%
@@ -564,13 +559,9 @@
\DeclareIndexFieldFormat[thesis]{number}{(Publication No.\space #1)}
\ExplSyntaxOn
-\NewDocumentCommand{\PopOneItem}{m}% A general function for extracting only the first item of a list
+\NewDocumentCommand \PopOneItem { m }
{
- \tl_set:Nx \l_tmpa_tl {\expandafter\use:n{#1}}
- \seq_set_split:NnV \l_tmpa_seq {,} \l_tmpa_tl
- \seq_pop_left:NN \l_tmpa_seq \l_tmpa_tl
- \tl_trim_spaces:N \l_tmpa_tl
- \tl_use:N \l_tmpa_tl
+ \clist_item:en {#1} {1}
}% Function also works for a list with only one item as there's nothing to split and the item is places in l_tmpa_tl
\ExplSyntaxOff
Deleted: trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.dbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.dbx 2025-03-31 16:33:16 UTC (rev 74799)
+++ trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.dbx 2025-03-31 19:48:23 UTC (rev 74800)
@@ -1,33 +0,0 @@
-%% BibBreeze.dbx
-
-%Author: Amir Mohammad Tahsiri
-%contact: https://github.com/mamadgit/BibBreeze
-
-%% Copyright 2025 Amir Mohammad Tahsiri
-%
-% This work may be distributed and/or modified under the
-% conditions of the LaTeX Project Public License, either version 1.3c
-% of this license or (at your option) any later version.
-% The latest version of this license is in
-% https://www.latex-project.org/lppl.txt
-% and version 1.3c or later is part of all distributions of LaTeX
-% version 2008 or later.
-%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Amir Mohammad Tahsiri.
-%
-% This work consists of the files BibBreeze.tex, BibBreeze.bbx, BibBreeze-authoryear.cbx, BibBreeze.dbx, BibBreeze.bib, BibBreeze.def, Instructions-Descriptions.md, %README.md and the derived file LICENSE.txt.
-
- %The command Declare data model is used to declare new fields of entries that havent been defined for BibLaTeX. Here the type is identified which can be name, field, list, etc. Its type is then identified and finally the field of the entry
-
- \ProvidesFile{BibBreeze.dbx}[version 1.0]
-
- \DeclareDatamodelFields[type=field, datatype=literal]{bibsource}
- \DeclareDatamodelFields[type=field, datatype=literal]{biburl}
- \DeclareDatamodelFields[type=field, datatype=literal]{publicationnumber}
- \DeclareDatamodelFields[type=field, datatype=literal]{location}
- \DeclareDatamodelFields[type=field, datatype=literal]{date}
- \DeclareDatamodelEntryfields{publicationnumber}
- \DeclareDatamodelEntryfields[inproceedings]{location}
- \DeclareDatamodelEntryfields[inproceedings]{date}
\ No newline at end of file
Deleted: trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.def 2025-03-31 16:33:16 UTC (rev 74799)
+++ trunk/Master/texmf-dist/tex/latex/bibbreeze/BibBreeze.def 2025-03-31 19:48:23 UTC (rev 74800)
@@ -1,3479 +0,0 @@
-%BibBreeze.def
-
-%Orginally biblatex.def from BibLaTeX
-
-% Copyright (c) 2006-2011 Philipp Lehman.
-% 2012-2017 Philip Kime, Audrey Boruvka, Joseph Wright
-% 2018- Philip Kime, Moritz Wemheuer
-%
-% Permission is granted to copy, distribute and/or modify this
-% software under the terms of the LaTeX Project Public License
-% (LPPL), version 1.3c.
-%
-% This software is provided 'as is', without warranty of any kind,
-% either expressed or implied, including, but not limited to, the
-% implied warranties of merchantability and fitness for a
-% particular purpose.
-
-%Modified by [Amir Mohammad Tahsiri], 2025
-%Contact: https://github.com/mamadgit/BibBreeze
-%Modifications: Modified so the package can recognise specific bibliography field entries with different names (lines 1392-1402).
-% This work consists of the files BibBreeze.tex, BibBreeze.bbx, BibBreeze-authoryear.cbx, BibBreeze.dbx, BibBreeze.bib, BibBreeze.def, Instructions-Descriptions.md, README.md and the derived file LICENSE.txt.
-
-\ProvidesFile{BibBreeze.def}[version 1.0]
-[\abx at cptid]
-
-% ------------------------------------------------------------------
-% FORMATTING COMMANDS
-% ------------------------------------------------------------------
-
-% Generic formatting commands and hooks
-% ------------------------------------------------------------------
-
-% Used in citations, bibliography and bibliography lists
-
-% legacy - no longer needed could be removed one day when no-one is using it.
-\def\nameparts#1{}
-
-% Define namepart keys from datamodel constant list
-% \namepart<namepart> - e.g. \namepartfamily
-% \namepart<namepart>i - e.g. \namepartfamilyi
-\def\do#1{%
- \csdef{mkbibname#1}##1{##1}%%
- \blx at kv@defkey{blx at opt@namepart}{#1}{\csdef{namepart#1}{##1}}%
- \blx at kv@defkey{blx at opt@namepart}{#1i}{\csdef{namepart#1i}{##1}}%
- \blx at kv@defkey{blx at opt@namepart}{#1un}{\csdef{namepart#1un}{##1}}}
-\expandafter\docsvlist\expandafter{\blx at datamodel@constant at nameparts}
-
-% legacy aliases
-% set empty defaults so we can check if they have been redefined
-\let\mkbibnamefirst\@empty
-\let\mkbibnamelast\@empty
-\let\mkbibnameaffix\@empty
-
-\AtEndPreamble{%
- \ifdefempty\mkbibnamelast
- {\let\@mkbibnamelastsaved\mkbibnamefamily}% not redefined by user
- {\blx at warning@noline{%
- Attempt to redefine deprecated '\string\mkbibnamelast'.\MessageBreak
- Please use '\string\mkbibnamefamily' instead.\MessageBreak
- Using '\string\mkbibnamefamily'}%
- \let\@mkbibnamelastsaved\mkbibnamelast
- \let\mkbibnamefamily\@mkbibnamelastsaved}%
- % Now redefine it in case it's used
- \def\mkbibnamelast{%
- \blx at warning@noline{%
- '\string\mkbibnamelast' is deprecated.\MessageBreak
- Please use '\string\mkbibnamefamily'.\MessageBreak
- Using '\string\mkbibnamefamily'}%
- \@mkbibnamelastsaved}
-
- \ifdefempty\mkbibnamefirst
- {\let\@mkbibnamefirstsaved\mkbibnamegiven}% not redefined by user
- {\blx at warning@noline{%
- Attempt to redefine deprecated '\string\mkbibnamefirst'.\MessageBreak
- Please use '\string\mkbibnamegiven' instead.\MessageBreak
- Using '\string\mkbibnamegiven'}%
- \let\@mkbibnamefirstsaved\mkbibnamefirst
- \let\mkbibnamegiven\@mkbibnamefirstsaved}%
- % Now redefine it in case it's used
- \def\mkbibnamefirst{%
- \blx at warning@noline{%
- '\string\mkbibnamefirst' is deprecated.\MessageBreak
- Please use '\string\mkbibnamegiven'.\MessageBreak
- Using '\string\mkbibnamegiven'}%
- \@mkbibnamefirstsaved}
-
- \ifdefempty\mkbibnameaffix
- {\let\@mkbibnameaffixsaved\mkbibnamesuffix}% not redefined by user
- {\blx at warning@noline{%
- Attempt to redefine deprecated '\string\mkbibnameaffix'.\MessageBreak
- Please use '\string\mkbibnamesuffix' instead.\MessageBreak
- Using '\string\mkbibnamesuffix'}%
- \let\@mkbibnameaffixsaved\mkbibnameaffix
- \let\mkbibnamesuffix\@mkbibnameaffixsaved}%
- % Now redefine it in case it's used
- \def\mkbibnameaffix{%
- \blx at warning@noline{%
- '\string\mkbibnameaffix' is deprecated.\MessageBreak
- Please use '\string\mkbibnamesuffix'.\MessageBreak
- Using \string\mkbibnamesuffix}%
- \@mkbibnameaffixsaved}}
-
-\newcommand*{\bibellipsis}{[\textellipsis\unkern]\midsentence}
-
-% Delimiters used in citations, bibliography and bibliography lists
-\DeclareDelimFormat{multinamedelim}{\addcomma\space}
-\DeclareDelimFormat{finalnamedelim}{%
- \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
- \addspace\bibstring{and}\space}
-\DeclareDelimFormat{revsdnamedelim}{}
-\DeclareDelimFormat{andothersdelim}{\addspace}
-
-\DeclareDelimFormat{multilistdelim}{\addcomma\space}
-\DeclareDelimFormat{finallistdelim}{%
- \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
- \addspace\bibstring{and}\space}
-\DeclareDelimFormat{andmoredelim}{\addspace}
-
-\newcommand*{\multicitedelim}{\addsemicolon\space}
-\newcommand*{\multicitesubentrydelim}{\addcomma}
-\newcommand*{\multiciterangedelim}{\bibrangedash}
-\newcommand*{\multicitesubentryrangedelim}{\multiciterangedelim}
-
-\newcommand*{\compcitedelim}{\addcomma\space}
-
-\newcommand*{\supercitedelim}{\addcomma}
-\newcommand*{\supercitesubentrydelim}{\supercitedelim}
-\newcommand*{\superciterangedelim}{\bibrangedash}
-\newcommand*{\supercitesubentryrangedelim}{\superciterangedelim}
-
-\DeclareDelimFormat{prenotedelim}{\addspace}
-\DeclareDelimFormat{postnotedelim}{\addcomma\space}
-\DeclareDelimAlias{multiprenotedelim}{prenotedelim}
-\DeclareDelimAlias{multipostnotedelim}{postnotedelim}
-\DeclareDelimFormat{extpostnotedelim}{\addspace}
-\newcommand*{\volcitedelim}{\addcomma\space}
-\newcommand*{\textcitedelim}{%
- \iffinalcitedelim
- {\ifnumgreater{\value{textcitetotal}}{2}
- {\iftextcitepunct{\finalandsemicolon}{\finalandcomma}}{}%
- \addspace\bibstring{and}}
- {\iftextcitepunct{\addsemicolon}{\addcomma}}%
- \space}
-
-
-% context-sensitive delimiters
-% retain compatibility with \labelnamepunct et al.
-% The seemingly redundant definitions are needed because
-% hard-coded punctuation was replaced by context-sensitive
-% delimiters, changes to here need to be made explicitly
-% to avoid unwanted effects of redefining the global delimiter.
-\DeclareDelimFormat{authortypedelim}{\addcomma\space}
-\DeclareDelimFormat{editortypedelim}{\addcomma\space}
-\DeclareDelimFormat{translatortypedelim}{\addcomma\space}
-\DeclareDelimFormat{namelabeldelim}{\addspace}
-\DeclareDelimFormat{nametitledelim}{\addcomma\space}
-\DeclareDelimFormat[bib,biblist]{nametitledelim}{\labelnamepunct}
-\DeclareDelimFormat[textcite]{nametitledelim}{\addspace}
-\DeclareDelimFormat{nameyeardelim}{\addspace}
-\DeclareDelimFormat[textcite]{nameyeardelim}{\addspace}
-\DeclareDelimFormat[bib,biblist]{nameyeardelim}{\addspace}
-\DeclareDelimFormat{nonameyeardelim}{\addspace}
-\DeclareDelimFormat[textcite]{nonameyeardelim}{\addspace}
-\DeclareDelimFormat[bib,biblist]{nonameyeardelim}{\addspace}
-\DeclareDelimFormat{dateeradelim}{\addspace}
-\DeclareDelimFormat{datecircadelim}{\addspace}
-
-% This is a provisional definition for \iffinalcitedelim{<true>}{<false>}, a
-% test that should expand <true> if the next non-compact citation delimiter
-% is the last one in the citation list printed by \textcite or \textcites.
-\newcommand*{\iffinalcitedelim}{\@secondoftwo}
-
-% Expand <true> if the citation labels in the citation list printed by \textcite
-% or \textcites contains the serial comma \finalandcomma
-\newcommand*{\iftextcitepunct}{%
- \ifboolexpr{ not test {\ifdefempty{\finalandsemicolon}}
- and test {\ifnumgreater{\value{textcitemaxnames}}{2}} }}
-
-% Counters for the number of citation labels separated by non-compact delimiters
-% in the citation list printed by \textcite or \textcites. Counter values should
-% be managed by the citation style.
-\newcounter{textcitecount}
-\newcounter{textcitetotal}
-\setcounter{textcitecount}{0}
-\setcounter{textcitetotal}{0}
-
-% Counters for the maximum number of names among citation labels in the citation
-% list printed by \textcite or \textcites. Counter value should be managed by
-% the citation style.
-\newcounter{textcitemaxnames}
-\setcounter{textcitemaxnames}{0}
-
-% Used in the bibliography and bibliography lists
-
-\newcommand*{\newunitpunct}{\addperiod\space}
-\newcommand*{\entrysetpunct}{\addsemicolon\space}
-\newcommand*{\finentrypunct}{\addperiod}
-\newcommand*{\labelnamepunct}{\newunitpunct}
-\newcommand*{\subtitlepunct}{\newunitpunct}
-\newcommand*{\intitlepunct}{\addcolon\space}
-\newcommand*{\bibpagespunct}{\addcomma\space}
-\newcommand*{\bibeidpunct}{\addcomma\space}
-\newcommand*{\bibpagerefpunct}{\addspace}
-\newcommand*{\revsdnamepunct}{\addcomma}
-\newcommand*{\bibnamedash}{%
- \ifdimless{\leftmargin}{0.75em}
- {\mbox{\textemdash\space}}
- {\makebox[\leftmargin][l]{%
- \ifdimless{\leftmargin}{1.25em}
- {\textendash}
- {\textemdash}}}}
-\newcommand*{\relatedpunct}{\addspace}
-\newcommand*{\relateddelim}{\adddot\par\nobreak}
-\newcommand*{\begrelateddelim}{\newunitpunct}
-\newcommand*{\begrelateddelimmultivolume}{\newunitpunct\par\nobreak}
-% Examples of use, uncommenting these would break backwards compatibility
-%\newcommand*{\begrelateddelimorigpubin}{\addspace}
-%\newcommand*{\begrelateddelimorigpubas}{\addspace}
-\newcommand{\mkrelatedstringtext}{\textmainlang}
-
-% Used for indexing
-
-\newcommand*{\bibindexnamedelima}{ }
-\newcommand*{\bibindexnamedelimb}{ }
-\newcommand*{\bibindexnamedelimc}{ }
-\newcommand*{\bibindexnamedelimd}{ }
-\newcommand*{\bibindexnamedelimi}{ }
-\newcommand*{\bibindexinitperiod}{.}
-\newcommand*{\bibindexinitdelim}{ }
-\newcommand*{\bibindexinithyphendelim}{.-}
-
-% \bibsetup is a generic hook controlling the (low-level) layout of
-% the bibliography and bibliography lists. The default
-% definition should work fine in most cases.
-% There are a few other penalties and parameters that could be adjusted
-% here, but we don't do that by default for backwards compatibility
-% reasons.
-% * \finalhyphendemerits can be set to 0 to allow hyphenation
-% in the penultimate line
-
-\newcommand*{\bibsetup}{%
- \interlinepenalty=5000\relax
- \widowpenalty=10000\relax
- \clubpenalty=10000\relax
- \raggedbottom
- \frenchspacing
- \biburlsetup}
-
-% The penalties above are not specific to biblatex. These are
-% low-level TeX features. \interlinepenalty is the penalty assigned
-% to page breaks within a paragraph (i.e., in this case, a
-% bibliography entry); \clubpenalty is an additional penalty
-% assigned to page breaks after the first line of a paragraph;
-% \widowpenalty is an additional penalty assigned to page breaks
-% before the last line of a paragraph. Note that the value 10000
-% means 'infinite' as far as TeX is concerned. Setting a penalty to
-% 10000 will unconditionally suppress the respective breakpoint.
-%
-% The net effect of the above settings is as follows. Breaking a
-% bibliography entry across pages is discouraged, but not suppressed
-% altogether. If a bibliography entry spans less than four lines,
-% TeX will always keep it on one page. If it spans four or more
-% lines, it may be broken across pages, provided that there are at
-% least two lines on the page before and after the break.
-%
-% These penalties should normally be used in conjunction with
-% \raggedbottom. If you don't like that and remove \raggedbottom
-% from the definition of \bibsetup, make sure to provide some
-% stretchability between bibliography entries by setting \bibitemsep
-% to a suitable value, e.g.:
-%
-% \setlength{\bibitemsep}{0.5\baselineskip plus 0.5\baselineskip}
-%
-% Using \frenchspacing in the bibliography is recommended. If you
-% want more visual separation, try the package option 'block=space'.
-% This will yield better results than \nonfrenchspacing.
-
-% If \frenchspacing is removed here, it may also have to be removed
-% from \blx at beglang@spacefactors, for example with
-% \let\blx at beglang@spacefactors\@empty
-
-% \citesetup is a generic hook for citations.
-
-\newcommand*{\citesetup}{%
- \biburlsetup}
-
-% Local setup for \url; see comments in url.sty for details.
-
-\newcounter{biburlbigbreakpenalty}
-\newcounter{biburlbreakpenalty}
-\newcounter{biburlnumpenalty}
-\newcounter{biburlucpenalty}
-\newcounter{biburllcpenalty}
-
-\setcounter{biburlbigbreakpenalty}{100}
-\setcounter{biburlbreakpenalty}{200}
-
-\newmuskip\biburlbigskip
-\newmuskip\biburlnumskip
-\newmuskip\biburlucskip
-\newmuskip\biburllcskip
-
-% I'd have preferred \setlength here, but calc does not support
-% muglue (yet?).
-% https://github.com/plk/biblatex/issues/889
-% See also https://tex.stackexchange.com/q/188215/
-\biburlbigskip=0mu plus 3mu\relax
-\biburlnumskip=0mu\relax
-\biburlucskip=0mu\relax
-\biburllcskip=0mu\relax
-
-\newcommand*{\biburlsetup}{%
- \Urlmuskip\biburlbigskip
- \mathchardef\UrlBigBreakPenalty=\value{biburlbigbreakpenalty}\relax
- \mathchardef\UrlBreakPenalty=\value{biburlbreakpenalty}\relax
- \def\UrlBigBreaks{\do\:\do\-}%
- \def\UrlBreaks{%
- \do\.\do\@\do\/\do\\\do\!\do\_\do\|\do\;\do\>\do\]\do\)\do\}%
- \do\,\do\?\do\'\do\+\do\=\do\#\do\$\do\&\do\*\do\^\do\"}%
- \ifnumgreater{\value{biburlnumpenalty}}{0}
- {\def\do##1{%
- \appto\UrlSpecials{%
- \do##1{%
- \mathchar`##1
- \mskip\biburlnumskip
- \penalty\value{biburlnumpenalty}}}}%
- \do\1\do\2\do\3\do\4\do\5\do\6\do\7\do\8\do\9\do\0}
- {}%
- \ifnumgreater{\value{biburlucpenalty}}{0}
- {\def\do##1{%
- \appto\UrlSpecials{%
- \do##1{%
- \mathchar`##1
- \mskip\biburlucskip
- \penalty\value{biburlucpenalty}}}}%
- \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J
- \do\K\do\L\do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T
- \do\U\do\V\do\W\do\X\do\Y\do\Z}
- {}%
- \ifnumgreater{\value{biburllcpenalty}}{0}
- {\def\do##1{%
- \appto\UrlSpecials{%
- \do##1{%
- \mathchar`##1
- \mskip\biburllcskip
- \penalty\value{biburllcpenalty}}}}%
- \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j
- \do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t
- \do\u\do\v\do\w\do\x\do\y\do\z}
- {}%
- \let\do=\noexpand}
-
-% The above code allows linebreaks before numbers and letters.
-% This is often the only way to break DOIs. It also allows breaks
-% after hyphens and adjusts \Urlmuskip to add some stretchability
-% to URLs.
-
-% The default font of the bibliography and the bibliography lists.
-% We simply reset the current font to the global defaults.
-
-\newcommand*{\bibfont}{\normalfont\normalsize}
-
-% Some length registers which may be used to fine-tune the
-% (high-level) layout of the bibliography.
-
-% Default \bibhang to 1em if \parindent is 0 for some reason
-\setlength{\bibhang}{\ifnumequal{\parindent}{0}{1em}{\parindent}}
-\setlength{\biblabelsep}{2\labelsep}
-\setlength{\bibitemsep}{\itemsep}
-\setlength{\bibnamesep}{0pt}
-\setlength{\bibinitsep}{0pt}
-\setlength{\bibparsep}{0pt}
-
-% Miscellaneous facilities
-% ------------------------------------------------------------------
-
-% The counter 'abbrvpenalty' holds the penalty used in short or
-% abbreviated bibliography strings. For example, a linebreak in
-% expressions such as "et al." or "ed. by" is unfortunate, but should
-% still be possible to prevent overfull boxes. We use TeX's
-% \hyphenpenalty (normally 50) as the default value. The idea is
-% making TeX treat the whole expression as if it were a single,
-% hyphenatable word as far as line-breaking is concerned. If you
-% dislike such linebreaks, use a higher value. If you do not mind
-% them at all, set this counter to zero. If you want to suppress them
-% unconditionally, set it to 10000.
-\defcounter{abbrvpenalty}{\hyphenpenalty}
-
-% The counter 'highnamepenalty' also holds a penalty affecting the
-% line-breaking of names. This penalty is inserted between smaller
-% chunks of a name, for example between the first and the middle
-% name. The default value is \hyphenpenalty. If you dislike such
-% linebreaks, use a higher value. If you do not mind them at all,
-% set this counter to zero. If you prefer the traditional BibTeX
-% behavior, set it to 10000.
-\defcounter{highnamepenalty}{\hyphenpenalty}
-
-% The counter 'lownamepenalty' holds a penalty which affects the
-% line-breaking of names. This penalty is inserted between larger
-% chunks of a name, for example between the chunk consisting of all
-% first names and the last name. The default value is half the
-% \hyphenpenalty. If you dislike such linebreaks, use a higher
-% value. If you do not mind them at all, set this counter to zero.
-\defcounter{lownamepenalty}{\hyphenpenalty/2}
-
-% Note that default values assigned to the above counters are
-% deliberately very low to prevent overfull boxes. This implies that
-% you will hardly notice any effect on line-breaking if the text is
-% set justified. If you set these counters to 10000 to suppress the
-% respective breakpoints, you will notice their effect but you may
-% also be confronted with overfull boxes. Keep in mind that
-% line-breaking in the bibliography is often more difficult than in
-% the body text and that you can not resort to rephrasing a
-% sentence. In some cases it may be preferable to set the entire
-% bibliography \raggedright (by modifying \bibsetup) to prevent
-% suboptimal linebreaks. In this case, even the very low default
-% penalties will make a visible difference.
-
-% File name prefixes for external abstracts and annotations
-\newcommand*{\bibabstractprefix}{bibabstract-}
-\newcommand*{\bibannotationprefix}{bibannotation-}
-
-% Print acronyms in small caps if possible
-\newcommand*{\mkbibacro}[1]{%
- \ifcsundef{\f at encoding/\f at family/\f at series/sc}
- {#1}
- {\textsc{\MakeLowercase{#1}}}}
-
-% Convert HH to hh for time formatting
-\newcommand*{\mktimehh}[1]{%
- \ifnumless{#1}{13}
- {#1}
- {\number\numexpr#1-12\relax}}
-
-% ------------------------------------------------------------------
-% ADDITIONAL PACKAGE OPTIONS
-% ------------------------------------------------------------------
-
-% Style of compressed page ranges in back references
-
-\DeclareBibliographyOption[string]{backrefstyle}{%
- \ifcsdef{abx at opt@pagerefstyle@#1}
- {\letcs\abx at pagerefstyle{abx at opt@pagerefstyle@#1}}
- {\PackageError{biblatex}
- {Option 'backrefstyle=#1' invalid}
- {The option you have supplied is invalid.\MessageBreak
- See the biblatex manual for valid option keys
- and possible values}}}
-\newcommand*{\abx at pagerefstyle}{1}
-\csdef{abx at opt@pagerefstyle at none}{-1}
-\csdef{abx at opt@pagerefstyle at two}{0}
-\csdef{abx at opt@pagerefstyle at three}{1}
-\csdef{abx at opt@pagerefstyle at two+}{2}
-\csdef{abx at opt@pagerefstyle at three+}{3}
-\csdef{abx at opt@pagerefstyle at all+}{4}
-
-% arXiv path/format selector
-%
-% abs = abstract page
-% ps = PostScript version
-% pdf = PDF version
-% format = format selector
-
-\DeclareBibliographyOption[string]{arxiv}{\def\abx at arxivpath{#1}}
-\newcommand*{\abx at arxivpath}{abs}
-
-% ------------------------------------------------------------------
-% FIELD FORMATS (#1 is the value of the field)
-% ------------------------------------------------------------------
-
-% The fallback used by \printfield
-
-\DeclareFieldFormat{default}{#1}
-
-% The default used by \citefield
-
-\DeclareFieldFormat{citefield}{#1}
-
-% Used in citations
-
-\DeclareFieldFormat{citetitle}{\mkbibemph{#1}}
-\DeclareFieldFormat
- [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
- {citetitle}{\mkbibquote{#1\isdot}}
-\DeclareFieldFormat
- [suppbook,suppcollection,suppperiodical]
- {citetitle}{#1}
-% label{end}year can be a localisation string to allow for "no date" etc.
-\DeclareFieldFormat{labelyear}{% = the '1995' part in 'Jones 1995a'
- \ifbibstring{#1}{\bibstring{#1}}{\mkyearzeros{#1}}}
-\DeclareFieldFormat{labelendyear}{% = the '1995' part in 'Jones 1995a'
- \ifbibstring{#1}{\bibstring{#1}}{\mkyearzeros{#1}}}
-\DeclareFieldFormat{extradate}{%
- \iffieldnums{labelyear}
- {\mknumalph{#1}}
- {\mkbibparens{\mknumalph{#1}}}}
-\DeclareFieldFormat{labelalpha}{#1}%
-\DeclareFieldFormat{extraalpha}{\mknumalph{#1}}%
-\DeclareFieldFormat{shorthand}{#1\isdot}
-\DeclareFieldFormat{shorthandintro}{%
- \ifcapital{\MakeCapital{#1}}{#1}\isdot}
-% citation commands
-\DeclareFieldFormat{prenote}{#1\isdot}
-\DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}}
-\DeclareFieldFormat{volcitevolume}{\bibstring{volume}\ppspace#1}
-\DeclareFieldFormat{volcitepages}{\mkpageprefix[pagination][\mknormrange]{#1}}
-\DeclareFieldFormat{volcitenote}{\mkvolcitenote#1}
-\newrobustcmd*{\mkvolcitenote}[2]{%
- \printtext[volcitevolume]{#1}%
- \ifblank{#2}{}{\volcitedelim\printtext[volcitepages]{#2}}}
-
-% multicite commands
-\DeclareFieldAlias{multiprenote}{prenote}
-\DeclareFieldAlias{multipostnote}{postnote}
-
-% Used by \citeurl
-
-\DeclareFieldFormat{citeurl}{\url{#1}}
-
-% Used in the bibliography and bibliography lists
-
-\DeclareFieldFormat{doi}{%
- \mkbibacro{DOI}\addcolon\space
- \ifhyperref
- {\href{https://doi.org/#1}{\nolinkurl{#1}}}
- {\nolinkurl{#1}}}
-\DeclareFieldFormat{edition}{%
- \ifinteger{#1}
- {\mkbibordedition{#1}~\bibstring{edition}}
- {#1\isdot}}
-\DeclareFieldFormat{eprint}{%
- \iffieldundef{eprinttype}
- {eprint}
- {\thefield{eprinttype}}%
- \addcolon\space
- \ifhyperref
- {\url{#1}}
- {\nolinkurl{#1}}%
- \iffieldundef{eprintclass}
- {}
- {\addspace\mkbibparens{\thefield{eprintclass}}}}
-\DeclareFieldFormat{eprint:hdl}{%
- HDL\addcolon\space
- \ifhyperref
- {\href{http://hdl.handle.net/#1}{\nolinkurl{#1}}}
- {\nolinkurl{#1}}}
-\DeclareFieldAlias{eprint:HDL}{eprint:hdl}
-\DeclareFieldFormat{eprint:arxiv}{%
- arXiv\addcolon\space
- \ifhyperref
- {\href{https://arxiv.org/\abx@arxivpath/#1}{%
- \nolinkurl{#1}%
- \iffieldundef{eprintclass}
- {}
- {\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}}}
- {\nolinkurl{#1}%
- \iffieldundef{eprintclass}
- {}
- {\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}}}
-\DeclareFieldAlias{eprint:arXiv}{eprint:arxiv}
-\DeclareFieldFormat{eprint:jstor}{%
- JSTOR\addcolon\space
- \ifhyperref
- {\href{http://www.jstor.org/stable/#1}{\nolinkurl{#1}}}
- {\nolinkurl{#1}}}
-\DeclareFieldAlias{eprint:JSTOR}{eprint:jstor}
-\DeclareFieldFormat{eprint:pubmed}{%
- PMID\addcolon\space
- \ifhyperref
- {\href{http://www.ncbi.nlm.nih.gov/pubmed/#1}{\nolinkurl{#1}}}
- {\nolinkurl{#1}}}
-\DeclareFieldAlias{eprint:PubMed}{eprint:pubmed}
-\DeclareFieldFormat{eprint:googlebooks}{%
- Google Books\addcolon\space
- \ifhyperref
- {\href{http://books.google.com/books?id=#1}{\nolinkurl{#1}}}
- {\nolinkurl{#1}}}
-\DeclareFieldAlias{eprint:Google Books}{eprint:googlebooks}
-\DeclareFieldFormat{file}{\url{#1}}
-\DeclareFieldFormat{isbn}{\mkbibacro{ISBN}\addcolon\space #1}
-\DeclareFieldFormat{isrn}{\mkbibacro{ISRN}\addcolon\space #1}
-\DeclareFieldFormat{issn}{\mkbibacro{ISSN}\addcolon\space #1}
-\DeclareFieldFormat{journaltitle}{\mkbibemph{#1\isdot}}
-\DeclareFieldFormat{issuetitle}{\mkbibemph{#1}}
-\DeclareFieldFormat{maintitle}{\mkbibemph{#1}}
-\DeclareFieldFormat{booktitle}{\mkbibemph{#1}}
-\DeclareFieldFormat{chapter}{\bibstring{chapter}~#1}
-\DeclareFieldFormat{month}{\mkbibmonth{#1}}
-\DeclareFieldFormat{note}{#1\isdot}
-\DeclareFieldFormat{number}{#1}% number in a series
-\DeclareFieldFormat[article,periodical]{number}{#1}% number of a journal
-\DeclareFieldFormat{pages}{\mkpageprefix[bookpagination]{#1}}
-\DeclareFieldFormat{pagetotal}{\mkpagetotal[bookpagination]{#1}}
-\DeclareFieldFormat{part}{.#1}% physical part of a logical volume
-\DeclareFieldFormat{series}{#1}% publication series
-\DeclareFieldFormat[article,periodical]{series}{% series of a journal
- \ifinteger{#1}
- {\mkbibordseries{#1}~\bibstring{jourser}}
- {\ifbibstring{#1}{\bibstring{#1}}{#1}}}
-\DeclareFieldFormat{pubstate}{\ifbibstring{#1}{\bibstring{#1}}{#1}}
-\DeclareFieldFormat{title}{\mkbibemph{#1}}
-\DeclareFieldFormat
- [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
- {title}{\mkbibquote{#1\isdot}}
-\DeclareFieldFormat
- [suppbook,suppcollection,suppperiodical]
- {title}{#1}
-\DeclareFieldFormat{type}{\ifbibstring{#1}{\bibstring{#1}}{#1}}
-\DeclareFieldFormat{url}{\mkbibacro{URL}\addcolon\space\url{#1}}
-\DeclareFieldFormat{urldate}{\mkbibparens{\bibstring{urlseen}\space#1}}
-\DeclareFieldFormat{version}{\bibstring{version}~#1}
-\DeclareFieldFormat{volume}{\bibstring{volume}~#1}% volume of a book
-\DeclareFieldFormat[article,periodical]{volume}{#1}% volume of a journal
-\DeclareFieldFormat{volumes}{#1~\bibstring{volumes}}
-\DeclareFieldFormat{related}{#1}
-\DeclareFieldFormat{related:multivolume}{#1}
-\DeclareFieldFormat{related:origpubin}{\mkbibparens{#1}}
-\DeclareFieldFormat{related:origpubas}{\mkbibparens{#1}}
-\DeclareFieldFormat{relatedstring:default}{#1\printunit{\relatedpunct}}
-\DeclareFieldFormat{relatedstring:reprintfrom}{#1\addspace}
-
-% Generic formats for \printtext and \printfield
-
-\DeclareFieldFormat{emph}{\mkbibemph{#1}}
-\DeclareFieldFormat{bold}{\mkbibbold{#1}}
-\DeclareFieldFormat{smallcaps}{\textsc{#1}}
-\DeclareFieldFormat{parens}{\mkbibparens{#1}}
-\DeclareFieldFormat{brackets}{\mkbibbrackets{#1}}
-\DeclareFieldFormat{bibhyperref}{\bibhyperref{#1}}
-\DeclareFieldFormat{bibhyperlink}{\bibhyperlink{\thefield{entrykey}}{#1}}
-\DeclareFieldFormat{bibhypertarget}{\bibhypertarget{\thefield{entrykey}}{#1}}
-\DeclareFieldFormat{titlecase}{#1}
-\DeclareFieldFormat{noformat}{#1}
-
-% ------------------------------------------------------------------
-% LITERAL LIST FORMATS (#1 is the current item)
-% ------------------------------------------------------------------
-
-% Formatting directives for literal lists
-% ------------------------------------------------------------------
-
-\DeclareListWrapperFormat{default}{#1}
-
-% The fallback used by \printlist
-
-\DeclareListFormat{default}{%
- \usebibmacro{list:delim}{#1}%
- #1\isdot
- \usebibmacro{list:andothers}}
-
-% The default used by \citelist
-
-\DeclareListAlias{citelist}{default}
-\DeclareListWrapperAlias{citelist}{default}
-
-% Used in the bibliography
-
-\DeclareListFormat{publisher}{%
- \usebibmacro{list:delim}{#1}%
- #1\isdot
- \usebibmacro{list:andothers}}
-
-\DeclareListFormat{language}{%
- \usebibmacro{list:delim}{%
- \ifbibstring{#1}
- {\bibxstring{#1}}
- {\ifbibstring{lang#1}
- {\bibxstring{lang#1}}
- {#1}}}%
- \ifbibstring{#1}
- {\bibstring{#1}}
- {\ifbibstring{lang#1}
- {\bibstring{lang#1}}
- {#1}}%
- \usebibmacro{list:andothers}}
-
-\DeclareListFormat{origlanguage}{%
- \usebibmacro{list:delim}{%
- \ifbibstring{#1}
- {\bibxstring{#1}}
- {\ifbibstring{lang#1}
- {\bibxstring{lang#1}}
- {#1}}}%
- \ifbibstring{#1}
- {\bibstring{#1}}
- {\ifbibstring{lang#1}
- {\bibstring{lang#1}}
- {#1}}%
- \usebibmacro{list:andothers}}
-
-
-\DeclareListFormat{lfromoriglanguage}{%
- \begingroup
- \blx at bibstringnormal
- \usebibmacro{list:delim}{%
- \ifbibstring{from#1}
- {\bibxlstring{from#1}}
- {\ifbibstring{lang#1}
- {\bibxlstring{lang#1}}
- {#1}}}%
- \ifbibstring{from#1}
- {\bibstring{from#1}}
- {\ifbibstring{lang#1}
- {\biblstring{lang#1}}
- {#1}}%
- \usebibmacro{list:andothers}%
- \endgroup}
-
-\DeclareListFormat{sfromoriglanguage}{%
- \begingroup
- \blx at bibstringnormal
- \usebibmacro{list:delim}{%
- \ifbibstring{from#1}
- {\bibxsstring{from#1}}
- {\ifbibstring{lang#1}
- {\bibxsstring{lang#1}}
- {#1}}}%
- \ifbibstring{from#1}
- {\bibstring{from#1}}
- {\ifbibstring{lang#1}
- {\bibsstring{lang#1}}
- {#1}}%
- \usebibmacro{list:andothers}%
- \endgroup}
-
-\DeclareListFormat{location}{%
- \usebibmacro{list:delim}{#1}%
- #1\isdot
- \usebibmacro{list:andothers}}
-
-\DeclareListFormat[patent]{location}{%
- \usebibmacro{list:plain}%
- \ifbibstring{#1}{\bibstring{#1}}{#1\isdot}%
- \usebibmacro{list:andothers}}
-
-\DeclareListFormat{pageref}{%
- \ifnumless{\abx at pagerefstyle}{0}
- {\usebibmacro{list:plain}%
- \ifhyperref
- {\hyperlink{page.#1}{#1}}
- {#1}}
- {\ifnumequal{\value{listcount}}{1}
- {\usebibmacro{pageref:init}}
- {}%
- \usebibmacro{pageref:comp}{#1}%
- \ifnumequal{\value{listcount}}{\value{liststop}}
- {\usebibmacro{pageref:dump}}
- {}}}
-
-\DeclareListAlias{origlocation}{location}
-\DeclareListAlias{origpublisher}{publisher}
-\DeclareListAlias{institution}{default}
-\DeclareListAlias{organization}{default}
-
-\DeclareListWrapperAlias{origlocation}{location}
-\DeclareListWrapperAlias{origpublisher}{publisher}
-\DeclareListWrapperAlias{institution}{default}
-\DeclareListWrapperAlias{organization}{default}
-
-% Auxiliary macros for list formatting directives
-% ------------------------------------------------------------------
-
-\newbibmacro*{list:delim}[1]{%
- \ifnumgreater{\value{listcount}}{\value{liststart}}
- {\ifboolexpr{
- test {\ifnumless{\value{listcount}}{\value{liststop}}}
- or
- test \ifmoreitems
- }
- {\printdelim{multilistdelim}}
- {\lbx at finallistdelim{#1}}}
- {}}
-
-\newbibmacro*{list:plain}{%
- \ifnumgreater{\value{listcount}}{\value{liststart}}
- {\printdelim{multilistdelim}}
- {}}
-
-\newbibmacro*{list:andothers}{%
- \ifboolexpr{
- test {\ifnumequal{\value{listcount}}{\value{liststop}}}
- and
- test \ifmoreitems
- }
- {\ifnumgreater{\value{liststop}}{1}
- {\finalandcomma}
- {}%
- \printdelim{andmoredelim}\bibstring{andmore}}
- {}}
-
-\newbibmacro*{pageref:init}{%
- \let\abx at range@hold=\empty
- \def\abx at range@diff{0}%
- \def\abx at range@prev{-1}%
- \def\abx at range@this{0}%
- \def\abx at range@last{-1}}
-
-\newbibmacro*{pageref:comp}[1]{%
- \numdef\abx at range@prev{\abx at range@prev+1}%
- \ifinteger{#1}
- {\def\abx at range@num{#1}%
- \def\abx at range@this{1}%
- \ifnumequal{\abx at range@this}{\abx at range@last}
- {}
- {\def\abx at range@prev{-1}}}
- {\ifrmnum{#1}
- {\numdef\abx at range@num{\rmntonum{#1}}%
- \def\abx at range@this{2}%
- \ifnumequal{\abx at range@this}{\abx at range@last}
- {}
- {\def\abx at range@prev{-1}}}
- {\undef\abx at range@num
- \def\abx at range@this{0}%
- \def\abx at range@prev{-1}}}%
- \ifdef\abx at range@num
- {\ifnumequal{\abx at range@num}{\abx at range@prev}
- {\def\abx at range@hold{#1}%
- \numdef\abx at range@diff{\abx at range@diff+1}}
- {\usebibmacro{pageref:dump}%
- \ifnumgreater{\abx at range@last}{-1}
- {\printdelim{multilistdelim}}
- {}%
- \ifhyperref
- {\hyperlink{page.#1}{#1}}
- {#1}}%
- \edef\abx at range@prev{\abx at range@num}}
- {\usebibmacro{pageref:dump}%
- \ifnumgreater{\abx at range@last}{-1}
- {\printdelim{multilistdelim}}
- {}%
- \ifhyperref
- {\hyperlink{page.#1}{#1}}
- {#1}%
- \def\abx at range@prev{-1}}%
- \edef\abx at range@last{\abx at range@this}}
-
-\newbibmacro*{pageref:dump}{%
- \ifnumgreater{\abx at range@diff}{0}
- {\ifcase\abx at pagerefstyle\relax % two
- \bibrangedash
- \ifhyperref
- {\hyperlink{page.\abx at range@hold}{\abx at range@hold}}
- {\abx at range@hold}%
- \or % three
- \ifnumless{\abx at range@diff}{2}
- {\printdelim{multilistdelim}}
- {\bibrangedash}%
- \ifhyperref
- {\hyperlink{page.\abx at range@hold}{\abx at range@hold}}
- {\abx at range@hold}%
- \or % two+
- \ifnumless{\abx at range@diff}{2}
- {\sqspace
- \ifhyperref
- {\hyperlink{page.\abx at range@hold}{\bibstring{sequens}}}
- {\bibstring{sequens}}}
- {\bibrangedash
- \ifhyperref
- {\hyperlink{page.\abx at range@hold}{\abx at range@hold}}
- {\abx at range@hold}}%
- \or % three+
- \ifnumless{\abx at range@diff}{2}
- {\sqspace
- \ifhyperref
- {\hyperlink{page.\abx at range@hold}{\bibstring{sequens}}}
- {\bibstring{sequens}}}
- {\ifnumless{\abx at range@diff}{3}
- {\sqspace
- \ifhyperref
- {\hyperlink{page.\abx at range@hold}{\bibstring{sequentes}}}
- {\bibstring{sequentes}}}
- {\bibrangedash
- \ifhyperref
- {\hyperlink{page.\abx at range@hold}{\abx at range@hold}}
- {\abx at range@hold}}}%
- \else % all+
- \ifnumless{\abx at range@diff}{2}
- {\sqspace
- \ifhyperref
- {\hyperlink{page.\abx at range@hold}{\bibstring{sequens}}}
- {\bibstring{sequens}}}
- {\sqspace
- \ifhyperref
- {\hyperlink{page.\abx at range@hold}{\bibstring{sequentes}}}
- {\bibstring{sequentes}}}%
- \fi
- \def\abx at range@diff{0}}
- {}}
-
-% ------------------------------------------------------------------
-% NAME LIST FORMATS
-% ------------------------------------------------------------------
-
-% Formatting directives for name lists
-% ------------------------------------------------------------------
-
-\DeclareNameWrapperFormat{default}{#1}
-
-\DeclareNameFormat{given-family}{%
- \ifgiveninits
- {\usebibmacro{name:given-family}
- {\namepartfamily}
- {\namepartgiveni}
- {\namepartprefix}
- {\namepartsuffix}}
- {\usebibmacro{name:given-family}
- {\namepartfamily}
- {\namepartgiven}
- {\namepartprefix}
- {\namepartsuffix}}%
- \usebibmacro{name:andothers}}
-
-\DeprecateNameFormatWithReplacement{first-last}{given-family}
-
-\DeclareNameFormat{family-given}{%
- \ifgiveninits
- {\usebibmacro{name:family-given}
- {\namepartfamily}
- {\namepartgiveni}
- {\namepartprefix}
- {\namepartsuffix}}
- {\usebibmacro{name:family-given}
- {\namepartfamily}
- {\namepartgiven}
- {\namepartprefix}
- {\namepartsuffix}}%
- \usebibmacro{name:andothers}}
-
-\DeprecateNameFormatWithReplacement{last-first}{family-given}
-
-
-\DeclareNameFormat{family-given/given-family}{%
- \ifnumequal{\value{listcount}}{1}
- {\ifgiveninits
- {\usebibmacro{name:family-given}
- {\namepartfamily}
- {\namepartgiveni}
- {\namepartprefix}
- {\namepartsuffix}}
- {\usebibmacro{name:family-given}
- {\namepartfamily}
- {\namepartgiven}
- {\namepartprefix}
- {\namepartsuffix}}%
- \ifboolexpe{%
- test {\ifdefvoid\namepartgiven}
- and
- test {\ifdefvoid\namepartprefix}}
- {}
- {\usebibmacro{name:revsdelim}}}
- {\ifgiveninits
- {\usebibmacro{name:given-family}
- {\namepartfamily}
- {\namepartgiveni}
- {\namepartprefix}
- {\namepartsuffix}}
- {\usebibmacro{name:given-family}
- {\namepartfamily}
- {\namepartgiven}
- {\namepartprefix}
- {\namepartsuffix}}}%
- \usebibmacro{name:andothers}}
-
-\DeprecateNameFormatWithReplacement{last-first/first-last}{family-given/given-family}
-
-\DeclareNameFormat{initsonly}{%
- \usebibmacro{name:given-family}
- {\namepartfamilyi}
- {\namepartgiveni}
- {\namepartprefixi}
- {\namepartsuffixi}%
- \usebibmacro{name:andothers}}
-
-% Fallback used by \printnames
-\DeclareNameAlias{default}{given-family}
-
-% Default used by \citename
-\DeclareNameAlias{citename}{default}
-\DeclareNameWrapperAlias{citename}{default}
-
-% Used in some citations
-\DeclareNameFormat{labelname}{%
- \ifcase\value{uniquename}%
- \usebibmacro{name:family}
- {\namepartfamily}
- {\namepartgiven}
- {\namepartprefix}
- {\namepartsuffix}%
- \or
- \ifuseprefix
- {\usebibmacro{name:given-family}
- {\namepartfamily}
- {\namepartgiveni}
- {\namepartprefix}
- {\namepartsuffixi}}
- {\usebibmacro{name:given-family}
- {\namepartfamily}
- {\namepartgiveni}
- {\namepartprefixi}
- {\namepartsuffixi}}%
- \or
- \usebibmacro{name:given-family}
- {\namepartfamily}
- {\namepartgiven}
- {\namepartprefix}
- {\namepartsuffix}%
- \fi
- \usebibmacro{name:andothers}}
-
-% Used in the bibliography
-\DeclareNameAlias{sortname}{family-given/given-family}
-
-\DeclareNameAlias{author}{default}
-\DeclareNameAlias{bookauthor}{author}
-\DeclareNameAlias{editor}{default}
-\DeclareNameAlias{editora}{editor}
-\DeclareNameAlias{editorb}{editor}
-\DeclareNameAlias{editorc}{editor}
-\DeclareNameAlias{translator}{default}
-
-\DeclareNameAlias{byauthor}{default}
-\DeclareNameAlias{bybookauthor}{byauthor}
-\DeclareNameAlias{byeditor}{default}
-\DeclareNameAlias{byeditora}{byeditor}
-\DeclareNameAlias{byeditorb}{byeditor}
-\DeclareNameAlias{byeditorc}{byeditor}
-\DeclareNameAlias{bytranslator}{default}
-
-\DeclareNameAlias{withcommentator}{default}
-\DeclareNameAlias{withannotator}{default}
-\DeclareNameAlias{withintroduction}{default}
-\DeclareNameAlias{withforeword}{default}
-\DeclareNameAlias{withafterword}{default}
-
-\DeclareNameWrapperAlias{author}{default}
-\DeclareNameWrapperAlias{bookauthor}{author}
-\DeclareNameWrapperAlias{editor}{default}
-\DeclareNameWrapperAlias{editora}{editor}
-\DeclareNameWrapperAlias{editorb}{editor}
-\DeclareNameWrapperAlias{editorc}{editor}
-\DeclareNameWrapperAlias{translator}{default}
-
-\DeclareNameWrapperAlias{byauthor}{default}
-\DeclareNameWrapperAlias{bybookauthor}{byauthor}
-\DeclareNameWrapperAlias{byeditor}{default}
-\DeclareNameWrapperAlias{byeditora}{byeditor}
-\DeclareNameWrapperAlias{byeditorb}{byeditor}
-\DeclareNameWrapperAlias{byeditorc}{byeditor}
-\DeclareNameWrapperAlias{bytranslator}{default}
-
-\DeclareNameWrapperAlias{withcommentator}{default}
-\DeclareNameWrapperAlias{withannotator}{default}
-\DeclareNameWrapperAlias{withintroduction}{default}
-\DeclareNameWrapperAlias{withforeword}{default}
-\DeclareNameWrapperAlias{withafterword}{default}
-
-\DeclareFieldFormat{authortype}{#1}
-\DeclareFieldFormat{editortype}{#1}
-\DeclareFieldFormat{translatortype}{#1}
-
-% Auxiliary macros for name formatting directives
-% ------------------------------------------------------------------
-
-\newcommand{\mkbibcompletename}[1]{#1}
-
-\newcommand{\mkbibcompletenamefamily}{\mkbibcompletename}
-
-\newbibmacro*{name:family}[4]{%
- \ifuseprefix
- {\usebibmacro{name:delim}{#3#1}%
- \usebibmacro{name:hook}{#3#1}%
- \mkbibcompletenamefamily{%
- \ifdefvoid{#3}
- {}
- {\ifcapital
- {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
- {\mkbibnameprefix{#3}\isdot}%
- \ifprefchar{}{\bibnamedelimc}}%
- \mkbibnamefamily{#1}\isdot}}
- {\usebibmacro{name:delim}{#1}%
- \usebibmacro{name:hook}{#1}%
- \mkbibcompletenamefamily{%
- \mkbibnamefamily{#1}\isdot}}}%
-\newbibmacro*{name:last}[4]{% legacy alias
- \blx at warning@noline{%
- 'name:last' is deprecated, please use 'name:family'}%
- \usebibmacro{name:family}{#1}{#2}{#3}{#4}}
-
-\newcommand{\mkbibcompletenamegivenfamily}{\mkbibcompletename}
-
-\newbibmacro*{name:given-family}[4]{%
- \usebibmacro{name:delim}{#2#3#1}%
- \usebibmacro{name:hook}{#2#3#1}%
- \mkbibcompletenamegivenfamily{%
- \ifdefvoid{#2}
- {}
- {\mkbibnamegiven{#2}\isdot\bibnamedelimd}%
- \ifdefvoid{#3}
- {}
- {\mkbibnameprefix{#3}\isdot
- \ifprefchar
- {}
- {\ifuseprefix{\bibnamedelimc}{\bibnamedelimd}}}%
- \mkbibnamefamily{#1}\isdot
- \ifdefvoid{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}}}
-\newbibmacro*{name:first-last}[4]{% legacy alias
- \blx at warning@noline{%
- 'name:first-last' is deprecated, please use 'name:given-family'}%
- \usebibmacro{name:given-family}{#1}{#2}{#3}{#4}}
-
-\newcommand{\mkbibcompletenamefamilygiven}{\mkbibcompletename}
-
-\newbibmacro*{name:family-given}[4]{%
- \ifuseprefix
- {\usebibmacro{name:delim}{#3#1}%
- \usebibmacro{name:hook}{#3#1}%
- \mkbibcompletenamefamilygiven{%
- \ifdefvoid{#3}
- {}
- {\ifcapital
- {\mkbibnameprefix{\MakeCapital{#3}}\isdot}
- {\mkbibnameprefix{#3}\isdot}%
- \ifprefchar{}{\bibnamedelimc}}%
- \mkbibnamefamily{#1}\isdot
- \ifdefvoid{#4}
- {}
- {\bibnamedelimd\mkbibnamesuffix{#4}\isdot}%
- \ifdefvoid{#2}
- {}
- {\revsdnamepunct\bibnamedelimd\mkbibnamegiven{#2}\isdot}}}
- {\usebibmacro{name:delim}{#1}%
- \usebibmacro{name:hook}{#1}%
- \mkbibcompletenamefamilygiven{%
- \mkbibnamefamily{#1}\isdot
- \ifdefvoid{#4}
- {}
- {\bibnamedelimd\mkbibnamesuffix{#4}\isdot}%
- \ifboolexpe{%
- test {\ifdefvoid{#2}}
- and
- test {\ifdefvoid{#3}}}
- {}
- {\revsdnamepunct}%
- \ifdefvoid{#2}
- {}
- {\bibnamedelimd\mkbibnamegiven{#2}\isdot}%
- \ifdefvoid{#3}
- {}
- {\bibnamedelimd\mkbibnameprefix{#3}\isdot}}}}
-\newbibmacro*{name:last-first}[4]{% legacy alias
- \blx at warning@noline{%
- 'name:last-first' is deprecated, please use 'name:family-given'}%
- \usebibmacro{name:family-given}{#1}{#2}{#3}{#4}}
-
-\newbibmacro*{name:hook}[1]{%
- \ifnumequal{\value{listcount}}{1}
- {\lbx at initnamehook{#1}}
- {}}
-
-\newbibmacro*{name:delim}[1]{%
- \ifnumgreater{\value{listcount}}{\value{liststart}}
- {\ifboolexpr{
- test {\ifnumless{\value{listcount}}{\value{liststop}}}
- or
- test \ifmorenames
- }
- {\printdelim{multinamedelim}}
- {\lbx at finalnamedelim{#1}}}
- {}}
-
-\newbibmacro*{name:revsdelim}{%
- \ifboolexpr{
- (
- test {\ifnumequal{\value{liststop}}{1}}
- and
- test \ifmorenames
- )
- or
- test {\ifnumequal{\value{liststop}}{2}}
- }
- {\printdelim{revsdnamedelim}}
- {}}
-
-\newbibmacro*{name:andothers}{%
- \ifboolexpr{
- test {\ifnumequal{\value{listcount}}{\value{liststop}}}
- and
- test \ifmorenames
- }
- {\ifnumgreater{\value{liststop}}{1}
- {\finalandcomma}
- {}%
- \printdelim{andothersdelim}\bibstring{andothers}}
- {}}
-
-% ------------------------------------------------------------------
-% INDEX FORMATS FOR FIELDS (#1 is the value of the field)
-% ------------------------------------------------------------------
-
-% There is no need to test if a field to be indexed is empty because
-% \indexfield performs this test implicitly.
-
-% The fallback used by \indexfield
-
-\DeclareIndexFieldFormat{default}{\index{#1}}
-
-% Used in the bibliography and in citations
-
-\DeclareIndexFieldFormat{indextitle}{%
- \usebibmacro{index:title}{\index}{#1}}
-
-\newbibmacro*{index:title}[2]{%
- \usebibmacro{index:field}{#1}{\thefield{indexsorttitle}}{\emph{#2}}}
-
-\newbibmacro*{index:field}[3]{%
- \usebibmacro{index:entry}{#1}{\mkbibindexfield{#2}{#3}}}
-
-% Auxiliary macros for field indexing directives
-% ------------------------------------------------------------------
-
-\newbibmacro*{index:entry}[2]{%
- \begingroup
- \protected at edef\theindexentry{\unexpanded{#1}{#2}}%
- \theindexentry
- \endgroup}
-
-\newcommand*{\mkbibindexfield}[2]{\mkbibindexentry{#1}{\unexpanded{#2}}}
-\newcommand*{\mkbibindexentry}[2]{#1\actualoperator#2}
-
-% ------------------------------------------------------------------
-% INDEX FORMATS FOR LITERAL LISTS (#1 is the current item)
-% ------------------------------------------------------------------
-
-% The fallback used by \indexlist
-
-\DeclareIndexListFormat{default}{\index{#1}}
-
-% ------------------------------------------------------------------
-% INDEX FORMATS FOR NAME LISTS
-% ------------------------------------------------------------------
-
-% Indexing directives for name lists
-% ------------------------------------------------------------------
-
-% The fallback used by \indexnames
-
-\DeclareIndexNameFormat{default}{%
- \usebibmacro{index:name}
- {\index}
- {\namepartfamily}
- {\namepartgiven}
- {\namepartprefix}
- {\namepartsuffix}}
-
-% Used in citations
-
-\DeclareIndexNameAlias{labelname}{default}
-
-% Used in the bibliography
-
-\DeclareIndexNameAlias{author}{default}
-\DeclareIndexNameAlias{editor}{default}
-\DeclareIndexNameAlias{bookauthor}{default}
-
-% Auxiliary macros for name indexing directives
-% ------------------------------------------------------------------
-
-% When generating an index entry, we need to test which parts of a
-% name are actually available to prevent spurious punctuation and
-% spaces.
-%
-% Note that the standard LaTeX \index command simply writes its
-% argument to the .idx file without preventing expansion. This means
-% that all \ifblank etc. tests are expanded on the way and will not end
-% up in the index. The index package, however, prevents expansion.
-% This would lead to \ifblank etc. ending up in the .idx file. To avoid
-% that, we preprocess the index entry inside an \edef. We use
-% \unexpanded to protect the \index command and the actual data from
-% expansion. This definition will work with both index.sty and the
-% standard indexing facilities.
-%
-% We also use \ifuseprefix to ensure that the name prefix is handled
-% properly. \actualoperator is the so-called actual operator, as
-% defined by the 'actual' specifier in the .ist file. The makeindex
-% program will use the part preceeding the \actualoperator
-% delimiter for sorting. The part after the delimiter is used as the
-% index is printed. Note that this is not specific to biblatex, see
-% the makeindex documentation for details.
-
-\newcommand*{\actualoperator}{@}
-\newcommand*{\subentryoperator}{!}
-
-\newbibmacro*{index:name}[5]{%
- \usebibmacro{index:entry}{#1}{\mkbibindexname{#2}{#3}{#4}{#5}}}
-
-% {<family name>}{<given name>}{<prefix>}{<suffix>}
-\newcommand*{\mkbibindexname}[4]{%
- \ifuseprefix
- {\ifdefvoid{#3}{}{#3 }%
- \@firstofone #1% remove spurious braces
- \ifdefvoid{#4}{}{ #4}%
- \ifdefvoid{#2}{}{, #2}%
- \ifdefvoid{#3}{}{%
- \actualoperator
- \MakeCapital{#3} %
- #1%
- \ifdefvoid{#4}{}{ #4}%
- \ifdefvoid{#2}{}{, #2}}}
- {\@firstofone #1% remove spurious braces
- \ifdefvoid{#4}{}{ #4}%
- \ifboolexpe{%
- test {\ifdefvoid{#2}}
- and
- test {\ifdefvoid{#3}}}
- {}
- {,}%
- \ifdefvoid{#2}{}{ #2}%
- \ifdefvoid{#3}{}{ #3}}}
-
-% {<control sequence>}{<control sequence>}
-\newcommand*{\mkbibindexsubentry}[2]{%
- \ifblank{#1}{}{\subentryoperator#1\actualoperator#2}}
-
-% Additional macros with subentries
-
-\newbibmacro*{index:name:field}[6]{%
- \usebibmacro{index:name:subentry}{#1}{#2}{#3}{#4}{#5}
- {\thefield{#6}}{\csfield{#6}}}
-
-\newbibmacro*{index:name:title}[5]{%
- \usebibmacro{index:name:subentry}{#1}{#2}{#3}{#4}{#5}
- {\thefield{indexsorttitle}}{\emph{\csfield{indextitle}}}}
-
-\newbibmacro*{index:name:subentry}[7]{%
- \usebibmacro{index:entry}{#1}{%
- \mkbibindexname{#2}{#3}{#4}{#5}\mkbibindexsubentry{#6}{#7}}}
-
-% ------------------------------------------------------------------
-% datafieldsets
-% ------------------------------------------------------------------
-
-% Some defaults for backwards compat for the biber nosort option
-\DeclareDatafieldSet{setnames}{
- \member[datatype=name, fieldtype=list]
-}
-
-\DeclareDatafieldSet{settitles}{
- \member[field=title]
- \member[field=booktitle]
- \member[field=eventtitle]
- \member[field=issuetitle]
- \member[field=journaltitle]
- \member[field=maintitle]
- \member[field=origtitle]
-}
-
-% ------------------------------------------------------------------
-% Driver sourcemaps
-% ------------------------------------------------------------------
-
-\DeclareDriverSourcemap[datatype=bibtex]{
- \map{
- \step[fieldset=day, null]
- }
- \map{
- \step[typesource=conference, typetarget=inproceedings]
- \step[typesource=electronic, typetarget=online]
- \step[typesource=www, typetarget=online]
- }
- \map{
- \step[typesource=mastersthesis, typetarget=thesis, final]
- \step[fieldset=type, fieldvalue=mathesis]
- }
- \map{
- \step[typesource=phdthesis, typetarget=thesis, final]
- \step[fieldset=type, fieldvalue=phdthesis]
- }
- \map{
- \step[typesource=techreport, typetarget=report, final]
- \step[fieldset=type, fieldvalue=techreport]
- }
- \map{
- \step[fieldsource=hyphenation, fieldtarget=langid]
- \step[fieldsource=address, fieldtarget=location]
- \step[fieldsource=school, fieldtarget=institution]
- \step[fieldsource=annote, fieldtarget=annotation]
- \step[fieldsource=archiveprefix, fieldtarget=eprinttype]
- \step[fieldsource=journal, fieldtarget=journaltitle]
- \step[fieldsource=primaryclass, fieldtarget=eprintclass]
- \step[fieldsource=key, fieldtarget=sortkey]
- \step[fieldsource=pdf, fieldtarget=file]
- \step[fieldsource=pubnum, match=\regexp{^\d{8}}, fieldtarget=publicationnumber]
- %Various names that a bib entry may have for publication number of a thesis
- \step[fieldsource=pubnum, match=\regexp{^\d{8}}, fieldtarget=publicationnumber]
- \step[fieldsource=pubno, match=\regexp{^\d{8}}, fieldtarget=publicationnumber]
- \step[fieldsource=publicationnum, match=\regexp{^\d{8}}, fieldtarget=publicationnumber]
- \step[fieldsource=pubnumber, match=\regexp{^\d{8}}, fieldtarget=publicationnumber]
- \step[fieldsource=publicationno, match=\regexp{^\d{8}}, fieldtarget=publicationnumber]
- %Various names that a bib entry may have for resource name of a thesis
- \step[fieldsource=resource, fieldtarget=bibsource]
- \step[fieldsource=source, fieldtarget=bibsource]
- \step[fieldsource=database, fieldtarget=bibsource]% The field database is a field for unpublished theses. However because it maintains the same printing order it can be interepreted as bibsource
- }
-}
-
-% ------------------------------------------------------------------
-% META-FIELDS
-% ------------------------------------------------------------------
-
-\DeclareLabelname{%
- \field{shortauthor}
- \field{author}
- \field{shorteditor}
- \field{editor}
- \field{translator}
-}
-
-\DeclareLabeldate{%
- \field{date}
- \field{year}
- \field{eventdate}
- \field{origdate}
- \field{urldate}
- \literal{nodate}
-}
-
-\DeclareExtradate{%
- \scope{
- \field{labelyear}
- \field{year}
- }
-}
-
-\DeclareExtradateContext{%
- \field{labelname}
- \field{labeltitle}
-}
-
-\DeclareLabeltitle{%
- \field{shorttitle}
- \field{title}
- \field{maintitle}
-}
-
-% ------------------------------------------------------------------
-% LABELALPHA TEMPLATE
-% ------------------------------------------------------------------
-
-\DeclareLabelalphaTemplate{
- \labelelement{
- \field[final]{shorthand}
- \field{label}
- \field[strwidth=3,strside=left,ifnames=1]{labelname}
- \field[strwidth=1,strside=left]{labelname}
- }
- \labelelement{
- \field[strwidth=2,strside=right]{year}
- }
-}
-
-% ------------------------------------------------------------------
-% LABELALPHA NAME TEMPLATE
-% ------------------------------------------------------------------
-
-\DeclareLabelalphaNameTemplate{
- \namepart[use=true, pre=true, strwidth=1, compound=true]{prefix}
- \namepart{family}
-}
-
-% ------------------------------------------------------------------
-% UNIQUENAME TEMPLATE
-% ------------------------------------------------------------------
-
-\DeclareUniquenameTemplate{
- \namepart[use=true, base=true]{prefix}
- \namepart[base=true]{family}
- \namepart{given}
-}
-
-% ------------------------------------------------------------------
-% NAMEHASH TEMPLATE
-% ------------------------------------------------------------------
-
-\DeclareNamehashTemplate{
- \namepart[hashscope=full]{family}
- \namepart[hashscope=full]{given}
- \namepart[hashscope=full]{prefix}
- \namepart[hashscope=full]{suffix}
-}
-
-% ------------------------------------------------------------------
-% SORTING
-% ------------------------------------------------------------------
-
-\DeclareSortingNamekeyTemplate{
- \keypart{
- \namepart[use=true]{prefix}
- \namepart{family}
- }
- \keypart{
- \namepart{given}
- }
- \keypart{
- \namepart{suffix}
- }
- \keypart{
- \namepart[use=false]{prefix}
- }
-}
-
-\DeclarePresort{mm}
-
-\DeclareSortingTemplate{shorthand}{
- \sort[final]{
- \field{sortshorthand}
- }
- \sort{
- \field{shorthand}
- }
-}
-
-\DeclareSortingTemplate{none}{
- \sort{\citeorder}
- \sort{\intciteorder}
-}
-
-\DeclareSortingTemplate{count}{
- \sort[direction=descending]{\citecount}
-}
-
-\DeclareSortingTemplate{debug}{
- \sort{
- \field{entrykey}
- }
-}
-
-\DeclareSortingTemplate{nty}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
-}
-
-\DeclareSortingTemplate{ntd}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{month}
- }
- \sort{
- \field{day}
- }
- \sort{
- \field{hour}
- }
- \sort{
- \field{minute}
- }
- \sort{
- \field{second}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
-}
-
-\DeclareSortingTemplate{nyt}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
-}
-
-\DeclareSortingTemplate{ndt}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{month}
- }
- \sort{
- \field{day}
- }
- \sort{
- \field{hour}
- }
- \sort{
- \field{minute}
- }
- \sort{
- \field{second}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
-}
-
-\DeclareSortingTemplate{nyvt}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
-}
-
-\DeclareSortingTemplate{ndvt}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{month}
- }
- \sort{
- \field{day}
- }
- \sort{
- \field{hour}
- }
- \sort{
- \field{minute}
- }
- \sort{
- \field{second}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
-}
-
-\DeclareSortingTemplate{anyt}{
- \sort{
- \field{presort}
- }
- \sort{
- \field{labelalpha}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
-}
-
-\DeclareSortingTemplate{andt}{
- \sort{
- \field{presort}
- }
- \sort{
- \field{labelalpha}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{month}
- }
- \sort{
- \field{day}
- }
- \sort{
- \field{hour}
- }
- \sort{
- \field{minute}
- }
- \sort{
- \field{second}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
-}
-
-\DeclareSortingTemplate{anyvt}{
- \sort{
- \field{presort}
- }
- \sort{
- \field{labelalpha}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
-}
-
-\DeclareSortingTemplate{andvt}{
- \sort{
- \field{presort}
- }
- \sort{
- \field{labelalpha}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sortyear}
- \field{year}
- }
- \sort{
- \field{month}
- }
- \sort{
- \field{day}
- }
- \sort{
- \field{hour}
- }
- \sort{
- \field{minute}
- }
- \sort{
- \field{second}
- }
- \sort{
- \field{volume}
- \literal{0}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
-}
-
-\DeclareSortingTemplate{ynt}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortyear}
- \field{year}
- \literal{9999}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
-}
-
-\DeclareSortingTemplate{dnt}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort{
- \field{sortyear}
- \field{year}
- \literal{9999}
- }
- \sort{
- \field{month}
- }
- \sort{
- \field{day}
- }
- \sort{
- \field{hour}
- }
- \sort{
- \field{minute}
- }
- \sort{
- \field{second}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
-}
-
-\DeclareSortingTemplate{ydnt}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort[direction=descending]{
- \field{sortyear}
- \field{year}
- \literal{9999}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
-}
-
-\DeclareSortingTemplate{ddnt}{
- \sort{
- \field{presort}
- }
- \sort[final]{
- \field{sortkey}
- }
- \sort[direction=descending]{
- \field{sortyear}
- \field{year}
- \literal{9999}
- }
- \sort[direction=descending]{
- \field{month}
- }
- \sort[direction=descending]{
- \field{day}
- }
- \sort[direction=descending]{
- \field{hour}
- }
- \sort[direction=descending]{
- \field{minute}
- }
- \sort[direction=descending]{
- \field{second}
- }
- \sort{
- \field{sortname}
- \field{author}
- \field{editor}
- \field{translator}
- \field{sorttitle}
- \field{title}
- }
- \sort{
- \field{sorttitle}
- \field{title}
- }
-}
-
-% ------------------------------------------------------------------
-% DATA INHERITANCE (CROSSREF)
-% ------------------------------------------------------------------
-
-\DefaultInheritance{all=true,override=false}
-
-\DeclareDataInheritance{mvbook,book}{inbook,bookinbook,suppbook}{%
- \inherit{author}{author}
- \inherit{author}{bookauthor}
-}
-
-\DeclareDataInheritance{mvbook}{book,inbook,bookinbook,suppbook}{%
- \inherit{title}{maintitle}
- \inherit{subtitle}{mainsubtitle}
- \inherit{titleaddon}{maintitleaddon}
- \noinherit{shorttitle}
- \noinherit{sorttitle}
- \noinherit{indextitle}
- \noinherit{indexsorttitle}
-}
-
-\DeclareDataInheritance{mvcollection,mvreference}
-{collection,reference,incollection,inreference,suppcollection}{%
- \inherit{title}{maintitle}
- \inherit{subtitle}{mainsubtitle}
- \inherit{titleaddon}{maintitleaddon}
- \noinherit{shorttitle}
- \noinherit{sorttitle}
- \noinherit{indextitle}
- \noinherit{indexsorttitle}
-}
-
-\DeclareDataInheritance{mvproceedings}{proceedings,inproceedings}{%
- \inherit{title}{maintitle}
- \inherit{subtitle}{mainsubtitle}
- \inherit{titleaddon}{maintitleaddon}
- \noinherit{shorttitle}
- \noinherit{sorttitle}
- \noinherit{indextitle}
- \noinherit{indexsorttitle}
-}
-
-\DeclareDataInheritance{book}{inbook,bookinbook,suppbook}{%
- \inherit{title}{booktitle}
- \inherit{subtitle}{booksubtitle}
- \inherit{titleaddon}{booktitleaddon}
- \noinherit{shorttitle}
- \noinherit{sorttitle}
- \noinherit{indextitle}
- \noinherit{indexsorttitle}
-}
-
-\DeclareDataInheritance{collection,reference}
-{incollection,inreference,suppcollection}{%
- \inherit{title}{booktitle}
- \inherit{subtitle}{booksubtitle}
- \inherit{titleaddon}{booktitleaddon}
- \noinherit{shorttitle}
- \noinherit{sorttitle}
- \noinherit{indextitle}
- \noinherit{indexsorttitle}
-}
-
-\DeclareDataInheritance{proceedings}{inproceedings}{%
- \inherit{title}{booktitle}
- \inherit{subtitle}{booksubtitle}
- \inherit{titleaddon}{booktitleaddon}
- \noinherit{shorttitle}
- \noinherit{sorttitle}
- \noinherit{indextitle}
- \noinherit{indexsorttitle}
-}
-
-\DeclareDataInheritance{periodical}{article,suppperiodical}{%
- \inherit{title}{journaltitle}
- \inherit{subtitle}{journalsubtitle}
- \inherit{titleaddon}{journaltitleaddon}
- \noinherit{shorttitle}
- \noinherit{sorttitle}
- \noinherit{indextitle}
- \noinherit{indexsorttitle}
-}
-
-\DeclareDataInheritance{*}{*}{%
- \noinherit{ids}
- \noinherit{crossref}
- \noinherit{xref}
- \noinherit{entryset}
- \noinherit{entrysubtype}
- \noinherit{execute}
- \noinherit{label}
- \noinherit{options}
- \noinherit{presort}
- \noinherit{related}
- \noinherit{relatedoptions}
- \noinherit{relatedstring}
- \noinherit{relatedtype}
- \noinherit{shorthand}
- \noinherit{shorthandintro}
- \noinherit{sortkey}
-}
-
-% ------------------------------------------------------------------
-% MACROS FOR LBX FILES
-% ------------------------------------------------------------------
-
-\newcommand*{\lbx at initnamehook}[1]{}
-\newcommand*{\lbx at inittitlehook}[1]{}
-\newcommand*{\lbx at finalnamedelim}[1]{\printdelim{finalnamedelim}}
-\newcommand*{\lbx at finallistdelim}[1]{\printdelim{finallistdelim}}
-
-\newcommand*{\lbx at lfromlang}{%
- \iflistundef{origlanguage}
- {\unspace}
- {\printlist[lfromoriglanguage]{origlanguage}}}
-
-\newcommand*{\lbx at sfromlang}{%
- \iflistundef{origlanguage}
- {\unspace}
- {\printlist[sfromoriglanguage]{origlanguage}}}
-
-% ------------------------------------------------------------------
-% MISCELLANEOUS
-% ------------------------------------------------------------------
-
-% ordinals
-
-\newcommand*{\mkbibordedition}{\mkbibordinal}
-\newcommand*{\mkbibordseries}{\mkbibordinal}
-
-% american
-
-\newrobustcmd*{\uspunctuation}{%
- \DeclareQuotePunctuation{.,}%
- \DeclarePunctuationPairs{comma}{*}}
-\newrobustcmd*{\stdpunctuation}{%
- \DeclareQuotePunctuation{}%
- \DeclarePunctuationPairs{comma}{*!?}}
-
-% catalan and french
-
-\newtoggle{smartof}
-\newrobustcmd*{\smartof}{\global\toggletrue{smartof}}
-\newrobustcmd*{\forceD}[1]{#1}
-\newrobustcmd*{\forceDE}[1]{#1}
-
-\AtBeginDocument{%
- \@ifpackageloaded{babel}
- {\ifdef\AutoSpaceBeforeFDP
- {\newrobustcmd*{\EnsureAutoSpaceBeforeFDP}{%
- \iflanguage{french}
- {\AutoSpaceBeforeFDP}
- {}}%
- \appto\bibsetup{\EnsureAutoSpaceBeforeFDP}%
- \appto\citesetup{\EnsureAutoSpaceBeforeFDP}}
- {}}
- {}}
-
-% spanish
-
-\newcounter{smartand}
-\defcounter{smartand}{1}
-\newrobustcmd*{\forceY}[1]{#1}
-\newrobustcmd*{\forceE}[1]{#1}
-
-% ------------------------------------------------------------------
-% PREDEFINED HEADINGS
-% ------------------------------------------------------------------
-
-\newcommand*{\abx at classtype}{0}
-\@ifclassloaded{article}
- {}
- {\@ifclassloaded{book}
- {\def\abx at classtype{1}}
- {\@ifclassloaded{report}
- {\def\abx at classtype{1}}
- {\@ifclassloaded{scrartcl}
- {\def\abx at classtype{2}}
- {\@ifclassloaded{scrbook}
- {\def\abx at classtype{3}}
- {\@ifclassloaded{scrreprt}
- {\def\abx at classtype{3}}
- {\@ifclassloaded{memoir}
- {\ifbool{artopt}
- {\def\abx at classtype{4}}
- {\def\abx at classtype{5}}}
- {\ifundef\chapter
- {}
- {\def\abx at classtype{1}}}}}}}}}
-
-\defbibheading{none}{}
-
-\def\abx at MakeMarkcase{\MakeUppercase}
-\AtBeginDocument{%
- \ifcsundef{MakeMarkcase}{}{\def\abx at MakeMarkcase{\MakeMarkcase}}}
-
-\ifcase\abx at classtype\relax % article
- \defbibheading{bibliography}[\refname]{%
- \section*{#1}%
- \@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- \defbibheading{biblist}[\biblistname]{%
- \section*{#1}%
- \@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- \defbibheading{bibintoc}[\refname]{%
- \section*{#1}%
- \addcontentsline{toc}{section}{#1}%
- \@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- \defbibheading{biblistintoc}[\biblistname]{%
- \section*{#1}%
- \addcontentsline{toc}{section}{#1}%
- \@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- \defbibheading{bibnumbered}[\refname]{%
- \section{#1}}
- \defbibheading{biblistnumbered}[\biblistname]{%
- \section{#1}}
- \defbibheading{subbibliography}[\refname]{%
- \subsection*{#1}}
- \defbibheading{subbibintoc}[\refname]{%
- \subsection*{#1}%
- \addcontentsline{toc}{subsection}{#1}}
- \defbibheading{subbibnumbered}[\refname]{%
- \subsection{#1}}
-
-\or % book/report
- \defbibheading{bibliography}[\bibname]{%
- \chapter*{#1}%
- \@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- \defbibheading{biblist}[\biblistname]{%
- \chapter*{#1}%
- \@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- \defbibheading{bibintoc}[\bibname]{%
- \chapter*{#1}%
- \addcontentsline{toc}{chapter}{#1}%
- \@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- \defbibheading{biblistintoc}[\biblistname]{%
- \chapter*{#1}%
- \addcontentsline{toc}{chapter}{#1}%
- \@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- \defbibheading{bibnumbered}[\bibname]{%
- \chapter{#1}}
- \defbibheading{biblistnumbered}[\biblistname]{%
- \chapter{#1}}
- \defbibheading{subbibliography}[\refname]{%
- \section*{#1}%
- \if at twoside\markright{\abx at MakeMarkcase{#1}}\fi}
- \defbibheading{subbibintoc}[\refname]{%
- \section*{#1}%
- \addcontentsline{toc}{section}{#1}%
- \if at twoside\markright{\abx at MakeMarkcase{#1}}\fi}
- \defbibheading{subbibnumbered}[\refname]{%
- \section{#1}}
-
-\or % scrartcl
- \defbibheading{bibliography}[\refname]{%
- \ifcsundef{bibliography at heading}
- {\ifkomabibtotocnumbered
- {\section{#1}}
- {\ifkomabibtotoc
- {\addsec{#1}}
- {\section*{#1}%
- \ifcsundef{@mkdouble}
- {\@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- {\@mkdouble{\abx at MakeMarkcase{#1}}}}}}
- {\bibliography at heading{#1}}}
- \defbibheading{biblist}[\biblistname]{%
- \ifcsundef{bibliography at heading}
- {\ifkomabibtotocnumbered
- {\section{#1}}
- {\ifkomabibtotoc
- {\addsec{#1}}
- {\section*{#1}%
- \ifcsundef{@mkdouble}
- {\@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- {\@mkdouble{\abx at MakeMarkcase{#1}}}}}}
- {\bibliography at heading{#1}}}
- \defbibheading{bibintoc}[\refname]{%
- \addsec{#1}}
- \defbibheading{biblistintoc}[\biblistname]{%
- \addsec{#1}}
- \defbibheading{bibnumbered}[\refname]{%
- \section{#1}}
- \defbibheading{biblistnumbered}[\biblistname]{%
- \section{#1}}
- \defbibheading{subbibliography}[\refname]{%
- \subsection*{#1}%
- \ifcsundef{@mkright}
- {\ifx\@mkboth\@gobbletwo\else\markright{\abx at MakeMarkcase{#1}}\fi}
- {\@mkright{\abx at MakeMarkcase{#1}}}}
- \defbibheading{subbibintoc}[\refname]{%
- \subsection*{#1}%
- \addcontentsline{toc}{subsection}{#1}%
- \ifcsundef{@mkright}
- {\ifx\@mkboth\@gobbletwo\else\markright{\abx at MakeMarkcase{#1}}\fi}
- {\@mkright{\abx at MakeMarkcase{#1}}}}
- \defbibheading{subbibnumbered}[\refname]{%
- \subsection{#1}}
-
-\or % scrbook/scrreprt
- \defbibheading{bibliography}[\bibname]{%
- \ifcsundef{bibliography at heading}
- {\ifkomabibtotocnumbered
- {\chapter{#1}}
- {\ifkomabibtotoc
- {\addchap{#1}}
- {\chapter*{#1}
- \ifcsundef{@mkdouble}
- {\@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- {\@mkdouble{\abx at MakeMarkcase{#1}}}}}}
- {\bibliography at heading{#1}}}
- \defbibheading{biblist}[\biblistname]{%
- \ifcsundef{bibliography at heading}
- {\ifkomabibtotocnumbered
- {\chapter{#1}}
- {\ifkomabibtotoc
- {\addchap{#1}}
- {\chapter*{#1}
- \ifcsundef{@mkdouble}
- {\@mkboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}}
- {\@mkdouble{\abx at MakeMarkcase{#1}}}}}}
- {\bibliography at heading{#1}}}
- \defbibheading{bibintoc}[\bibname]{%
- \addchap{#1}}
- \defbibheading{biblistintoc}[\biblistname]{%
- \addchap{#1}}
- \defbibheading{bibnumbered}[\bibname]{%
- \chapter{#1}}
- \defbibheading{biblistnumbered}[\biblistname]{%
- \chapter{#1}}
- \defbibheading{subbibliography}[\refname]{%
- \section*{#1}%
- \ifcsundef{@mkright}
- {\ifx\@mkboth\@gobbletwo\else\markright{\abx at MakeMarkcase{#1}}\fi}
- {\@mkright{\abx at MakeMarkcase{#1}}}}
- \defbibheading{subbibintoc}[\refname]{%
- \addsec{#1}}
- \defbibheading{subbibnumbered}[\refname]{%
- \section{#1}}
-
-\or % memoir (article)
- \ifcsundef{memUChead}{}{\def\abx at MakeMarkcase{\memUChead}}%
- \defbibheading{bibliography}[\refname]{%
- \chapter*{#1}%
- \if at twoside
- \markboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}%
- \else
- \markright{\abx at MakeMarkcase{#1}}%
- \fi
- \ifmemoirbibintoc
- {\phantomsection
- \addcontentsline{toc}{chapter}{#1}}
- {}}
- \defbibheading{biblist}[\biblistname]{%
- \chapter*{#1}%
- \if at twoside
- \markboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}%
- \else
- \markright{\abx at MakeMarkcase{#1}}%
- \fi
- \ifmemoirbibintoc
- {\phantomsection
- \addcontentsline{toc}{chapter}{#1}}
- {}}
- \defbibheading{bibintoc}[\refname]{%
- \chapter*{#1}%
- \if at twoside
- \markboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}%
- \else
- \markright{\abx at MakeMarkcase{#1}}%
- \fi
- \phantomsection
- \addcontentsline{toc}{chapter}{#1}}
- \defbibheading{biblistintoc}[\biblistname]{%
- \chapter*{#1}%
- \if at twoside
- \markboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}%
- \else
- \markright{\abx at MakeMarkcase{#1}}%
- \fi
- \phantomsection
- \addcontentsline{toc}{chapter}{#1}}
- \defbibheading{bibnumbered}[\refname]{%
- \chapter{#1}}
- \defbibheading{biblistnumbered}[\biblistname]{%
- \chapter{#1}}
- \defbibheading{subbibliography}[\refname]{%
- \section*{#1}%
- \if at twoside\markright{\abx at MakeMarkcase{#1}}\fi
- \ifmemoirbibintoc
- {\phantomsection
- \addcontentsline{toc}{section}{#1}}
- {}}
- \defbibheading{subbibintoc}[\refname]{%
- \section*{#1}%
- \if at twoside\markright{\abx at MakeMarkcase{#1}}\fi
- \phantomsection
- \addcontentsline{toc}{section}{#1}}
- \defbibheading{subbibnumbered}[\refname]{%
- \section{#1}}
-
-\or % memoir (book)
- \ifcsundef{memUChead}{}{\def\abx at MakeMarkcase{\memUChead}}%
- \defbibheading{bibliography}[\bibname]{%
- \chapter*{#1}%
- \if at twoside
- \markboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}%
- \else
- \markright{\abx at MakeMarkcase{#1}}%
- \fi
- \ifmemoirbibintoc
- {\phantomsection
- \addcontentsline{toc}{chapter}{#1}}
- {}}
- \defbibheading{biblist}[\biblistname]{%
- \chapter*{#1}%
- \if at twoside
- \markboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}%
- \else
- \markright{\abx at MakeMarkcase{#1}}%
- \fi
- \ifmemoirbibintoc
- {\phantomsection
- \addcontentsline{toc}{chapter}{#1}}
- {}}
- \defbibheading{bibintoc}[\bibname]{%
- \chapter*{#1}%
- \if at twoside
- \markboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}%
- \else
- \markright{\abx at MakeMarkcase{#1}}%
- \fi
- \phantomsection
- \addcontentsline{toc}{chapter}{#1}}
- \defbibheading{biblistintoc}[\biblistname]{%
- \chapter*{#1}%
- \if at twoside
- \markboth{\abx at MakeMarkcase{#1}}{\abx at MakeMarkcase{#1}}%
- \else
- \markright{\abx at MakeMarkcase{#1}}%
- \fi
- \phantomsection
- \addcontentsline{toc}{chapter}{#1}}
- \defbibheading{bibnumbered}[\bibname]{%
- \chapter{#1}}
- \defbibheading{biblistnumbered}[\biblistname]{%
- \chapter{#1}}
- \defbibheading{subbibliography}[\refname]{%
- \section*{#1}%
- \if at twoside\markright{\abx at MakeMarkcase{#1}}\fi
- \ifmemoirbibintoc
- {\phantomsection
- \addcontentsline{toc}{section}{#1}}
- {}}
- \defbibheading{subbibintoc}[\refname]{%
- \section*{#1}%
- \if at twoside\markright{\abx at MakeMarkcase{#1}}\fi
- \phantomsection
- \addcontentsline{toc}{section}{#1}}
- \defbibheading{subbibnumbered}[\refname]{%
- \section{#1}}
-
-\fi
-
-% ------------------------------------------------------------------
-% GENERIC CITATION COMMANDS
-% ------------------------------------------------------------------
-
-\DeclareCiteCommand{\fullcite}
- {\usebibmacro{prenote}}
- {\usedriver
- {\DeclareNameAlias{sortname}{default}}
- {\thefield{entrytype}}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\footfullcite}[\mkbibfootnote]
- {\usebibmacro{prenote}}
- {\usedriver
- {\DeclareNameAlias{sortname}{default}}
- {\thefield{entrytype}}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\citeauthor}
- {\boolfalse{citetracker}%
- \boolfalse{pagetracker}%
- \usebibmacro{prenote}}
- {\ifciteindex
- {\indexnames{labelname}}
- {}%
- \printnames{labelname}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand*{\citeauthor}
- {\boolfalse{citetracker}%
- \boolfalse{pagetracker}%
- \usebibmacro{prenote}}
- {\ifciteindex
- {\indexnames{labelname}}
- {}%
- \printnames[][1-1]{labelname}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\citetitle}
- {\boolfalse{citetracker}%
- \boolfalse{pagetracker}%
- \usebibmacro{prenote}}
- {\ifciteindex
- {\indexfield{indextitle}}
- {}%
- \printfield[citetitle]{labeltitle}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand*{\citetitle}
- {\boolfalse{citetracker}%
- \boolfalse{pagetracker}%
- \usebibmacro{prenote}}
- {\ifciteindex
- {\indexfield{indextitle}}
- {}%
- \printfield[citetitle]{title}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\citeyear}
- {\boolfalse{citetracker}%
- \boolfalse{pagetracker}%
- \usebibmacro{prenote}}
- {\printfield{year}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand*{\citeyear}
- {\boolfalse{citetracker}%
- \boolfalse{pagetracker}%
- \usebibmacro{prenote}}
- {\printfield{year}\printfield{extradate}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\citedate}
- {\boolfalse{citetracker}%
- \boolfalse{pagetracker}%
- \usebibmacro{prenote}}
- {\printdate}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand*{\citedate}
- {\boolfalse{citetracker}%
- \boolfalse{pagetracker}%
- \usebibmacro{prenote}}
- {\printdateextra}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\citeurl}
- {\boolfalse{citetracker}%
- \boolfalse{pagetracker}%
- \usebibmacro{prenote}}
- {\printfield[citeurl]{url}}
- {\multicitedelim}
- {\usebibmacro{postnote}}
-
-\DeclareCiteCommand{\notecite}
- {\printfield{prenote}%
- \setunit*{\printdelim{prenotedelim}}}
- {}
- {}
- {\printfield{postnote}}
-
-\DeclareCiteCommand{\pnotecite}[\mkbibparens]
- {\printfield{prenote}%
- \setunit*{\printdelim{prenotedelim}}}
- {}
- {}
- {\printfield{postnote}}
-
-\DeclareCiteCommand{\fnotecite}[\mkbibfootnote]
- {\printfield{prenote}%
- \setunit*{\printdelim{prenotedelim}}}
- {}
- {}
- {\printfield{postnote}}
-
-\newrobustcmd*{\volcite}{\volcitecmd\cite}
-\newrobustcmd*{\pvolcite}{\volcitecmd\parencite}
-\newrobustcmd*{\fvolcite}{\volcitecmd\footcite}
-\newrobustcmd*{\ftvolcite}{\volcitecmd\footcitetext}
-\newrobustcmd*{\svolcite}{\volcitecmd\smartcite}
-\newrobustcmd*{\tvolcite}{\volcitecmd\textcite}
-\newrobustcmd*{\avolcite}{\volcitecmd\autocite}
-
-\newrobustcmd*{\volcites}{\multivolcitecmd\cites}
-\newrobustcmd*{\pvolcites}{\multivolcitecmd\parencites}
-\newrobustcmd*{\fvolcites}{\multivolcitecmd\footcites}
-\newrobustcmd*{\ftvolcites}{\multivolcitecmd\footcitetexts}
-\newrobustcmd*{\svolcites}{\multivolcitecmd\smartcites}
-\newrobustcmd*{\tvolcites}{\multivolcitecmd\textcites}
-\newrobustcmd*{\avolcites}{\multivolcitecmd\autocites}
-
-\newrobustcmd*{\Cite}{\bibsentence\cite}
-\newrobustcmd*{\Parencite}{\bibsentence\parencite}
-\newrobustcmd*{\Footcite}{\footcite}
-\newrobustcmd*{\Footcitetext}{\footcitetext}
-\newrobustcmd*{\Smartcite}{\bibsentence\smartcite}
-\newrobustcmd*{\Textcite}{\bibsentence\textcite}
-\newrobustcmd*{\Citeauthor}{%
- \@ifstar{\bibsentence\citeauthor*}{\bibsentence\citeauthor}}
-\newrobustcmd*{\Citetitle}{\bibsentence\citetitle}
-
-\newrobustcmd*{\Volcite}{\volcitecmd\Cite}
-\newrobustcmd*{\Pvolcite}{\volcitecmd\Parencite}
-\newrobustcmd*{\Fvolcite}{\volcitecmd\Footcite}
-\newrobustcmd*{\Ftvolcite}{\volcitecmd\Footcitetext}
-\newrobustcmd*{\Svolcite}{\volcitecmd\Smartcite}
-\newrobustcmd*{\Tvolcite}{\volcitecmd\Textcite}
-\newrobustcmd*{\Avolcite}{\volcitecmd\Autocite}
-
-\newrobustcmd*{\Volcites}{\multivolcitecmd\Cites}
-\newrobustcmd*{\Pvolcites}{\multivolcitecmd\Parencites}
-\newrobustcmd*{\Fvolcites}{\multivolcitecmd\Footcites}
-\newrobustcmd*{\Ftvolcites}{\multivolcitecmd\Footcitetext}
-\newrobustcmd*{\Svolcites}{\multivolcitecmd\Smartcites}
-\newrobustcmd*{\Tvolcites}{\multivolcitecmd\Textcites}
-\newrobustcmd*{\Avolcites}{\multivolcitecmd\Autocites}
-
-\newrobustcmd*{\Notecite}{\bibsentence\notecite}
-\newrobustcmd*{\Pnotecite}{\bibsentence\pnotecite}
-\newrobustcmd*{\Fnotecite}{\fnotecite}
-
-\DeclareMultiCiteCommand{\cites}{\cite}{\multicitedelim}
-\DeclareMultiCiteCommand{\parencites}[\mkbibparens]{\parencite}{\multicitedelim}
-\DeclareMultiCiteCommand{\footcites}[\mkbibfootnote]{\footcite}{\multicitedelim}
-\DeclareMultiCiteCommand{\footcitetexts}[\mkbibfootnotetext]
- {\footcitetext}{\multicitedelim}
-\DeclareMultiCiteCommand{\smartcites}[\iffootnote\mkbibparens\mkbibfootnote]
- {\smartcite}{\multicitedelim}
-\DeclareMultiCiteCommand{\supercites}[\mkbibsuperscript]
- {\supercite}{\supercitedelim}
-\DeclareMultiCiteCommand{\textcites}{\textcite}{\multicitedelim}
-
-\newrobustcmd*{\Cites}{\bibsentence\cites}
-\newrobustcmd*{\Parencites}{\bibsentence\parencites}
-\newrobustcmd*{\Footcites}{\footcites}
-\newrobustcmd*{\Footcitetexts}{\footcitetexts}
-\newrobustcmd*{\Smartcites}{\bibsentence\smartcites}
-\newrobustcmd*{\Textcites}{\bibsentence\textcites}
-
-\DeclareAutoCiteCommand{plain}{\cite}{\cites}
-\DeclareAutoCiteCommand{inline}{\parencite}{\parencites}
-%\DeclareAutoCiteCommand{footnote}[l]{\footcite}{\footcites}
-\DeclareAutoCiteCommand{footnote}[f]{\smartcite}{\smartcites}
-\DeclareAutoCiteCommand{superscript}[l]{\supercite}{\supercites}
-
-\newrobustcmd*{\Autocite}{\bibsentence\autocite}
-\newrobustcmd*{\Autocites}{\bibsentence\autocites}
-
-% ------------------------------------------------------------------
-% GENERIC CITATION MACROS
-% ------------------------------------------------------------------
-
-\newbibmacro*{citeindex}{%
- \ifciteindex
- {\indexnames{labelname}%
- \indexfield{indextitle}}
- {}}
-
-\newbibmacro*{shorthandintro}{%
- \iffieldundef{shorthandintro}
- {\iffieldundef{shorthand}
- {}
- {\setunit{\addspace}%
- \printtext[parens]{%
- \bibstring{citedas}\space
- \printfield{shorthand}}}}
- {\setunit{\addspace}%
- \printtext[parens]{\printfield{shorthandintro}}}}
-
-% citation commands
-
-\newbibmacro*{prenote}{%
- \iffieldundef{prenote}
- {}
- {\printfield{prenote}%
- \setunit{\printdelim{prenotedelim}}}}
-
-\newbibmacro*{postnote}{%
- \iffieldundef{postnote}
- {}
- {\setunit{\printdelim{postnotedelim}}%
- \printfield{postnote}}}
-
-% multicite commands
-
-\newbibmacro*{multiprenote}{%
- \iffieldundef{multiprenote}
- {}
- {\printfield{multiprenote}%
- \printdelim{multiprenotedelim}}}
-
-\newbibmacro*{multipostnote}{%
- \iffieldundef{multipostnote}
- {}
- {\printdelim{multipostnotedelim}%
- \printfield{multipostnote}}}
-
-% ------------------------------------------------------------------
-% GENERIC BIBLIOGRAPHY MACROS
-% ------------------------------------------------------------------
-
-\newbibmacro*{bibindex}{%
- \ifbibindex
- {\indexnames{labelname}%
- \indexfield{indextitle}}
- {}}
-
-\newbibmacro*{author/editor}{%
- \ifboolexpr{
- test \ifuseauthor
- and
- not test {\ifnameundef{author}}
- }
- {\usebibmacro{author}}
- {\usebibmacro{editor}}}
-
-\newbibmacro*{author/editor+others}{%
- \ifboolexpr{
- test \ifuseauthor
- and
- not test {\ifnameundef{author}}
- }
- {\usebibmacro{author}}
- {\usebibmacro{editor+others}}}
-
-\newbibmacro*{author/translator}{%
- \ifboolexpr{
- test \ifuseauthor
- and
- not test {\ifnameundef{author}}
- }
- {\usebibmacro{author}}
- {\usebibmacro{translator}}}
-
-\newbibmacro*{author/translator+others}{%
- \ifboolexpr{
- test \ifuseauthor
- and
- not test {\ifnameundef{author}}
- }
- {\usebibmacro{author}}
- {\usebibmacro{translator+others}}}
-
-\newbibmacro*{author/editor/translator}{%
- \ifboolexpr{
- test \ifuseauthor
- and
- not test {\ifnameundef{author}}
- }
- {\usebibmacro{author}}
- {\ifboolexpr{
- test \ifuseeditor
- and
- not test {\ifnameundef{editor}}
- }
- {\usebibmacro{editor}}
- {\usebibmacro{translator}}}}
-
-\newbibmacro*{author/editor+others/translator+others}{%
- \ifboolexpr{
- test \ifuseauthor
- and
- not test {\ifnameundef{author}}
- }
- {\usebibmacro{author}}
- {\ifboolexpr{
- test \ifuseeditor
- and
- not test {\ifnameundef{editor}}
- }
- {\usebibmacro{editor+others}}
- {\usebibmacro{translator+others}}}}
-
-\newbibmacro*{author}{%
- \ifboolexpr{
- test \ifuseauthor
- and
- not test {\ifnameundef{author}}
- }
- {\printnames{author}%
- \iffieldundef{authortype}
- {}
- {\setunit{\printdelim{authortypedelim}}%
- \usebibmacro{authorstrg}}}
- {}}
-
-\newbibmacro*{editor}{%
- \ifboolexpr{
- test \ifuseeditor
- and
- not test {\ifnameundef{editor}}
- }
- {\printnames{editor}%
- \setunit{\printdelim{editortypedelim}}%
- \usebibmacro{editorstrg}%
- \clearname{editor}}
- {}}
-
-\newbibmacro*{editor+others}{%
- \ifboolexpr{
- test \ifuseeditor
- and
- not test {\ifnameundef{editor}}
- }
- {\printnames{editor}%
- \setunit{\printdelim{editortypedelim}}%
- \usebibmacro{editor+othersstrg}%
- \clearname{editor}}
- {}}
-
-\newbibmacro*{translator}{%
- \ifboolexpr{
- test \ifusetranslator
- and
- not test {\ifnameundef{translator}}
- }
- {\printnames{translator}%
- \setunit{\printdelim{translatortypedelim}}%
- \usebibmacro{translatorstrg}%
- \clearname{translator}}
- {}}
-
-\newbibmacro*{translator+others}{%
- \ifboolexpr{
- test \ifusetranslator
- and
- not test {\ifnameundef{translator}}
- }
- {\printnames{translator}%
- \setunit{\printdelim{translatortypedelim}}%
- \usebibmacro{translator+othersstrg}%
- \clearname{translator}}
- {}}
-
-\newbibmacro*{authorstrg}{%
- \iffieldundef{authortype}
- {}
- {\printtext[authortype]{%
- \ifbibxstring{\thefield{authortype}}
- {\ifboolexpr{
- test {\ifnumgreater{\value{author}}{1}}
- or
- test {\ifandothers{author}}
- }
- {\bibstring{\thefield{authortype}s}}
- {\bibstring{\thefield{authortype}}}}
- {\thefield{authortype}}}}}
-
-\newbibmacro*{editorstrg}{%
- \printtext[editortype]{%
- \iffieldundef{editortype}
- {\ifboolexpr{
- test {\ifnumgreater{\value{editor}}{1}}
- or
- test {\ifandothers{editor}}
- }
- {\bibstring{editors}}
- {\bibstring{editor}}}
- {\ifbibxstring{\thefield{editortype}}
- {\ifboolexpr{
- test {\ifnumgreater{\value{editor}}{1}}
- or
- test {\ifandothers{editor}}
- }
- {\bibstring{\thefield{editortype}s}}
- {\bibstring{\thefield{editortype}}}}
- {\thefield{editortype}}}}}
-
-\newbibmacro*{editor+othersstrg}{%
- \iffieldundef{editortype}
- {\ifboolexpr{
- test {\ifnumgreater{\value{editor}}{1}}
- or
- test {\ifandothers{editor}}
- }
- {\def\abx at tempa{editors}}
- {\def\abx at tempa{editor}}}
- {\ifboolexpr{
- test {\ifnumgreater{\value{editor}}{1}}
- or
- test {\ifandothers{editor}}
- }
- {\edef\abx at tempa{\thefield{editortype}s}}
- {\edef\abx at tempa{\thefield{editortype}}}}%
- \let\abx at tempb=\empty
- \ifnamesequal{editor}{translator}
- {\appto\abx at tempa{tr}%
- \appto\abx at tempb{\clearname{translator}}}
- {}%
- \ifnamesequal{editor}{commentator}
- {\appto\abx at tempa{co}%
- \appto\abx at tempb{\clearname{commentator}}}
- {\ifnamesequal{editor}{annotator}
- {\appto\abx at tempa{an}%
- \appto\abx at tempb{\clearname{annotator}}}
- {}}%
- \ifnamesequal{editor}{introduction}
- {\appto\abx at tempa{in}%
- \appto\abx at tempb{\clearname{introduction}}}
- {\ifnamesequal{editor}{foreword}
- {\appto\abx at tempa{fo}%
- \appto\abx at tempb{\clearname{foreword}}}
- {\ifnamesequal{editor}{afterword}
- {\appto\abx at tempa{af}%
- \appto\abx at tempb{\clearname{afterword}}}
- {}}}%
- \ifbibxstring{\abx at tempa}
- {\printtext[editortype]{\bibstring{\abx at tempa}}\abx at tempb}
- {\usebibmacro{editorstrg}}}
-
-\newbibmacro*{translatorstrg}{%
- \printtext[translatortype]{%
- \ifboolexpr{
- test {\ifnumgreater{\value{translator}}{1}}
- or
- test {\ifandothers{translator}}
- }
- {\bibstring{translators}}
- {\bibstring{translator}}}}
-
-\newbibmacro*{translator+othersstrg}{%
- \ifboolexpr{
- test {\ifnumgreater{\value{translator}}{1}}
- or
- test {\ifandothers{translator}}
- }
- {\def\abx at tempa{translators}}
- {\def\abx at tempa{translator}}%
- \ifnamesequal{translator}{commentator}
- {\appto\abx at tempa{co}%
- \clearname{commentator}}
- {\ifnamesequal{translator}{annotator}
- {\appto\abx at tempa{an}%
- \clearname{annotator}}
- {}}%
- \ifnamesequal{translator}{introduction}
- {\appto\abx at tempa{in}%
- \clearname{introduction}}
- {\ifnamesequal{translator}{foreword}
- {\appto\abx at tempa{fo}%
- \clearname{foreword}}
- {\ifnamesequal{translator}{afterword}
- {\appto\abx at tempa{af}%
- \clearname{afterword}}
- {}}}%
- \printtext[translatortype]{\bibstring{\abx at tempa}}}
-
-\newbibmacro*{byauthor}{%
- \ifboolexpr{
- test \ifuseauthor
- or
- test {\ifnameundef{author}}
- }
- {}
- {\usebibmacro{bytypestrg}{author}{author}%
- \setunit{\addspace}%
- \printnames[byauthor]{author}}}
-
-\newbibmacro*{bybookauthor}{%
- \ifnamesequal{author}{bookauthor}
- {}
- {\printnames{bookauthor}}}
-
-\newbibmacro*{byeditor}{%
- \ifnameundef{editor}
- {}
- {\usebibmacro{bytypestrg}{editor}{editor}%
- \setunit{\addspace}%
- \printnames[byeditor]{editor}%
- \newunit}%
- \usebibmacro{byeditorx}}
-
-\newbibmacro*{byeditorx}{%
- \ifnameundef{editora}
- {}
- {\usebibmacro{bytypestrg}{editora}{editor}%
- \setunit{\addspace}%
- \printnames[byeditora]{editora}%
- \newunit}%
- \ifnameundef{editorb}
- {}
- {\usebibmacro{bytypestrg}{editorb}{editor}%
- \setunit{\addspace}%
- \printnames[byeditorb]{editorb}%
- \newunit}%
- \ifnameundef{editorc}
- {}
- {\usebibmacro{bytypestrg}{editorc}{editor}%
- \setunit{\addspace}%
- \printnames[byeditorc]{editorc}%
- \newunit}}
-
-\newbibmacro*{bytranslator}{%
- \ifnameundef{translator}
- {}
- {\bibstring{bytranslator}%
- \setunit{\addspace}%
- \printnames[bytranslator]{translator}}}
-
-\newbibmacro*{byholder}{%
- \printnames{holder}}
-
-\newbibmacro*{byeditor+others}{%
- \ifnameundef{editor}
- {}
- {\usebibmacro{byeditor+othersstrg}%
- \setunit{\addspace}%
- \printnames[byeditor]{editor}%
- \clearname{editor}%
- \newunit}%
- \usebibmacro{byeditorx}%
- \usebibmacro{bytranslator+others}}
-
-\newbibmacro*{bytranslator+others}{%
- \ifnameundef{translator}
- {}
- {\usebibmacro{bytranslator+othersstrg}%
- \setunit{\addspace}%
- \printnames[bytranslator]{translator}%
- \clearname{translator}%
- \newunit}%
- \usebibmacro{withothers}}
-
-\newbibmacro*{bytypestrg}[2]{%
- \iffieldundef{#1type}
- {\bibstring{by#2}}
- {\ifbibxstring{by\thefield{#1type}}
- {\bibstring{by\thefield{#1type}}}
- {\printtext{\thefield{#1type}}}}}
-
-\newbibmacro*{byeditor+othersstrg}{%
- \iffieldundef{editortype}
- {\def\abx at tempa{byeditor}}
- {\edef\abx at tempa{by\thefield{editortype}}}%
- \let\abx at tempb=\empty
- \ifnamesequal{editor}{translator}
- {\appto\abx at tempa{tr}%
- \appto\abx at tempb{\clearname{translator}}}
- {}%
- \ifnamesequal{editor}{commentator}
- {\appto\abx at tempa{co}%
- \appto\abx at tempb{\clearname{commentator}}}
- {\ifnamesequal{editor}{annotator}
- {\appto\abx at tempa{an}%
- \appto\abx at tempb{\clearname{annotator}}}
- {}}%
- \ifnamesequal{editor}{introduction}
- {\appto\abx at tempa{in}%
- \appto\abx at tempb{\clearname{introduction}}}
- {\ifnamesequal{editor}{foreword}
- {\appto\abx at tempa{fo}%
- \appto\abx at tempb{\clearname{foreword}}}
- {\ifnamesequal{editor}{afterword}
- {\appto\abx at tempa{af}%
- \appto\abx at tempb{\clearname{afterword}}}
- {}}}%
- \ifbibxstring{\abx at tempa}
- {\printtext{\bibstring{\abx at tempa}}\abx at tempb}
- {\usebibmacro{bytypestrg}{editor}{editor}}}
-
-\newbibmacro*{bytranslator+othersstrg}{%
- \def\abx at tempa{bytranslator}%
- \ifnamesequal{translator}{commentator}
- {\appto\abx at tempa{co}%
- \clearname{commentator}}
- {\ifnamesequal{translator}{annotator}
- {\appto\abx at tempa{an}%
- \clearname{annotator}}
- {}}%
- \ifnamesequal{translator}{introduction}
- {\appto\abx at tempa{in}%
- \clearname{introduction}}
- {\ifnamesequal{translator}{foreword}
- {\appto\abx at tempa{fo}%
- \clearname{foreword}}
- {\ifnamesequal{translator}{afterword}
- {\appto\abx at tempa{af}%
- \clearname{afterword}}
- {}}}%
- \bibstring{\abx at tempa}}
-
-\newbibmacro*{withcommentator}{%
- \ifnameundef{commentator}
- {}
- {\bibstring{withcommentator}%
- \setunit{\addspace}%
- \printnames[withcommentator]{commentator}}}
-
-\newbibmacro*{withannotator}{%
- \ifnameundef{annotator}
- {}
- {\bibstring{withannotator}%
- \setunit{\addspace}%
- \printnames[withannotator]{annotator}}}
-
-\newbibmacro*{withintroduction}{%
- \ifnameundef{introduction}
- {}
- {\bibstring{withintroduction}%
- \setunit{\addspace}%
- \printnames[withintroduction]{introduction}}}
-
-\newbibmacro*{withforeword}{%
- \ifnameundef{foreword}
- {}
- {\bibstring{withforeword}%
- \setunit{\addspace}%
- \printnames[withforeword]{foreword}}}
-
-\newbibmacro*{withafterword}{%
- \ifnameundef{afterword}
- {}
- {\bibstring{withafterword}%
- \setunit{\addspace}%
- \printnames[withafterword]{afterword}}}
-
-\newbibmacro*{withothers}{%
- \usebibmacro{withcommentator}%
- \clearname{commentator}%
- \newunit
- \usebibmacro{withannotator}%
- \clearname{annotator}%
- \newunit
- \usebibmacro{withintroduction}%
- \clearname{introduction}%
- \newunit
- \usebibmacro{withforeword}%
- \clearname{foreword}%
- \newunit
- \usebibmacro{withafterword}%
- \clearname{afterword}}
-
-\newbibmacro*{title}{%
- \ifboolexpr{
- test {\iffieldundef{title}}
- and
- test {\iffieldundef{subtitle}}
- }
- {}
- {\printtext[title]{%
- \printfield[titlecase]{title}%
- \setunit{\subtitlepunct}%
- \printfield[titlecase]{subtitle}}%
- \newunit}%
- \printfield{titleaddon}}
-
-\newbibmacro*{booktitle}{%
- \ifboolexpr{
- test {\iffieldundef{booktitle}}
- and
- test {\iffieldundef{booksubtitle}}
- }
- {}
- {\printtext[booktitle]{%
- \printfield[titlecase]{booktitle}%
- \setunit{\subtitlepunct}%
- \printfield[titlecase]{booksubtitle}}%
- \newunit}%
- \printfield{booktitleaddon}}
-
-\newbibmacro*{maintitle}{%
- \ifboolexpr{
- test {\iffieldundef{maintitle}}
- and
- test {\iffieldundef{mainsubtitle}}
- }
- {}
- {\printtext[maintitle]{%
- \printfield[titlecase]{maintitle}%
- \setunit{\subtitlepunct}%
- \printfield[titlecase]{mainsubtitle}}%
- \newunit}%
- \printfield{maintitleaddon}}
-
-% The \iffieldundef{journaltitleaddon} is usually not necessary.
-% We need it to ensure that a \setunit* after this macro does the right thing
-% for backwards compatibility.
-\newbibmacro*{journal}{%
- \ifboolexpr{
- test {\iffieldundef{journaltitle}}
- and
- test {\iffieldundef{journalsubtitle}}
- }
- {}
- {\printtext[journaltitle]{%
- \printfield[titlecase]{journaltitle}%
- \setunit{\subtitlepunct}%
- \printfield[titlecase]{journalsubtitle}}%
- \newunit}%
- \iffieldundef{journaltitleaddon}
- {}
- {\printfield{journaltitleaddon}}}
-
-% Re \iffieldundef{titleaddon} see the comment about
-% \iffieldundef{journaltitleaddon} above.
-\newbibmacro*{periodical}{%
- \ifboolexpr{
- test {\iffieldundef{title}}
- and
- test {\iffieldundef{subtitle}}
- }
- {}
- {\printtext[title]{%
- \printfield[titlecase]{title}%
- \setunit{\subtitlepunct}%
- \printfield[titlecase]{subtitle}}%
- \newunit}%
- \iffieldundef{titleaddon}
- {}
- {\printfield{titleaddon}}}
-
-\newbibmacro*{issue}{%
- \ifboolexpr{
- test {\iffieldundef{issuetitle}}
- and
- test {\iffieldundef{issuesubtitle}}
- }
- {}
- {\printtext[issuetitle]{%
- \printfield[titlecase]{issuetitle}%
- \setunit{\subtitlepunct}%
- \printfield[titlecase]{issuesubtitle}}%
- \newunit}%
- \printfield{issuetitleaddon}}
-
-\newbibmacro*{in:}{%
- \bibstring{in}%
- \printunit{\intitlepunct}}
-
-\newbibmacro*{date}{\printdate}
-
-\newbibmacro*{url+urldate}{%
- \usebibmacro{url}%
- \iffieldundef{urlyear}
- {}
- {\setunit*{\addspace}%
- \usebibmacro{urldate}}}
-
-\newbibmacro*{url}{\printfield{url}}
-\newbibmacro*{urldate}{\printurldate}
-
-\newbibmacro*{pageref}{%
- \iflistundef{pageref}
- {}
- {\printtext[parens]{%
- \ifnumgreater{\value{pageref}}{1}
- {\bibstring{backrefpages}\ppspace}
- {\bibstring{backrefpage}\ppspace}%
- \printlist[pageref][-\value{listtotal}]{pageref}}}}
-
-\newbibmacro*{setpageref}{%
- \iflistundef{pageref}
- {}
- {\printtext{%
- \ifnumgreater{\value{pageref}}{1}
- {\bibstring{backrefpages}\ppspace}
- {\bibstring{backrefpage}\ppspace}%
- \printlist[pageref][-\value{listtotal}]{pageref}}}}
-
-\newbibmacro*{eprint}{%
- \iffieldundef{eprinttype}
- {\printfield{eprint}}
- {\printfield[eprint:\strfield{eprinttype}]{eprint}}}
-
-\newbibmacro*{annotation}{%
- \begingroup
- \togglefalse{blx at bibliography}%
- \iffieldundef{annotation}
- {\printfile[annotation]{\bibannotationprefix\thefield{entrykey}.tex}}
- {\printfield{annotation}}%
- \endgroup}
-
-\newbibmacro*{abstract}{%
- \iffieldundef{abstract}
- {\printfile[abstract]{\bibabstractprefix\thefield{entrykey}.tex}}
- {\printfield{abstract}}}
-
-\newbibmacro*{related:default}[1]{%
- \entrydata*{#1}{%
- \usedriver
- {\ifnameundef{savedauthor}
- {\ifnameundef{savededitor}
- {}
- {\ifnamesequal{editor}{savededitor}
- {\clearname{editor}}
- {}}}
- {\ifnamesequal{author}{savedauthor}
- {\clearname{author}}
- {}}%
- \DeclareNameAlias{sortname}{default}%
- % from authortitle and authoryear
- \ifbibmacroundef{bbx:dashcheck}
- {}
- {\renewbibmacro*{bbx:dashcheck}[2]{##2}}%
- % authoryear
- \ifbibmacroundef{labeltitle}
- {}
- {\renewbibmacro*{labeltitle}{}}%
- \ifbibmacroundef{date+extradate}
- {}
- {\renewbibmacro*{date+extradate}{}%
- \renewbibmacro*{bbx:ifmergeddate}{\@secondoftwo}}%
- \renewbibmacro*{pageref}{}%
- \renewbibmacro*{related:init}{}}
- {\thefield{entrytype}}}}
-
-\newbibmacro*{related:bytranslator}[1]{%
- \entrydata{#1}{%
- \renewbibmacro*{name:hook}[1]{%
- \ifnumequal{\value{listcount}}{1}
- {\mkrelatedstringtext{\lbx at initnamehook{##1}}}
- {}}%
- \printnames[bytranslator]{translator}%
- \setunit*{\addspace\bibstring[\mkrelatedstringtext]{astitle}\space}%
- \usebibmacro{title}%
- \setunit{\addspace}%
- \printtext[parens]{%
- \printlist{location}%
- \iflistundef{publisher}
- {\setunit*{\addcomma\space}}
- {\setunit*{\addcolon\space}}%
- \printlist{publisher}%
- \setunit*{\addcomma\space}%
- \printdate}}}
-
-\newbibmacro*{related:multivolume}[1]{%
- \entrydata*{#1}{%
- \printtext{%
- \printfield{volume}%
- \printfield{part}}%
- \setunit*{\addcolon\space}%
- \usebibmacro{title}%
- \ifboolexpr{
- test {\ifnamesequal{author}{savedauthor}}
- or
- test {\ifnameundef{author}}
- }
- {}
- {\usebibmacro{bytypestrg}{author}{author}%
- \setunit{\addspace}%
- \printnames[byauthor]{author}
- \newunit\newblock}%
- \ifboolexpr{
- test {\ifnamesequal{editor}{savededitor}}
- or
- test {\ifnameundef{editor}}
- }
- {}
- {\usebibmacro{byeditor+others}%
- \newunit\newblock}%
- \printdate}}
-
-\newbibmacro*{related:origpubin}[1]{%
- \entrydata*{#1}{%
- \printfield{year}%
- \ifboolexpr{
- test {\iflistsequal{publisher}{savedpublisher}}
- or
- test {\iflistundef{publisher}}
- }
- {}
- {\setunit{\addspace\bibstring[\mkrelatedstringtext]{bypublisher}\space}%
- \printlist{publisher}%
- \setunit{\addcomma\space}%
- \iflistsequal{location}{savedlocation}
- {}
- {\printlist{location}}}}}
-
-\newbibmacro*{related:origpubas}[1]{%
- \entrydata*{#1}{%
- \usebibmacro{title}%
- \ifboolexpr{
- test {\iflistsequal{publisher}{savedpublisher}}
- or
- test {\iflistundef{publisher}}
- }
- {}
- {\setunit{\addspace\bibstring[\mkrelatedstringtext]{bypublisher}\space}%
- \printlist{publisher}%
- \setunit{\addcomma\space}%
- \iflistsequal{location}{savedlocation}
- {}
- {\printlist{location}}}}}
-
-\DeclareFieldFormat{title:hook}{%
- \mkrelatedstringtext{\lbx at inittitlehook{#1}}%
- \mkbibemph{#1}}
-
-\newbibmacro*{related:reprintfrom}[1]{%
- \entrydata*{#1}{%
- \iffieldundef{journaltitle}
- {\iffieldundef{maintitle}
- {\printfield[title:hook]{booktitle}}
- {\printfield[title:hook]{maintitle}}%
- \newunit\newblock
- \usebibmacro{byeditor+others}%
- \newunit\newblock
- \printfield{edition}%
- \newunit
- \iffieldundef{volume}
- {}
- {\printfield{volume}%
- \printfield{part}}
- \newunit\newblock
- \usebibmacro{series+number}%
- \newunit\newblock
- \printfield{note}%
- \newunit\newblock
- \usebibmacro{publisher+location+date}%
- \newunit\newblock
- \usebibmacro{chapter+pages}}
- {\renewbibmacro*{journal}{%
- \printfield[title:hook]{journaltitle}}%
- \usebibmacro{journal+issuetitle}%
- \newunit\newblock
- \usebibmacro{byeditor+others}%
- \newunit\newblock
- \usebibmacro{note+pages}}}}
-
-\endinput
More information about the tex-live-commits
mailing list.