diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-08 01:16:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-08 01:16:47 +0000 |
commit | f8781b660c74ce51709b40d75de1d58597a54eaa (patch) | |
tree | bc5c72c372ceaa786bd6bb29c543306aa9e87dfe /Master | |
parent | 4e7ace252f5bb59a3813d0d829a5343667755499 (diff) |
biblatex-apa .09 (7mar10)
git-svn-id: svn://tug.org/texlive/trunk@17375 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
17 files changed, 4384 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-apa/README b/Master/texmf-dist/doc/latex/biblatex-apa/README new file mode 100644 index 00000000000..12b88b8a703 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-apa/README @@ -0,0 +1,35 @@ +Version 0.9 + +Permission is granted to copy, distribute and/or modify this software under +the terms of the LaTeX Project Public License, version +1.3c (http://www.latex-project.org/lppl.txt). The current +maintainer is Philip Kime (© 2010). + +This package is a biblatex style for APA (American Psychological +Association) style compliant documents typeset in LaTeX. It +implements a citation style (apa.cbx) and a references section style +(apa.bbx). The styles are loaded just like any other biblatex +styles but I wouldn't try to use the citation and references styles +separately as they rely on each other, macro-wise, in places. + +In this document and in the code, the specific APA requirements are +referred to by the section and (if appropriate) the example number of the +APA Style Guide 6th Edition). + +You will need to be using csquotes >= 4.3 and biblatex >= 0.9. If you want +to take advantage of the biblatex \DeclareQuotePunctuation facility +to enforce the APA required "American punctuation", you should use the +babel package with the "american" option (see biblatex manual +section |3.9.1|). You can of course use other languages but in such cases, +to adhere to APA "American" punctuation rules (following commas moved +inside closing quotes etc.), then you should set up +\DeclareQuotePunctuation yourself as per section 4.6.5 of the +biblatex manual. + +You can also use this with apa.cls version 1.3.4 or greater by using the +"noapacite" class option to that class package (which prevents it from +trying to use plain bibtex with the apacite package). + +Please refer first to biblatex-apa.pdf for the main documentation. + + diff --git a/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test-citations.bib b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test-citations.bib new file mode 100644 index 00000000000..332dcc9bbd8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test-citations.bib @@ -0,0 +1,314 @@ +% (APA 6.11) +@BOOK{6.11, + AUTHOR = {Kessler, Jr., A}, + TITLE = {Title}, + YEAR = {2003}, + KEYWORDS = {noinclude} +} + +% (APA 6.12) +@BOOK{6.12a, + AUTHOR = {A. Smith and B. Jones}, + TITLE = {Title}, + YEAR = {2007}, + KEYWORDS = {noinclude} +} + +@BOOK{6.12b, + AUTHOR = {A. Kisangau and B. Lyaruu and C. Hosea and D. Joseph}, + TITLE = {Title}, + YEAR = {2007}, + KEYWORDS = {noinclude} +} + +@BOOK{6.12c, + AUTHOR = {A. Ireys and B. Chernoff and C. DeVet and D. Kim}, + TITLE = {Title}, + YEAR = {2001}, + KEYWORDS = {noinclude} +} + +@BOOK{6.12d, + AUTHOR = {A. Ireys and B. Chernoff and E. Stein and C. DeVet and F. Silver}, + TITLE = {Title}, + YEAR = {2001}, + KEYWORDS = {noinclude} +} + +@BOOK{6.12e, + AUTHOR = {A. Kurtines and B. Szapocznik}, + TITLE = {Title}, + YEAR = {2003}, + KEYWORDS = {noinclude} +} + +@BOOK{6.12f, + AUTHOR = {A. Jöreskog and B. Sörbon}, + TITLE = {Title}, + YEAR = {2007}, + KEYWORDS = {noinclude} +} + +@BOOK{6.12g, + AUTHOR = {A. Kosslyn and B. Koenig and C. Barrett and D. Cave and E. Tang and F. Gabrieli}, + TITLE = {Title}, + YEAR = {1996}, + KEYWORDS = {noinclude} +} + +@BOOK{6.12h, + AUTHOR = {A. Kosslyn and B. Koenig and F. Gabrieli and E. Tang and G. Marsolek and H. Daly}, + TITLE = {Title}, + YEAR = {1996}, + KEYWORDS = {noinclude} +} + +% (APA 6.13) +@BOOK{6.13a, + AUTHOR = {A. Walker}, + TITLE = {Title}, + YEAR = {2007}, + KEYWORDS = {noinclude} +} + +@BOOK{6.13b, + AUTHOR = {A. Walker and B. Allen}, + TITLE = {Title}, + YEAR = {2004}, + KEYWORDS = {noinclude} +} + +@BOOK{6.13c, + AUTHOR = {A. Bradley and B. Ramirez and C. Soo}, + TITLE = {Title}, + YEAR = {1999}, + KEYWORDS = {noinclude} +} + +@BOOK{6.13d, + AUTHOR = {A. Bradley and B. Ramirez and C. Soo and D. Walsh}, + TITLE = {Title}, + YEAR = {2006}, + KEYWORDS = {noinclude} +} + +@BOOK{6.13e, + AUTHOR = {A. Walker and B. Allen and C. Bradley and D. Ramirez and E. Soo}, + TITLE = {Title}, + YEAR = {2008}, + KEYWORDS = {noinclude} +} + +@BOOK{6.13f, + AUTHOR = {Z. Wasserstein and A. Walker and B. Allen and C. Bradley and D. Ramirez and E. Soo}, + TITLE = {Title}, + YEAR = {2005}, + KEYWORDS = {noinclude} +} + +@BOOK{6.13g, + AUTHOR = {{National Institute of Mental Health}}, + SHORTAUTHOR = {NIMH}, + TITLE = {Title}, + YEAR = {2003}, + KEYWORDS = {noinclude} +} + +@BOOK{6.13h, + AUTHOR = {{University of Pittsburgh}}, + TITLE = {Title}, + YEAR = {2005}, + KEYWORDS = {noinclude} +} + +% (APA 6.14) +% The second example from this section is repeated in the APA manual in section 7.01 +% and the bib entry for that example is given below +@BOOK{6.14, + AUTHOR = {I. Light}, + TITLE = {Deflecting Immigration}, + SUBTITLE = {Networks, Markets, and regulation in Los Angeles}, + YEAR = {2006}, + LOCATION = {New York, NY}, + PUBLISHER = {Russell Sage Foundation}, + KEYWORDS = {noinclude} +} + +% (APA 6.15) +@ARTICLE{6.15a, + TITLE = {Study Finds Something Interesting}, + SHORTTITLE = {Study Finds}, + YEAR = {2007}, + KEYWORDS = {noinclude} +} + +@BOOK{6.15b, + TITLE = {College Bound Seniors}, + YEAR = {2008}, + KEYWORDS = {noinclude} +} + +@BOOK{6.15c, + AUTHOR = {Anonymous}, + TITLE = {Title}, + YEAR = {1998}, + KEYWORDS = {noinclude} +} + +% (APA 6.16) +@BOOK{6.16a, + AUTHOR = {{Department of Veterans Affairs}}, + TITLE = {Title1}, + YEAR = {2001}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16b, + AUTHOR = {{Department of Veterans Affairs}}, + TITLE = {Title1}, + YEAR = {2003}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16c, + AUTHOR = {A. Gogel}, + TITLE = {Title1}, + YEAR = {1990}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16d, + AUTHOR = {A. Gogel}, + TITLE = {Title2}, + YEAR = {2006}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16e, + AUTHOR = {A. Gogel}, + TITLE = {Title3}, + YEAR = {in press}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16f, + AUTHOR = {A. Derryberry and B. Reed}, + TITLE = {Title1}, + YEAR = {2005}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16g, + AUTHOR = {A. Derryberry and B. Reed}, + TITLE = {Title2}, + YEAR = {2005}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16h, + AUTHOR = {A. Derryberry and B. Reed}, + TITLE = {Title3}, + YEAR = {in press}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16i, + AUTHOR = {A. Rothbart}, + TITLE = {Title1}, + YEAR = {2003}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16j, + AUTHOR = {A. Rothbart}, + TITLE = {Title2}, + YEAR = {2003}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16k, + AUTHOR = {A. Miller}, + TITLE = {Title}, + YEAR = {1999}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16l, + AUTHOR = {A. Shafrankse and B. Mahoney}, + TITLE = {Title}, + YEAR = {1998}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16m, + AUTHOR = {A. Minor}, + TITLE = {Title}, + YEAR = {2001}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16n, + AUTHOR = {A. Adams}, + TITLE = {Title}, + YEAR = {1999}, + KEYWORDS = {noinclude} +} + +@BOOK{6.16o, + AUTHOR = {A. Storandt}, + TITLE = {Title}, + YEAR = {2007}, + KEYWORDS = {noinclude} +} + +% (APA 6.17) +@BOOK{6.17, + AUTHOR = {A. Nicholson}, + TITLE = {Title}, + YEAR = {2003}, + KEYWORDS = {noinclude} +} + +% (APA 6.18) +@BOOK{6.18a, + AUTHOR = {Aristotle}, + TITLE = {Ethics}, + TRANSLATOR = {S. Translator}, + YEAR = {1931}, + KEYWORDS = {noinclude} +} + +@BOOK{6.18b, + AUTHOR = {H. James}, + TITLE = {Novel}, + ORIGDATE = {1890}, + YEAR = {1983}, + KEYWORDS = {noinclude} +} + +% Last two examples need no references entry + +% (APA 6.19) +@BOOK{6.19a, + AUTHOR = {{Centers for Disease Control and Prevention}}, + TITLE = {Title}, + YEAR = {2005}, + KEYWORDS = {noinclude} +} + +@BOOK{6.19b, + AUTHOR = {A. Shimamura}, + TITLE = {Title}, + YEAR = {1989}, + KEYWORDS = {noinclude} +} + +% (APA 6.20) - No examples need references entry + +% (APA 6.21) +@BOOK{6.21, + AUTHOR = {{U.S. Department of Labor}}, + TITLE = {Title}, + YEAR = {2007}, + KEYWORDS = {noinclude} +} diff --git a/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test-references.bib b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test-references.bib new file mode 100644 index 00000000000..566badd0045 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test-references.bib @@ -0,0 +1,974 @@ +% (APA 7.01 Example 1) +@ARTICLE{7.01:1, + AUTHOR = {K. L. Herbst-Damm and J. A. Kulik}, + TITLE = {Volunteer Support, Marital Status, and the Survival Times of Terminally Ill Patients}, + JOURNALTITLE = {Health Psychology}, + VOLUME = {24}, + PAGES = {225--229}, + YEAR = {2005}, + DOI = {10.1037/0278-6133.24.2.225} +} + +% (APA 7.01 Example 2) +@ARTICLE{7.01:2, + AUTHOR = {D. G. Gilbert and J. F. McClernon and N. E. Rabinovich and C. Sugai and L. C. Plath and G. Asgaard and D. Dickinson and N. Botros}, + TITLE = {Effects of Quitting Smoking and {EEG} Activation and Attention Last for More Than 31 Days and are More Severe With Stress, Depedence, {DRD2 A1} Allele, and Depressive Traits}, + JOURNALTITLE = {Nicotine and Tobacco Research}, + VOLUME = {6}, + PAGES = {249--267}, + YEAR = {2004}, + DOI = {10.1080/14622200410001676305} +} + +% (APA 7.01 Example 3) +@ARTICLE{7.01:3a, + AUTHOR = {T. J. Sillick and N. S. Schutte}, + TITLE = {Emotional Intelligence and Self-esteem Mediate Between Perceived Early Parental Love and Adult Happiness.}, + JOURNALTITLE = {E-Journal of Applied Psychology}, + VOLUME = {2}, + NUMBER = {2}, + PAGES = {38--48}, + YEAR = {2006}, + URL = {http://ojs.lib.swin.edu.au/index.php/ejap} +} + +@ARTICLE{7.01:3b, + AUTHOR = {M. A. Light and I. H. Light}, + TITLE = {The Geographic Expansion of Mexican Immigration in the United States and its Implications for Local Law Enforcement}, + YEAR = {2008}, + JOURNALTITLE = {Law Enforcement Executive Forum Journal}, + VOLUME = {8}, + NUMBER = {1}, + PAGES = {73--82}, +} + +% (APA 7.01 Example 4) +@ARTICLE{7.01:4, + AUTHOR = {P. Guimard and A. Florin}, + ORIGTITLE = {Les évaluations des enseignants en grande section de maternelle sont-elles prédictives des difficultés de lecture au cours préparatoire?}, + TITLE = {Are Teacher Rating in Kindergarten Predictive of Reading Dificulties in First Grade?}, + JOURNALTITLE = {Approche Neuropsychologique des Apprentissages chez l'Enfant}, + VOLUME = {19}, + PAGES = {5--17}, + YEAR = {2007}, +} + +% (APA 7.01 Example 5) +@ARTICLE{7.01:5, + AUTHOR = {S. C. {Von Ledebur}}, + TITLE = {Optimizing Knowledge Transfer by New Employees in Companies}, + JOURNALTITLE = {Knowledge Management Research and Practice}, + YEAR = {2007}, + NOTE = {Advance online publication}, + DOI = {10.1057/palgrave.kmrp.8500141} +} + +% (APA 7.01 Example 6) +@ARTICLE{7.01:6, + AUTHOR = {R. Briscoe}, + YEAR = {in press}, + TITLE = {Egocentric Spatial Representation in Action and Perception}, + JOURNALTITLE = {Philosophy and Phenomenological Research}, + URL = {http://cogprints.org/5780/1/ECSRAP.F07.pdf} +} + +% (APA 7.01 Example 7) +@ARTICLE{7.01:7, + AUTHOR = {J. Chamberlin and A. Novotney and E. Packard and M. Price}, + TITLE = {Enhancing Worker Well-being}, + SUBTITLE = {Occupational Health Psychologists Convene to Share Their Research on Work, Stress, and Health}, + JOURNALTITLE = {Monitor on Psychology}, + VOLUME = {39}, + NUMBER = {5}, + PAGES = {26-29}, + DATE = {2008-05} +} + +% (APA 7.01 Example 8) +@ARTICLE{7.01:8, + AUTHOR = {R. Clay}, + TITLE = {Science vs. Ideology}, + SUBTITLE = {Psychologists Fight Back About the Misuse of Research}, + JOURNALTITLE = {Monitor on Psychology}, + VOLUME = {39}, + NUMBER = {6}, + DATE = {2008-06}, + URL = {http://www.apa.org/monitor/} +} + +% (APA 7.01 Example 9) +@ARTICLE{7.01:9, + TITLE = {Six Sites Meet for Comprehensive Anti-gang Initiative Conference}, + SHORTTITLE = {Six Sites Meet}, + JOURNALTITLE = {OJJDP News {@} a Glance}, + DATE = {2006-11/2006-12}, + URL = {http://www.ncjrs.gov/html/ojjdp/news_at_glance/216684/topstory.html} +} + +% (APA 7.01 Example 10) +% Use ENTRYSUBTYPE "newspaper" for newspaper articles so that the pages specification +% is formatted correctly (needs "p/pp" whereas normal articles don't) +% Numeral format is redefined to allow page number starting in letters +% Discontinuous pages are ok +@ARTICLE{7.01:10, + ENTRYSUBTYPE = {newspaper}, + AUTHOR = {J. Schwartz}, + TITLE = {Obesity Affects Economic, Social Status}, + JOURNALTITLE = {The Washington Post}, + PAGES = {A1, A4}, + DATE = {1993-09-30}, +} + +% (APA 7.01 Example 11) +@ARTICLE{7.01:11, + ENTRYSUBTYPE = {newspaper}, + AUTHOR = {J. E. Brody}, + TITLE = {Mental Reserves Keep Brain Agile}, + JOURNALTITLE = {The New York Times}, + DATE = {2007-12-11}, + URL = {http://www.nytimes.com} +} + +% (APA 7.01 Example 12) +% Use the TITLEADDON field for things in brackets after the title. This has many +% uses in the APA style. +@ARTICLE{7.01:12a, + EDITOR = {C. Haney and R. L. Wiener}, + TITLE = {Capital Punishment in the United States}, + TITLEADDON = {Special issue}, + JOURNALTITLE = {Psychology, Public Policy and Law}, + VOLUME = {10}, + NUMBER = {4}, + YEAR = {2004} +} + +@ARTICLE{7.01:12b, + EDITOR = {P. Greenfield and Z. Yan}, + TITLE = {Children, Adolescents, and the {I}nternet}, + TITLEADDON = {Special section}, + JOURNALTITLE = {Developmental Psychology}, + VOLUME = {42}, + PAGES = {391--458}, + YEAR = {2006} +} + +% Implicit example made explicit - no editors +@ARTICLE{7.01:12c, + TITLE = {Capital Punishment in the United Kingdom}, + SHORTTITLE = {Capital Punishment}, + TITLEADDON = {Special issue}, + JOURNALTITLE = {Psychology, Public Policy and Law}, + VOLUME = {10}, + NUMBER = {4}, + YEAR = {2005} +} + +% (APA 7.01 Example 13) +% Monographs can be specified as articles with appropriate NUMBER fields +@ARTICLE{7.01:13a, + AUTHOR = {D. C. Ganster and J. Schaubroeck and W. E. Sime and B. T. Mayes}, + TITLE = {The Nomological Validity of the Type A Personality Among Employed Adults}, + TITLEADDON = {Monograph}, + JOURNALTITLE = {Journal of Applied Psychology}, + VOLUME = {76}, + PAGES = {143--168}, + YEAR = {1991}, + DOI = {10.1037/0021-9010.76.1.143} +} + +% Implicit example made explicit (Given in APA 5th Ed. Manual) +@ARTICLE{7.01:13b, + AUTHOR = {P. L. Harris and R. D. Kavanaugh}, + TITLE = {Young Children's Understanding of Pretense}, + JOURNALTITLE = {Monographs of the Society for Research in Child Development}, + VOLUME = {58}, + NUMBER = {1, Serial No. 231}, + YEAR = {1993} +} + +% Implicit example made explicit (Given in APA 5th Ed. Manual) +@ARTICLE{7.01:13c, + AUTHOR = {W. F. Battig and W. E. Montague}, + TITLE = {Category Norms for Verbal Items in 56 Categories}, + SUBTITLE = {A Replication and Extension of the {C}onnecticut Category Norms}, + JOURNALTITLE = {Journal of Experimental Psychology Monographs}, + VOLUME = {80}, + NUMBER = {3, Pt. 2}, + YEAR = {1969} +} + +% (APA 7.01 Example 14) +@ARTICLE{7.01:14, + TITLE = {Editorial: {"}{W}hat a Disaster{"} and Why Does This Question Matter?}, + TITLEADDON = {Editorial}, + JOURNALTITLE = {Journal of Contingencies and Crisis Management}, + VOLUME = {14}, + PAGES = {1--2}, + YEAR = {2006} +} + +% (APA 7.01 Example 15) +% Note use of font change +@ARTICLE{7.01:15, + AUTHOR = {S. Marshall-Pescini and A. Whiten}, + TITLE = {Social Learning of Nut-Cracking Behaviour in {E}ast {A}frican Sanctuary-living Chimpanzees (\textsl{Pan troglodytes schweinfurthii})}, + TITLEADDON = {Supplemental material}, + JOURNALTITLE = {Journal of Comparitive Psychology}, + VOLUME = {122}, + PAGES = {186--194}, + YEAR = {2008}, + DOI = {10.1037/0735-7036.122.2.186.supp} +} + +% (APA 7.01 Example 16) +@ARTICLE{7.01:16a, + AUTHOR = {N. J. Woolf and S. L. Young and M. S. Fanselow and L. L. Butcher}, + TITLE = {{MAP-2} Expression in Cholinoceptive Pyramidal Cells of Rodent Cortex and Hippocampus is Altered by {P}avlovian Conditioning}, + TITLEADDON = {Abstract}, + JOURNALTITLE = {Society for Neuroscience Abstracts}, + VOLUME = {17}, + PAGES = {480}, + YEAR = {1991} +} + +% Note use of ABSTRACT to get the "Abstract retrieved from" instead of just +% "retrieved from" +@ARTICLE{7.01:16b, + ABSTRACT = {yes}, + AUTHOR = {S. R. Lassen and M. M. Steele and W. Sailor}, + TITLE = {The Relationship of School-wide Positive Behavour Support to Academic Achievement in an Urban Middle School}, + JOURNALTITLE = {Psychology in the Schools}, + VOLUME = {43}, + PAGES = {701--712}, + YEAR = {2006}, + URL = {http://www.interscience.wiley.com} +} + +% (APA 7.01 Example 17) +% It's a bit clumsy but such extra information can be included in the NOTE field. +% If the abstract/article was retreived from a standard online URI, things are little +% better defined - see examples 7.01:16*). +@ARTICLE{7.01:17, + AUTHOR = {L. R. Hare and K. O'Neill}, + TITLE = {Effectiveness and Efficiency in Small Academic Peer Groups}, + JOURNALTITLE = {Small Group Research}, + VOLUME = {31}, + PAGES = {24--53}, + YEAR = {2000}, + NOTE = {Abstract retrieved from {S}ociological {A}bstracts database. (Accession No. 200010185)} +} + +% (APA 7.02 Example 18) +@BOOK{7.02:18, + AUTHOR = {M. A. Shotton}, + TITLE = {Computer Addiction? A Study of Computer Dependency}, + LOCATION = {London, England}, + PUBLISHER = {Taylor \& Francis}, + YEAR = {1989} +} + +% (APA 7.02 Example 19) +% Note the different year to the actual example to stop bibaltex generating extrayear +% since the APA examples pretend each example is effectively an entry from a +% different bibliography +@BOOK{7.02:19a, + AUTHOR = {M. A. Shotton}, + TITLE = {Computer Addiction? A Study of Computer Dependency}, + TITLEADDON = {{DX} {R}eader version}, + YEAR = {1990}, + URL = {http://www.ebbokstore.tandf.co.uk/html/index.asp} +} + +@BOOK{7.02:19b, + AUTHOR = {G. R. Schiraldi}, + TITLE = {The Post-traumatic Stress Disorder Sourcebook}, + SUBTITLE = {A Guide to Healing, Recovery, and Growth}, + TITLEADDON = {{A}dobe {D}igital {E}ditions version}, + YEAR = {2001}, + DOI = {10.1036/0071393722} +} + +% (APA 7.02 Example 20) +@BOOK{7.02:20, + AUTHOR = {E. O'Keefe}, + TITLE = {Egoism \& the Crisis in Western Values}, + URL = {http://www.onlineoriginals.com/showitem.asp?itemID=135} +} + +% (APA 7.02 Example 21) +% NOTE is automatically generated from ORIGDATE +@INBOOK{7.02:21, + AUTHOR = {S. Freud}, + EDITOR = {J. Strachey}, + TRANSLATOR = {J. Strachey}, + TITLE = {The Method of Interpreting Dreams}, + BOOKTITLE = {The Standard Edition of the Complete Psychological Works of {S}igmund {F}reud}, + VOLUME = {4}, + PAGES = {96--121}, + SUBTITLE = {An Analysis of a Specimen Dream}, + DATE = {1953}, + ORIGDATE = {1900}, + URL = {http://books.google.com/books}, +} + +% (APA 7.02 Example 22) +@BOOK{7.02:22, + EDITOR = {N. Thomas}, + TITLE = {Perspectives on the Community College}, + SUBTITLE = {A Journey of Discovery}, + TITLEADDON = {Monograph}, + DATE = {2002}, + URL = {http://eric.ed.gov/} +} + +% (APA 7.02 Example 23) +@BOOK{7.02:23, + EDITOR = {S. Koch}, + TITLE = {Psychology}, + SUBTITLE = {A Study of Science}, + VOLUMES = {1--6}, + LOCATION = {New York, NY}, + PUBLISHER = {McGraw-Hill}, + DATE = {1959/1963} +} + +% (APA 7.02 Example 24) +@INBOOK{7.02:24, + AUTHOR = {Strong, Jr., E. K. and R. S. Uhrbrock}, + EDITORA = {L. Outhwaite}, + EDITORATYPE = {series}, + TITLE = {Bibliography in Job Analysis}, + BOOKTITLE = {Personnel {R}esearch {S}eries}, + BOOKSUBTITLE = {Vol. 1. {J}ob Analysis and the Curriculum}, + PAGES = {140--146}, + DATE = {1923}, + DOI = {10.1037/10762-000} +} + +% (APA 7.02 Example 25) +@INBOOK{7.02:25, + AUTHOR = {D. M. Haybron}, + EDITOR = {M. Eid and R. J. Larsen}, + TITLE = {Philosophy and the Science of Subjective Well-Being}, + BOOKTITLE = {The Science of Subjective Well-Being}, + LOCATION = {New York, NY}, + PUBLISHER = {Guildford Press}, + PAGES = {17-43}, + DATE = {2008}, +} + +% (APA 7.02 Example 26) +@INBOOK{7.02:26, + AUTHOR = {J. Piaget}, + EDITOR = {K. Richardson and S. Sheldon}, + TRANSLATOR = {G. Gellerier and J. Langer}, + TITLE = {Extracts From {P}iaget's Theory}, + BOOKTITLE = {Cognitive Development to Adolescence}, + BOOKSUBTITLE = {A Reader}, + PAGES = {3--18}, + LOCATION = {Hillsdale, NJ}, + PUBLISHER = {Erlbaum}, + YEAR = {1988}, + ADDENDUM = {Reprinted from Manual of child psychology, pp. 703--732, by P. H. Mussen, Ed., 1970, New York: Wiley} +} + +% (APA 7.02 Example 27) +@BOOK{7.02:27, + EDITOR = {G. R. VandenBos}, + TITLE = {APA Dictionary of Psychology}, + LOCATION = {Washington, DC}, + PUBLISHER = {American Psychological Association}, + YEAR = {2007}, +} + +% (APA 7.02 Example 28) +@BOOK{7.02:28, + AUTHOR = {{Real Academia Española}}, + ORIGTITLE = {Diccionario de la lengua española}, + TITLE = {Dictionary of the {S}panish Language}, + EDITION = {22}, + LOCATION = {Madrid, Spain}, + PUBLISHER = {Author}, + YEAR = {2001}, +} + +% (APA 7.02 Example 29) +% If the EDITION field is not just an edition number like "2" or "4" (which +% will be turned into an ordinal like "2nd" or "4th" by the style automatically), +% then make the EDITION field the exact string you need. +@INBOOK{7.02:29, + AUTHOR = {G. Graham}, + EDITOR = {E. N. Zalta}, + TITLE = {Behaviourism}, + BOOKTITLE = {The {S}tanford Encyclopedia of Philosophy}, + EDITION = {Fall 2007 ed.}, + YEAR = {2005}, + URL = {http://plato.stanford.edu/entries/behaviourism/} +} + +% (APA 7.02 Example 30) +@INBOOK{7.02:30, + TITLE = {Heuristic}, + BOOKTITLE = {{M}erriam-{W}ebster's Online Dictionary}, + EDITION = {11}, + URL = {http://www.m-w.com/dicitonary/heuristic} +} + +% (APA 7.03 Example 31) +% NUMBER contains report specifics in parentheses after title +@REPORT{7.03:31, + AUTHOR = {{U.S. Department of Health and Human Services, National Institute of Mental Health, National Heart, Lung and Blood Institute}}, + TITLE = {Managing Asthma}, + SUBTITLE = {A Guide for Schools}, + NUMBER = {NIH Publication No. 02-2650}, + YEAR = {2003}, + URL = {http://www.nhlbi.nih.gov/health/prof/lung/asthma/asth_sch.pdf} +} + +% (APA 7.03 Example 32) +@REPORT{7.03:32, + AUTHOR = {{American Psychological Association, Task Force on the Sexualization of Girls}}, + TITLE = {Report of the {APA} {T}ask {F}orce on the {S}exualization of {G}irls}, + YEAR = {2007}, + URL = {http://www.apa.org/pi/wpo/sexualizaion.html} +} + +% (APA 7.03 Example 33) +% Use ORGANIZATION to introduce website address defaults to "Retreived from" +% if not present +@REPORT{7.03:33, + AUTHOR = {S. S. A. Kessy and F. M. Urio}, + TITLE = {The Contribution of Microfinance Institutions to Poverty Reduction in {T}anzania}, + NUMBER = {Research Report No. 06.3}, + YEAR = {2006}, + ORGANIZATION = {Poverty Alleviation website}, + URL = {http://www.repoa.or.tz/documents_storage/Publications/Reports/06.3_Kessey_and_Urio.pdf} +} + +% (APA 7.03 Example 34) +% Use the ORGANIZATION field to describe the URL +@REPORT{7.03:34, + AUTHOR = {J. E. McDaniel and C. G. Miskel}, + TITLE = {The Effect of Groups and Individuals on National Decisionmaking}, + SUBTITLE = {Influence and Domination in the Reading Policymaking Environment}, + NUMBER = {CIERA Report 3-025}, + YEAR = {2002}, + ORGANIZATION = {University of Michigan, Center for Improvement of Early Reading Achievement website}, + URL = {http://www.ciera.org/library/reports/inquiry-3/3-025/3-025.pdf} +} + +% (APA 7.03 Example 35) +@REPORT{7.03:35, + AUTHOR = {{Employee Benefit Research Institute}}, + TITLE = {Sources of health Insurance and Characteristics of the Uninsured}, + NUMBER = {Issue Brief No. 123}, + DATE = {1992-02}, + LOCATION = {Washington, DC}, + PUBLISHER = {Author} +} + +% (APA 7.04 Example 36) +@INPROCEEDINGS{7.04:36, + AUTHOR = {J. Muelbauer}, + TITLE = {Housing, Credit and Consumer Expenditure}, + EDITORA = {S. C. Ludvigson}, + EDITORATYPE = {chair}, + BOOKTITLE = {Housing and Consumer Behaviour}, + EVENTTITLE = {Symposium Conducted at the Meeting of the {F}ederal {R}eserve {B}ank of {K}ansas {C}ity, Jackson Hole, WY}, + DATE = {2007-09} +} + +% (APA 7.04 Example 37) +% Unpublished conference papers are UNPUBLISHED type +@UNPUBLISHED{7.04:37, + ABSTRACT = {yes}, + AUTHOR = {S. Liu}, + TITLE = {Defending Against Business Crises with the Help of Inteligent Agent Based Early Warning Solutions}, + DATE = {2005-05}, + LOCATION = {Miami, FL}, + NOTE = {Paper presented at the Seventh International Conferene on Enterprise Information Systems}, + URL = {http://www.iceis.org/iceis2005/abstracts_2005.htm} +} + +% (APA 7.04 Example 38) +@PROCEEDINGS{7.04:38, + AUTHOR = {S. Herculano-Houzel and C. E. Collins and P. Wong and J. H. Kaas and R. Lent}, + TITLE = {The Basic Nonuniformity of the Cerebral Cortex}, + BOOKTITLE = {Proceedings of the {N}ational {A}cademy of {S}ciences}, + VOLUME = {105}, + PAGES = {12593--12598}, + LOCATION = {USA}, + YEAR = {2008}, + DOI = {10.1073/pnas.0805417105} +} + +% (APA 7.04 Example 39) +@INPROCEEDINGS{7.04:39, + AUTHOR = {I. Katz and K. Gabayan and H. Aghajan}, + TITLE = {A Multi-touch Surface Using Multiple Cameras}, + EDITOR = {J. Blanc-Talon and W. Philips and D. Popescu and P. Scheunders}, + MAINTITLE = {Lecture Notes in Computer Science}, + VOLUME = {4678}, + BOOKTITLE = {Advanced Concepts for Intelligent Vision Systems}, + PAGES = {97--108}, + LOCATION = {Berlin, Germany}, + PUBLISHER = {Springer-Verlag}, + DATE = {2007}, + DOI = {10.1007/978-3-540-74607-2_9} +} + +% (APA 7.05 Example 40) +@THESIS{7.05:40, + AUTHOR = {D. S. McNiel}, + TITLE = {Meaning Through Narrative}, + SUBTITLE = {A Personal Narrative Discussing Growing Up with an Alchoholic Mother}, + TYPE = {Master's thesis}, + YEAR = {2006}, + NOTE = {Available from ProQuest Dissertations and These database. (UMI No. 1434728)} +} + +% (APA 7.05 Example 41) +@THESIS{7.05:41, + AUTHOR = {R. J. Adams}, + TITLE = {Building a Foundation for Evaluation of Instruction in Higher Education and Continuing Education}, + TYPE = {Doctoral dissertation}, + YEAR = {1973}, + URL = {http://www.ohiolink.edu/etd/} +} + +% (APA 7.05 Example 42) +@THESIS{7.05:42, + AUTHOR = {A. Bruckman}, + TITLE = {{MOOSE} Crossing}, + SUBTITLE = {Construction, Community, and Learning in a Networked Virtual World for Kids}, + TYPE = {Doctoral dissertation}, + INSTITUTION = {Massachusetts Institute of Technology}, + YEAR = {1977}, + URL = {http://www-static.cc.gatech.edu/~asb/thesis/} +} + +% (APA 7.05 Example 43) +% VOLUME and NUMBER can be used in a thesis entry to specify the DAI volume and number +% The ABSTRACT field indicates that this is a reference to an abstract, not the actual +% work and thus the title is not emphasised +@THESIS{7.05:43, + ABSTRACT = {yes}, + AUTHOR = {L. G. Appelbaum}, + TITLE = {Three Studies of Human Information Processing}, + SUBTITLE = {Texture Amplification, Motion Representation, and Figure-Ground Segregation}, + VOLUME = {65}, + NUMBER = {10}, + YEAR = {2005}, + PAGES = {5428}, + EPRINTTYPE = {Dissertation Abstracts International: Section B. Sciences and Engineering} +} + +% (APA 7.05 Example 44) +@THESIS{7.05:44, + AUTHOR = {P. Carlbom}, + TITLE = {Carbody and Passengers in Rail Vehicle Dynamics}, + TYPE = {Doctoral thesis}, + INSTITUTION = {Royal Institute of Technology, Stockholm, Sweden}, + YEAR = {2000}, + URL = {http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-3029} +} + +% (APA 7.06 Example 45) +% Use ENTRYSUBTYPE to specify the reviewed item +% Use ORIGTITLE to specify the reviewed item title +% Use VERBA to specify the reviewed item original author until BibLaTeX gets a +% ORIGAUTHOR or ORIGTITLEADDON or similar + +@REVIEW{7.06:45, + AUTHOR = {B. R. Schatz}, + TITLE = {Learning By Text or Context?}, + ENTRYSUBTYPE = {Review of the book}, + ORIGTITLE = {The Social Life of Information}, + VERBA = {by J. S. Brown & P. Duguid}, + JOURNALTITLE = {Science}, + VOLUME = {290}, + PAGES = {1304}, + DATE = {2000-11-17}, + DOI = {10.1126/science.290.5495.1304}, +} + +% (APA 7.06 Example 46) +@REVIEW{7.06:46, + AUTHOR = {A. Axelman and J. L. Shapiro}, + TITLE = {Does the Solution Warrant the Problem?}, + ENTRYSUBTYPE = {Review of the {DVD}}, + ORIGTITLE = {Brief Therapy With Adolescents}, + VERBA = {produced by the American Psychological Association, 2007}, + JOURNALTITLE = {PsycCRITIQUES}, + VOLUME = {52}, + NUMBER = {51}, + DATE = {2007}, + DOI = {10.1037/a0009036}, + +} + +% (APA 7.06 Example 47) +@REVIEW{7.06:47, + ENTRYSUBTYPE = {Review of the video game}, + ORIGTITLE = {BioShock}, + VERBA = {produced by 2K Games, 2007}, + URL = {http://www.wattheyplay.com/products/bioshock-for-xbox-360/?fm=3&ob=1&t=0#166}, + +} + +% (APA 7.06 Example 48) +@REVIEW{7.06:48, + AUTHOR = {K. S. Wolf}, + TITLE = {The Future for {D}eaf Individuals is Not That Bleak}, + ENTRYSUBTYPE = {Peer commentary on the paper}, + ORIGTITLE = {``Decrease of Deaf Potential in a Mainstreamed Environment''}, + VERBA = {by K. S. Wolf}, + DATE = {2005}, + URL = {http://www.personalityresearch.org/papers/hal.htm#wolf} +} + +% (APA 7.07 Example 49) +% There is no way to format in the required manner without using custom fields currently. +% This makes the .bib file unportable between styles but there is no clean way round this +% until BibTeX is replaced in biblatex. +% Use NAMEA/NAMEATYPE and NAMEB/NAMEBTYPE for the two main credits. Since these are not +% recognised as sorting fields, be sure to specify how you want the entry sorted in the +% References section using the SORTKEY field. +% The default string before URLs is "Retrieved from". Use USERA to override +% "Retrieved". The contents of USERA are a bibstring defined in the lbx so don't +% capitalise or it won't match a localisable string +@VIDEO{7.07:49, + ENTRYSUBTYPE = {{DVD}}, + SORTKEY = {American Psychological Association}, + NAMEA = {{American Psychological Association}}, + NAMEATYPE = {Producer}, + TITLE = {Responding Therapeutically to Patient Expressions of Sexual Attraction}, + YEAR = {2000}, + USERA = {available}, + URL = {http://www.apa.org/videos/} +} + +% (APA 7.07 Example 50) +@AUDIO{7.07:50, + ENTRYSUBTYPE = {Audio Podcast}, + SORTKEY = {Van Nuys, D.}, + NAMEA = {D. {Van Nuys}}, + NAMEATYPE = {Producer}, + TITLE = {Shrink Rap Radio}, + DATE = {2007-12-19}, + URL = {http://www.shrinkrapradio.com/} +} + +% (APA 7.07 Example 51) +@VIDEO{7.07:51, + ENTRYSUBTYPE = {Television series episode}, + SORTKEY = {Egan, D.}, + NAMEA = {D. Egan}, + NAMEATYPE = {Writer}, + NAMEB = {J. Alexander}, + NAMEBTYPE = {Director}, + NAMEC = {D. Shore}, + NAMECTYPE = {Executive producer}, + TITLE = {Failure to Communicate}, + MAINTITLE = {House}, + LOCATION = {New York, NY}, + PUBLISHER = {Fox Broadcasting}, + DATE = {2005}, +} + +% (APA 7.07 Example 52) +% Note use of SORTKEY to make sorting ignore the lower case AUTHOR +@MUSIC{7.07:52, + SORTKEY = {Lang, K. D.}, + ENTRYSUBTYPE = {{CD}}, + AUTHOR = {{lang}, {k.} {d.}}, + TITLE = {Shadow and the Frame}, + MAINTITLE = {Watershed}, + MAINTITLEADDON = {CD}, + LOCATION = {New York, NY}, + PUBLISHER = {Nonesuch Records}, + YEAR = {2008}, +} + +% (APA 7.07 Example 53) +% Here, we use the flexible editor fields +@MISC{7.07:53, + AUTHOR = {{Lewis County Geographic Information Services}}, + NAMEADDON = {Cartographer}, + TITLE = {Population Density, 2000 {U}.{S}. {C}ensus}, + ENTRYSUBTYPE = {Demographic map}, + YEAR = {2002}, + URL = {http://www.co.lewis.wa.us/publicworks/maps/Demographics/census-pop-dens_2000.pdf} +} + +% (APA 7.08 Example 54) +% Data sets need special formatting of name so we use USERD with "dataset" to specify them +@MISC{7.08:54, + USERD = {dataset}, + AUTHOR = {{Pew Hispanic Center}}, + TITLE = {Changing Channels and Crisscrossing Cultures}, + SUBTITLE = {A Survey of {L}atinos on the News Media}, + ENTRYSUBTYPE = {Data file and code book}, + YEAR = {2004}, + URL = {http://pewhispanic.org/datasets/} +} + +% (APA 7.08 Example 55) +@MISC{7.08:55, + AUTHOR = {M. L. Friedlander and V. Escudero and L. Heatherington}, + TITLE = {{E-SOFTA}}, + SUBTITLE = {System for Observing Family Therapy Alliances}, + ENTRYSUBTYPE = {Software and training videos}, + YEAR = {2002}, + NOTE = {Unpublished instrument}, + URL = {http://www.softa-soatif.com/} +} + +% (APA 7.08 Example 56) +@SOFTWARE{7.08:56, + TITLE = {Comprehensive {M}eta-{A}nalysis}, + TITLEADDON = {Computer software}, + VERSION = {2}, + LOCATION = {Englewood, NJ}, + PUBLISHER = {Biostat} +} + +% (APA 7.08 Example 57) +@MISC{7.08:57, + TITLE = {{Eyelink II}}, + TITLEADDON = {Apparatus and software}, + LOCATION = {Mississauga, Ontario, Canada}, + PUBLISHER = {SR Research}, + YEAR = {2004}, +} + +% (APA 7.09 Example 58) +@UNPUBLISHED{7.09:58, + AUTHOR = {E. Blackwell and P. J. Conrod}, + TITLE = {A Five-Dimensional Measure of Drinking Motives}, + HOWPUBLISHED = {Unpublished manuscript}, + INSTITUTION = {Department of Psychology, University of British Columbia}, + LOCATION = {Vancouver, Canada}, + YEAR = {2003}, +} + +% (APA 7.09 Example 59) +@UNPUBLISHED{7.09:59, + AUTHOR = {J. Y. Ting and P. Florsheim and W. Huang}, + TITLE = {Mental Health Help-Seeking in Ethnic Minority Populations}, + SUBTITLE = {A Theoretical Perspective}, + HOWPUBLISHED = {Unpublished submitted for publication}, + YEAR = {2008}, +} + +% (APA 7.09 Example 60) +% Have to trick BibTeX into thinking there is a title so you can add a TITLEADDON +@UNPUBLISHED{7.09:60, + AUTHOR = {F. Bordi and J. E. LeDoux}, + TITLE = {{}}, + TITLEADDON = {Auditory Response Latencies in Rat Auditory Cortex}, + HOWPUBLISHED = {Unpublished raw data}, + YEAR = {1993}, +} + +% (APA 7.09 Example 61) +@UNPUBLISHED{7.09:61a, + AUTHOR = {S. D. Mitchell}, + TITLE = {The Import of Uncertainty}, + YEAR = {2000}, + URL = {http://philsci-archive.pitt.edu/archive/00000162/} +} + +@ARTICLE{7.09:61b, + AUTHOR = {S. D. Mitchell}, + TITLE = {The Import of Uncertainty}, + JOURNALTITLE = {The Pluralist}, + VOLUME = {2}, + NUMBER = {1}, + PAGES = {58--71}, + YEAR = {2007}, +} + + +% (APA 7.09 Example 62) +@UNPUBLISHED{7.09:62, + AUTHOR = {K. Kubota}, + TITLE = {{"}{S}oaking{"} Model for Learning}, + SUBTITLE = {Analyzing {J}apanese Learning/Teaching Process from a Socio-Historical Perspective}, + YEAR = {2007}, + EPRINTTYPE = {ERIC database}, + EPRINT = {ED498566} +} + +% (APA 7.10 Example 63) +% Note that this example is inconsistent in the APA 6th Edition (2nd printing) manual +% with example 7.10:65. They differ in that 7.10:63 has a comma before the location +% and 7.10:65 has a period. I have chosen a period for consistency. +@LETTER{7.10:63, + AUTHOR = {L. K. Frank}, + TITLE = {Letter to {R}obert {M}. {O}gden}, + INSTITUTION = {Rockerfeller Archive Center}, + NUMBER = {GEB series 1.3, Box 371, Folder 3877}, + LOCATION = {Tarrytown, NY}, + DATE = {1935-02-04}, +} + +% (APA 7.10 Example 64) +@LETTER{7.10:64, + AUTHOR = {G. P. Zacharius}, + TITLE = {Letter to {W}illiam {R}ickel ({W}. {R}ickel, {T}rans.)}, + DATE = {1935-08-15}, + NOTE = {Copy in possession of Hendrika Vande Kemp} +} + +% (APA 7.10 Example 65) +% ENTRYSUBTYPE is "collection" for a collection of letters +@LETTER{7.10:65, + ENTRYSUBTYPE = {collection}, + AUTHOR = {G. W. Allport}, + TITLE = {Correspondence}, + DATE = {1930/1967}, + INSTITUTION = {Gordon W. Allport Papers}, + NUMBER = {HUG 4118.10}, + LOCATION = {{Harvard University Archives, Cambridge}, MA}, +} + +% (APA 7.10 Example 66) +@UNPUBLISHED{7.10:66, + AUTHOR = {A. Berliner}, + TITLE = {Notes for a Lecture on Reminiscences of {W}undt and {L}epizig}, + YEAR = {1959}, + HOWPUBLISHED = {Anna Berliner Memoirs (Box M50)}, + LOCATION = {{Archives of the History of American Psychology, University of Akron, Akron}, OH} +} + +% (APA 7.10 Example 67) +% Have to use USERE to specifiy the "known" status of the AUTHOR and/or DATE. +% Defined types are "unkauth" for doubtful AUTHOR, "unkdate" for doubtful date, +% "unkauthdate" for both doubtful. +@UNPUBLISHED{7.10:67, + USERE = {unkauthdate}, + AUTHOR = {A. Allport}, + TITLE = {Marion {T}aylor Today---By the Biographer}, + YEAR = {1937}, + HOWPUBLISHED = {Unpublished manuscript, Marion Taylor Papers}, + LOCATION = {{Schlesinger Library, Radcliffe College, Cambridge}, MA} +} + +% (APA 7.10 Example 68) +@UNPUBLISHED{7.10:68, + AUTHOR = {{Subcommitee on Mental Hygiene Personnel in School Programs}}, + TITLE = {{Meeting of Subcommittee on Mental Hygiene Personnel in School Programs}}, + HOWPUBLISHED = {David Chakow Papers (M1360)}, + LOCATION = {{Archives of the History of American Psychology, University of Akron, Akron}, OH}, + DATE = {1949-11-05/1949-11-06} +} + +% (APA 7.10 Example 69) +@MISC{7.10:69, + AUTHOR = {M. B. Smith}, + TITLE = {Interview by {C}. {A}. {K}iesler}, + ENTRYSUBTYPE = {Tape Recording}, + HOWPUBLISHED = {President's Oral History Project, American Psychological Association}, + LOCATION = {APA Archives, Washington, DC}, + DATE = {1989-08-12}, +} + +% (APA 7.10 Example 70) +% Note that this example is inconsistent in the APA 6th Edition (2nd printing) manual +% with example 7.10:69. They differ in that 7.10:69 has a period before the location +% and 7.10:70 has a comma. I have chosen a period for consistency. +@UNPUBLISHED{7.10:70, + AUTHOR = {C. F. Sparkman}, + TITLE = {An Oral History with {D}r. {C}olley {F}. {S}parkman/{I}nterviewer: {O}rley {B}. {C}audill}, + HOWPUBLISHED = {Mississippi Oral History Program (Vol. 289)}, + LOCATION = {University of Southern Mississippi, Hattiesburg}, + DATE = {1973} +} + +% (APA 7.10 Example 71) +@MISC{7.10:71, + TITLE = {Psychoanalysis Institute to Open}, + ENTRYSUBTYPE = {Clipping from an unidentified Dayton, OH newspaper}, + DATE = {1948-09-18}, + NOTE = {Copy in possession of author} +} + +% (APA 7.10 Example 72) +@UNPUBLISHED{7.10:72, + AUTHOR = {{Sci-Art Publishers}}, + TITLE = {Sci-{A}rt {P}ublications}, + TITLEADDON = {Brochure}, + HOWPUBLISHED = {Cambridge, MA: Author. A. A. Roback Papers (HUGFP 104.50, Box2, Folder {"}Miscellaneous Psychological Materials{"})}, + LOCATION = {Harvard University Archives, Cambridge, MA}, + DATE = {1935} +} + +% (APA 7.10 Example 73) +% Use USERE to specifiy the "known" status of the AUTHOR and/or DATE (see Example 67) +% Note that this example is inconsistent in the APA 6th Edition (2nd printing) manual +% with example 7.10:67. They differ in that 7.10:67 has brackets around the approximate +% date and 7.10:73 has parenthesis. I have chosen brackets for consistency. +% Use USERD as "description" to indicate that the title is a description and not a real +% title +@MISC{7.10:73, + USERE = {unkdate}, + USERD = {description}, + TITLE = {{Photographs of Robert M. Yerkes}}, + DATE = {1917/1954}, + HOWPUBLISHED = {Robert Mearns Yerkes Papers (Box 137, Folder 2292)}, + LOCATION = {{Manuscripts and Archives, Yale University Library, New Haven}, CT} +} + +% (APA 7.11 Example 74) +@ONLINE{7.11:74, + ENTRYSUBTYPE = {Online forum comment}, + AUTHOR = {T. Rampersad}, + TITLE = {Re: {T}raditional Knowledge and Traditional Cultural Expressions}, + DATE = {2005-06-08}, + URL = {http://www.wipo.int/roller/comments/ipisforum/Weblog/theme_eight_how_can_cultural#comments}, +} + +% (APA 7.11 Example 75) +@ONLINE{7.11:75, + ENTRYSUBTYPE = {Electronic mailing list message}, + AUTHOR = {S. Smith}, + TITLE = {Re: {D}isputed Estimates of {IQ}}, + DATE = {2006-01-05}, + URL = {http://tech.groups.yahoo.com/group/ForensicNetwork/message/670}, +} + +% (APA 7.11 Example 76) +@ONLINE{7.11:76a, + ENTRYSUBTYPE = {Web log post}, + AUTHOR = {{PZ Myers}}, + TITLE = {The Unfortunate Prerequisites and Consequences of Partitioning Your Mind}, + DATE = {2007-01-22}, + URL = {http://scienceblogs.com/pharyngula/2007/01/the_unfortunate_prerequisites.php}, +} + +@ONLINE{7.11:76b, + ENTRYSUBTYPE = {Web log comment}, + AUTHOR = {MiddleKid}, + TITLE = {Re: {T}he Unfortunate Prerequisites and Consequences of Partitioning Your Mind}, + DATE = {2007-01-22}, + URL = {http://scienceblogs.com/pharyngula/2007/01/the_unfortunate_prerequisites.php}, +} + +% (APA 7.11 Example 77) +@ONLINE{7.11:77, + ENTRYSUBTYPE = {Video file}, + AUTHOR = {R. Norton}, + TITLE = {How to Train a Cat to Operate a Light Switch}, + DATE = {2006-11-04}, + URL = {http://www.youtube.com/watch?v=Vja83KLQXZs}, +} + +% (APA A7.07) +@PATENT{A7.07, + AUTHOR = {I. M. Smith}, + TITLE = {{U}.{S}. {P}atent {N}o. 123,445}, + DATE = {1998}, + LOCATION = {Washington, DC}, + PUBLISHER = {U.S. Patent and Trademark Office} +} diff --git a/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test.pdf b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test.pdf Binary files differnew file mode 100644 index 00000000000..bbb9a767f7c --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test.tex b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test.tex new file mode 100644 index 00000000000..2355a5d85c0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa-test.tex @@ -0,0 +1,262 @@ +\documentclass{article} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[american]{babel} +\usepackage{csquotes} +\usepackage{shortvrb} +\usepackage{ifthen} +\usepackage{color} +\usepackage{MnSymbol} +\MakeShortVerb{\|} + +% Biblatex +\usepackage[style=apa,% + bibencoding=inputenc,% + uniquename=false]{biblatex} + +\newcommand\apa[2][]{\ifthenelse{\equal{#1}{}}% + {\textcolor{blue}{\texttt{(APA #2)}}}% + {\textcolor{blue}{\texttt{(APA #2 Example #1)}}}} + +\setlength{\parskip}{3ex} +\bibliography{biblatex-apa-test-citations,biblatex-apa-test-references} + +\def\apaex#1{\hbox{\hspace{-4em}\texttt{\small \detokenize{#1}}}\\ $\rcurvearrowse$ \textbf{#1}} +\def\apaexs#1{\hbox{\texttt{\footnotesize \detokenize{#1}}} \textbf{\small #1}} + +% This just makes it easier to find a specific (APA 7.x) example in the +% typeset references section +\reversemarginpar +\renewbibmacro*{begentry}{\marginpar{\footnotesize \textcolor{blue}{\thefield{entrykey}}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%% END PREAMBLE %%%%%%%%%%%%%%%%%%%%%%%%% +\DeclareLanguageMapping{american}{american-apa} + +\begin{document} + +\section*{|biblatex-apa| style examples} + +This file typesets just about all useful examples from +\apa{6.11}--\apa{6.21} and \apa{7.01}--\apa{7.11}. Please refer to the +|biblatex-apa-test-references.bib| file for details on the references +entries. The |.bib| key for each entry in the References section is listed +for convenience in the left margin. The keys are not arbitrary and consist +of the APA section they are taken from (7.01--7.11), followed by a colon, +followed by the example number. This makes it easier to cross-reference +the typeset examples with the commented |.bib| file. I chose not to put the +examples in the References section in example number order so that the APA +requirements for References list alphabetisation and order could also be +demonstrated. + +\section*{Citations} + +\noindent Please see accompanying file |biblatex-apa-test-citations.bib| +for the bibliographic entries which these examples use. + +\noindent\apa{6.11}\\ +Simple cite. ``Jr.'' suffix is not shown (bib entry for this example has a suffix):\\ +\apaex{\textcite{6.11}} + +\noindent Within a paragraph, not in the ``narrative sense'':\\ +\apaex{\parencite{6.11}} + +\noindent To cite the parts separately:\\ +\apaex{\citeyear{6.11}, \citeauthor{6.11}} + +\noindent The per-paragraph rules for elision of years are more flexible in +APA 6th edition. There is more discretion to do this as the narrative +consistency suggests and so this style no longer automatically elides years +aver mention after the first within a paragraph. Cases can be handled as +per the examples above. + +\noindent\apa{6.12} \apa{6.13}\\ +Citations like\\ +\apaex{\textcite{6.12a}}\\ +which have two authors are never name-truncated after the first cite:\\ +\apaex{\textcite{6.12a}} + +\noindent First citation of 3--5 author entry:\\ +\apaex{\textcite{6.12b}} + +\noindent Subsequent first citations in a paragraph:\\ +\apaex{\textcite{6.12b}}\\ +Subsequent citations within a paragraph:\\ +\apaex{\citeauthor{6.12b}} + +\noindent Note that the dropping of the year for subsequent paragraph +citations is not automatic as there may be cases where you don't want to do +this (see APA 6.11). + +\noindent\textcolor{red}{Note: The name list disambiguation required in the + \emph{Exception:} clause here in the APA manual cannot be automated + currently in |biblatex|. This is due to the underlying reliance on the + |bibtex| |.bib| data model. This will change in a future |biblatex| + release. See |biblatex-apa| docs.} + +\noindent Multiple-authors in running text are separated by ``and''. +However, in parenthetical cites, multiple authors are separated by ``\&'':\\ +\apaex{\textcite{6.12e}}\\ +\apaex{\parencite{6.12f}} + +\noindent The following citation should be name truncated on first cite +since it has six or more authors:\\ +\apaex{\textcite{6.12g}} + +\noindent\textcolor{red}{Note: The note above applies to the disambiguation +of entries with six or more names} + +\noindent Now, following the examples in Table 6.1, p. 177 of the APA +manual. Note in the code that typesets these examples, |\citereset| is used +to pretend that the parenthetical examples are the first in the text. + +\begin{center} +\begin{tabular}{lllll} +\textbf{\parbox{2cm}{\center Type of citation}} & \textbf{\parbox{2.4cm}{\center First + citation in text}} & \textbf{\parbox{2.4cm}{\center Subsequent citations in + text}} & \textbf{\parbox{2.4cm}{\center Parenthetical format, first citation + in text}} & \textbf{\parbox{2.4cm}{\center Parenthetical format, subsequent + citations in text}}\\\\ +\hline +\\ +\parbox{2cm}{One work by one author} +& \parbox{2.4cm}{\apaexs{\textcite{6.13a}}} & +\parbox{2.4cm}{\apaexs{\textcite{6.13a}}}\citereset +& \parbox{2.4cm}{\apaexs{\parencite{6.13a}}} +& \parbox{2.4cm}{\apaexs{\parencite{6.13a}}}\\\\ +\parbox{2cm}{One work by two authors} +& \parbox{2.4cm}{\apaexs{\textcite{6.13b}}} & +\parbox{2.4cm}{\apaexs{\textcite{6.13b}}}\citereset +& \parbox{2.4cm}{\apaexs{\parencite{6.13b}}} +& \parbox{2.4cm}{\apaexs{\parencite{6.13b}}}\\\\ +\parbox{2cm}{One work by three authors} +& \parbox{2.4cm}{\apaexs{\textcite{6.13c}}} & +\parbox{2.4cm}{\apaexs{\textcite{6.13c}}}\citereset +& \parbox{2.4cm}{\apaexs{\parencite{6.13c}}} +& \parbox{2.4cm}{\apaexs{\parencite{6.13c}}}\\\\ +\parbox{2cm}{One work by four authors} +& \parbox{2.4cm}{\apaexs{\textcite{6.13d}}} & +\parbox{2.4cm}{\apaexs{\textcite{6.13d}}}\citereset +& \parbox{2.4cm}{\apaexs{\parencite{6.13d}}} +& \parbox{2.4cm}{\apaexs{\parencite{6.13d}}}\\\\ +\parbox{2cm}{One work by five authors} +& \parbox{2.4cm}{\apaexs{\textcite{6.13e}}} & +\parbox{2.4cm}{\apaexs{\textcite{6.13e}}}\citereset +& \parbox{2.4cm}{\apaexs{\parencite{6.13e}}} +& \parbox{2.4cm}{\apaexs{\parencite{6.13e}}}\\\\ +\parbox{2cm}{One work by six authors} +& \parbox{2.4cm}{\apaexs{\textcite{6.13f}}} & +\parbox{2.4cm}{\apaexs{\textcite{6.13f}}}\citereset +& \parbox{2.4cm}{\apaexs{\parencite{6.13f}}} +& \parbox{2.4cm}{\apaexs{\parencite{6.13f}}}\\\\ +\parbox{2cm}{Groups (readily identified through abbreviation) as authors} +& \parbox{2.4cm}{\apaexs{\textcite{6.13g}}} & +\parbox{2.4cm}{\apaexs{\textcite{6.13g}}}\citereset +& \parbox{2.4cm}{\apaexs{\parencite{6.13g}}} +& \parbox{2.4cm}{\apaexs{\parencite{6.13g}}}\\\\ +\parbox{2cm}{Groups (no abbreviation) as authors} +& \parbox{2.4cm}{\apaexs{\textcite{6.13h}}} & +\parbox{2.4cm}{\apaexs{\textcite{6.13h}}}\citereset +& \parbox{2.4cm}{\apaexs{\parencite{6.13h}}} +& \parbox{2.4cm}{\apaexs{\parencite{6.13h}}}\\\\ +\hline +\end{tabular} +\end{center} + +\noindent\apa{6.14}\\ +Citations of an entry with an author who shares a +surname with another entry always appears with initials:\\ +\apaex{\textcite{6.14}}\\ +and\\ +\apaex{\textcite{7.01:3b}}\\\\ +\textcolor{red}{Note: The second citation key here is taken from the APA + references section as it is repeated there. This example is currently impossible to automate as + it is, due to the nature of name list parsing in BibTeX. Disambiguation + works between single names and not names within lists at the moment. See + |biblatex-apa| docs. This is planned to be fully supported with |biblatex| + 2.x which should include the necessary underlying functionality}. + +\noindent\apa{6.15}\\ +Use |SHORTTITLE| field of the entry if it exists:\\ +\apaex{\parencite{6.15a}}\\ +Books, reports etc. use italics instead of quotes:\\ +\apaex{\textcite{6.15b}} +Citing anonymous author:\\ +\apaex{\textcite{6.15c}} + +\noindent\apa{6.16}\\ +Two or more works withing the same parentheses:\\ +\apaex{\parencite{6.16a,6.16b}}\\ +\apaex{\parencite{6.16c,6.16d,6.16e}} + +\noindent Citations of works by same authors in the same year:\\ +\apaex{\parencite{6.16f,6.16g,6.16h,6.16i,6.16j}}\\\\ +\textcolor{red}{Note: This example, (p. 178 APA Manual 6th edition, 2nd + printing) is slightly odd as the ``in-press-a'' is not indicated and + should be ``in-press'' since no other in press items are listed for the + same authors in the example.} + +\noindent Compact citations in alphabetic order:\\ +\apaex{\parencite{6.16k,6.16l}} + +\noindent Compact citations with special order:\\ +\apaex{\parencites{6.16m}[see also][]{6.16n,6.16o}} + +\noindent\apa{6.17}\\ +Secondary sources:\\ +\apaex{\parencite[as cited in][]{6.17}}\\ + +\noindent\apa{6.18}\\ +Classical works:\\ +\apaex{(\citeauthor{6.18a}, trans. \citeyear{6.18a})}\\ +\textcolor{red}{Note: The example is managed using lower-level cite + commands. This is another example of the APA not really thinking about + automated processing and specifying an anomalous infix format. It would + be better and probably acceptable for it to be:}\\ +\apaex{\parencite[][trans.]{6.18a}}\\\\ +Entries with an |ORIGYEAR| field will automatically use it:\\ +\apaex{\textcite{6.18b}}\\\\ +The other examples of standard classical texts in this section should just +be typed by hand--there is little benefit to automating these examples and +they wouldn't usually be in the References section anyway. + +\noindent\apa{6.19}\\ +These examples are easily dealt with using standard |biblatex| functionality.\\ +\apaex{\parencite[][10]{6.19a}}\\ +\apaex{\parencite[][Chapter 3]{6.19b}}\\ + +\noindent\apa{6.20}\\ +Such cases are just typed out--they have no Reference section entry and +don't therefore have a bibliography database entry. + +\noindent\apa{6.21}\\ +Within parentheses, use the |\nptextcite| command which is equivalent to +the |\textcite| command but omits the parenthesis and uses commas instead. +See the |biblatex-apa| docs.\\ +\apaex{(\nptextcite[see Table 3 of][]{6.21} for complete data)} + +\noindent\apa{A7.07}\\ +A patent citation uses the title but with no quotes\\ +\apaex{\textcite{A7.07}}\\ +\apaex{\parencite{A7.07}} + +\newpage +\nocite{*} +% Exclude the citation examples from the References section - only want to +% see (APA 7.x) examples there. +\printbibliography[notkeyword=noinclude] +\end{document} + + + + + + + + + + + + + + + diff --git a/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa.pdf b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa.pdf Binary files differnew file mode 100644 index 00000000000..ccaec66898e --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa.tex b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa.tex new file mode 100644 index 00000000000..5951fd29281 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-apa/biblatex-apa.tex @@ -0,0 +1,377 @@ +% $Id$ +\documentclass{ltxdockit} +\usepackage[utf8]{inputenc} +\usepackage[british]{babel} +\usepackage[strict,babel=once]{csquotes} +\usepackage{shortvrb} +\usepackage{ifthen} +\MakeAutoQuote{«}{»} +\MakeShortVerb{\|} + +\newcommand\apa[2][]{\ifthenelse{\equal{#1}{}}% + {\texttt{(APA #2)}}% + {\texttt{(APA #2 Example #1)}}} + + +\titlepage{% + title={APA \sty{biblatex} style}, + subtitle={Citation and References macros for \sty{biblatex}}, + url={http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib/biblatex-apa/}, + author={Philip Kime}, + email={Philip@kime.org.uk}, + revision={0.9}, + date={\today}} + +\hypersetup{% + pdftitle={APA \sty{biblatex} style}, + pdfsubject={APA Citation and References macros for \sty{biblatex}}, + pdfauthor={Philip Kime}, + pdfkeywords={latex, biblatex, APA, style}} + +\begin{document} + +\printtitlepage +\tableofcontents + +\section{Introduction} +\label{int} + +\subsection{About} + +This package is a \sty{biblatex} style for APA (American Psychological +Association) style compliant documents typeset in \latex. It implements a +citation style (\path{apa.cbx}), a references section style +(\path{apa.bbx}) and string localisation files (\path{<language>-apa.lbx}). +Currently there are only string localisations for a few languages---if you can help with any other languages, please mail me; the +localisation |.lbx| files are very small and simple and it would be a small +translation task for the few APA-specific strings needed. +The styles are loaded just like any other \sty{biblatex} styles but I +wouldn't try to use the citation and references styles separately as they +rely on each other, macro-wise, in places. + +In this document and in the code, the specific APA requirements are +referred to by the section and (if appropriate) the example number of the +APA Style Guide (5th Edition). + +\subsection{Requirements}\label{ref:req} + +You will need to be using \sty{csquotes} ($\geq$ 4.3) and \sty{biblatex} +($\geq$ 0.9). If you want to take advantage of the \sty{biblatex} +|\DeclareQuotePunctuation| facility to enforce the APA required «American» +punctuation, you should normally use the \sty{babel} package with the «american» +option (see \sty{biblatex} manual section |3.9.1|). You can of course use +other languages but in such cases, to adhere to APA «American» punctuation +rules (following commas moved inside closing quotes etc.), then you should +set up |\DeclareQuotePunctuation| yourself as per section |4.6.5| of the +\sty{biblatex} manual. + +If you are using the |apa.cls| \latex class, you need be using version +$\geq$ 1.3.4. The class should be invoked with the |noapacite| class option +as per the |apa.cls| documentation. Without this class option, the +|apa.cls| class will automatically try to use plain \bibtex with the +|apacite| style which is completely incompatible with \sty{biblatex}. + +\subsection{License} + +Permission is granted to copy, distribute and/or modify this software under +the terms of the \latex Project Public License, version +1.3c\footnote{\url{http://www.latex-project.org/lppl.txt}}. The current +maintainer is Philip Kime (\textcopyright\ 2010). + +\subsection{History} + +When I started using \sty{biblatex}, I assumed there would be an APA style +when I went looking. I was wrong. I started to try to make one and realised +why there was none. The APA style manual is enormous; the citation and +references specifications run to about 60 pages and are very specific in +terms of formatting. They are also not entirely consistent but then again, +it is rare to have such a thorough specification to work from. There are +some parts of the requirements which are impossible to automatically +satisfy given the current reliance of \sty{biblatex} (as of version +\texttt{0.8}) on \bibtex . These limitations are described below. + +\subsection{Acknowledgments} + +I wished I could acknowledge someone as then this wouldn't have been such a +huge piece of work \ldots\ thanks to Philipp Lehman for \sty{biblatex} which +really has been a major advance over pure \bibtex. + +\section{Use}\label{ref:use} +\label{use} +Put the \path{.cbx}, \path{.bbx} and \path{.lbx} files in your texmf tree, usually:\\ + +\noindent\path{<texmf>/tex/latex/biblatex/cbx/apa.cbx}\\ +\path{<texmf>/tex/latex/biblatex/bbx/apa.bbx}\\ +\path{<texmf>/tex/latex/biblatex/lbx/<language>-apa.lbx}\\ + +\noindent Specify the style in the usual way when loading \sty{biblatex}. + +\begin{ltxcode} +\usepackage[american]{babel} +\usepackage{csquotes} +\usepackage[style=apa]{biblatex} +\DeclareLanguageMapping{american}{american-apa} +\end{ltxcode} + +\noindent Note that the APA manual requires the forcing of titles into +«sentence case», that is, initial cap followed by lower case for sentence +units, with the exception of names and material from languages which do not +follow English capitalisation. As of version 0.8a, \sty{biblatex} has a +|\MakeSentenceCase| macro which deals with this. So, in the traditional +\bibtex way, capitalise correctly in the |.bib| file, protecting names etc. +with the usual brace pairs and the style will take care of forcing the +APA-style sentence case in the References section. Unlike the References +section, titles in citations in the APA style appear in normal case and the +style will ensure this too. + +\subsection{Localisation} + +Localisation is provided for APA-specific strings in the accompanying +|.lbx| files. To use these files, put an appropriate mapping in your +document preamble, after loading \sty{biblatex}. + +Normal use will invoke babel with the «american» babel language. After +loading babel and biblatex, put this in the preamble (see full preamble +example in section \ref{ref:use} above): + +\begin{ltxcode} +\DeclareLanguageMapping{american}{american-apa} +\end{ltxcode} + +The APA manual does not mention nor sanction any non «American» English +strings but it is quite common for non-English journals to ask for APA style +bibliographies and so this must be supported. + +Here is an example to load the German localisation strings. This assumes +that you are using the \sty{babel} package with the appropriate language +option: + +\begin{ltxcode} +\DeclareLanguageMapping{german}{german-apa} +\end{ltxcode} + +This loads the |german-apa.lbx| file which in turn, loads the |german.lbx| +file and augments it with APA-specific strings. If you are not using the +babel «american» option, they you may need to set up the +|\DeclareQuotePunctuation| option as mentioned in section \ref{ref:req} above. +You would only need to do this if, for some strange reason, a non-american +journal required the (rather horrible) american practice of moving final +punctuation marks inside closing quotes. + +\subsubsection{Date formats} + +Obviously, an American style uses month/day/year formats. European formats +are usually day/month/year. The APA style dictates long date formats and so +this is not really apparent in the bibliography. There is an APA standard +for long date formats which may not be correct for European journals using +roughly APA formatting standards (German journals tend to have a different +long date format, for example). The «american» babel option will give you +APA compliant US date formats. + +\subsection{Limitations} +\label{use:limit} +There are certain limitations you need to bear in mind when using these +styles. The APA manual is written without much regard for automation of +citation and references processing---it just tells you how it wants things to +look and the implicit assumption is that you would type out everything by +hand if necessary. Having said that, the vast majority of the APA citation +and references style is implemented, there are just a few exceptions which +are either hardly worth the coding pain for such rare cases or which are +impossible due to \sty{biblatex} limitations. It is likely that with future +\sty{biblatex} versions some or indeed all of these limitations may be +lifted but that's not likely until after \sty{biblatex} version +\texttt{1.0}, according to the |biblatex| author Philipp Lehman. + +\subsubsection{maxnames/minnames} + +You can't reset these |biblatex| options in your document--you'll get a +message about conflicting options. These are set to ``999'' in |apa.bbx| +because of the tricky requirements for APA name list truncation. The +truncation is then done in the author list code rather than by using these +options. Sorry. This will be changed when |biblatex| moves to using |biber| +as a backend with a more sophisticated data model. + +\subsubsection{Citation Limitations} + +\begin{itemize} +\item \apa{6.14} Disambiguation of truncated author name lists. This is + currently impossible to automate via a \sty{biblatex} style. The + \sty{maxnames} and \sty{minnames} options of \sty{biblatex} only serve to + specify the truncation limits but do not disambiguate name lists which + truncate to the same string. This cannot be reliably done in the style + since it would need to build a backwards and forward list of identical + truncations and map these onto the internal \sty{fullhash} field of + \sty{biblatex} in order to determine which truncations need + disambiguating. Since there is no way of knowing, when you truncate + something, whether something later in the document would have the same + truncation (without \path{.aux} file support anyway), this is not really + possible. It's also further complicated by the fact that \bibtex doesn't + really support name lists in a way which would make this possible and + since the main name list processing is done in \sty{biblatex} by \bibtex + still, there isn't much that can be done about this at the moment until + \sty{biblatex} moves to using something other than \bibtex for its data. + See the following Usenet thread:\\ + + \url{http://groups.google.com/group/comp.text.tex/browse_thread/thread/f3c50d7065159ad4#}\\ + + A related issue is that the \sty{uniquename} option doesn't work in lists + of authors, again because all the name processing is done by \bibtex. + Currently, \sty{biblatex} disambiguates non-unique names in lists by + using the \sty{labelyear} mechanisms which is against APA style (and most + styles since this is supposed to disambiguate same author(s)/different + year situations) but there's nothing really that can be done about it at + the moment. Thankfully, these two problems are not that common and only + occur when you have long lists of authors which share many members with + variations in initials etc. +\end{itemize} + +\subsubsection{Reference Section Limitations} + +\begin{description} +\item\apa{6.27} Can't deal yet with authors listed as «with». +\end{description} + +\section{Details} + +The detailed information for this style is contained in the example document and +accompanying \path{.bib} files: +\begin{description} +\item[\path{biblatex-apa.tex}] This document. +\item[\path{biblatex-apa-test.tex}]\footnote{\path{biblatex-apa-test.pdf} + is also provided and is the typeset version of this \latex source + file.} This document typesets just about every useful example from + \apa{6.11}--\apa{6.21} and \apa{7.01}--\apa{7.11}. The examples in it + aim to look as much like the APA manual examples as possible. All + citation examples in the document are real examples using a \path{.bib} + file. +\item[\path{biblatex-apa-test-citations.bib}] This contains the \path{.bib} + entries for the citations examples. You won't find anything of interest + in this file---it's just used to provide real data for the citation + examples. +\item[\path{biblatex-apa-test-references.bib}] This contains the + \path{.bib} entries for all of the examples in \apa{7.x}. This file is + the main documentation for the |biblatex-apa| implementation of the APA + References section style. To see how the style deals with a particular + example from \apa{7.x}, look it up in here. Every example is marked with + the APA example number and has explanatory notes. +\item[\path{biblatex-apa.cbx}] The |biblatex-apa| citations style. It is + decently structured with comments but shouldn't need to be read for + normal use. +\item[\path{biblatex-apa.bbx}] The |biblatex-apa| references style. It is + decently structured with comments but shouldn't need to be read for + normal use. +\end{description} + +\subsection{Citations} + +\apa{6.13} requires that there should be no parentheses around the year of +the citation when the citation itself occurs within parenthesis. This would +be really too much to completely automate as it is within the remit of a +citation style since it requires knowledge of the current typesetting +state. So, the new citation command + +\begin{ltxsyntax} +\cmditem{nptextcite}[prenote][postnote]{key}<punctuation> +\end{ltxsyntax} + +\noindent is provided for such situations. It is identical to |\textcite| +but does not put parentheses around the year and separates items with +commas. See examples using this command in \path{biblatex-apa-test.tex}. + +\subsection{References} + +The references style was based on the \sty{biblatex} default +|authoryear-comp| style but is so heavily modified, it's almost +unrecognisable. Some general notes: +\begin{itemize} +\setlength{\itemsep}{0pt} +\item There are occasions where there is no sensible \path{.bib} key to + use. This applies to things like |AUDIO| and |VIDEO| entries mainly. The + format of these requires that different roles (Director, Producer etc.) + are separately specified for different names. This is not really possible + for the usual |AUTHOR| or |EDITOR| fields (again, another limitation of + \bibtex, see \ref{use:limit} above). In such cases, I have resorted to + the \sty{biblatex} custom |NAME| and |NAMETYPE| fields which are not very + portable but until \bibtex is replaced by something more flexible, there + is no way round this without making things very messy. +\item APA style sometimes refers to the «series» of a multi-volume work. + This corresponds to the |MAINTITLE| field in the \path{.bib} and + \emph{not} the |SERIES| field. +\item |VOLUME|, |NUMBER| and |CHAPTER| are forced into arabic numerals if + they are given as roman numerals, as required by \apa{6.22}. +\item |USERD| is sometimes used to specify information that indicates + special formatting. Not very portable but that's because of |bibtex| data + model limtations. +\item |USERE| is sometimes used to specify questionable dates/authors for + special formatting. Not very portable but that's because of |bibtex| data + model limtations. +\end{itemize} + +\section{Revision history} + +\begin{changelog} + +\begin{release}{0.9}{2010-03-08} +\item Update for APA manual 6th edition and |biblatex| 0.9 +\end{release} + +\begin{release}{0.8}{2010-02-15} +\item Fixed bug with spaces after nptextcite +\item Updated for |biblatex| 0.9 +\end{release} + +\begin{release}{0.7}{2010-01-20} +\item Made hyperref links more consistent, using the whole citation and not + just the year. +\end{release} + +\begin{release}{0.6}{2009-11-20} +\item Corrected two bugs in |cite| macro which left a trailing space after + multiple cites and actually cited the year twice for multiple cite + commands in some circumstances. +\item Corrected bug where |\textcite| would leave a stray open bracket on + the stack when year was suppressed withing a paragraph. +\end{release} + +\begin{release}{0.5}{2009-09-19} +\item Replaced literal string with localised form in url macro. +\item Moved localisation strings into \sty{.lbx} files. +\item |\DeclareLanguageMapping| is now needed in preamble. +\item Moved |\DeclareBibliographyExtras| into \sty{.lbx} files. +\item Some support for alternative localised date formats. +\item Fixed slant/italic font problem since the |\mkbibemph| macro had + changed in \sty{biblatex} 0.8e. +\item Fixed |liststop| error which was preventing name lists with two + entries from having the comma before the ampersand. +\end{release} + +\begin{release}{0.4}{2009-07-24} +\item Fixed bug where multiple year ranges were not displayed properly. +\item Updated to remove pre-\sty{biblatex} 0.8e macros error. +\end{release} + +\begin{release}{0.3}{2008-12-21} +\item Updated to use new fields (|EVENTTITLE|) and new options + (|usetranslator|) from \sty{biblatex} 0.8b. +\end{release} + +\begin{release}{0.2}{2008-12-06} +\item Added |noremoteinfo| option). +\item Fixed bbx bug with more than 7 authors still printing names after «et al». Was + due to resetting maxnames to 999. +\item Removed the customised (hacked) |apa-biblatex.cls| class from the package as + |apa.cls| version 1.3.4 is compatible with \sty{biblatex}. +\item Altered documentation about requiring the «american» babel option. + This is not required if you set up |\DeclareQuotePunctuation| yourself. +\item Added minimum required version of \sty{csquotes}. +\item Minor doc tweaks. +\end{release} + +\begin{release}{0.1}{2008-12-01} +\item Initial release +\end{release} + + + +\end{changelog} +\end{document} diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/american-apa.lbx b/Master/texmf-dist/tex/latex/biblatex-apa/american-apa.lbx new file mode 100644 index 00000000000..b25c394e5f3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-apa/american-apa.lbx @@ -0,0 +1,89 @@ +\ProvidesFile{american-apa.lbx} +\InheritBibliographyExtras{american} + +% (APA 6.22) The example abbreviations + +\NewBibliographyString{revisededition} +\NewBibliographyString{typechair} +\NewBibliographyString{typechairs} +\NewBibliographyString{typevolume} +\NewBibliographyString{typevolumes} +\NewBibliographyString{typeseries} +\NewBibliographyString{typeseriess} +\NewBibliographyString{typevolseries} +\NewBibliographyString{typevolseriess} +\NewBibliographyString{on} +\NewBibliographyString{retrieved} +\NewBibliographyString{available} +\NewBibliographyString{from} +\NewBibliographyString{nodate} +\NewBibliographyString{archivedat} +\NewBibliographyString{origyear} +\NewBibliographyString{reviewof} + +\DeclareBibliographyStrings{% + inherit = {american}, + revisededition = {{Revised\space Edition}{rev\adddotspace ed\adddot}}, + page = {{Page}{{}p\adddot}}, + pages = {{Pages}{{}pp\adddot}}, + on = {{on}{on}}, + retrieved = {{retrieved}{retrieved}}, + available = {{available}{available}}, + from = {{from}{from}}, + archivedat = {{archived\space at}{archived\space at}}, + nodate = {{no\space date}{{}n\adddot d\adddot}}, + reviewof = {{Review\space of}{review\space of}}, + paragraph = {{\P}{\P}}, + paragraphs = {{\P\P}{\P\P}}, + january = {{January}{January}}, + february = {{February}{February}}, + march = {{March}{March}}, + april = {{April}{April}}, + may = {{May}{May}}, + june = {{June}{June}}, + july = {{July}{July}}, + august = {{August}{August}}, + september = {{September}{September}}, + october = {{October}{October}}, + november = {{November}{November}}, + december = {{December}{December}}, + origyear = {{original\space work\space published}{original\space work\space published}}, + typechair = {{Chair}{Chair}}, + typechairs = {{Chairs}{Chairs}}, + typevolume = {{Volume\space Editor}{Vol\adddot\space Ed\adddot}}, + typevolumes = {{Volume\space Editors}{Vol\adddot\space Eds\adddot}}, + typeseries = {{Series\space Editor}{Series\space Ed\adddot}}, + typeseriess = {{Series\space Editors}{Series\space Eds\adddot}}, + typevolseries = {{Series\space and\space Volume\space Editor}{Series\space\& Vol\adddot\space Ed\adddot}}, + typevolseriess = {{Series\space and\space Volume\space Editors}{Series\space\& Vol\adddot\space Eds\adddot}}, +} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.10 Example 68) Drop end* when they are the same as * + +\DefineBibliographyExtras{american}{% + \protected\def\mkbibdatelong#1#2#3{% + \iffieldundef{#1} + {} + {\ifthenelse{\equal{#1}{endyear}\AND\iffieldsequal{year}{endyear}} + {} + {\thefield{#1},\space}}% + \iffieldundef{#2} + {} + {\ifthenelse{\equal{#2}{endmonth}\AND\iffieldsequal{month}{endmonth}} + {} + {\mkbibmonth{\thefield{#2}}\addspace}% + \iffieldundef{#3} + {} + {\ifthenelse{\equal{#3}{endday}\AND\iffieldsequal{day}{endday}} + {} + {\stripzeros{\thefield{#3}}}}}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/apa.bbx b/Master/texmf-dist/tex/latex/biblatex-apa/apa.bbx new file mode 100644 index 00000000000..2192505ccf1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-apa/apa.bbx @@ -0,0 +1,1683 @@ +%% apa.bbx +%% Copyright 2010 Philip Kime +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Philip Kime. +%% +%% This work consists of the files: +%% +%% apa.cbx (biblatex citation style) +%% apa.bbx (biblatex references style) +%% *.lbx (localisation files for APA-specific strings) +%% biblatex-apa.pdf (Style documentation) +%% biblatex-apa.tex (Style documentation source) +%% biblatex-apa-test.pdf (Style examples) +%% biblatex-apa-test.tex (Style examples source) +%% biblatex-apa-test-citations.bib (Style examples - citations) +%% biblatex-apa-test-references.bib (Style examples - references) + +\ProvidesFile{apa.bbx} + +\RequireBibliographyStyle{standard} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.22) Force roman numerals into arabic +% using etoolbox macros + +\newcommand{\apanum}[1]{\ifrmnum{#1}{\rmntonum{#1}}{#1}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% APA does not seem to differentiate between italics and slanted fonts. +% All examples in the APA manual are actually in a slanted font, not +% italic. + +\renewrobustcmd*{\mkbibemph}{\textsl} +\protected\long\def\blx@imc@mkbibemph#1{% + \textsl{#1}\relax + \blx@imc@setpunctfont\textsl} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Apa defines no particular hanging indent but this makes it look like the +% examples in the style manual. + +\setlength{\bibhang}{2.5em} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 4.16 Example 29) Some DSM macros + +\gdef\apaemph#1{\textsl{#1}} +\gdef\DSMIII{\apaemph{DSM-III}} +\gdef\DSMIIIR{\apaemph{DSM-III-R}} +\gdef\DSMIV{\apaemph{DSM-IV}} +\gdef\DSMIVTR{\apaemph{DSM-IV-TR}} +\gdef\PsycSCAN{\apaemph{PsycSCAN}} +\gdef\PsycARTICLES{\apaemph{PsycARTICLES}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.12) Five author max before "et al" and a one author truncation +% policy. Note that this doesn't really work properly due to +% BibTeX limitations so we effectively disable it with "999" +% and deal with it in the author format below +% (APA 6.x) citation tracking is global +% (APA 6.14) uses initials to disambiguate shared surnames +% (APA 6.16) uses year postfix to disambiguate multiple items in same year +% (APA 6.10) Never reference anything not cited +% (APA 6.25) author initials only +% (APA 6.25) sorting is nyt + +\ExecuteBibliographyOptions{labelyear,% + sorting=nyt,% + pagetracker,% + firstinits=true,% + useprefix=true,% + usetranslator=true,% + uniquename=init,% + citetracker=true,% + maxnames=999,% + minnames=999,% + abbreviate=true,% + mincrossrefs=999,% + alldates=long} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.29) Additional material sometimes goes in parens +% after title. This bool tracks the parens. + +\newbool{bbx:parens} +\AtEveryBibitem{\global\boolfalse{bbx:parens}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.30) Sometimes "Vol" is inside the additional +% material parens, sometimes not. This bool +% tracks if it has been inserted yet. +% Can't use \clearfield{volume} as some +% later number format tests need to know +% whether volume was defined. + +\newbool{bbx:volseen} +\AtEveryBibitem{\global\boolfalse{bbx:volseen}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.27) This bool tracks if the title was put +% in the author position. +% Can't use \clearfield{title} as some +% later punctuation tests need to know +% whether title was defined. + +\newbool{bbx:titleinauthpos} +\AtEveryBibitem{\global\boolfalse{bbx:titleinauthpos}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.27) Need a flag to say when the editor +% is in author position because this +% can effect where the year goes. + +\newbool{bbx:editorinauthpos} +\AtEveryBibitem{\global\boolfalse{bbx:editorinauthpos}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.27) Flag to say whether the "in" has +% been placed already in IN* +% Reset every bibitem. + +\newbool{bbx:in} +\AtEveryBibitem{\global\boolfalse{bbx:in}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Set up some standard APA formats + +\DeclareFieldFormat{volume}{\apanum{#1}} +\DeclareFieldFormat{series}{#1} +\DeclareFieldFormat{chapter}{\bibcpstring{chapter}~\apanum{#1}} +\DeclareFieldFormat{volumes}{\bibcpstring{volumes}~#1} +\DeclareFieldFormat{addendum}{\mkbibparens{#1}} +\DeclareFieldFormat{part}{#1} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.25) Works by the same author have the full author +% name, not an eliding dash. Author is always +% last name first. +% (APA 6.27) Ellipsis in 7th position and then nothing until last +% (APA 7.10 Example 67) Unknown names and dates + +\DeclareNameFormat{apaauthor}{% + \ifthenelse{\value{listcount}=7} + {\addcomma\addspace\ldots} + {\ifthenelse{\value{listcount}>7\AND\value{listcount}<\value{liststop}} + {} + {\ifthenelse{\iffieldequalstr{usere}{unkauth}\OR\iffieldequalstr{usere}{unkauthdate}} + {\mkbibbrackets{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}?}} + {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}}}} + +\renewbibmacro*{author}{% + \ifnameundef{author} + {\usebibmacro{labeltitle}} + {\printnames[apaauthor]{author}% + \setunit*{\addspace}% + \printfield{nameaddon}}% + \newunit\newblock% + \usebibmacro{labelyear+extrayear}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.27) References section delimiters are ampersands, not " and " +% Needs to be in this hook otherwise it sets this for all +% citations too. +% (APA 6.27) Use blank for long lists + +\AtBeginBibliography{\renewcommand*{\finalnamedelim}{% + \ifthenelse{\value{listcount}>7} + {} + {\ifstrequal{\currentlist}{author} + {\ifnum\value{liststop}>1 \finalandcomma\fi\addspace\&\space} + {\ifthenelse{\boolean{bbx:editorinauthpos}} + {\ifnum\value{liststop}>1 \finalandcomma\fi\addspace\&\space} + {\addspace\&\space}}}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.28) Use "(n.d.)." for references with no year. This depends +% on the noyear macros and strings from apa.cbx +% Months and days go into parenthesis with year, if set +% (APA 6.29) Issue goes where month normally goes if it +% is set. + +% Make sure endmonth gets an expansion too +\DeclareFieldFormat{endmonth}{\mkbibmonth{#1}} + +\newbibmacro*{monthorissue}{% + \iffieldundef{issue} + {\iffieldundef{month} + {} + {\addcomma\space\printfield{month}% + \iffieldundef{endmonth}{}{/\printfield{endmonth}}}} + {\addcomma\space\printfield{issue}}} + +\newbibmacro*{labelyear+extrayear}{% + \iffieldundef{labelyear} + {\iffieldundef{origyear} + {\printtext[parens]{\usebibmacro{cite:noyear}}} + {\printtext[yearorunkyear]{\printfield[noformat]{origyear}}}} + {\ifthenelse{\iffieldundef{month}\AND\iffieldundef{issue}} + {\printtext[yearorunkyear]{\printfield{labelyear}\printfield{extrayear}}} + {\iffieldundef{day} + {\printtext[yearorunkyear]{\printfield{labelyear}% + \usebibmacro{monthorissue}}} + {\printtext[parens]{\printdate}}}}} + + +\DeclareFieldFormat{yearorunkyear}{% + \ifthenelse{\iffieldequalstr{usere}{unkdate}\OR\iffieldequalstr{usere}{unkauthdate}} + {\mkbibbrackets{ca\adddot\addspace#1}} + {\mkbibparens{#1}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.29) General format of titles. +% Ugly Chicago-style lowercasing of English titles + +\DeclareFieldFormat{apacase}{\MakeSentenceCase*{#1}} + +\DeclareFieldFormat{issuetitle}{#1\isdot} +\DeclareFieldFormat{title}{\mkbibemph{#1}\isdot} +\DeclareFieldFormat{origtitle}{\mkbibemph{\MakeSentenceCase*{#1}}\isdot} +\DeclareFieldFormat[article]{title}{#1\isdot} +\DeclareFieldFormat[article]{origtitle}{\MakeSentenceCase*{#1}\isdot} +\DeclareFieldFormat[inbook]{title}{#1\isdot} +\DeclareFieldFormat[inbook]{origtitle}{\MakeSentenceCase*{#1}\isdot} +\DeclareFieldFormat[incollection]{title}{#1\isdot} +\DeclareFieldFormat[incollection]{origtitle}{\MakeSentenceCase*{#1}\isdot} +\DeclareFieldFormat[inproceedings]{title}{#1\isdot} +\DeclareFieldFormat[inproceedings]{origtitle}{\MakeSentenceCase*{#1}\isdot} +\DeclareFieldFormat[proceedings]{title}{#1\isdot} +\DeclareFieldFormat[proceedings]{origtitle}{\MakeSentenceCase*{#1}\isdot} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.01 Example 10) Articles that aren't newspapers don't have +% prefix for pages. + +\DeclareFieldFormat[article]{pages}{\iffieldequalstr{entrysubtype}{newspaper} + {\mkpageprefix{#1}} + {#1}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.29) Additional {main}title information in brackets (using) +% {MAIN}TITLEADDON field. Colon after maintitle. + +\DeclareFieldFormat{titleaddon}{\mkbibbrackets{\MakeSentenceCase*{#1}}} +\DeclareFieldFormat{maintitleaddon}{\mkbibbrackets{\MakeSentenceCase*{#1}}} +\DeclareFieldFormat{booktitleaddon}{\mkbibbrackets{\MakeSentenceCase*{#1}}} + +\newbibmacro*{bookaddinfo}{% + \ifthenelse{\iffieldundef{edition}\AND\iffieldundef{volumes}} + {} + {\printtext{\bibleftparen}% + \printfield{edition}% + \setunit*{\addcomma\addspace}% + \printfield{volumes}% + \setunit{}% + \printtext{\bibrightparen}}% +} + +\renewbibmacro*{title}{% + \ifthenelse{\iffieldundef{title}\AND\iffieldundef{subtitle}} + {} + {\iffieldundef{origtitle} + {\printtext[title]{% + \printfield[apacase]{title}% + \setunit{\subtitlepunct}% + \printfield[apacase]{subtitle}}}% + {\printfield{origtitle}% + \setunit{\addspace}% + \printtext[brackets]{% + \printfield[apacase]{title}% + \setunit{\subtitlepunct}% + \printfield[apacase]{subtitle}}} + \setunit{\addspace}% + \printfield{titleaddon}% + \iffieldequalstr{entrytype}{book}% + {\setunit{\addspace}\usebibmacro{bookaddinfo}}% + {}% + \ifthenelse{% + \ifnameundef{author}\AND% + \(\ifnameundef{editor}\AND\NOT\boolean{bbx:editorinauthpos}\)\AND% + \ifnameundef{namea}\AND% + \ifnameundef{nameb}} + {\newunit\newblock + \usebibmacro{labelyear+extrayear}} + {}}} + +\renewbibmacro*{maintitle}{% + \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{mainsubtitle}} + {} + {\printtext[maintitle]{% + \printfield[apacase]{maintitle}% + \setunit{\subtitlepunct}% + \printfield[apacase]{mainsubtitle}}% + \setunit{\addspace}} + \printfield{maintitleaddon}% + \addcolon} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.30) Format of volume and number for articles + +\DeclareFieldFormat[article]{volume}{\mkbibemph{\apanum{#1}}} +\DeclareFieldFormat[article]{number}{\mkbibparens{\apanum{#1}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.30) Commas between title and volume for articles + +\renewbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \setunit*{\addcomma\addspace}% + \iffieldundef{series} + {} + {\newunit + \printfield{series} + \setunit{\addcomma\space}}% + \printfield{volume}% + \printfield{number}% + \setunit{\addspace}\newblock + \usebibmacro{issuename}% + \newunit} + +\newbibmacro*{issuename}{% + \iffieldundef{issuetitle} + {} + {\printtext[issuetitle]{% + \printfield[noformat]{issuetitle}% + \setunit{\subtitlepunct}% + \printfield[noformat]{issuesubtitle}}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.29) Additional information for non-periodicals in +% parenthesis after title. This is ugly but it's +% hard to put in "optional parens" like this +% around an unknown amount of characters. + +\newbibmacro*{addinfo}{% + \ifthenelse{\iffieldundef{edition}\AND% + \iffieldundef{chapter}\AND% + \iffieldundef{volumes}\AND% + \iffieldundef{pages}\AND% + \iffieldundef{number}\AND% + \(\iffieldundef{volume}\OR\boolean{bbx:volseen}\)} + {} + {\printtext{\bibleftparen}% + \printfield{edition}% + \setunit*{\addcomma\addspace}% + \printfield{chapter}% + \setunit*{\addcomma\addspace}% + \notbool{bbx:volseen}% + {\iffieldundef{volume}{}{\global\booltrue{bbx:volseen}}% + \printfield{volume}% + \iffieldundef{part}{}{\printfield{part}}}{}% + \setunit*{\addcomma\addspace}% + \printfield{number}% + \setunit*{\addcomma\addspace}% + \printfield{volumes}% + \setunit*{\addcomma\addspace}% + \printfield{pages}% + \setunit{}% + \printtext{\bibrightparen}% + \newunit}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.27) "In " precedes editor/trans list, no colon + +\newbibmacro*{in}{% + \ifbool{bbx:in}% + {}% + {\global\booltrue{bbx:in}% + \bibcpstring{in}\setunit{\space}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.27) Editors have first names first ... +% (APA 7.02 Example 27) ... unless there is no author + +\DeclareNameFormat{apatranslator}{% + \ifthenelse{\value{listcount}=7} + {\addcomma\addspace\ldots} + {\ifthenelse{\value{listcount}>7\AND\value{listcount}<\value{liststop}} + {} + {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}}} + +\DeclareNameFormat{apaeditor}{% + \ifthenelse{\value{listcount}=7} + {\addcomma\addspace\ldots} + {\ifthenelse{\value{listcount}>7\AND\value{listcount}<\value{liststop}} + {} + {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}}} + +\DeclareNameFormat{editorinauthpos}{% + \ifthenelse{\value{listcount}=7} + {\addcomma\addspace\ldots} + {\ifthenelse{\value{listcount}>7\AND\value{listcount}<\value{liststop}} + {} + {\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}}}} + +\renewbibmacro*{author/editor}{% + \ifnameundef{author} + {\usebibmacro{editorinauthpos}} + {\global\boolfalse{bbx:editorinauthpos}% + \usebibmacro{author}}} + +\newbibmacro*{editorinauthpos}{% + \printnames[editorinauthpos]{editor}% + \setunit{\addspace}% + \ifnameundef{editor} + {} + {\printtext[parens]{\usebibmacro{apaeditorstrg}{editor}}% + % need to clear editor so we don't get an "In" clause later + % But we also need to set a flag to say we did this so we + % don't lose sight of the fact we once had an editor for + % various year placement tests + \clearname{editor}\global\booltrue{bbx:editorinauthpos}% + \setunit{\adddot\addspace}% + \usebibmacro{labelyear+extrayear}% + \setunit{\adddot\addspace}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.01 Example 20) Even non-numeral pages need prefix + +\NumCheckSetup{\ifcurrentfield{pages} + {\DeclareNumChars{.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ}} + {\DeclareNumChars{.}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.27 Name format. Don't capitalise prefixes + +\renewbibmacro*{name:last-first}[4]{% + \ifuseprefix + {\usebibmacro{name:delim}{#3#1}% + \usebibmacro{name:hook}{#3#1}% + \ifblank{#3}{}{% + \mkbibnameprefix{#3\isdot}% + \ifpunctmark{'}{}{\addhighpenspace}}% + \mkbibnamelast{#1\isdot}% + \ifblank{#2}{}{\addcomma\addlowpenspace\mkbibnamefirst{#2}\isdot}% + \ifblank{#4}{}{\addcomma\addlowpenspace\mkbibnameaffix{#4}\isdot}} + {\usebibmacro{name:delim}{#1}% + \usebibmacro{name:hook}{#1}% + \mkbibnamelast{#1}\isdot + \ifblank{#2#3}{}{\addcomma}% + \ifblank{#2}{}{\addlowpenspace\mkbibnamefirst{#2}\isdot}% + \ifblank{#3}{}{\addlowpenspace\mkbibnameprefix{#3}\isdot}% + \ifblank{#4}{}{\addcomma\addlowpenspace\mkbibnameaffix{#4}\isdot}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.27) Editor string in parens after author list +% (APA 7.02 Example 21) Collapse editor and trans if same +% (APA 7.02 Example 26) Translator + + +% Separated out into book and in* macros because otherwise +% this makes one ugly, huge, unreadable beast. + +\newbibmacro*{book:editor+trans}{% + \ifthenelse{\ifnameundef{editor}\AND% + \ifnameundef{editora}\AND% + \ifnameundef{editorb}\AND% + \ifnameundef{editorc}\AND% + \ifnameundef{translator}}% + {}% + {\ifnamesequal{editor}{translator}% + {\printtext{\bibleftparen}\global\booltrue{bbx:parens}% + \printnames[apaeditor]{editor}% + \setunit*{\addcomma\addspace}% + \usebibmacro{apaeditorstrg}{editor}% + \setunit*{\addspace\&\space}% + \printtext{\bibcpstring{translator}}% + \ifbool{bbx:parens}{\printtext{\bibrightparen}\global\boolfalse{bbx:parens}}{}} + {\printtext{\bibleftparen}\global\booltrue{bbx:parens}% + \ifnameundef{editor}% + {}% + {\printnames[apaeditor]{editor}% + \setunit{\addcomma\addspace}% + \usebibmacro{apaeditorstrg}{editor}% + \clearname{editor}% + \setunit{\adddot}% + \setunit*{\addspace\&\space}}% + \ifnameundef{translator}% + {\setunit{}}% + {\printnames[apatranslator]{translator}% + \setunit{\addcomma\addspace}% + \printtext{\bibcpstring{translator}}% + \clearname{translator}% + \setunit{\adddot}}% + \ifbool{bbx:parens}{\printtext{\bibrightparen}\global\boolfalse{bbx:parens}}{}}}} + +\newbibmacro*{editor+trans}{% + \ifthenelse{\ifnameundef{editor}\AND% + \ifnameundef{editora}\AND% + \ifnameundef{editorb}\AND% + \ifnameundef{editorc}\AND% + \ifnameundef{translator}}% + {}% + {\ifnamesequal{editor}{translator}% + {\usebibmacro{in}% + \printnames[apaeditor]{editor}% + \setunit{\addspace\bibleftparen\global\booltrue{bbx:parens}}% + \usebibmacro{apaeditorstrg}{editor}% + \setunit*{\addspace\&\space}% + \printtext{\bibcpstring{translator}}% + \ifbool{bbx:parens}{\printtext{\bibrightparen}\global\boolfalse{bbx:parens}}{}} + {\ifnameundef{translator}% + {}% + {\setunit{\relax}% + \printtext[parens]{\printnames[apatranslator]{translator}% + \setunit{\addcomma\addspace}% + \printtext{\bibcpstring{translator}}}% + \clearname{translator}% + \setunit{\adddot\addspace}}% + \usebibmacro{in}% + \usebibmacro{editorx}}}% + \newunit} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.29) Special journal issues + +\DeclareFieldFormat[periodical]{title}{#1\isdot} +\DeclareFieldFormat[periodical]{issuetitle}{\mkbibemph{#1}\isdot} + +\renewbibmacro*{periodical}{% + \iffieldundef{title} + {} + {\printtext[title]{% + \printfield[apacase]{title}% + \setunit{\subtitlepunct}% + \printfield[apacase]{subtitle}}}} + +\renewbibmacro*{title+issuetitle}{% + \usebibmacro{periodical}% + \newunit + \usebibmacro{issue}% + \setunit*{\addcomma\addspace}% + \setunit{\addcomma\space}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.02 Example 21) Original year + +\DeclareFieldFormat{origyear}{\mkbibparens{\bibcpstring{origyear}~\thefield{origyear}}} + +% Only give ORIGYEAR in references if both: +% YEAR is also given +% YEAR and ORIGYEAR are different + +\newbibmacro*{origyear}{% + \ifthenelse{\NOT\iffieldundef{labelyear}\AND\NOT\iffieldsequal{labelyear}{origyear}} + {\printfield{origyear}} + {}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.02) "In " before booktitle, edited or not +% (APA 6.30) Non-periodical volume number followed by "." + +\renewbibmacro*{maintitle+title}{% + \iffieldsequal{maintitle}{title} + {\clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}} + {\iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \newunit\newblock + \iffieldundef{volume} + {} + {\setunit{\global\booltrue{bbx:volseen}}% + \printfield{volume}% + \printfield{part}% + \setunit{\adddot}% + \printfield{number}% + \setunit{\adddot\space}}}}% + \usebibmacro{title}% + \newunit} + +\renewbibmacro*{maintitle+booktitle}{% + \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{booktitle}} + {} + {\usebibmacro{in}% + \iffieldundef{maintitle} + {} + {\usebibmacro{maintitle}% + \newunit\newblock + \iffieldundef{volume} + {} + {\setunit{\global\booltrue{bbx:volseen}}% + \printfield{volume}% + \printfield{part}% + \setunit{\adddot}% + \printfield{number}% + \setunit{\adddot\addspace}}}% + \usebibmacro{booktitle}}} + +\renewbibmacro*{booktitle}{% + \ifthenelse{\iffieldundef{booktitle}\AND\iffieldundef{booksubtitle}} + {} + {\printtext[booktitle]{% + \printfield[apacase]{booktitle}% + \setunit{\subtitlepunct}% + \printfield[apacase]{booksubtitle}}% + \setunit{\addspace}}% + \printfield{booktitleaddon}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.29) Colon separates title/subtitle + +\renewcommand*{\subtitlepunct}{\addcolon\space} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.30) Format of volume depends on whether +% there is a maintitle (what APA calls "series") or not. + +\DeclareFieldFormat{volume}{\iffieldundef{maintitle} + {\bibcpstring{volume}~\apanum{#1}} + {\mkbibemph{\bibcpstring{volume}~\apanum{#1}}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.30) Number for reports with no prefix if not +% a numeral. Report number is optional and so must be +% the parens. + +\DeclareFieldFormat{number}{\iffieldundef{volume} + {\ifinteger{\thefield{number}} + {\addspace\mkbibemph{\bibcpstring{number}~\apanum{#1}}\adddot} + {\apanum{#1}}} + {\mkbibemph{\apanum{#1}}}} + +\DeclareFieldFormat[report]{number}{\mkbibparens{\apanum{#1}}} + +\newbibmacro*{apa:reportnum}{% + \iffieldundef{number}% + {}% + {\printfield{number}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.30) Periodicals emph number, location +% and pages (with no prefix) + +\DeclareFieldFormat[periodical]{pages}{\mkbibemph{#1}} +\DeclareFieldFormat[periodical]{number}{\mkbibemph{\apanum{#1}}} +\DeclareListFormat[periodical]{location}{\mkbibemph{#1}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.02 Example 38) Proceedings emph number, location +% and location. Pages have no prefix + +\DeclareListFormat[proceedings]{location}{\mkbibemph{#1}} +\DeclareFieldFormat[proceedings]{pages}{#1} +\DeclareFieldFormat[proceedings]{number}{\mkbibemph{\apanum{#1}}} +\DeclareFieldFormat[proceedings]{volume}{\mkbibemph{\apanum{#1}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.02 Example 40--44) Theses titles and volume +% Titles are not emph if only an abstract + +\DeclareFieldFormat[thesis]{title}{\iffieldundef{abstract}{\mkbibemph{#1}}{#1}} +\DeclareFieldFormat[thesis]{volume}{\mkbibemph{\apanum{#1}}\addspace} +\DeclareFieldFormat[thesis]{number}{\mkbibparens{\apanum{#1}}\addspace} +\DeclareFieldFormat[thesis]{eprinttype}{\mkbibemph{#1}\addspace} +\DeclareFieldFormat[thesis]{eprint}{#1} +\DeclareFieldFormat[thesis]{pages}{#1} + +\newbibmacro*{thesis:retrinfo}{% + \printfield{eprinttype}% + \clearfield{eprinttype}% + \setunit{\addcomma\addspace}% + \printfield{volume}% + \setunit{\addspace}% + \printfield{number}% + \setunit{\addcomma\addspace}% + \printfield{eprint}% + \clearfield{eprint}% + \setunit{\addcomma\addspace}% + \printfield{pages}% + \setunit{\relax}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.05) Unpublished theses + +\DeclareFieldFormat[unpublished]{title}{\mkbibemph{#1}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.06) Reviews + +\DeclareFieldFormat[review]{title}{#1} +\DeclareFieldFormat[review]{origtitle}{\mkbibemph{#1}} +\DeclareFieldFormat[review]{pages}{#1} +\DeclareFieldFormat[review]{volume}{\mkbibemph{\apanum{#1}}} +\DeclareFieldFormat[review]{number}{\mkbibparens{\apanum{#1}}} + +\newbibmacro*{reviewauthor}{% + \ifnameundef{author} + {\usebibmacro{reviewlabeltitle}} + {\printnames[apaauthor]{author}}% + \newunit\newblock% + \usebibmacro{labelyear+extrayear}} + +\newbibmacro*{reviewlabeltitle}{% + \iffieldundef{label} + {\usebibmacro{reviewof}% + \clearfield{entrysubtype}% + \clearfield{origtitle}% + \clearfield{verba}} + {\printfield{label}}} + +\newbibmacro*{reviewtitle}{% + \ifthenelse{\iffieldundef{title}\AND\iffieldundef{subtitle}} + {\printtext{}}% Dummy printtext as we do want to record that we output + % a title for the punctuation tracker + {\printtext[title]{% + \printfield[apacase]{title}% + \setunit{\subtitlepunct}% + \printfield[apacase]{subtitle}}% + \setunit{\addspace}% + \printfield{titleaddon}}} + +\newbibmacro*{reviewof}{% + \iffieldundef{origtitle} + {} + {\printtext[brackets]{% + \printfield{entrysubtype}\addspace% + \printtext[origtitle]{% + \printfield[apacase]{origtitle}% + \setunit{\subtitlepunct}% + \printfield[apacase]{origsubtitle}}% + \setunit{\addcomma\addspace}% + \printfield{verba}}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Films + +\DeclareNameFormat[movie]{namea}{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}} +\DeclareNameFormat[movie]{nameb}{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}} + +\newbibmacro*{mediaauthor}{% + \ifnameundef{namea} + {} + {\printnames{namea}% + \newunit% + \printtext[parens]{\printfield{nameatype}}} + \setunit*{\addcomma\addspace\&\addspace}% + \ifnameundef{nameb} + {} + {\printnames{nameb}% + \setunit{\addspace}% + \printtext[parens]{\printfield{namebtype}}} + \newunit + \usebibmacro{labelyear+extrayear}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%% +% (APA 7.07) Misc + +\DeclareNameFormat[misc]{namea}{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}} +\DeclareNameFormat[misc]{namea}{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}} +\DeclareFieldFormat[misc]{title}{\iffieldequalstr{userd}{dataset}{\mkbibemph{#1}}{% + \iffieldequalstr{userd}{description}{\mkbibbrackets{#1}}{#1}}} +\DeclareFieldFormat[misc]{entrysubtype}{\mkbibbrackets{#1}} +\DeclareFieldFormat[misc]{nameaddon}{\mkbibparens{#1}} + +% +%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.07) Audiovisual + +\DeclareNameFormat[audio]{namea}{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}} +\DeclareNameFormat[audio]{nameb}{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}} +\DeclareNameFormat[video]{namea}{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}} +\DeclareNameFormat[video]{nameb}{\usebibmacro{name:last-first}{#1}{#4}{#5}{#7}} +\DeclareNameFormat[video]{namec}{\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}} +\DeclareFieldFormat[video]{title}{\iffieldundef{maintitle}{\mkbibemph{#1}}{#1}} +\DeclareFieldFormat[video]{maintitle}{\mkbibemph{#1}} +\DeclareFieldFormat[video]{entrysubtype}{\mkbibbrackets{#1}} +\DeclareFieldFormat[audio]{entrysubtype}{\mkbibbrackets{#1}} +\DeclareFieldFormat[music]{title}{#1} +\DeclareFieldFormat[music]{maintitle}{\mkbibemph{#1}} +\DeclareFieldFormat[music]{mainsubtitle}{\mkbibemph{#1}} +\DeclareFieldFormat[audio]{howpublished}{\mkbibparens{#1}} + +\newbibmacro*{tvseries}{% + \iffieldundef{maintitle} + {} + {\usebibmacro{in}% + \ifnameundef{namec} + {} + {\printnames{namec}% + \setunit{\addspace}% + \printtext[parens]{\printfield{namectype}}} + \setunit{\addcomma\addspace}% + \usebibmacro{avmaintitle}% + \newunit}} + +\newbibmacro*{avmaintitle}{% + \ifthenelse{\iffieldundef{maintitle}\AND\iffieldundef{mainsubtitle}} + {} + {\printtext[maintitle]{% + \printfield[apacase]{maintitle}% + \setunit{\subtitlepunct}% + \printfield[apacase]{mainsubtitle}}% + \setunit{\addspace}} + \printfield{maintitleaddon}} + +\newbibmacro*{on}{% + \bibcpstring{on}\setunit{\space}} + +\newbibmacro*{album}{% + \iffieldundef{maintitle} + {} + {\usebibmacro{on}% + \setunit{\addspace}% + \usebibmacro{avmaintitle}% + \newunit}} + + +% +%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%% +% (APA 7.10) Letters + + +\DeclareFieldFormat[letter]{title}{\iffieldequalstr{entrysubtype}{collection}{#1}{\mkbibbrackets{#1}}} +\DeclareFieldFormat[letter]{number}{\mkbibparens{#1}} + +% +%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%% +% (APA 6.31) URLs + +\DeclareFieldFormat{url}{\url{#1}} +\DeclareFieldFormat{urldate}{#1} +\DeclareFieldFormat{eprinttype}{#1} +\DeclareFieldFormat{eprint}{\mkbibparens{#1}} + +\renewbibmacro*{url+urldate}{% + \def\@apaar{retrieved}% default + \iffieldundef{url} + {} + {\iffieldundef{usera}{}{\patchcmd{\@apaar}{retrieved}{\thefield{usera}}{}{}}% + \iffieldundef{abstract} + {\printtext{\bibcpstring{\@apaar}}} + {\printtext{\bibcpstring{abstract}}\addspace% + \printtext{\bibstring{\@apaar}}}% + \setunit{\addspace}% + \iffieldundef{urlyear} + {} + {\printurldate% + \setunit*{\addcomma\addspace}}% + \printtext{\bibstring{from}}% + \setunit*{\addspace}% + \printlist{organization}% + \setunit*{\addcolon\addspace}% + \iffieldundef{url}{}{\printfield{url}\renewcommand*{\finentrypunct}{\relax}}}} + +\renewbibmacro*{eprint}{% + \def\@apaar{retrieved}% default + \iffieldundef{eprint} + {} + {\iffieldundef{usera}{}{\patchcmd{\@apaar}{retrieved}{\thefield{usera}}{}{}}% + \iffieldundef{abstract} + {\printtext{\bibcpstring{\@apaar}}} + {\printtext{\bibcpstring{abstract}}\addspace% + \printtext{\bibstring{\@apaar}}}% + \setunit{\addspace}% + \printtext{\bibstring{from}}% + \setunit*{\addspace}% + \printfield{eprinttype}% + \newunit + \printfield{eprint}}} + +% +%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.11) Non-emph titles for online items +% Subtype in brackets + + +\DeclareFieldFormat[online]{title}{#1} +\DeclareFieldFormat[online]{entrysubtype}{\mkbibbrackets{#1}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA A7.07) Emph titles for patents + +\DeclareFieldFormat[patent]{title}{\mkbibemph{#1}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.08 Example 56) Software has version in title + +\DeclareFieldFormat[software]{title}{#1} +\DeclareFieldFormat[software]{version}{\mkbibparens{\bibcpstring{version}~#1}} + +\newbibmacro*{apa:softwaretitle}{% + \printtext[title]{% + \printfield[apacase]{title}% + \setunit{\subtitlepunct}% + \printfield[apacase]{subtitle}}% + \setunit{\addspace}% + \iffieldundef{version}% + {} + {\printfield{version}} + \printfield{titleaddon}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newbibmacro*{apa:finpunct}{% + \iffieldundef{addendum}{}{\renewcommand*{\finentrypunct}{\relax}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.x) General type layouts + +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit\newblock + \usebibmacro{journal+issuetitle}% + \setunit{\bibpagespunct}% + \printfield{pages}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \setunit{\addspace}\newblock + \usebibmacro{book:editor+trans}% + \newunit\newblock + \printfield{series}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{origyear}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{booklet}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit\newblock + \printfield{howpublished}% + \newunit\newblock + \printfield{type}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{location+year}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{proceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit\newblock + \usebibmacro{booktitle}% + \setunit{\addcomma\addspace}\newblock + \usebibmacro{location+publisher}% + \setunit{\addcomma\addspace}% + \printfield{volume}% + \setunit*{\adddot}% + \printfield{number}% + \setunit{\addcomma\addspace} + \printfield{pages}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{collection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit\newblock + \usebibmacro{location+publisher}% + \setunit{\addcomma\addspace}% + \printtext{\printfield{number}}% + \newunit\newblock + \printfield{series}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \ifthenelse{\NOT\iffieldundef{title}\OR\boolean{bbx:titleinauthpos}}{\newunit}{\setunit{\addspace}}\newblock + \usebibmacro{editor+trans}% + \newunit\newblock + \usebibmacro{maintitle+booktitle}% + \newblock + \usebibmacro{addinfo}% + \newunit\newblock + \printfield{series}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \setunit*{\addspace}\newblock + \usebibmacro{origyear}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \ifthenelse{\NOT\iffieldundef{title}\OR\boolean{bbx:titleinauthpos}}{\newunit}{\setunit{\addspace}}\newblock + \usebibmacro{editor+trans}% + \setunit*{\addcomma\addspace}\newblock + \usebibmacro{maintitle+booktitle}% + \newblock + \usebibmacro{addinfo}% + \newunit\newblock + \printfield{series}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{origyear}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \ifthenelse{\NOT\iffieldundef{title}\OR\boolean{bbx:titleinauthpos}}{\newunit}{\setunit{\addspace}}\newblock + \usebibmacro{editor+trans}% + \setunit*{\addcomma\addspace}\newblock + \usebibmacro{maintitle+booktitle}% + \newblock + \usebibmacro{addinfo}% + \newunit\newblock + \printfield{series}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \newunit + \printfield{eventtitle}% + \newunit + \printfield{venue}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{origyear}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{manual}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit\newblock + \printfield{edition}% + \newunit\newblock + \printfield{series}% + \newunit\newblock + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \newunit + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \ifthenelse{\iffieldundef{title}\AND\boolean{bbx:titleinauthpos}}{\newunit}{\setunit{\addspace}}\newblock + \printfield{entrysubtype}% + \addperiod\addspace + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \ifthenelse{\NOT\iffieldundef{title}\OR\boolean{bbx:titleinauthpos}}{\newunit}{\setunit{\addspace}}\newblock + \setunit*{\addspace}% + \printfield{number}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{byholder}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{date}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{periodical}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title+issuetitle}% + \setunit{\addcomma\addspace} + \printlist{location}% + \setunit{\addcomma\addspace} + \printfield{volume}% + \setunit*{\adddot}% + \printfield{number}% + \setunit{\addcomma\addspace} + \printfield{pages}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{report}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \usebibmacro{apa:reportnum}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{thesis}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \ifthenelse{\NOT\iffieldundef{title}\OR\boolean{bbx:titleinauthpos}}{\newunit}{\setunit{\addspace}}\newblock + \usebibmacro{type+institution+year}% + \newunit\newblock + \usebibmacro{thesis:retrinfo} + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{review}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{reviewauthor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{reviewtitle}% + \newblock + \usebibmacro{reviewof}% + \newunit\newblock + \usebibmacro{journal+issuetitle}% + \newunit\newblock + \printfield{note}% + \setunit{\bibpagespunct}% + \printfield{pages}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{misc}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \newunit\newblock + \usebibmacro{title}% + \ifthenelse{\iffieldundef{title}\AND\boolean{bbx:titleinauthpos}}{\newunit}{\setunit{\addspace}}\newblock + \printfield{entrysubtype}% + \newunit\newblock + \printfield{howpublished}% + \newunit\newblock + \printfield{type}% + \newunit + \printfield{version}% + \newunit + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{letter}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit\newblock + \printlist{institution}% + \setunit{\addspace}\newblock + \printfield{number}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{video}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{mediaauthor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \setunit{\addspace}\newblock + \printfield{entrysubtype}% + \newunit\newblock + \usebibmacro{tvseries}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{movie}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{mediaauthor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \setunit{\addspace}\newblock + \printfield{entrysubtype}% + \newunit\newblock + \usebibmacro{tvseries}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{audio}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{mediaauthor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \setunit{\addspace}\newblock + \printfield{entrysubtype}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{music}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \ifthenelse{\NOT\iffieldundef{title}\OR\boolean{bbx:titleinauthpos}}{\newunit}{\setunit{\addspace}}\newblock + \usebibmacro{album}% + \newunit\newblock + \usebibmacro{location+publisher}% + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{software}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{apa:softwaretitle}% + \newunit\newblock + \usebibmacro{location+publisher}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \printfield{addendum}% + \usebibmacro{apa:finpunct}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{unpublished}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit\newblock + \printfield{howpublished}% + \setunit{\addcomma\addspace}\newblock + \printlist{institution}% + \newunit\newblock + \printfield{note}% + \setunit*{\addcomma\addspace}\newblock + \printlist{location}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \printfield{addendum}% + \usebibmacro{apa:finpunct} + \usebibmacro{finentry}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Modified, common macros + +\newbibmacro*{editorx}{% + \ifnameundef{editor} + {} + {\printnames[apaeditor]{editor}% + \setunit{\addspace}% + \printtext[parens]{\usebibmacro{apaeditorstrg}{editor}} + \clearname{editor}% + \newunit}% + \ifnameundef{editora} + {} + {\printnames[apaeditor]{editora}% + \setunit{\addspace}% + \printtext[parens]{\usebibmacro{apaeditorstrg}{editora}} + \clearname{editora}% + \newunit}% + \ifnameundef{editorb} + {} + {\printnames[apaeditor]{editorb}% + \setunit{\addspace}% + \printtext[parens]{\usebibmacro{apaeditorstrg}{editorb}} + \clearname{editorb}% + \newunit}% + \ifnameundef{editorc} + {} + {\printnames[apaeditor]{editorc}% + \setunit{\addspace}% + \printtext[parens]{\usebibmacro{apaeditorstrg}{editorc}} + \clearname{editorc}% + \newunit}} + +\newbibmacro*{apaeditorstrg}[1]{% + \iffieldundef{#1type} + {\ifthenelse{\value{#1}>1\OR\ifandothers{#1}} + {\bibcpstring{editors}} + {\bibcpstring{editor}}} + {\ifthenelse{\value{#1}>1\OR\ifandothers{#1}} + {\bibcpstring{type\thefield{#1type}s}} + {\bibcpstring{type\thefield{#1type}}}}} + +\renewbibmacro*{doi+eprint+url}{% + \iftoggle{bbx:doi} + {\printfield{doi}% + \iffieldundef{doi}{}{\renewcommand*{\finentrypunct}{\relax}}} + {}% + \newunit\newblock + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}% + \iffieldundef{eprint}{}{\renewcommand*{\finentrypunct}{\relax}}} + {}% + \newunit\newblock + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}% + \iffieldundef{url}{}{\renewcommand*{\finentrypunct}{\relax}}} + {}} + + +\DeclareFieldFormat{doi}{% + doi\addcolon\space + \ifhyperref + {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{#1}}} + +\newbibmacro*{location+publisher}{% + \printlist{location}% + \setunit*{\addcolon\space}% + \printlist{publisher}% + \newunit} + +\newbibmacro*{type+institution+year}{% + \ifthenelse{\iffieldundef{type}\AND\iffieldundef{institution}} + {} + {\printtext[parens]{% + \iflistundef{institution} + {\setunit*{\addspace}} + {\setunit*{\addcolon\space}}% + \printfield{type}% + \setunit*{\addcomma\space}% + \printlist{institution}}% + \newunit}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Unchanged from authoryear-comp (biblatex v0.9) + +\DeclareBibliographyOption{dashed}[true]{% + \ifstrequal{#1}{true} + {\ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}} + {\ExecuteBibliographyOptions{pagetracker=false}% + \renewbibmacro*{bbx:savehash}{}}} + +\DeclareFieldFormat{shorthandwidth}{#1} +\renewcommand*{\thebibitem}{\item} +\renewcommand*{\thelositem}{\item} +\setlength{\bibitemsep}{0pt} + +\DeclareNameAlias{author}{sortname} +\DeclareNameAlias{editor}{sortname} +\DeclareNameAlias{translator}{sortname} + +\renewenvironment*{thebibliography} + {\list + {} + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}} + {\endlist} + +\renewenvironment*{theshorthands} + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{##1\hss}}} + {\endlist} + +\InitializeBibliographyStyle{% + \global\undef\bbx@lasthash} + +\newbibmacro*{bbx:savehash}{% + \savefield{fullhash}{\bbx@lasthash}} + +\newbool{bbx@inset} +\DeclareBibliographyDriver{set}{% + \booltrue{bbx@inset}% + \entryset{}{}% + \finentry} + +\newbibmacro*{labeltitle}{% + \iffieldundef{label} + {\iffieldundef{shorttitle} + {\printfield{title}% + \clearfield{title} + \global\booltrue{bbx:titleinauthpos}} + {\printfield[title]{shorttitle}}} + {\printfield{label}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx b/Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx new file mode 100644 index 00000000000..da1b4b5621b --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-apa/apa.cbx @@ -0,0 +1,389 @@ +%% apa.cbx +%% Copyright 2010 Philip Kime +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Philip Kime. +%% +%% This work consists of the files: +%% +%% apa.cbx (biblatex citation style) +%% apa.bbx (biblatex references style) +%% *.lbx (localisation files for APA-specific strings) +%% biblatex-apa.pdf (Style documentation) +%% biblatex-apa.tex (Style documentation source) +%% biblatex-apa-test.pdf (Style examples) +%% biblatex-apa-test.tex (Style examples source) +%% biblatex-apa-test-citations.bib (Style examples - citations) +%% biblatex-apa-test-references.bib (Style examples - references) + +\ProvidesFile{apa.cbx} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.16) year postfix is not emphasised or italic + +\DeclareFieldFormat{extrayear}{\mknumalph{#1}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.11) requires comma separator between authors and years + +\renewcommand*{\nameyeardelim}{\addcomma\space} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.12) ampersand separator in parenthetical cites + +\DeclareCiteCommand{\parencite}[\mkbibparens] + {\renewcommand{\finalnamedelim}{\ifnum\value{liststop}>2 \finalandcomma\fi\addspace\&\space}% + \usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \printtext[bibhyperref]{\usebibmacro{cite}}} + {} + {\usebibmacro{postnote}} + +\DeclareCiteCommand*{\parencite}[\mkbibparens] + {\renewcommand{\finalnamedelim}{\ifnum\value{liststop}>2 \finalandcomma\fi\addspace\&\space}% + \usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \printtext[bibhyperref]{\usebibmacro{citeyear}}} + {} + {\usebibmacro{postnote}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.12) 3-5 authors have "et al." after first cite. This doesn't +% work properly in general with disambiguation of "et al"s +% due to BibTeX limitations, see docs. + +% #1 = last name +% #2 = last name (initials) +% #3 = first name +% #4 = first name (initials) +% #5 = name prefix, a.k.a. 'von part' +% #6 = name prefix (initials) +% #7 = name affix, a.k.a. 'junior part' +% #8 = name affix (initials) + +\newbibmacro*{labelname:doname}[8]{% + \ifcase\value{uniquename}% + \usebibmacro{name:last}{#1}{#3}{#5}{#7}% + \or + \usebibmacro{name:first-last}{#1}{#4}{#5}{#8}% + \or + \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}% + \fi + \usebibmacro{name:andothers}} + + +\DeclareNameFormat{labelname}{% + \ifthenelse{\value{listcount}=1\OR\value{listtotal}=2} + {\usebibmacro{labelname:doname}{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}} + {\ifthenelse{\value{listtotal}>5} + {\ifnum\value{listcount}=2 \andothersdelim\bibstring{andothers}\fi + \ifnum\value{listcount}>2 \relax\fi} + {\ifciteseen + {\ifnum\value{listcount}=2 \andothersdelim\bibstring{andothers}\fi + \ifnum\value{listcount}=3 \relax\fi + \ifnum\value{listcount}=4 \relax\fi + \ifnum\value{listcount}=5 \relax\fi} + {\usebibmacro{labelname:doname}{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}}}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.13) Groups as names +% SHORTAUTHOR brackets in parencites + +\DeclareNameFormat{sabrackets}{\ifciteseen + {\usebibmacro{labelname:doname}{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}} + {\mkbibbrackets{\usebibmacro{labelname:doname}{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}}}} + +\DeclareFieldFormat{shorthand}{\ifciteseen + {#1} + {\mkbibbrackets{#1}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.13) Deal with SHORTAUTHOR fields +% (APA 6.16) Multiple same author cites in a compact citation call do not +% need to be repeated but the full years must be repeated with +% their extrayear postfixes +% "in press" extrayear needs a short dash to join to label +% (APA 6.28) If no date, use "n.d." without parentheses and with a comma +% and space before. +% (APA 6.18) Cite ORIGYEAR/YEAR if ORIGYEAR present + +\newbibmacro*{cite}{% + \iffieldequals{namehash}{\cbx@lasthash} +% Multiple cites in one command + {\setunit{\compcitedelim}% + \usebibmacro{cite:plabelyear+extrayear}}% +% Single cite + {\ifthenelse{\ifnameundef{labelname}\OR\equal{\thefield{entrytype}}{patent}} +% No author/editor + {\usebibmacro{cite:noname}% + \setunit{\nameyeardelim}% + \iffieldundef{labelyear} + {\usebibmacro{cite:noyear}} + {\usebibmacro{cite:plabelyear+extrayear}% + \savefield{namehash}{\cbx@lasthash}}} +% Normal cite + {\cbx@tempa + \ifnameundef{shortauthor} + {\printnames{labelname}} + {\ifciteseen + {\printnames{shortauthor}} + {\printnames{author}\addspace\printnames[sabrackets]{shortauthor}}}% + \setunit{\nameyeardelim}% + \iffieldundef{labelyear} + {\usebibmacro{cite:noyear}} + {\usebibmacro{cite:plabelyear+extrayear}% + \savefield{namehash}{\cbx@lasthash}}% + \global\let\cbx@tempa=\multicitedelim}}} + +\newbibmacro*{textcite}{% + \iffieldequals{namehash}{\cbx@lasthash} +% Compact cite - more than one thing for same author + {\setunit{\compcitedelim}% + \usebibmacro{cite:plabelyear+extrayear}} +% Single cite + {\cbx@tempa + \ifthenelse{\ifnameundef{labelname}\OR\equal{\thefield{entrytype}}{patent}} + % No author/editor or patent + {\iffieldundef{shorthand} + % Cite using title + {\usebibmacro{cite:noname}% + \setunit{\global\booltrue{cbx:parens}\addspace\bibleftparen}% + \usebibmacro{cite:plabelyear+extrayear}} + % Cite using shorthand + {\usebibmacro{cite:shorthand}}} + % Normal cite with author/editor + % Normal full cite + {\ifnameundef{shortauthor} + % Normal full cite + {\printnames{labelname}} + % Cite using short author + {\ifciteseen + {\printnames{shortauthor}} + {\printnames{author}}}% + % Year + \setunit{\iffieldundef{labelyear} + {\nameyeardelim} + {\global\booltrue{cbx:parens}\addspace\bibleftparen}} + % Put the shortauthor inside the year brackets if necessary + \ifnameundef{shortauthor} + {} + {\ifciteseen + {} + {\printnames{shortauthor}\setunit{\nameyeardelim}}}% + \iffieldundef{labelyear}% + {\usebibmacro{cite:noyear}}% + {\usebibmacro{cite:plabelyear+extrayear}}% + \savefield{namehash}{\cbx@lasthash}}}% + \gdef\cbx@tempa{\ifbool{cbx:parens} + {\bibrightparen\global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +\newcommand{\apashortdash}{-} + +\newbibmacro*{cite:plabelyear+extrayear}{% + \iffieldundef{labelyear} + {} + {\printfield[noformat]{origyear}\setunit*{\addslash}% + \printfield{labelyear}% + \iffieldequalstr{labelyear}{in press} + {\iffieldundef{extrayear} + {\setunit{\relax}} + {\setunit{\apashortdash}}% + \printfield{extrayear}} + {\printfield{extrayear}}}}% + +\newbibmacro*{cite:shorthand}{% + \ifciteseen + {\printfield{shorthand}} + {\printnames{labelname}% + \setunit{\nameyeardelim}% + \printfield{title}\space\printfield{shorthand}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.15) Fall back to title for citations without authors + +\DeclareFieldFormat{citetitle}{\mkbibquote{#1}} +\DeclareFieldFormat[book]{citetitle}{\mkbibemph{#1}} +\DeclareFieldFormat[report]{citetitle}{\mkbibemph{#1}} +\DeclareFieldFormat[periodical]{citetitle}{\mkbibemph{#1}} +\DeclareFieldFormat[patent]{citetitle}{#1} + +\newbibmacro*{cite:noname}{% + \printfield[citetitle]{labeltitle}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.22) Fall back to "n.d." for citations without dates +% Strings defined in apa.bbx + +\newbibmacro*{cite:noyear}{% + \ifnameundef{shortauthor} + {} + {\ifciteseen + {} + {\printnames{shortauthor}\setunit{\nameyeardelim}}}% + \printtext{\biblcstring{nodate}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 6.21) No parens round year for cites when the cite is in +% parentheses. Use new command \nptextcite for such cites. + +\DeclareCiteCommand{\nptextcite} + {\renewcommand{\finalnamedelim}{\ifnum\value{liststop}>2 \finalandcomma\fi\addspace\&\space}% + \usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \printtext[bibhyperref]{\usebibmacro{nptextcite}}} + {} + {\iffieldundef{postnote} + {} + {\ifbool{cbx:parens} + {\postnotedelim} + {\nameyeardelim}% + \printfield{postnote}}} + +\newbibmacro*{nptextcite}{% + \iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}% + \usebibmacro{cite:plabelyear+extrayear}} + {\cbx@tempa + \ifthenelse{\ifnameundef{labelname}\OR\equal{\thefield{entrytype}}{patent}} + {\usebibmacro{cite:noname}% + \setunit{% + \global\booltrue{cbx:parens}% + \nameyeardelim}% + \usebibmacro{cite:plabelyear+extrayear}} + {\printnames{labelname}% + \setunit{% + \global\booltrue{cbx:parens}% + \nameyeardelim}% + \iffieldundef{labelyear} + {\usebibmacro{cite:noyear}} + {\usebibmacro{cite:plabelyear+extrayear}}}% + \savefield{namehash}{\cbx@lasthash}}% + \gdef\cbx@tempa{% + \ifbool{cbx:parens} + {\addcomma\global\boolfalse{cbx:parens}} + {}% + \multicitedelim}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% No shorthand +% + +\newbibmacro*{citeyear}{% + \iffieldundef{labelyear} + {\cbx@tempa + \usebibmacro{cite:noyear}% + \usebibmacro{cite:init}} + {\iffieldequals{namehash}{\cbx@lasthash} + {\setunit{\compcitedelim}% + \usebibmacro{cite:labelyear+extrayear}} + {\cbx@tempa + \usebibmacro{cite:labelyear+extrayear}% + \savefield{namehash}{\cbx@lasthash}}} + \global\let\cbx@tempa=\multicitedelim} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\newbool{cbx:parens} + +\newbibmacro*{cite:init}{% + \global\boolfalse{cbx:parens}% + \global\let\cbx@tempa=\empty + \global\undef\cbx@lasthash} + +\newbibmacro*{cite:labelyear}{% + \printfield{labelyear}} + +\newbibmacro*{cite:extrayear}{% + \printfield{extrayear}} + +\newbibmacro*{cite:labelyear+extrayear}{% + \iffieldundef{labelyear} + {} + {\printfield{labelyear}% + \printfield{extrayear}}} + +\DeclareCiteCommand{\cite} + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \printtext[bibhyperref]{\usebibmacro{cite}}} + {} + {\usebibmacro{postnote}} + +\DeclareCiteCommand*{\cite} + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \printtext[bibhyperref]{\usebibmacro{citeyear}}} + {} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\footcite}[\mkbibfootnote] + {\bibsentence + \usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \printtext[bibhyperref]{\usebibmacro{cite}}} + {} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\textcite} + {\usebibmacro{cite:init}% + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \printtext[bibhyperref]{\usebibmacro{textcite}}} + {} + {\iffieldundef{postnote} + {\ifbool{cbx:parens} + {\bibrightparen} + {}} + {\ifbool{cbx:parens} + {\postnotedelim} + {\addspace\bibleftparen}% + \printfield{postnote}\bibrightparen}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/french-apa.lbx b/Master/texmf-dist/tex/latex/biblatex-apa/french-apa.lbx new file mode 100644 index 00000000000..0724ba6e083 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-apa/french-apa.lbx @@ -0,0 +1,86 @@ +\ProvidesFile{french-apa.lbx} +\InheritBibliographyExtras{french} + +% (APA 6.22) The example abbreviations + +\NewBibliographyString{revisededition} +\NewBibliographyString{typechair} +\NewBibliographyString{typechairs} +\NewBibliographyString{typevolume} +\NewBibliographyString{typevolumes} +\NewBibliographyString{typeseries} +\NewBibliographyString{typeseriess} +\NewBibliographyString{typevolseries} +\NewBibliographyString{typevolseriess} +\NewBibliographyString{on} +\NewBibliographyString{retrieved} +\NewBibliographyString{available} +\NewBibliographyString{from} +\NewBibliographyString{nodate} +\NewBibliographyString{archivedat} +\NewBibliographyString{origyear} +\NewBibliographyString{reviewof} + +\DeclareBibliographyStrings{% + inherit = {french}, + january = {{janvier}{janvier}}, + february = {{f\'evrier}{f\'evrier}}, + march = {{mars}{mars}}, + april = {{avril}{avril}}, + may = {{mai}{mai}}, + june = {{juin}{juin}}, + july = {{juillet}{juillet}}, + august = {{ao\^ut}{ao\^ut}}, + september = {{septembre}{septembre}}, + october = {{octobre}{octobre}}, + november = {{novembre}{novembre}}, + december = {{d\'ecembre}{d\'ecembre}}, + revisededition = {{\'Edition\space R\'evis\'e}{\'Ed\adddot\space R\'ev\adddot}}, + page = {{Page}{{}p\adddot}}, + pages = {{Pages}{{}pp\adddot}}, + on = {{le}{le}}, + retrieved = {{R\'ecup\'er\'ee}{R\'ecup\'er\'ee}}, + available = {{disponible}{disponible}}, + from = {{\`a\space partir\space de}{\`a\space partir\space de}}, + archivedat = {{archiv\'es\space \`a}{archiv\'es\space \`a}}, + nodate = {{pas\space de\space date}{{}p\adddot d\adddot}}, + reviewof = {{critique\space de}{critique\space de}}, + paragraph = {{\P}{\P}}, + paragraphs = {{\P\P}{\P\P}}, + origyear = {{Date\space de\space premi\`ere publication}{Date\space de\space premi\`ere publication}}, + typechair = {{Ma\^itre\space de\space Conf\'erence}{Ma\^itre\space de\space Conf\'erence}}, + typechairs = {{Ma\^itres\space de\space Conf\'erence}{Ma\^itres\space de\space Conf\'erence}}, + typevolume = {{R\'edacteur\space du\space volume}{R\'ed\adddot\space vol\adddot}}, + typevolumes = {{R\'edacteur\space du\space volume}{R\'eds\adddot\space vol\adddot}}, + typeseries = {{R\'edacteur\space de\space la\space s\'erie}{R\'ed\adddot\space ser\adddot}}, + typeseriess = {{R\'edacteurs\space de\space la\space s\'erie}{R\'eds\adddot\space ser\adddot}}, + typevolseries = {{R\'edacteur\space de\space la\space s\'erie\space et\space du volume}{Red\adddot\space vol\space\&\space ser\adddot}}, + typevolseriess = {{Directeurs\space de\space Publication\space et\space R\'edacteurs\space en\space chef}{Reds\adddot\space vol\space\&\space ser\adddot}}, +} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.10 Example 68) Drop end* when they are the same as * + +\DefineBibliographyExtras{french}{% + \protected\def\mkbibdatelong#1#2#3{% + \iffieldundef{#1} + {} + {\ifthenelse{\equal{#1}{endyear}\AND\iffieldsequal{year}{endyear}} + {} + {\thefield{#1},\space}}% + \iffieldundef{#2} + {} + {\ifthenelse{\equal{#2}{endmonth}\AND\iffieldsequal{month}{endmonth}} + {} + {\mkbibmonth{\thefield{#2}}\addspace}% + \iffieldundef{#3} + {} + {\ifthenelse{\equal{#3}{endday}\AND\iffieldsequal{day}{endday}} + {} + {\stripzeros{\thefield{#3}}}}}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx b/Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx new file mode 100644 index 00000000000..23350780985 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-apa/german-apa.lbx @@ -0,0 +1,86 @@ +\ProvidesFile{german-apa.lbx} +\InheritBibliographyExtras{german} + +% (APA 6.22) The example abbreviations + +\NewBibliographyString{revisededition} +\NewBibliographyString{typechair} +\NewBibliographyString{typechairs} +\NewBibliographyString{typevolume} +\NewBibliographyString{typevolumes} +\NewBibliographyString{typeseries} +\NewBibliographyString{typeseriess} +\NewBibliographyString{typevolseries} +\NewBibliographyString{typevolseriess} +\NewBibliographyString{on} +\NewBibliographyString{retrieved} +\NewBibliographyString{available} +\NewBibliographyString{from} +\NewBibliographyString{nodate} +\NewBibliographyString{archivedat} +\NewBibliographyString{origyear} +\NewBibliographyString{reviewof} + +\DeclareBibliographyStrings{% + inherit = {german}, + january = {{Januar}{Januar}}, + february = {{Februar}{Februar}}, + march = {{M\"arz}{M\"arz}}, + april = {{April}{April}}, + may = {{Mai}{Mai}}, + june = {{Juni}{Juni}}, + july = {{Juli}{Juli}}, + august = {{August}{August}}, + september = {{September}{September}}, + october = {{Oktober}{Oktober}}, + november = {{November}{November}}, + december = {{Dezember}{Dezember}}, + revisededition = {{\"Uberarbeitete\space Auflage}{\"Uberarb\adddot\space Aufl\adddot}}, + page = {{Seite}{{}S\adddot}}, + pages = {{Seiten}{{}S\adddot}}, + on = {{am}{am}}, + retrieved = {{Zugriff\space am}{Zugriff\space am}}, + available = {{Erh\"altlich}{Erh\"altlich}}, + from = {{unter}{unter}}, + archivedat = {{archiviert\space unter}{archiviert\space unter}}, + nodate = {{ohne\space Datum}{{}o\adddot D\adddot}}, + reviewof = {{Rezension\space des}{Rezension\space des}}, + paragraph = {{\P}{\P}}, + paragraphs = {{\P\P}{\P\P}}, + origyear = {{Original\space ver\"offentlicht}{Original\space ver\"offentlicht}}, + typechair = {{Konferenzstuhl}{Konferenzstuhl}}, + typechairs = {{Konferenzst\"uhle}{Konferenzst\"uhle}}, + typevolume = {{Band\space Herausgeber}{Bd\adddot\space Hrsg\adddot}}, + typevolumes = {{Band\space Herausgeber}{Bd\adddot\space Hrsg\adddot}}, + typeseries = {{Reihe\space Herausgeber}{Reihe\space Hrsg\adddot}}, + typeseriess = {{Reihe\space Herausgeber}{Reihe\space Hrsg\adddot}}, + typevolseries = {{Reihe\space und\space Band\space Herausgeber}{Reihe\space\& Bd\adddot\space Hrsg\adddot}}, + typevolseriess = {{Reihe\space und\space Band\space Herausgeber}{Reihe\space\& Bd\adddot\space Hrsg\adddot}}, +} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.10 Example 68) Drop end* when they are the same as * + +\DefineBibliographyExtras{american}{% + \protected\def\mkbibdatelong#1#2#3{% + \iffieldundef{#1} + {} + {\ifthenelse{\equal{#1}{endyear}\AND\iffieldsequal{year}{endyear}} + {} + {\thefield{#1},\space}}% + \iffieldundef{#2} + {} + {\ifthenelse{\equal{#2}{endmonth}\AND\iffieldsequal{month}{endmonth}} + {} + {\mkbibmonth{\thefield{#2}}\addspace}% + \iffieldundef{#3} + {} + {\ifthenelse{\equal{#3}{endday}\AND\iffieldsequal{day}{endday}} + {} + {\stripzeros{\thefield{#3}}}}}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-apa/ngerman-apa.lbx b/Master/texmf-dist/tex/latex/biblatex-apa/ngerman-apa.lbx new file mode 100644 index 00000000000..cbb24b450a5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-apa/ngerman-apa.lbx @@ -0,0 +1,86 @@ +\ProvidesFile{ngerman-apa.lbx} +\InheritBibliographyExtras{ngerman} + +% (APA 6.22) The example abbreviations + +\NewBibliographyString{revisededition} +\NewBibliographyString{typechair} +\NewBibliographyString{typechairs} +\NewBibliographyString{typevolume} +\NewBibliographyString{typevolumes} +\NewBibliographyString{typeseries} +\NewBibliographyString{typeseriess} +\NewBibliographyString{typevolseries} +\NewBibliographyString{typevolseriess} +\NewBibliographyString{on} +\NewBibliographyString{retrieved} +\NewBibliographyString{available} +\NewBibliographyString{from} +\NewBibliographyString{nodate} +\NewBibliographyString{archivedat} +\NewBibliographyString{origyear} +\NewBibliographyString{reviewof} + +\DeclareBibliographyStrings{% + inherit = {ngerman}, + january = {{Januar}{Januar}}, + february = {{Februar}{Februar}}, + march = {{M\"arz}{M\"arz}}, + april = {{April}{April}}, + may = {{Mai}{Mai}}, + june = {{Juni}{Juni}}, + july = {{Juli}{Juli}}, + august = {{August}{August}}, + september = {{September}{September}}, + october = {{Oktober}{Oktober}}, + november = {{November}{November}}, + december = {{Dezember}{Dezember}}, + revisededition = {{\"Uberarbeitete\space Auflage}{\"Uberarb\adddot\space Aufl\adddot}}, + page = {{Seite}{{}S\adddot}}, + pages = {{Seiten}{{}S\adddot}}, + on = {{am}{am}}, + retrieved = {{Zugriff\space am}{Zugriff\space am}}, + available = {{Erh\"altlich}{Erh\"altlich}}, + from = {{unter}{unter}}, + archivedat = {{archiviert\space unter}{archiviert\space unter}}, + nodate = {{ohne\space Datum}{{}o\adddot D\adddot}}, + reviewof = {{Rezension\space des}{Rezension\space des}}, + paragraph = {{\P}{\P}}, + paragraphs = {{\P\P}{\P\P}}, + origyear = {{Original\space ver\"offentlicht}{Original\space ver\"offentlicht}}, + typechair = {{Konferenzstuhl}{Konferenzstuhl}}, + typechairs = {{Konferenzst\"uhle}{Konferenzst\"uhle}}, + typevolume = {{Band\space Herausgeber}{Bd\adddot\space Hrsg\adddot}}, + typevolumes = {{Band\space Herausgeber}{Bd\adddot\space Hrsg\adddot}}, + typeseries = {{Reihe\space Herausgeber}{Reihe\space Hrsg\adddot}}, + typeseriess = {{Reihe\space Herausgeber}{Reihe\space Hrsg\adddot}}, + typevolseries = {{Reihe\space und\space Band\space Herausgeber}{Reihe\space\& Bd\adddot\space Hrsg\adddot}}, + typevolseriess = {{Reihe\space und\space Band\space Herausgeber}{Reihe\space\& Bd\adddot\space Hrsg\adddot}}, +} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (APA 7.10 Example 68) Drop end* when they are the same as * + +\DefineBibliographyExtras{american}{% + \protected\def\mkbibdatelong#1#2#3{% + \iffieldundef{#1} + {} + {\ifthenelse{\equal{#1}{endyear}\AND\iffieldsequal{year}{endyear}} + {} + {\thefield{#1},\space}}% + \iffieldundef{#2} + {} + {\ifthenelse{\equal{#2}{endmonth}\AND\iffieldsequal{month}{endmonth}} + {} + {\mkbibmonth{\thefield{#2}}\addspace}% + \iffieldundef{#3} + {} + {\ifthenelse{\equal{#3}{endday}\AND\iffieldsequal{day}{endday}} + {} + {\stripzeros{\thefield{#3}}}}}}} + +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index a32524f34a7..775486983c8 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -44,7 +44,7 @@ my @TLP_working = qw( begriff bera betababel beton bez123 bezos bgreek bib-fr bibarts bibhtml - biblatex biblatex-chem biblatex-nature biblatex-science + biblatex biblatex-apa biblatex-chem biblatex-nature biblatex-science bibleref biblist bibtopic bibtopicprefix bibexport bibunits bidi bigfoot bigints binomexp bizcard diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index d1dd82d443e..86f4806b6fd 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -790,7 +790,7 @@ $standardfmt='latex'; # packages which need special .tex/.sty files installed -$standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; +$standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; %specialtex= ( 'FAQ-en', 'NULL', 'abbr', '\.tex', diff --git a/Master/tlpkg/tlpsrc/biblatex-apa.tlpsrc b/Master/tlpkg/tlpsrc/biblatex-apa.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/biblatex-apa.tlpsrc diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc index c389b8308f0..7756f64812d 100644 --- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc @@ -10,6 +10,7 @@ depend bibarts depend bibexport depend bibhtml depend biblatex +depend biblatex-apa depend biblatex-chem depend biblatex-nature depend biblatex-science |