diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/biblatex-ieee |
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-ieee')
11 files changed, 1800 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/README.md b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/README.md new file mode 100644 index 0000000000..b3516672d7 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/README.md @@ -0,0 +1,15 @@ +biblatex-ieee - A biblatex implementation of the IEEE bibliography style +======================================================================== + +The `biblatex-ieee` package provides an implementation of the +bibliography style of the IEEE for `biblatex`. This +implementation follows standard `biblatex` conventions, and can +be used simply by loading `biblatex` with the appropriate option + + \usepackage[style=ieee]{biblatex} + +A demonstration database is provided to show how to format input +for the style. + +The `biblatex-ieee` style requires `biblatex` 3.8 or later, and +works with both BibTeX and Biber as the database back-end. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee-alphabetic.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee-alphabetic.pdf Binary files differnew file mode 100644 index 0000000000..1cf2ca8090 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee-alphabetic.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee-alphabetic.tex b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee-alphabetic.tex new file mode 100644 index 0000000000..b5a04bc401 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee-alphabetic.tex @@ -0,0 +1,82 @@ +%% --------------------------------------------------------------- +%% biblatex-ieee --- A biblatex implementation of the IEEE +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\documentclass[a4paper]{ltxdoc} +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage[style=ieee-alphabetic,backend=biber]{biblatex} +\usepackage[final]{microtype} +\usepackage{csquotes} +\usepackage{hyperref} + +\hypersetup{hidelinks} + +\addbibresource{biblatex-ieee.bib} + +\author{Joseph Wright\thanks{E-mail: + \href{mailto:joseph.wright@morningstar2.co.uk} + {\texttt{joseph.wright@morningstar2.co.uk}}}} +\title{The \pkg{ieee-alphabetic} bibliography style for \pkg{biblatex}% + \footnote{This file describes v1.3a, last revised 2019/06/19.}} +\date{Released 2019/06/19} + +\providecommand*{\pkg}[1]{\textsf{#1}} + +\RecordChanges + +\begin{document} + +\maketitle + +This package provides a style for \pkg{biblatex} which follows the +guidelines of the \textsc{ieee} but using alphabetic labels. The citation +style is alphabetic and sorted by alphabetic label, title and year. +The bibliography style follows the pattern of the official \pkg{IEEEtran} +package (\url{http://www.ieee.org/documents/stylemanual.pdf}). The style +should be loaded in the usual way +\begin{verbatim} + \usepackage[style=ieee-alphabetic]{biblatex} +\end{verbatim} +The References section of this document demonstrates the format +generated by the package using the \texttt{biblatex-ieee.bib} database +of example citations. + +\nocite{*} + +\printbibliography + +\end{document} + +%% +%% Copyright (C) 2011-2013,2015-2018 by +%% Joseph Wright <joseph.wright@morningstar2.co.uk> +%% +%% It may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License (LPPL), either version 1.3c of +%% this license or (at your option) any later version. The latest +%% version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Joseph Wright. +%% +%% This work consists of the files biblatex-ieee.bib, +%% biblatex-ieee.tex, +%% ieee.bbx, +%% ieee.cbx, +%% ieee-alphabetic.bbx, +%% ieee-alphabetic.cbx and +%% magyar-ieee.lbx, +%% and the derived files biblatex-ieee.pdf and +%% biblatex-ieee-alphabetic.pdf. +%% +%% +%% End of file `biblatex-ieee.tex'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee.bib b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee.bib new file mode 100644 index 0000000000..f7aca337c7 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee.bib @@ -0,0 +1,413 @@ +%% --------------------------------------------------------------- +%% biblatex-ieee --- A biblatex implementation of the IEEE +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright at morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +% The example here are all taken from "IEEEexample.bib", part of the +% IEEEttran bundle which provides official support for IEEE journals. +% The entries have been modified to follow the conventions introduced +% by biblatex. The keys have been retained to allow direct comparison +% of the two approaches. + +@inbook{IEEEexample:incollectionwithseries, + author = "J. B. Anderson and K. Tepe", + title = "Properties of the Tailbiting {BCJR} Decoder", + booktitle = "Codes, Systems and Graphical Models", + series = "{IMA} Volumes in Mathematics and Its Applications", + publisher = "Springer-Verlag", + location = "New York", + year = "2000" +} + +@book{IEEEexample:inbookpagesnote, + author = "B. K. Bul", + title = "Theory Principles and Design of Magnetic Circuits", + publisher = "Energia Press", + location = "Moscow", + year = "1964", + pages = "464", + note = "(in Russian)" +} + +@book{IEEEexample:bookwitheditor, + editor = "J. C. Candy and G. C. Temes", + title = "Oversampling Delta-Sigma Data Converters Theory, + Design and Simulation", + publisher = "{IEEE} Press.", + location = "New York", + year = "1992" +} + +@book{IEEEexample:bookwithseriesvolume, + editor = "J. Breckling", + title = "The Analysis of Directional Time Series: Applications to + Wind Speed and Direction", + series = "Lecture Notes in Statistics", + publisher = "Springer", + address = "Berlin, Germany", + year = "1989", + volume = "61" +} + +@article{IEEEexample:articlelargepages, + author = "A. Castaldini and A. Cavallini and B. Fraboni + and P. Fernandez and J. Piqueras", + title = "Midgap Traps Related to Compensation Processes in + {CdTe} Alloys", + journaltitle = "Phys. Rev. B.", + volume = "56", + number = "23", + year = "1997", + pages = "14897-14900" +} + +@article{IEEEexample:TBPmisc, + author = "M. Coates and A. Hero and R. Nowak and B. Yu", + title = "Internet Tomography", + journaltitle = "IEEE J. Selected Areas Commun.", + month = 05, + year = "2002", + note = "to be published" +} + +@book{IEEEexample:book_typical, + author = "B. D. Cullity", + title = "Introduction to Magnetic Materials", + publisher = "Addison--Wesley", + location = "Reading, MA", + year = "1972" +} + +@inbook{IEEEexample:incollectionmanyauthors, + author = "R. M. A. Dawson and Z. Shen and D. A. Furst and + S. Connor and J. Hsu and M. G. Kane and R. G. Stewart and + A. Ipri and C. N. King and P. J. Green and R. T. Flegal + and S. Pearson and W. A. Barrow and E. Dickey and K. Ping + and C. W. Tang and S. Van. Slyke and + F. Chen and J. Shi and J. C. Sturm and M. H. Lu", + title = "Design of an Improved Pixel for a Polysilicon + Active-Matrix Organic {LED} Display", + booktitle = "{SID} Tech. Dig.", + volume = "29", + year = "1998", + pages = "11-14" +} + +@inbook{IEEEexample:repeatedauthorone, + author = "W. Dai and H. V. Pham and O. Milenkovic", + title = "Distortion-rate functions for quantized compressive sensing", + booktitle = + "IEEE Information Theory Workshop on Networking and Information Theory", + year = "2009" +} + +@inbook{IEEEexample:repeatedauthortwo, + author = "W. Dai and H. V. Pham and O. Milenkovic", + title = "comparative study of quantized compressive sensing schemes", + booktitle = + "IEEE Information Theory Workshop on Networking and Information Theory", + year = "2009" +} + +@inproceedings{IEEEexample:presentedatconf, + author = "S. G. Finn and M. M{\'e}dard and R. A. Barry", + title = "A Novel Approach to Automatic Protection Switching + Using Trees", + eventtitle = "{IEEE} International Conference on Communications", + location = "Montreal, Que., Canada", + year = "1997" +} + +@manual{IEEEexample:motmanual, + title = "{FLEXChip} Signal Processor ({MC68175/D})", + organization = "Motorola", + year = "1996" +} + +@inbook{IEEEexample:incollection_chpp, + author = "P. Hedelin and P. Knagenhjelm and M. Skoglund", + editor = "W. B. Kleijn and K. K. Paliwal", + title = "Theory for Transmission of Vector Quantization Data", + booktitle = "Speech Coding and Synthesis", + publisher = "Elsevier Science", + location = "Amsterdam, The Netherlands", + year = "1995", + chapter = "10", + pages = "347-396" +} + +@patent{IEEEexample:jppat, + author = "U. Hideki", + title = "Quadrature Modulation Circuit", + type = "patentjp", + number = "152932/92", + year = "1992-05-20" +} + +@periodical{IEEEexample:periodical, + title = "IEEE Personal Commun. Mag., Special Issue on + Wireless {ATM}", + volume = "3", + year = "1996-08", +} + +@misc{IEEEexample:standard, + title = "Wireless {LAN} Medium Access Control {(MAC)} and + Physical Layer {(PHY)} Specification", + howpublished = "{IEEE} Std. 802.11", + year = "1997" +} + +@online{IEEEexample:electronhowinfo, + author = "V. Jacobson", + title = "Modified {TCP} Congestion Avoidance Algorithm", + howpublished = "end2end-interest mailing list", + url = "ftp://ftp.isi.edu/end2end/end2end-interest-1990.mail", + year = "1990-04" +} + + +@report{IEEEexample:techrep, + author = "R. Jain and K. K. Ramakrishnan and D. M. Chiu", + title = "Congestion Avoidance in Computer Networks with a + Connectionless Network Layer", + institution = "Digital Equipment Corporation", + location = "MA", + number = "DEC-TR-506", + year = "1987-08", + type = "techreport" +} + +@article{IEEEexample:TBParticle, + author = "N. Kahale and R. Urbanke", + title = "On the Minimum Distance of Parallel and Serially + Concatenated Codes", + journaltitle = "IEEE Trans. Inf. Theory", + note = "submitted for publication" +} + +@report{IEEEexample:techrepstdsub, + author = "S. Kandala", + title = "Changes to {A}nnex {D}", + institution = "{IEEE} 802.11 {TGe}", + number = "02/680r0", + year = "2002-10", + type = "techreport" +} + +@thesis{IEEEexample:masterstype, + author = "A. Karnik", + title = "Performance of {TCP} Congestion Control with Rate + Feedback: {TCP/ABR} and Rate Adaptive {TCP/IP}", + institution = "Indian Institute of Science", + type = "M. Eng. thesis", + location = "Bangalore, India", + year = "1999-01" +} + +@patent{IEEEexample:frenchpatreq, + author = "F. Kowalik and M. Isard", + title = "Estimateur d'un D{\'e}faut de Fonctionnement + d'un Modulateur en Quadrature et {\'E}tage de Modulation + l'Utilisant", + language = "french", + type = "French Patent Request", + number = "9500261", + year = "1995-01-11" +} + +@thesis{IEEEexample:phdurl, + author = "Q. Li", + title = "Delay Characterization and Performance Control of + Wide-area Networks", + institution = "Univ. of Delaware", + location = "Newark, NJ", + type = "phdthesis", + year = "2000-05", + url = "http://www.ece.udel.edu/~qli" +} + +@thesis{IEEEexample:masters, + author = "Nin C. Loh", + title = "High-Resolution Micromachined Interferometric + Accelerometer", + institution = "Massachusetts Institute of Technology", + location = "Cambridge, MA", + type = "mathesis", + year = "1992" +} + +@online{IEEEexample:electronorgadd, + author = "D. H. Lorenz and A. Orda", + title = "Optimal Partition of {QoS} Requirements on Unicast + Paths and Multicast Trees", + institution = "Dept. Elect. Eng., Technion", + location = "Haifa, Israel", + url = "ftp://ftp.technion.ac.il/pub/supported/ee/Network/lor.mopq98.ps", + year = "1998-07" +} + +@book{IEEEexample:book, + author = "S. M. Metev and V. P. Veiko", + editor = "Osgood, Jr., R. M.", + title = "Laser Assisted Microtechnology", + edition = "2", + publisher = "Springer-Verlag", + location = "Berlin, Germany", + year = "1998" +} + +@report{IEEEexample:techreptypeii, + author = "D. Middleton and A. D. Spaulding", + title = "A Tutorial Review of Elements of Weak Signal Detection + in Non-{G}aussian {EMI} Environments", + institution = "National Telecommunications and Information + Administration ({NTIA}), U.S. Dept. of Commerce", + type = "NTIA Report", + number = "86-194", + year = "1986-05" +} + +@inproceedings{IEEEexample:confwithpapertype, + author = "B. Mikkelsen and G. Raybon and R.-J. Essiambre and + K. Dreyer and Y. Su. and L. E. Nelson and J. E. Johnson + and G. Shtengel and A. Bond and D. G. Moodie and + A. D. Ellis", + title = "160 {Gbit/s} Single-channel Transmission Over 300 km + Nonzero-dispersion Fiber With Semiconductor Based + Transmitter and Demultiplexer", + booktitle = "Proc. {ECOC}'99", + location = "Nice, France", + year = "1999", + pages = "28-29" +} + +@article{IEEEexample:articledualmonths, + author = "Y. Okada and K. Dejima and T. Ohishi", + title = "Analysis and Comparison of {PM} Synchronous Motor and + Induction Motor Type Magnetic Bearings", + journaltitle = "IEEE Trans. Ind. Appl.", + volume = "31", + year = "1995-09/1995-10", + pages = "1047-1053" +} + +@unpublished{IEEEexample:unpublished, + author = "T. J. Ott and N. Aggarwal", + title = "{TCP} over {ATM}: {ABR} or {UBR}", + howpublished = "Unpublished" +} + +@report{IEEEexample:techreptype, + author = "J. Padhye and V. Firoiu and D. Towsley", + title = "A Stochastic Model of {TCP} {R}eno Congestion Avoidance + and Control", + institution = "Univ. of Massachusetts", + location = "Amherst, MA", + type = "CMPSCI Tech. Rep.", + number = "99-02", + year = "1999", +} + +@book{IEEEexample:inbook, + author = "H. E. Rose", + title = "A Course in Number Theory", + publisher = "Oxford Univ. Press", + location = "New York", + year = "1988", + chapter = "3" +} + +@patent{IEEEexample:uspat, + author = "Ronald E. Sorace and Victor S. Reinhardt and + Steven A. Vaughn", + holder = "Hughes Aircraft Company", + location = "Los Angeles, CA", + title = "High-Speed Digital-to-{RF} Converter", + type = "patentus", + number = "5668842", + yearfiled = "1995-02-28", + year = "1997-09-16", +} + +@inbook{IEEEexample:incollection, + author = "W. V. Sorin", + editor = "D. Derickson", + title = "Optical Reflectometry for Component Characterization", + booktitle = "Fiber Optic Test and Measurement", + publisher = "Prentice--Hall", + location = "Englewood Cliffs, NJ", + year = "1998" +} + +@online{IEEEexample:electronhowinfo2, + author = "V. Valloppillil and K. W. Ross", + title = "Cache Array Routing Protocol v1.1", + howpublished = "Internet draft", + url = "http://ds1.internic.net/internet-drafts/draft-vinod-carp-v1-03.txt", + year = "1998" +} + +@inproceedings{IEEEexample:confwithpaper, + author = "M. Wegmuller and J. P. von der Weid and P. Oberson + and N. Gisin", + title = "High Resolution Fiber Distributed Measurements With + Coherent {OFDR}", + booktitle = "Proc. {ECOC}'00", + year = "2000", + location = "Munich, Germany", + pages = "109" +} + +@inproceedings{IEEEexample:confwithvolume, + author = "M. Yajnik and S. B. Moon and J. Kurose and D. Towsley", + title = "Measurement and Modeling of the Temporal Dependence in + Packet Loss", + booktitle = "Proc. {IEEE} {INFOCOM}'99", + volume = "1", + location = "New York", + year = "1999-03", + pages = "345-352" +} + +@inproceedings{IEEEexample:confwithadddays, + author = "M. S. Yee and L. Hanzo", + title = "Radial Basis Function Decision Feedback Equaliser + Assisted Burst-by-burst Adaptive Modulation", + booktitle = "Proc. {IEEE} Globecom '99", + address = "Rio de Janeiro, Brazil", + year = "1999-12-05/1999-12-09", + pages = "2183-2187" +} + +%% +%% Copyright (C) 2011-2013,2015-2018 by +%% Joseph Wright <joseph.wright at morningstar2.co.uk> +%% +%% It may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License (LPPL), either version 1.3c of +%% this license or (at your option) any later version. The latest +%% version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Joseph Wright. +%% +%% This work consists of the files biblatex-ieee.bib, +%% biblatex-ieee.tex, +%% ieee.bbx, +%% ieee.cbx, +%% ieee-alphabetic.bbx, +%% ieee-alphabetic.cbx and +%% magyar-ieee.lbx, +%% and the derived files biblatex-ieee.pdf and +%% biblatex-ieee-alphabetic.pdf. +%% +%% +%% End of file `biblatex-ieee.bib'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee.pdf b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee.pdf Binary files differnew file mode 100644 index 0000000000..078a415360 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee.pdf diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee.tex b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee.tex new file mode 100644 index 0000000000..d6c3ae18d3 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/biblatex-ieee.tex @@ -0,0 +1,173 @@ +%% --------------------------------------------------------------- +%% biblatex-ieee --- A biblatex implementation of the IEEE +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\documentclass[a4paper]{ltxdoc} +\usepackage{lmodern} +\usepackage[T1]{fontenc} +\usepackage[style=ieee,backend=biber]{biblatex} +\usepackage[final]{microtype} +\usepackage{csquotes} +\usepackage{hyperref} + +\hypersetup{hidelinks} + +\addbibresource{biblatex-ieee.bib} + +\author{Joseph Wright\thanks{E-mail: + \href{mailto:joseph.wright@morningstar2.co.uk} + {\texttt{joseph.wright@morningstar2.co.uk}}}} +\title{The \pkg{ieee} bibliography style for \pkg{biblatex}% + \footnote{This file describes v1.3a, last revised 2019/06/19.}} +\date{Released 2019/06/19} + +\providecommand*{\opt}[1]{\texttt{#1}} +\providecommand*{\pkg}[1]{\textsf{#1}} + +\RecordChanges + +\begin{document} + +\maketitle + +This package provides a style for \pkg{biblatex} which follows the +guidelines of the \textsc{ieee}. The citation style is numeric and unsorted. +The bibliography style follows the pattern of the official \pkg{IEEEtran} +package (\url{http://www.ieee.org/documents/style_manual.pdf}). The style +should be loaded in the usual way +\begin{verbatim} + \usepackage[style=ieee]{biblatex} +\end{verbatim} +The References section of this document demonstrates the format +generated by the package using the \texttt{biblatex-ieee.bib} database +of example citations. + +The style introduces new bibliography strings: +\begin{description} + \item[\texttt{patentjp}] the text \enquote{Japanese Patent}; + \item[\texttt{presentedat}] the text \enquote{presented at the} when + printing conference papers using the name of the conference rather + than a reference to a book of abstracts. +\end{description} +These may be localized in the usual way. + +The style adds the \opt{dashed} option to those recognised: as-standard, +this is activated. The option works in the same way as that from the +core \pkg{biblatex} style \pkg{author-year}. + +The appearance of URLs in the bibliography is set by the mechanism of the +\textsf{url} package. Thus to print URLs in the current roman font, +place the instruction +\begin{verbatim} + \renewcommand*{\UrlFont}{\rmfamily} +\end{verbatim} +immediately before +\begin{verbatim} + \printbibliography +\end{verbatim} + +Also include in the bundle is a style using alphabetic labels, but otherwise +following the guidelines of the \textsc{ieee}. This style should be loaded +using +\begin{verbatim} + \usepackage[style=ieee-alphabetic]{biblatex} +\end{verbatim} +It is demonstrated in the accompany \textsc{pdf} file +\texttt{biblatex-ieee-alphabetic}. + +Suggestions for improvement and bug reports can be logged in the package +issue database, found at +\url{https://github.com/josephwright/biblatex-ieee/issues/}, or can +be sent by e-mail to +\href{mailto:joseph.wright@morningstar2.co.uk} + {\texttt{joseph.wright@morningstar2.co.uk}}. +\nocite{*} + +\printbibliography + +\changes{v1.0}{2011/02/27}{First stable release} +\changes{v1.0a}{2011/04/07}{Print \enquote{presented at} for + \texttt{inproceedings} entries only if an \texttt{eventtitle} is + available} +\changes{v1.0b}{2011/05/07}{Add instructions for printing URL in roman font} +\changes{v1.0b}{2011/05/07}{Use dash for repeated author names} +\changes{v1.0c}{2012/03/21}{Turn off citation sorting} +\changes{v1.0c}{2012/03/21}{Set \emph{et al.}~in italics} +\changes{v1.0c}{2012/03/21}{Use two em-dashes for repeated names} +\changes{v1.0d}{2012/03/23}{Place \texttt{series} before \texttt{editor} + for \texttt{incollection} entries} +\changes{v1.1}{2012/05/03}{New alphabetic style \texttt{ieee-alphabetic}} +\changes{v1.1}{2012/05/03}{Update citation-related options set by the style} +\changes{v1.1a}{2012/06/16}{Bracket citation numbers singly, not as a group} +\changes{v1.1a}{2012/06/16}{Omit comma after \texttt{!} and \texttt{?} + if this occurs at the end of a title} +\changes{v1.1b}{2012/07/18}{Fix spacing between bibliography label and entry} +\changes{v1.1c}{2012/10/04}{Improve handling of names in \cs{textcite}} +\changes{v1.1d}{2012/10/12}{Improve handling of names in \cs{textcite} again} +\changes{v1.1e}{2012/12/04}{Address brackets around citations again, hopefully + correctly this time} +\changes{v1.1e}{2012/12/04}{Use US-style punctuation suppression} +\changes{v1.1f}{2012/12/17}{Fix brackets in \cs{textcite}} +\changes{v1.1g}{2013/01/27}{Include data for related entries} +\changes{v1.1h}{2013/02/08}{Print post-notes within brackets surrounding + citation number} +\changes{v1.1i}{2013/06/13}{Remove extraneous bracket when \cs{cites} is used} +\changes{v1.1j}{2013/10/25}{Update \cs{textcite} code for \pkg{biblatex}~v2.7} +\changes{v1.1j}{2013/10/25}{Correctly format multi-part page ranges} +\changes{v1.1k}{2015/03/12}{Capitalise after colon in titles} +\changes{v1.1l}{2015/03/25}{Respect braces for capitalisation in titles} +\changes{v1.1m}{2016/04/06}{Track \pkg{biblatex} changes} +\changes{v1.1m}{2016/04/16}{Much simplified citation style approach} +\changes{v1.1n}{2016/05/08}{Fix printing of titles when braced in + database} +\changes{v1.1o}{2016/06/27}{Fix capitalisation of journal titles} +\changes{v1.1p}{2016/07/20}{Revert changes in internal code for citation + handling} +\changes{v1.1q}{2016/08/31}{Fix stray space after \enquote{\emph{et al.}}} +\changes{v1.2}{2016/12/26}{New \opt{dashed} option} +\changes{v1.2}{2016/12/29}{Refine handling of case changing in titles} +\changes{v1.2}{2016/12/30}{Use title case for book tiles} +\changes{v1.2a}{2017/02/02}{Minor internal updates} +\changes{v1.2a}{2017/03/01}{Move some formatting directives} +\changes{v1.2a}{2017/03/01}{More work on formatting of titles} +\changes{v1.2b}{2017/03/22}{Fix accidental printing of string \texttt{no.}} +\changes{v1.2c}{2017/03/25}{Fix formatting for volume in some entry types} +\changes{v1.2d}{2017/03/26}{Subtle adjustment for volume string} +\changes{v1.3}{2018/08/20}{Hungarian localisation} + +\PrintChanges + +\end{document} + +%% +%% Copyright (C) 2011-2013,2015-2018 by +%% Joseph Wright <joseph.wright@morningstar2.co.uk> +%% +%% It may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License (LPPL), either version 1.3c of +%% this license or (at your option) any later version. The latest +%% version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Joseph Wright. +%% +%% This work consists of the files biblatex-ieee.bib, +%% biblatex-ieee.tex, +%% ieee.bbx, +%% ieee.cbx, +%% ieee-alphabetic.bbx, +%% ieee-alphabetic.cbx and +%% magyar-ieee.lbx, +%% and the derived files biblatex-ieee.pdf and +%% biblatex-ieee-alphabetic.pdf. +%% +%% +%% End of file `biblatex-ieee.tex'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee-alphabetic.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee-alphabetic.bbx new file mode 100644 index 0000000000..ed684e53c3 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee-alphabetic.bbx @@ -0,0 +1,80 @@ +%% --------------------------------------------------------------- +%% biblatex-ieee --- A biblatex implementation of the IEEE +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\ProvidesFile{ieee-alphabetic.bbx}[2019/06/19 v1.3a biblatex bibliography style] + +\RequireBibliographyStyle{ieee} + +% Alter settings that carry through from biblatex +\ExecuteBibliographyOptions{ + labelalpha, + sorting = anyt, + useprefix +} + +% This is all a straight copy from alphabetic.bbx +\DeclareFieldFormat{labelalphawidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} + +\defbibenvironment{bibliography} + {\list + {\printtext[labelalphawidth]{% + \printfield{labelprefix}% + \printfield{labelalpha}% + \printfield{extraalpha}}} + {\setlength{\labelwidth}{\labelalphawidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{##1\hss}} + {\endlist} + {\item} + +\defbibenvironment{shorthands} + {\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} + {\item} + +%% +%% Copyright (C) 2011-2013,2015-2018 by +%% Joseph Wright <joseph.wright@morningstar2.co.uk> +%% +%% It may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License (LPPL), either version 1.3c of +%% this license or (at your option) any later version. The latest +%% version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Joseph Wright. +%% +%% This work consists of the files biblatex-ieee.bib, +%% biblatex-ieee.tex, +%% ieee.bbx, +%% ieee.cbx, +%% ieee-alphabetic.bbx, +%% ieee-alphabetic.cbx and +%% magyar-ieee.lbx, +%% and the derived files biblatex-ieee.pdf and +%% biblatex-ieee-alphabetic.pdf. +%% +%% +%% End of file `ieee-alphabetic.bbx'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee-alphabetic.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee-alphabetic.cbx new file mode 100644 index 0000000000..edc22f20b0 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee-alphabetic.cbx @@ -0,0 +1,72 @@ +%% --------------------------------------------------------------- +%% biblatex-ieee --- A biblatex implementation of the IEEE +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\ProvidesFile{ieee-alphabetic.cbx}[2019/06/19 v1.3a biblatex citation style] + +\RequireCitationStyle{alphabetic} + +\ifcsdef{blx@backend} + {% + \ifnumequal\blx@backend\blx@backend@biber + {% + \ExecuteBibliographyOptions{ + maxalphanames = 4, + maxcitenames = 3, + minalphanames = 3, + minnames = 1 + }% + } + {% + \ExecuteBibliographyOptions{ + maxcitenames = 4, + minnames = 3 + }% + \protected\edef\abx@macro@textcite{% + \defcounter{maxnames}{3}% + \defcounter{minnames}{1}% + \unexpanded\expandafter{\abx@macro@textcite}% + }% + }% + } + {% + \ExecuteBibliographyOptions{ + maxalphanames = 4, + maxcitenames = 3, + minalphanames = 3, + minnames = 1 + }% + } + +%% +%% Copyright (C) 2011-2013,2015-2018 by +%% Joseph Wright <joseph.wright@morningstar2.co.uk> +%% +%% It may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License (LPPL), either version 1.3c of +%% this license or (at your option) any later version. The latest +%% version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Joseph Wright. +%% +%% This work consists of the files biblatex-ieee.bib, +%% biblatex-ieee.tex, +%% ieee.bbx, +%% ieee.cbx, +%% ieee-alphabetic.bbx, +%% ieee-alphabetic.cbx and +%% magyar-ieee.lbx, +%% and the derived files biblatex-ieee.pdf and +%% biblatex-ieee-alphabetic.pdf. +%% +%% +%% End of file `ieee-alphabetic.cbx'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee.bbx new file mode 100644 index 0000000000..ac90ffa973 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee.bbx @@ -0,0 +1,817 @@ +%% --------------------------------------------------------------- +%% biblatex-ieee --- A biblatex implementation of the IEEE +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\ProvidesFile{ieee.bbx}[2019/06/19 v1.3a biblatex bibliography style] + +% Load the standard style to avoid copy-pasting unnecessary material +\RequireBibliographyStyle{numeric-comp} + +% An option that carries through from author-year styles +\DeclareBibliographyOption[boolean]{dashed}[true]{% + \ifstrequal{#1}{true} + {\ExecuteBibliographyOptions{pagetracker}% + \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}} + {\renewbibmacro*{bbx:savehash}{}}} + +% Alter settings that carry through from biblatex +\ExecuteBibliographyOptions{ + giveninits, + maxnames = 999, + minnames = 3, + sorting = none +} +\uspunctuation + +% Load language-specific customizations +\DeclareLanguageMapping{magyar}{magyar-ieee} +% If more language-specific customizations besides magyar should get +% added, the above explicit mapping per language can be replaced with: +% \DeclareLanguageMappingSuffix{-ieee} + +% Custom field formats +\DeclareFieldFormat[article]{number}{\bibstring{number}\addnbspace#1} +\DeclareFieldFormat[patent]{number}{\mkonepagegrouped{#1}} +\DeclareFieldFormat{pages}{% + \mkpageprefix[bookpagination][\mkpagegrouped]{#1}% +} +\DeclareFieldFormat{sentencecase}{\bbx@colon@search{\MakeSentenceCase*}{#1}} +\DeclareFieldFormat[book,inbook,incollection,inproceedings]{series} + {\bibstring{jourser}\addnbspace#1} +\DeclareFieldFormat[online]{title}{#1\isdot} +\DeclareFieldFormat[report]{title}{\mkbibquote{#1\isdot}} +\DeclareFieldFormat{url}{\bibstring{url}\addcolon\space\url{#1}} +\DeclareFieldFormat*{volume} + {\bibstring{volume}\addnbspace#1} +\DeclareFieldFormat[article,periodical]{volume} + {\bibstring{jourvol}\addnbspace#1} + +% Simple modifications to punctuation, etc. +\renewcommand*\bibnamedash{\textemdash\textemdash} +\renewcommand*\intitlepunct{\addspace} +\renewcommand*\newunitpunct{\addcomma\addspace} + +% Bibliography strings +\NewBibliographyString{patentjp} +\NewBibliographyString{presentedat} + +\DefineBibliographyStrings{english}{ + andothers = \mkbibemph{et al\adddot} , + chapter = ch\adddot , + editor = Ed\adddot , + editors = Eds\adddot , + mathesis = Master's thesis , + patentjp = Japanese Patent , + patentus = U\adddot S\adddot\addspace Patent , + presentedat = presented at the\addspace , + techreport = Tech\adddot\addspace Rep\adddot , + url = [Online]\adddot\addspace Available , +} + +\DefineBibliographyStrings{english}{ + june = Jun\adddot , + july = Jul\adddot , + september = Sep\adddot , +} + +% Support for dashed author name replacement +\InitializeBibliographyStyle{\global\undef\bbx@lasthash} + +\newbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}} + +% Bibliography macros +\renewbibmacro*{author}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {% + \iffieldequals{fullhash}{\bbx@lasthash} + {\bibnamedash\addcomma\space} + {\printnames{author}}% + \usebibmacro{bbx:savehash}% + \iffieldundef{authortype} + {} + {% + \setunit{\addcomma\space}% + \usebibmacro{authorstrg}% + }% + } + {\global\undef\bbx@lasthash}% +} + +\renewbibmacro*{bybookauthor}{% + \ifnamesequal{author}{bookauthor} + {} + {% + \iffieldundef{bookauthor} + {} + {% + \printnames{bookauthor}% + \newunit + }% + }% +} + +\renewbibmacro*{byeditor+others}{% + \ifnameundef{editor} + {} + {% + \usebibmacro{editor}% + \setunit{\addspace}% + \printnames[byeditor]{editor}% + \clearname{editor}% + \newunit + }% + \usebibmacro{byeditorx}% + \usebibmacro{bytranslator+others}% +} + +\renewbibmacro*{doi+eprint+url}{% + \setunit{\adddot\addspace}% + \iftoggle{bbx:doi} + {\printfield{doi}} + {}% + \setunit{\adddot\addspace}% + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \setunit{\adddot\addspace}% + \iftoggle{bbx:url} + {\usebibmacro{url+urldate}} + {}% +} + +\renewbibmacro*{event+venue+date}{% + \iffieldundef{eventtitle} + {} + {% + \bibstring{presentedat}% + \printfield{eventtitle}% + }% + \ifboolexpr{ + test {\iffieldundef{venue}} + and + test {\iffieldundef{eventyear}} + } + {} + {\setunit*{\addspace}% + \printtext[parens]{% + \printfield{venue}% + \setunit*{\addcomma\space}% + \printeventdate}}% + \newunit +} + +\newbibmacro*{institution+location}{% + \printlist{institution}% + \newunit + \printlist{location}% + \newunit +} + +\renewbibmacro*{institution+location+date}{% + \printlist{institution}% + \newunit + \printlist{location}% + \newunit + \usebibmacro{date}% + \newunit +} + +\renewbibmacro*{issue+date}{% + \printtext{% + \iffieldundef{issue} + {\usebibmacro{date}} + {% + \printfield{issue}% + \setunit*{\addspace}% + \usebibmacro{date}% + }% + }% + \newunit + \usebibmacro{issue}% + \newunit +} + +\renewbibmacro*{journal}{% + \iffieldundef{journaltitle} + {} + {% + \printtext[journaltitle]{% + \printfield[titlecase]{journaltitle}% + \printfield[titlecase]{journalsubtitle}% + }% + }% + \midsentence +} + +\renewbibmacro*{journal+issuetitle}{% + \usebibmacro{journal}% + \newunit + \iffieldundef{series} + {} + {% + \newunit + \printfield{series}% + \newunit + }% + \usebibmacro{volume+number+eid}% + \setunit{\addspace}% +} + +\renewbibmacro*{maintitle+booktitle}{% + \iffieldundef{maintitle} + {} + {% + \usebibmacro{maintitle}% + \newunit\newblock + }% + \usebibmacro{booktitle}% + \newunit +} + +\newbibmacro*{maintitle+booktitle(inproceedings)}{% + \iffieldundef{maintitle} + {% + \iffieldundef{booktitle} + {} + {% + \usebibmacro{in:}% + \usebibmacro{maintitle+booktitle}% + \clearfield{eventtitle}% + \clearfield{number}% + }% + } + {% + \usebibmacro{in:}% + \usebibmacro{maintitle+booktitle}% + \clearfield{eventtitle}% + \clearfield{number}% + }% +} + +\renewbibmacro*{maintitle+title}{% + \iffieldsequal{maintitle}{title} + {% + \clearfield{maintitle}% + \clearfield{mainsubtitle}% + \clearfield{maintitleaddon}% + } + {% + \iffieldundef{maintitle} + {} + {% + \usebibmacro{maintitle}% + \newunit\newblock + }% + }% + \usebibmacro{title-in-maintitle}% + \newunit +} + +\newbibmacro*{pages}{% + \setunit{\bibpagespunct}% + \printfield{pages}% +} + +\renewbibmacro*{title}{% + \ifboolexpr{ + test {\iffieldundef{title}} + and + test {\iffieldundef{subtitle}} + } + {} + {% + \printtext[title]{% + \printfield[sentencecase]{title}% + \setunit{\subtitlepunct}% + \printfield[sentencecase]{subtitle}% + }% + \newunit + }% + \printfield{titleaddon}% +} + +\newbibmacro*{title-in-maintitle}{% + \ifboolexpr{ + test {\iffieldundef{title}} + and + test {\iffieldundef{subtitle}} + } + {} + {% + \printtext[title]{% + \printfield[titlecase]{title}% + \setunit{\subtitlepunct}% + \printfield[titlecase]{subtitle}% + }% + \newunit + }% + \printfield{titleaddon}% +} + +\renewbibmacro*{volume+number+eid}{% + \printfield{volume}% + \newunit + \printfield{number}% + \newunit + \printfield{eid}% +} + +\newbibmacro*{volume+part}{% + \iffieldundef{volume} + {} + {% + \printfield{volume}% + \printfield{part}% + \setunit{\addcolon\space}% + }% +} + +% Specialised functions for manipulating data, where the biblatex +% kernel does not provide a suitable function. +\newcommand*{\mkpagegrouped}[1]{% + \mkpagegrouped@aux#1\bibrangedash&% +} + +\newcommand*{\mkpagegrouped@aux}{} +\def\mkpagegrouped@aux#1\bibrangedash#2&{% + \mkonepagegrouped{#1}% + \ifblank{#2} + {} + {% + \bibrangedash + \mkpagegrouped@second#2&% + }% +} + +\newcommand*{\mkonepagegrouped}[1]{% + \ifinteger{#1} + {% + \mkpagegrouped@ifmorethanfour{#1} + {\mkpagegrouped@separate{}#1\@empty\@empty\@empty} + {#1}% + } + {#1}% +} + +\newcommand*{\mkpagegrouped@second}{} +\def\mkpagegrouped@second#1\bibrangedash&{% + \mkpagegrouped@second@auxi#1\bibrangessep&% +} + +\newcommand*{\mkpagegrouped@second@auxi}{} +\def\mkpagegrouped@second@auxi#1\bibrangessep#2&{% + \mkonepagegrouped{#1}% + \ifblank{#2} + {} + {% + \bibrangessep + \mkpagegrouped@second@auxii#2&% + }% +} + +\newcommand*{\mkpagegrouped@second@auxii}{} +\def\mkpagegrouped@second@auxii#1\bibrangessep&{% + \mkpagegrouped{#1}% +} + +\newcommand*{\mkpagegrouped@ifmorethanfour}[1]{% + \mkpagegrouped@ifmorethanfour@aux#1\@empty\@empty\@empty\@empty + \@empty\@nil +} + +\newcommand*{\mkpagegrouped@ifmorethanfour@aux}{} +\def\mkpagegrouped@ifmorethanfour@aux#1#2#3#4#5\@nil{% + \ifx\@empty#5\@empty + \expandafter\@secondoftwo + \else + \expandafter\@firstoftwo + \fi +} + +\newcommand*{\mkpagegrouped@separate}[4]{% + \ifx\@empty#2\@empty + \mkpagegrouped@print#1\relax + \else + \ifx\@empty#3\@empty + \mkpagegrouped@print\@empty\@empty#1#2\relax + \else + \ifx\@empty#4\@empty + \mkpagegrouped@print\@empty#1#2#3\relax + \else + \mkpagegrouped@separate@aux{#1#2#3#4}% + \fi + \fi + \fi +} + +\newcommand*{\bbx@digits@separate@aux}{} +\def\mkpagegrouped@separate@aux#1\fi\fi\fi{% + \fi\fi\fi\mkpagegrouped@separate{#1}% +} + +\newcommand*{\mkpagegrouped@print}[4]{% + \ifblank{#1}{}{#1}% + #2#3% + \ifx#4\relax + \else + \addnbthinspace + \expandafter\mkpagegrouped@print\expandafter#4% + \fi +} + +% {<process>} {<text>} +\newcommand*{\bbx@colon@search}[2]{% + \bbx@colon@search@auxi\empty#2: \stop{#1}% +} +\long\def\bbx@colon@search@auxi#1: #2\stop#3{% + \expandafter\bbx@colon@search@auxii\expandafter{#1}{#3}% + \ifblank{#2} + {} + {% + : % + \bbx@colon@search@auxi\empty#2\stop{#3}% + }% +} +\newcommand\bbx@colon@search@auxii[2]{#2{#1}} + +% New bibliography drivers, using the required order of fields. These +% are mainly copied from standard.bbx then modified. +\DeclareBibliographyDriver{article}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \newunit + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{bytranslator+others}% + \newunit\newblock + \printfield{version}% + \newunit\newblock + \usebibmacro{journal+issuetitle}% + \newunit + \usebibmacro{byeditor+others}% + \newunit + \usebibmacro{pages}% + \newunit + \usebibmacro{issue+date}% + \newunit + \printfield{note}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{issn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{book}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{maintitle+title}% + \newunit + \printlist{language}% + \newunit\newblock + \printfield{edition}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \setunit{\adddot\addspace}% + \newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{volume+part}% + \newunit + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inbook}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{bybookauthor}% + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{edition}% + \newunit + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \setunit{\adddot\addspace}% + \newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{volume+part}% + \newunit + \usebibmacro{chapter+pages}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{incollection}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{in:}% + \usebibmacro{maintitle+booktitle}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{edition}% + \newunit + \iffieldundef{maintitle} + {\printfield{volume}% + \printfield{part}} + {}% + \newunit + \printfield{volumes}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{inproceedings}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/translator+others}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{maintitle+booktitle(inproceedings)}% + \midsentence + \newunit\newblock + \usebibmacro{event+venue+date}% + \newunit\newblock + \usebibmacro{byeditor+others}% + \newunit\newblock + \printfield{volumes}% + \newunit\newblock + \usebibmacro{series+number}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \newunit\newblock + \usebibmacro{volume+part}% + \newunit + \usebibmacro{publisher+location+date}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isbn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{online}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author/editor+others/translator+others}% + \setunit{\adddot\addspace}% + \printtext[parens]{\usebibmacro{date}}% + \setunit{\adddot\addspace}% + \usebibmacro{title}% + \setunit{\adddot\addspace}% + \printlist{language}% + \setunit{\adddot\addspace}% + \usebibmacro{byauthor}% + \setunit{\adddot\addspace}% + \usebibmacro{byeditor+others}% + \setunit{\adddot\addspace}% + \printfield{version}% + \setunit{\adddot\addspace}% + \printfield{note}% + \newunit\newblock + \printlist{organization}% + \setunit{\adddot\addspace}% + \iftoggle{bbx:eprint} + {\usebibmacro{eprint}} + {}% + \newunit\newblock + \usebibmacro{url+urldate}% + \setunit{\adddot\addspace}% + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{patent}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \newunit\newblock + \printfield{note}% + \newunit\newblock + \usebibmacro{date}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +\DeclareBibliographyDriver{report}{% + \usebibmacro{bibindex}% + \usebibmacro{begentry}% + \usebibmacro{author}% + \setunit{\labelnamepunct}\newblock + \usebibmacro{title}% + \newunit + \printlist{language}% + \newunit\newblock + \usebibmacro{byauthor}% + \newunit\newblock + \usebibmacro{institution+location}% + \newunit\newblock + \printfield{type}% + \setunit*{\addspace}% + \printfield{number}% + \newunit\newblock + \printfield{version}% + \newunit\newblock + \usebibmacro{date}% + \newunit + \printfield{note}% + \newunit\newblock + \usebibmacro{chapter+pages}% + \newunit + \printfield{pagetotal}% + \newunit\newblock + \iftoggle{bbx:isbn} + {\printfield{isrn}} + {}% + \newunit\newblock + \usebibmacro{doi+eprint+url}% + \newunit\newblock + \usebibmacro{addendum+pubstate}% + \setunit{\bibpagerefpunct}\newblock + \usebibmacro{pageref}% + \newunit\newblock + \iftoggle{bbx:related} + {\usebibmacro{related:init}% + \usebibmacro{related}} + {}% + \usebibmacro{finentry}} + +%% +%% Copyright (C) 2011-2013,2015-2018 by +%% Joseph Wright <joseph.wright@morningstar2.co.uk> +%% +%% It may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License (LPPL), either version 1.3c of +%% this license or (at your option) any later version. The latest +%% version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Joseph Wright. +%% +%% This work consists of the files biblatex-ieee.bib, +%% biblatex-ieee.tex, +%% ieee.bbx, +%% ieee.cbx, +%% ieee-alphabetic.bbx, +%% ieee-alphabetic.cbx and +%% magyar-ieee.lbx, +%% and the derived files biblatex-ieee.pdf and +%% biblatex-ieee-alphabetic.pdf. +%% +%% +%% End of file `ieee.bbx'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee.cbx new file mode 100644 index 0000000000..3d31f8ebdf --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/ieee.cbx @@ -0,0 +1,88 @@ +%% --------------------------------------------------------------- +%% biblatex-ieee --- A biblatex implementation of the IEEE +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright@morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\ProvidesFile{ieee.cbx}[2019/06/19 v1.3a biblatex citation style] + +\RequireCitationStyle{numeric-comp} + +\ExecuteBibliographyOptions{ + maxcitenames = 3, + minnames = 3, + sorting = none +} + +% Putting brackets around each citation number is a two-part +% operation. First, remove them from around the whole citation by +% redeclaring here. +\DeclareCiteCommand{\cite}% + {\usebibmacro{cite:init}% + \bibopenbracket + \usebibmacro{prenote}} + {\usebibmacro{citeindex}% + \usebibmacro{cite:comp}} + {} + {\usebibmacro{cite:dump}% + \usebibmacro{postnote}% + \bibclosebracket + } + +% The second step is to replace \multicitedelim with a version wrapped in +% the appropriate delimiter. +\renewcommand*{\do}[1]{% + \expandafter\patchcmd\expandafter + {\csname abx@macro@\detokenize{#1}\endcsname}% + {\multicitedelim} + {\bibclosebracket\multicitedelim\bibopenbracket} + {} + {% + \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc + }% + } +\docsvlist{cite:comp:comp,cite:comp:end,cite:comp:inset,cite:dump} + +% There's also one \bibrangedash to alter. +\expandafter\patchcmd\expandafter + {\csname abx@macro@\detokenize{cite:dump}\endcsname}% + {\bibrangedash} + {\bibclosebracket\bibrangedash\bibopenbracket} + {} + {% + \PackageError{biblatex-ieee}{Failed to update citation style}\@ehc + }% + +% More bracket removal required +\DeclareMultiCiteCommand{\cites}{\cite}{\multicitedelim} + +%% +%% Copyright (C) 2011-2013,2015-2018 by +%% Joseph Wright <joseph.wright@morningstar2.co.uk> +%% +%% It may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License (LPPL), either version 1.3c of +%% this license or (at your option) any later version. The latest +%% version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Joseph Wright. +%% +%% This work consists of the files biblatex-ieee.bib, +%% biblatex-ieee.tex, +%% ieee.bbx, +%% ieee.cbx, +%% ieee-alphabetic.bbx, +%% ieee-alphabetic.cbx and +%% magyar-ieee.lbx, +%% and the derived files biblatex-ieee.pdf and +%% biblatex-ieee-alphabetic.pdf. +%% +%% +%% End of file `ieee.cbx'. diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-ieee/magyar-ieee.lbx b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/magyar-ieee.lbx new file mode 100644 index 0000000000..52f87d1bb7 --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-ieee/magyar-ieee.lbx @@ -0,0 +1,60 @@ +%% --------------------------------------------------------------- +%% biblatex-ieee --- A biblatex implementation of the IEEE +%% bibliography style +%% Maintained by Joseph Wright +%% E-mail: joseph.wright at morningstar2.co.uk +%% Released under the LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% --------------------------------------------------------------- +%% + +\ProvidesFile{magyar-ieee.lbx} +\InheritBibliographyExtras{magyar} + +\DeclareBibliographyStrings{inherit={magyar}} + +\DeclareBibliographyExtras{ + \savefieldformat{number}% + \savefieldformat{volume}% + \savefieldformat{series}% + \DeclareFieldFormat[article, periodical]{number}{\mkbibordinal{#1}\addnbspace\bibstring{number}}% + \DeclareFieldFormat[book,inbook,incollection,inproceedings]{series}{% + \ifnumerals{#1}{\mkbibordinal{#1}}{#1}\addnbspace\bibstring{jourser}}% + \DeclareFieldFormat*{volume}{% + \ifnumerals{#1}{\mkbibordinal{#1}}{#1}\addnbspace\bibstring{volume}}% + \DeclareFieldFormat[article,periodical]{volume}{% + \ifnumerals{#1}{\mkbibordinal{#1}}{#1}\addnbspace\bibstring{jourvol}}% +} + +\UndeclareBibliographyExtras{% + \restorefieldformat{volume}% + \restorefieldformat{number}% + \restorefieldformat{series}% +} + +%% +%% Copyright (C) 2011-2013,2015-2018 by +%% Joseph Wright <joseph.wright at morningstar2.co.uk> +%% +%% It may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License (LPPL), either version 1.3c of +%% this license or (at your option) any later version. The latest +%% version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Joseph Wright. +%% +%% This work consists of the files biblatex-ieee.bib, +%% biblatex-ieee.tex, +%% ieee.bbx, +%% ieee.cbx, +%% ieee-alphabetic.bbx, +%% ieee-alphabetic.cbx and +%% magyar-ieee.lbx, +%% and the derived files biblatex-ieee.pdf and +%% biblatex-ieee-alphabetic.pdf. +%% +%% +%% End of file `biblatex-ieee.bib'.
\ No newline at end of file |