diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-14 22:10:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-14 22:10:23 +0000 |
commit | e28c751e2974cde2d2ccdd4f9c2710a31b918838 (patch) | |
tree | cd85030e0c477742571b53aab7a1590c399e6595 /Master | |
parent | 0892468520b6036f55c4e0dbcf6b6da48222a183 (diff) |
biblatex-iso690 (14may16)
git-svn-id: svn://tug.org/texlive/trunk@41126 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
21 files changed, 1850 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex-iso690/README b/Master/texmf-dist/doc/latex/biblatex-iso690/README new file mode 100755 index 00000000000..88f6ab05d02 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-iso690/README @@ -0,0 +1,74 @@ +Style ISO 690 for biblatex +========================== + +Biblatex is bibliography and citation tool for LaTeX. This project provides +support for citations in ISO 690 style. As the norm is a little bit ambiguous +in some details regarding formatting of records, we largely follow +requirements of Czech interpretation, as it is required form in many Czech +universities. Style can be used in other languages as well, of course. + +Install +------- + +Open the terminal and find location of your TEXMFHOME directory with this command. + + kpsewhich -var-value TEXMFHOME + +Open this directory using and check that directory $TEXMFHOME/tex/latex exists. +If it doesn't exist, you must create it. You can do this from the +command line or using a file manager. Open the $TEXMFHOME/tex/latex directory and either +run command + + git clone git@github.com:michal-h21/biblatex-iso690.git + +or unzip file + + https://github.com/michal-h21/biblatex-iso690/archive/master.zip + +here. You should be able to use biblatex-iso690 now. + + + +Usage: +------ +... +\usepackage[english,czech]{babel} % main language of the document must be last +\usepackage[ + backend=biber % if we want unicode + ,style=iso-authoryear % or iso-numeric for numeric citation method + ,autolang=other % to support multiple languages in bibliography + ,sortlocale=cs_CZ % locale of main language, it is for sorting + ,bibencoding=UTF8 % this is necessary only if bibliography file is in different encoding than main document +]{biblatex} +... + +Custom options: + spacecolon + add space before colon in publisher and title: + [true] Praha : Academia + [false] Praha: Academia + +Bibliographic fields: +Some fields have different meaning than in plain BibTeX. + +1. if publication is written in other language than the main document is, it should have filled "langid" field + + langid = {czech} + +2. publications with online versions should have "urldate" field. it is date when you last checked publication online + + urldate = {2011-01-12}, + +3. if publication has more isbn or issn numbers, use just one of them + +4. publisher and place + + location = {Praha}, + publisher = {Academia} + +For more details see file mybib.bib + +License +------- + +GNU/GPL 3 diff --git a/Master/texmf-dist/doc/latex/biblatex-iso690/biblatex-iso690.pdf b/Master/texmf-dist/doc/latex/biblatex-iso690/biblatex-iso690.pdf Binary files differnew file mode 100755 index 00000000000..a27b9dac17c --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-iso690/biblatex-iso690.pdf diff --git a/Master/texmf-dist/doc/latex/biblatex-iso690/biblatex-iso690.tex b/Master/texmf-dist/doc/latex/biblatex-iso690/biblatex-iso690.tex new file mode 100755 index 00000000000..5e397a77c2e --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex-iso690/biblatex-iso690.tex @@ -0,0 +1,516 @@ +\documentclass[a4paper,10pt]{ltxdockit} +\usepackage[czech,english]{babel} +\usepackage[utf8]{inputenc} +%\usepackage{tgpagella} +\usepackage[T1]{fontenc} +\usepackage{microtype} +\usepackage{hanging} + + +\def\t|#1|{\texttt{#1}} +\def\c#1{% +\hangpara{3em}{1}% +\fullcite{#1}} + +\newcommand*{\biber}{\sty{biber}\xspace} +\newcommand*{\biblatex}{\sty{biblatex}\xspace} + +\usepackage[ + backend=biber + ,style=iso-authoryear + ,autolang=other + ,pagetotal=true + ,sortlocale=cs_CZ + ,bibencoding=UTF8 + ,spacecolon=false + %,block=ragged +]{biblatex} + +\addbibresource{mybib.bib} + +\titlepage{% + title={ISO~690 \biblatex style}, + subtitle={}, + url={https://github.com/michal-h21/biblatex-iso690}, + author={Michal Hoftich}, + email={michal.h21@gmail.com}, + revision={0.3.1}, + date={\today}} + +\hypersetup{% + pdftitle={ISO~690 \biblatex style}, + pdfsubject={Bibliography References and Citations by ISO~690}, + pdfauthor={Michal Hoftich with Johannes Böttcher, Moewew and Dávid Lupták}, + pdfkeywords={tex, latex, bibtex, biblatex, bibliography, references, citation}} + +\begin{document} + +\printtitlepage +\tableofcontents + +\section{Introduction} + +\subsection{About} + +\biblatex is a bibliography and citation tool for \LaTeX. This project provides +support for citations and references according to the ISO~690 international standard. +As the norm ISO~690 is a little bit ambiguous in some details regarding formatting of records, +we largely follow requirements of Czech interpretation, as it is required form +in many Czech universities. Of course, style can be used in other languages as well. + +\subsection{Requirements} + +Basically, \biblatex $\geq$ 3.4 with \biber $\geq$ 2.5 is all you need to use this package. +No special packages different from those required by \biblatex package are used. For complete +list of such packages, please refer to the \biblatex documentation. + +\subsection{License} + +This project is released under GNU/GPL 3\footnote{\url{http://www.gnu.org/licenses/gpl.txt}} license. + +\subsection{Acknowledgments} + +Thanks to all contributors who have participated on the development of this style, +especially Johannes Böttcher, Moewew, Dávid Lupták and others. + +\subsection{Feedback} + +The project lives on the GitHub page \url{https://github.com/michal-h21/biblatex-iso690} +so feel free to use the possibilites provided there for reporting issues and the like. + +\section{Use} + +\subsection{General} + +\begin{verbatim} +.. +\usepackage[english,czech]{babel} +% or in case of using xelatex, use polyglossia package instead +\usepackage{polyglossia} +\setmainlanguage{czech} +\setotherlanguage{english} +.. +\usepackage[ + backend=biber + ,style=iso-authoryear + ,sortlocale=cs_CZ + ,autolang=other + ,bibencoding=UTF8 +]{biblatex} +\addbibresource{filename.fileextension} +.. +\printbibliography + +\end{verbatim} + +According to the ISO~690 norm, some of the elements of the bibliographic +resource should be printed in the main document language (language I~am +currently writing) while the others in the language of a resource. You can +specify the language of a resource into the field \t|langid| on the per-entry +basis in a resource (\t|.bib|) file. In addition, all of the languages +specified in these fields have to be loaded by \t|babel| or \t|polyglossia| +package respectively.\label{gen:multilang} + +Note that for correct support of localization functionality, the \t|babel| +package should be used. The main document language is the last one entered +in a list of languages passed to this package. + +\subsection{Package options} + +\subsubsection{Provided by \biblatex by default} + +Frequently used package options are + +\begin{description} +\item[style] style to be used for bibliographic references and citations. +Three possibilities are available, \t|iso-authoryear| commonly known as +Harvard system, \t|iso-numeric| as a numeric system and \t|iso-authortitle|. + +\item[backend] backend program for generating bibliographic entries. \biber +is the default one for \biblatex package, providing a big variety +of features. Another options are \t|bibtex| and \t|bibtex8|, but they both +are far behind the possibilities of \biber. \biber is the recommended backend. + +\item[autolang] controls which language environment is used. The most +significant value is \t|other|, which supports printing localization +terms in language of resource or language specific hyphenation. Default +value is \t|none|, which disables this feature. + +\item[sortlocale] responsible for sorting the bibliography according to the +entered \t|locale| language identifier. The main document language one should +be set. + +\item[bibencoding] specifies the encoding of the \t|bib| files. \t|<encoding>| +needs to be explicitly specified only if the encoding of the \t|bib| file +is different from the one of the \t|tex| file. Default value is \t|auto|, i.e. +the encoding of the \t|bib| file is identical to the encoding of the \t|tex| +file. +\end{description} + +\subsubsection{Provided by \t|biblatex-iso690| in addition} + +\begin{description} + \item[spacecolon] if \t|true|, the space is printed before the colon + used in subtitles and publication information. Printing the colon this way + is not recommended. Default value is \t|false|. + + \item[pagetotal] number of total pages is no longer required if the item + is being cited as a whole. Setting this option to \t|true| will print + such optional information in the notes section at the end of the reference. + Default value is \t|false|.\label{pkg:opt:iso690:pp} + + \item[shortnumeration] the standard ISO~690 allows omission of term + \t|volume| and terms for smaller components of a serial publication. + If this option is \t|true|, such terms are distinguished typographically + (the volume number in bold type and the part number, if required, in + parentheses). If \t|false|, such terms are printed with preceding + literal terms. + + \item[thesisinfolast] whether or not to print information about + thesis (i.e. type, institution or supervisor) in the note section + is ambiguous, print it before the section \textit{availability + and access} is possible by setting this option to \t|false|. + Default value is \t|true|. +\end{description} + + +\subsection{Database guide} + +\t|biblatex| supports more entry fields than legacy \t|bibtex|. Hence +some examples of bibliography entry types with respective fields follow. + +%\begin{description} + +\paragraph{Book} \hfill\\ + +\c{t01} +\begin{verbatim} +@BOOK{t01, + author = {Borgman, Christine L.}, + year = {2003}, + title = {From Gutenberg to the global information infrastructure}, + subtitle = {access to information in the networked world}, + edition = {1}, % should be not stated + location = {Cambridge (Mass)}, + publisher = {The MIT Press}, + pagetotal = {xviii, 324}, + isbn = {0-262-52345-0}, + langid = {english} +} +\end{verbatim} + +The \t|edition| field is edition of a printed publication. It's required +if the item is not a first edition. Use integer or literal string to fill in +this field. + +The \t|pagetotal| field is total number of pages of the work. If multiple +kinds of numeration is used in the work, e.g. arabic as well as roman numerals, +both can be provided, separated by a comma. Only for arabic numerals +the localization term \t|pages| is appended. Note that total number of pages +is no longer required by the norm itself, see also \ref{pkg:opt:iso690:pp}. + +The \t|langid| field is required for multilingual support of printing +references. This affects printing of localization terms used in the reference, +e.g. \t|edition| field. See also \ref{gen:multilang}. + +\paragraph{Contribution to a collection} \hfill\\ + +\c{t02} +\begin{verbatim} +@INCOLLECTION{t02, + author = {Greenberg, David}, + year = {1998}, + title = {Camel drivers and gatecrashers}, + subtitle = {quality control in the digital research library}, + editor = {Hawkins, B.L and Battin, P}, + booktitle = {The mirage of continuity}, + booksubtitle = {reconfiguring academic information + resources for the 21st century}, + location = {Washington (D.C.)}, + publisher = {Council on Library and Information Resources; + Association of American Universities}, + pages = {105-116}, + langid = {english} +} +\end{verbatim} + +The \t|title| field is title of the contribution, the \t|booktitle| +is title of the collection. + +The \t|pages| field is one or more page numbers or page ranges. This field +is essential since the reference should identify the part of the item +that is cited. + +It's also possible to use the cross-referencing feature to reference +from a contribution entry (child entry) to a separate entry of a collection +(parent entry). This can be done by the field \t|crossref| +as the following example shows: +\newline + +\noindent\c{prispevek1} + +\begin{verbatim} +@COLLECTION{sbornik, + title = {Mimořádně užitečný sborník}, + editor = {Geniální, Jiří}, + year = {2007}, + langid = {czech}, + location = {Praha}, + publisher = {Academia}, + isbn = {978-222-626-222-2} +} + +@INCOLLECTION{prispevek1, + crossref = {sbornik}, + title = {Velmi zajímavý článek}, + author = {Vlaštovka, Josef}, + pages = {22-45} +} +\end{verbatim} + +Now, there is no need to fill in \t|booktitle| in the \t|sbornik| entry. +The \t|biber| backend program performs the inheritance between parent and +child entry automatically. + +\paragraph{Article in a serial}\hfill\\ + +\c{t03} +\begin{verbatim} +@ARTICLE{t03, + author = {LYNCH, C.}, + year = {2005}, + title = {Where do we go from here?}, + subtitle = {the next decade for digital libraries}, + journaltitle = {DLib Magazine}, + volume = {11}, + number = {7/8}, + urldate = {2005-08-15}, + url = {http://www.dlib.org/dlib/july05/lynch/07lynch.html}, + issn = {1082-9873}, + langid = {english} +} +\end{verbatim} + +The example above is an article in online magazine. If the magazine +is available online only, i.e. it is not published in print, +it should be cited as an electronic information resource. This can be +achieved by providing the \t|urldate| field. On the other hand +\newline + +\c{knuth} +\begin{verbatim} +@PERIODICAL{tug, + journaltitle = {TUGBoat}, + publisher = {TUG}, + issn = {1222-3333}, + langid = {english}, + date = {1980/}, + url = {http://tugboat.tug.org/} +} + +@ARTICLE{knuth, + author = {Knuth, Donald}, + title = {Journeys of \TeX}, + volume = {17}, + number = {3}, + year = {2003}, + pages = {12-22}, + url = {http://tugboat.tug.org/kkk.pdf}, + crossref = {tug} +} +\end{verbatim} + +\noindent the example shows an article in printed magazine, which is also +available online. Similar to the contribution to a collection, +using cross-referencing feature can be of benefit. + +\subsubsection{Specific entry types} + +\paragraph{Thesis}\hfill\\ + +The entry type \t|thesis| and its aliases \t|mastersthesis| and +\t|phdthesis| are available by default for thesis works. Use the +\t|type| field to specify the type of the thesis -- localization +term or literal string could be entered. For the list of supported +localization terms, please refer to section 4.9.2.13 of the +\t|biblatex| documentation. Names of the supervisor and school +(institution) can be entered into the fields \t|supervisor| and +\t|institution|, respectively. + +\paragraph{Patent}\hfill\\ + +The field \t|classification| is available for the respective stuff. +For other details regarding \t|patent| type, please refer +to the \t|biblatex| documentation. + +\subsection{Hints and Caveats} + +This section provides additional hints concerning \t|biblatex| package +as well as ISO~690 standard. + +For now, some of the things has to be dealt with at the level of \t|bib| +file, another ones are directly addressed in this style package. +Everything else relies on the \t|biblatex| package, so please also refer +to the \t|biblatex| documentation. + +\subsubsection{Creators} + +The persons or organizations responsible for the cited work should be +primarily given into the \t|author| field. If it's not appropriate, +another fields like \t|editor| and \t|editorx| family fields or some +specific ones (e.g. \t|translator|) can be used. Note also the field +\t|editortype| and \t|editortypex| family fields which can be used +to specify type of the editor. This is useful to distinguish the role +of the creator and its relationship to the cited work. Some roles +are supported by default, e.g. \t|editor|, \t|compiler|, \t|founder|, +\t|reviser|, etc., in other cases the literal string can be entered. + +Example: +When citing cinematographic works which are typically output of many +individuals, title should be used as the first element of the reference. +However, it's appropriate to include some relevant roles, e.g. director: + +%\begin{ltxexample} +\begin{verbatim} + .. + editora = {Welles, Orson} + editoratype = {Directed by} + .. +\end{verbatim} +%\end{ltxexample} + +in English, or + +%\begin{ltxexample} +\begin{verbatim} + .. + editora = {Welles, Orson} + editoratype = {Réžia} + .. +\end{verbatim} +%\end{ltxexample} + +in Slovak. + +The field \t|nameaddon| can be used to append additional information +to the creator's name, e.g. variant forms of a name, name additions, +pseudonyms, etc. This field is printed as is, in square brackets after +creator's name. + +For anonymous works cited by author-year method, the term \textit{Anon} +should be used instead of creator's name. Please, reflect this +in \t|bib| file, since there is no other support for this for now. + +\subsubsection{Titles} + +Similar to the \t|nameaddon| field for names, \t|titleaddon| serves such +purpose for titles. This field is appropriate for providing other or +alternative titles, elucidation of ambiguous or incorrect titles, +substitute for no titles, translation of titles, etc. + +Note that also other \t|*titleaddon| fields are supported by default. + +\subsubsection{Medium type} + +The field \t|howpublished| is used for providing information about +medium designation or type of medium. Default value for electronic +information resources is \t|online|. This field is printed as is, +in square brackets after title section, generally. + +\subsubsection{Edition} + +The \t|edition| field is edition of a publication. It's required +if the item is not a first edition. Use integer or literal string +to fill in this field. Please reflect the constraint, not to print +the edition if the cited item is a first edition, by not providing +this field in the \t|bib| file. + +The \t|version| field is used for providing information about +updated versions of an item, usually software. + +\subsubsection{Date} + +In case no date is given and also no approximation is possible, that +should be stated. Please reflects this in \t|bib| file by including +the following line into the respective entry. + +\begin{verbatim} + .. + date = {\mkbibbrackets{\bibsstring{nodate}}} + .. +\end{verbatim} + +Explanation of the above code: +\t|nodate| is localization string which prints something like +\textit{n.d.}, \textit{b.r.}, etc. depending on the language, +\t|bibsstring| is a command to use such localization term and +\t|mkbibbrackets| is a command used to wrap it's argument into +the square brackets. Finally, this statement is entered into +the date entry field to be available as a date in a reference. +So as a result we get e.g. \textit{[n.d.]}, which conforms +the standard. + +Please also note the syntax for dates -- ISO 8601 format +(YYYY-MM-DD) is accepted. Please use slash instead of +any kind of dash for ranges of dates. If the range is +open ended, enter just the first date followed by a slash. +And last, but not least, use \t|date| field instead of +the \t|year| in general. + +Examples follow: + +\begin{verbatim} + date = {2012-12-21} % exact date + date = {1998/2001} % date range + date = {2016/} % open ended date range +\end{verbatim} + +\subsubsection{Location} + +If only limited number of copies of the work exists or +location of graphic work is essential to its identification, +such location (e.g. library or repository) should be stated +in a reference. The field \t|library| serves for this purpose. + +\nocite{*} +\printbibliography[title={Reference bibliography},heading={bibnumbered}] + + +\section{Revision history} + +\begin{changelog} + +\begin{release}{0.3.1}{2016-05-13} +\item Added support for entry types \t|thesis| and \t|patent| +\item Added support for including location information (\t|library| field) +\item Added Slovak localization +\item Removed non-breaking space after standard identifier terms +\item Streamlined the author-title citation style +\item Minor doc corrections +\end{release} + +\begin{release}{0.3}{2016-05-04} +\item A~complete refactoring of the style to comply the latest version of the \t|biblatex| package as well as ISO~690 international standard +\item Added english version of the documentation/user guide (this document) +\end{release} + +\begin{release}{0.2.1}{2016-03-13} +\item Solved issues about punctuation marks and redundant spaces +\item Compatibility support for the latest version of the \t|biblatex| package +\item Reformatted the driver for \verb|inbook| entry type +\end{release} + +\begin{release}{0.2}{2015-03-25} +\item Gathered changes during past four years +\item Solved issue about the spacing of strings in main document language +\end{release} + +\begin{release}{0.1}{2011-02-03} +\item First release +\item Draft of the documentation (only in Czech) +\item Support for almost all of the entry types provided by the \t|biblatex| package +\end{release} + +\end{changelog} + +\end{document} diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/czech-iso.lbx b/Master/texmf-dist/tex/latex/biblatex-iso690/czech-iso.lbx new file mode 100755 index 00000000000..8772e7e51b8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/czech-iso.lbx @@ -0,0 +1,18 @@ +\ProvidesFile{czech-iso.lbx} +[2016/05/13 v0.3.1 biblatex localization] + +\InheritBibliographyExtras{czech} +\InheritBibliographyStrings{czech} + +\DeclareBibliographyStrings{% + at = {{v}% + {v}}, + bysupervisor = {{vedouc\'{i} pr\'{a}ce}% + {vedouc\'{i} pr\'{a}ce}}, + urlfrom = {{dostupn\'{e} z}% + {dostupn\'{e} z}}, + urlalso = {{dostupn\'{e} tak\'{e} z}% + {dostupn\'{e} tak\'{e} z}}, +} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/english-iso.lbx b/Master/texmf-dist/tex/latex/biblatex-iso690/english-iso.lbx new file mode 100755 index 00000000000..537887a1676 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/english-iso.lbx @@ -0,0 +1,16 @@ +\ProvidesFile{english-iso.lbx} +[2016/05/13 v0.3.1 biblatex localization] + +\InheritBibliographyExtras{english} +\InheritBibliographyStrings{english} + +\DeclareBibliographyStrings{% + at = {{at}% + {at}}, + bysupervisor = {{supervised by}% + {supervised by}}, + urlalso = {{available also from}% + {available also from}}, +} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authortitle.bbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authortitle.bbx new file mode 100755 index 00000000000..739482f91aa --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authortitle.bbx @@ -0,0 +1,8 @@ +\ProvidesFile{iso-authortitle.bbx}[2016/05/13 v0.3.1 biblatex bibliography style] + +\RequireBibliographyStyle{iso} +\ExecuteBibliographyOptions{% + sorting=nty +} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authortitle.cbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authortitle.cbx new file mode 100755 index 00000000000..af9ae218955 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authortitle.cbx @@ -0,0 +1,11 @@ +\ProvidesFile{iso-authortitle.cbx}[2016/05/13 v0.3.1 biblatex citation style] + +\ExecuteBibliographyOptions{% + maxcitenames=1 + ,mincitenames=1 +} + +\RequireCitationStyle{authortitle} +\RequireCitationStyle{iso-fullcite} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authortitle.dbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authortitle.dbx new file mode 100755 index 00000000000..b68153cc736 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authortitle.dbx @@ -0,0 +1,6 @@ +\ProvidesFile{iso-authortitle.dbx}[2016/05/13 v0.3.1 biblatex data model extension] +\RequireBiber[3] +\DeclareDatamodelFields[type=list,datatype=name]{supervisor} +\DeclareDatamodelFields[type=field,datatype=literal]{classification} +\DeclareDatamodelEntryfields[thesis]{supervisor} +\DeclareDatamodelEntryfields[patent]{classification} diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authoryear.bbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authoryear.bbx new file mode 100755 index 00000000000..49629ce0ebf --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authoryear.bbx @@ -0,0 +1,91 @@ +\ProvidesFile{iso-authoryear.bbx}[2016/05/13 v0.3.1 biblatex bibliography style] + +\RequireBibliographyStyle{iso} +\ExecuteBibliographyOptions{% + sorting=nyt +} + +\def\printextrayear{% + \ifentrytype{patent} + {} + {\printfield{year}\printfield{extrayear}}% +} + +% remove second appearance of year in a reference +\renewbibmacro*{date}{}% + +% overwrite names:primary to print year right after +% 1) author +% 2) editor +% 3) label/title +% need to handle not to print editor twice (primary +% and subsidiary names) +\renewbibmacro*{names:primary}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {\usebibmacro{author}}% + {\usebibmacro{editor}}% + \setunit{\addspace}\printfield{nameaddon}% + \setunit{\addcomma\space}\printextrayear% +} + +\InitializeBibliographyStyle{\global\undef\bbx@lasthash} + +\newbibmacro*{bbx:savehash}{% + \savefield{fullhash}{\bbx@lasthash}} + +\newbool{bbx@inset} +\DeclareBibliographyDriver{set}{% + \booltrue{bbx@inset}% + \entryset{}{}% + \newunit\newblock + \usebibmacro{setpageref}% + \finentry} + +\renewbibmacro*{editor}{% + \usebibmacro{bbx:editor}{editorstrg}} +\newbibmacro*{bbx:editor}[1]{% + \ifboolexpr{ + test \ifuseeditor + and + not test {\ifnameundef{editor}} + } + {\usebibmacro{bbx:dashcheck} + {\bibnamedash} + {\usebibmacro{bbx:savehash}% + \printnames{editor}% + \addspace% + \mkbibparens{\usebibmacro{#1}}}% + \clearname{editor}}% + {\global\undef\bbx@lasthash + \usebibmacro{labeltitle}}}% + +\newbibmacro*{bbx:dashcheck}[2]{% + \ifboolexpr{ + test {\iffieldequals{fullhash}{\bbx@lasthash}} + and + not test \iffirstonpage + and + ( + not bool {bbx@inset} + or + test {\iffieldequalstr{entrysetcount}{1}} + ) + } + {#1} + {#2}} + +\newbibmacro*{labeltitle}{% + \iffieldundef{label} + {\iffieldundef{shorttitle} + {\usebibmacro{titles}{}{emph}% + \clearfield{title}% + \clearfield{subtitle}% + \clearfield{titleaddon}} + {\printfield{shorttitle}}} + {\printfield{label}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authoryear.cbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authoryear.cbx new file mode 100755 index 00000000000..d3801f640b9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authoryear.cbx @@ -0,0 +1,14 @@ +\ProvidesFile{iso-authoryear.cbx}[2016/05/13 v0.3.1 biblatex citation style] + +\ExecuteBibliographyOptions{% + maxcitenames=1 + ,mincitenames=1 +} + +\RequireCitationStyle{authoryear} +\RequireCitationStyle{iso-fullcite} + +\renewcommand*{\nameyeardelim}{\addcomma\addspace} +\renewcommand*{\nonameyeardelim}{\addcomma\addspace} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authoryear.dbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authoryear.dbx new file mode 100755 index 00000000000..9885b06918f --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-authoryear.dbx @@ -0,0 +1,6 @@ +\ProvidesFile{iso-authoryear.dbx}[2016/05/13 v0.3.1 biblatex data model extension] +\RequireBiber[3] +\DeclareDatamodelFields[type=list,datatype=name]{supervisor} +\DeclareDatamodelFields[type=field,datatype=literal]{classification} +\DeclareDatamodelEntryfields[thesis]{supervisor} +\DeclareDatamodelEntryfields[patent]{classification} diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-fullcite.cbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-fullcite.cbx new file mode 100755 index 00000000000..76d3ada239f --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-fullcite.cbx @@ -0,0 +1,20 @@ +% Fix for fullcite +\DeclareCiteCommand{\fullcite} + {\usebibmacro{prenote}% + \renewcommand*\mkbibnamelast{\lastnameformat}% + \renewcommand*\mkbibnamefamily{\lastnameformat}} + {\usedriver + {\DeclareNameAlias{sortname}{default}} + {\thefield{entrytype}}} + {\multicitedelim} + {\usebibmacro{postnote}} + +\DeclareCiteCommand{\footfullcite}[\mkbibfootnote] + {\usebibmacro{prenote}% + \renewcommand*\mkbibnamelast{\textsc}% + \renewcommand*\mkbibnamefamily{\textsc}} + {\usedriver + {\DeclareNameAlias{sortname}{default}} + {\thefield{entrytype}}} + {\multicitedelim} + {\usebibmacro{postnote}} diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.bbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.bbx new file mode 100755 index 00000000000..d661c3e72dd --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.bbx @@ -0,0 +1,34 @@ +\ProvidesFile{iso-numeric.bbx}[2016/05/13 v0.3.1 biblatex bibliography style] + +\RequireBibliographyStyle{iso} +\ExecuteBibliographyOptions{% + sorting=none, + labelnumber +} + +\DeclareFieldFormat{labelnumberwidth}{#1\adddot} + +\@ifpackagelater{biblatex}{2016/03/27} + {\newcommand\MethodFormat{% + \printtext[labelnumberwidth]{% + \printfield{labelprefix}% + \printfield{labelnumber}}}}% + {\newcommand\MethodFormat{% + \printtext[labelnumberwidth]{% + \printfield{prefixnumber}% + \printfield{labelnumber}}}}% + +\defbibenvironment{bibliography} + {\list% + {\MethodFormat}% + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1} + %\raggedright} + }% + {\endlist}% + {\item}% + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.cbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.cbx new file mode 100755 index 00000000000..d2c2011b0ec --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.cbx @@ -0,0 +1,6 @@ +\ProvidesFile{iso-numeric.cbx}[2016/05/13 v0.3.1 biblatex citation style] + +\RequireCitationStyle{numeric} +\RequireCitationStyle{iso-fullcite} + +\endinput diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.dbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.dbx new file mode 100755 index 00000000000..4edbb68ace9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso-numeric.dbx @@ -0,0 +1,6 @@ +\ProvidesFile{iso-numeric.dbx}[2016/05/13 v0.3.1 biblatex data model extension] +\RequireBiber[3] +\DeclareDatamodelFields[type=list,datatype=name]{supervisor} +\DeclareDatamodelFields[type=field,datatype=literal]{classification} +\DeclareDatamodelEntryfields[thesis]{supervisor} +\DeclareDatamodelEntryfields[patent]{classification} diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/iso.bbx b/Master/texmf-dist/tex/latex/biblatex-iso690/iso.bbx new file mode 100755 index 00000000000..4f240cf3719 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/iso.bbx @@ -0,0 +1,812 @@ +\ProvidesFile{iso.bbx}[2016/05/13 v0.3.1 biblatex bibliography style] + +\DeclareLanguageMapping{czech}{czech-iso} +\DeclareLanguageMapping{english}{english-iso} +\DeclareLanguageMapping{slovak}{slovak-iso} +\NewBibliographyString{at,bysupervisor,urlalso} + +%options + +\newtoggle{bbx:spcolon} +\DeclareBibliographyOption{spacecolon}[true]{% + \settoggle{bbx:spcolon}{#1}% + \typeout{Space colon enabled: #1}} + +\newtoggle{bbx:totalpages} +\DeclareBibliographyOption{pagetotal}[true]{% + \settoggle{bbx:totalpages}{#1}% + \typeout{Showing total pages enabled: #1}} + +\newtoggle{bbx:shortnum} +\DeclareBibliographyOption{shortnumeration}[true]{% + \settoggle{bbx:shortnum}{#1}% + \typeout{Short numeration enabled: #1}} + +\newtoggle{bbx:thesisinfolast} +\DeclareBibliographyOption{thesisinfolast}[true]{% + \settoggle{bbx:thesisinfolast}{#1}% + \typeout{Printing thesis info at the end enabled: #1}} + + +\ExecuteBibliographyOptions{% + spacecolon=false + ,pagetotal=false + ,shortnumeration=false + ,thesisinfolast=true + %sorting=nyt + ,maxnames=9 + ,minnames=1 + ,citetracker=true + %,autolang=other + ,date=year + ,urldate=iso8601 +} + +\newbibmacro*{begentry}{} +\newbibmacro*{finentry}{\finentry} + +%commands + +\newcommand\mainsstring[1]{\bibsstring[\mainlang]{#1}} +\newcommand\mainlstring[1]{\biblstring[\mainlang]{#1}} + +\renewcommand*\subtitlepunct{\addspacecolon\addspace} +\renewcommand\multinamedelim{\addsemicolon\addspace} +\renewcommand\finalnamedelim{\multinamedelim} + +\newcommand\addspacecolon{% + \iftoggle{bbx:spcolon} + {\addnbspace\blx@addsppunct{colon}} + {\unspace\blx@addsppunct{colon}}% +} + +% Thanks Moewew for sugesting this. Make uppercase names only in biblipgraphy. +% Default name format is ALL-CAPS +% use something like +% \let\lastnameformat=\textsc +% to change this + +\providecommand{\mkbibnamefamily}[1]{#1} +\newcommand\lastnameformat[1]{\MakeUppercase{#1}} +\AtBeginBibliography{% + \renewcommand\mkbibnamelast{\lastnameformat}% + \renewcommand\mkbibnamefamily{\lastnameformat}% +} + +\defbibenvironment{bibliography} + {\list% + {}% + {\setlength{\leftmargin}{\bibhang}% + \setlength{\itemindent}{-\leftmargin}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1} + %\raggedright} + }% + {\endlist}% + {\item}% +% + +%field formats + +\DeclareFieldFormat*{title}{#1} +\DeclareFieldFormat*{subtitle}{#1} +\DeclareFieldFormat{volume}{\bibsstring{volume}\addnbspace#1}% volume of a book +\DeclareFieldFormat[article,periodical]{volume}{% + \iftoggle{bbx:shortnum} + {\mkbibbold{#1}} + {\bibsstring{jourvol}\addnbspace#1}% volume of a journal +} +\DeclareFieldFormat*{edition}{% + \ifnumeral{#1}% + {\mkbibordedition{#1}\addnbspace\bibsstring{edition}}% + {\MakeCapital{#1}}% +}% +\DeclareFieldFormat*{pages}{\mkmlpageprefix[bookpagination]{#1}} +\DeclareFieldFormat[article,periodical]{pages}{% + \iftoggle{bbx:shortnum} + {#1} + {\mainsstring{pages}\addspace\printtext{#1}} +} +\DeclareFieldFormat*{pagetotal}{\mkbibbrackets{\mkmlpagetotal[bookpagination]{#1}}} +\DeclareFieldFormat*{number}{\bibsstring{number}\addspace\printtext{#1}} +\DeclareFieldFormat[article,periodical]{number}{% + \iftoggle{bbx:shortnum} + {\mkbibparens{#1}} + {\bibsstring{number}\addspace\printtext{#1}} +} +\DeclareFieldFormat[patent]{number}{#1} +\DeclareFieldFormat*{url}{% + \iffieldundef{urlyear} + {\mainlstring{urlalso}\addcolon\space\url{#1}} + {\mainlstring{urlfrom}\addcolon\space\url{#1}} +} +\DeclareFieldFormat{doi}{% + \printtext{DOI}\addcolon\space% + \ifhyperref + {\href{http://dx.doi.org/#1}{\nolinkurl{#1}}} + {\nolinkurl{#1}} +} +\DeclareFieldFormat{howpublished}{\mkbibbrackets{#1}} +\DeclareFieldFormat[online]{howpublished}{% + \iffieldundef{howpublished} + {\mkbibbrackets{online}} + {\mkbibbrackets{#1}} +} + +\DeclareFieldFormat{type}{% + \ifbibstring{#1} + {\mainlstring{#1}} + {#1} +} + +\DeclareFieldFormat{supervisor}{% + \mainlstring{bysupervisor}\addspace#1} + +%We must handle more than one isbn and issn +\DeclareFieldFormat{isbn}{% +%\renewcommand*{\do}[1]{\printtext{ISBN}\addspace#1\adddot\addspace}% +\printtext{ISBN}\addspace#1}% + +\DeclareFieldFormat{issn}{% +\renewcommand*{\do}[1]{\printtext{ISSN}\addspace#1\adddot\addspace}% +\docsvfield{issn}}% + +\DeclareFieldFormat{isan}{\printtext{ISAN}\addspace#1} +\DeclareFieldFormat{ismn}{\printtext{ISMN}\addspace#1} +\DeclareFieldFormat{isrn}{\printtext{ISRN}\addspace#1} +\DeclareFieldFormat{iswc}{\printtext{ISWC}\addspace#1} + +\DeclareFieldFormat{urldate}{\mkbibbrackets{\mainsstring{urlseen}\space#1}} + +\DeclareFieldFormat{chapter}{\bibstring{chapter}\addnbspace#1\isdot} +\DeclareFieldFormat{version}{% + \ifnumeral{#1}% + {\biblstring{version}\addnbspace#1}% + {\MakeCapital{#1}}% +} + +\DeclareFieldFormat{library}{#1} + +\DeclareFieldFormat{journaltitle}{#1} +\DeclareFieldFormat{booktitle}{#1} +\DeclareFieldFormat{maintitle}{#1} +\DeclareFieldFormat{issuetitle}{#1} +\DeclareFieldFormat{journalsubtitle}{#1} +\DeclareFieldFormat{booksubtitle}{#1} +\DeclareFieldFormat{mainsubtitle}{#1} +\DeclareFieldFormat{issuesubtitle}{#1} + +\DeclareFieldFormat{titleaddon}{\mkbibbrackets{#1}} +\DeclareFieldFormat{booktitleaddon}{\mkbibbrackets{#1}} +\DeclareFieldFormat{maintitleaddon}{\mkbibbrackets{#1}} + +\DeclareFieldFormat{nameaddon}{\mkbibbrackets{#1}} + +%name alias + +\DeclareNameAlias{default}{last-first} +\DeclareNameAlias{supervisor}{first-last} + +%bibliography macros + +%names + +% based on author/editor macro +\newbibmacro*{names:primary}{% + \ifboolexpr{ + test \ifuseauthor + and + not test {\ifnameundef{author}} + } + {\usebibmacro{author}} + {\usebibmacro{editor}}% + \setunit{\addspace}\printfield{nameaddon}% +} + +\newbibmacro*{names:subsidiary}{% + \usebibmacro{byeditor}% + \newunit% + \usebibmacro{bytranslator}% +} + +\renewbibmacro*{editor}{% + \ifboolexpr{ + test \ifuseeditor + and + not test {\ifnameundef{editor}} + } + {\printnames{editor}% + \addspace% + \mkbibparens{\usebibmacro{editorstrg}}% + \clearname{editor}}% + {}} + +\newbibmacro*{thesissupervisor}{% + \ifnameundef{supervisor} + {} + {\printtext{\mainlstring{bysupervisor}}% + \addspace% + \printnames{supervisor}} +} + +%titles + +\newbibmacro{titles}[2]{% + \ifboolexpr{ + test {\iffieldundef{#1title}} + and + test {\iffieldundef{#1subtitle}}} + {} + {\printtext[#2]{% + \printfield{#1title}% + \setunit{\subtitlepunct}% + \printfield{#1subtitle}}% + \setunit{\addspace}}% + \printfield{#1titleaddon}% + \newunit% +}% + +\newbibmacro{volume}{% + \iffieldundef{volume} + {} + {\printfield{volume}% + \printfield{part}% + \setunit{\addcomma\addspace}}% +} + +\newbibmacro{multi:titles}{% + \iffieldundef{maintitle} + {\iffieldundef{booktitle} + {\usebibmacro{titles}{}{emph}} + {\usebibmacro{titles}{book}{emph}% + \usebibmacro{volume}% + \usebibmacro{titles}{}{}}}% + {\usebibmacro{titles}{main}{emph}% + \usebibmacro{volume}% + \usebibmacro{titles}{}{}}% +} + +\newbibmacro{host:titles}{% + \iffieldundef{maintitle} + {\iffieldundef{booktitle} + {} + {\usebibmacro{titles}{book}{emph}}} + {\usebibmacro{titles}{main}{emph}}% +}% + +\newbibmacro{periodical:titles}{% + \usebibmacro{titles}{}{emph}% + \newunit% + \iffieldundef{issuetitle} + {\iffieldundef{journaltitle} + {} + {\usebibmacro{titles}{journal}{}}} + {\usebibmacro{titles}{issue}{}}% +} + +%medium type + +\newbibmacro*{medium-type}{% + \iffieldundef{howpublished} + {\iffieldundef{urlyear} + {} + {\printtext{\mkbibbrackets{online}}}} + {\printfield{howpublished}}% +} + +%publication info + +\newbibmacro{fulldate}{% + \printtext{\csname mkbibrangeiso8601\endcsname{\thefield{date}}}% +} + +\renewbibmacro*{date}{% + \iffieldequalstr{endyear}{}% + {\printdate\mbox{\addnbspace}}% + {\printdate}% +} + +\newbibmacro*{location+publisher+date}{% + \printlist{location}% + \iflistundef{publisher} + {\setunit*{\addcomma\space}}% + {\setunit*{\subtitlepunct}}% + \printlist{publisher}% + \setunit*{\addcomma\space}% + \usebibmacro{date}% + \newunit} + +%numeration + +\newbibmacro*{serial:numeration}{% + \printfield{volume}% + \iftoggle{bbx:shortnum} + {} + {\setunit*{\addcomma\addspace}}% + \printfield{number}% +} + +\newbibmacro*{book:numeration}{% + \printfield{volume}% + \setunit*{\addcomma\addspace}% + \printfield{chapter}% +} + +%series title and number + +\newbibmacro*{series+number}{% + \printfield{series}% + \setunit*{\addcomma\space}% + \printfield{number}% +}% + +%standard identifiers + +\newbibmacro*{identifier}{% + \printfield{isan}% + \newunit% + \printfield{isbn}% + \newunit% + \printfield{ismn}% + \newunit% + \printfield{isrn}% + \newunit% + \printfield{issn}% + \newunit% + \printfield{iswc}% + \newunit% +} + +%availability and access + +\newbibmacro*{from-doi}{% + \mainlstring{urlfrom}\addspace\printfield{doi}% +} + +\newbibmacro*{from-eprint}{% + \mainlstring{urlfrom}\addspace\usebibmacro{eprint}% +} + +\newbibmacro*{availability+access}{% + \iffieldundef{doi} + {\iffieldundef{eprint} + {\printfield{url}} + {\usebibmacro{from-eprint}}} + {\usebibmacro{from-doi}}% +} + +%location + +\newbibmacro*{location}{% + \iffieldundef{library} + {} + {\usebibmacro{at:}% + \printfield{library}}% +} + +%other + +% redeclare in: bibmacro to use the main document language. +% there was discussion whether literal "In:" should be used, +% but that would look weird in non-latin languages. +% context: https://github.com/michal-h21/biblatex-iso690/pull/33 + +\renewbibmacro*{in:}{% + \printtext{\mainsstring{in}\intitlepunct}% +} + +\newbibmacro*{at:}{% + \printtext{\mainsstring{at}\intitlepunct}% +} + +%biblatex core + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% overriding bookpagination to use document main language + +\newrobustcmd*{\blx@imc@mkmlpagetotal}[1][bookpagination]{% + \begingroup + \def\blx@tempa{\blx@mkmlpagetotal{page}}% + \iffieldundef{#1} + {} + {\iffieldequalstr{#1}{none} + {\def\blx@tempa{\blx@mkmlpagetotal@i}} + {\iffieldbibstring{#1} + {\edef\blx@tempa{\blx@mkmlpagetotal{\thefield{#1}}}} + {\blx@warning@entry{% + Unknown pagination type '\strfield{#1}'}}}}% + \@ifnextchar[%] + {\blx@tempa} + {\blx@tempa[\@firstofone]}} + +\protected\long\def\blx@mkmlpagetotal#1[#2]#3{% + \ifnumeral{#3} + {\setbox\@tempboxa=\hbox{% + \blx@tempcnta0#3\relax + \ifnum\blx@tempcnta=\@ne + \aftergroup\@firstoftwo + \else + \aftergroup\@secondoftwo + \fi}% + {#2{#3}\ppspace\mainsstring{#1}} + {#2{#3}\ppspace\mainsstring{#1s}}} + {\def\pno{\mainsstring{#1}}% + \def\ppno{\mainsstring{#1s}}% + #2{#3}}% + \endgroup} + +\long\def\blx@mkmlpagetotal@i[#1]#2{#1{#2}\endgroup} + +\blx@regimcs{\mkmlpagetotal} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% overriding pagination to use document main language + +\newrobustcmd*{\blx@imc@mkmlpageprefix}[1][pagination]{% + \begingroup + \def\blx@tempa{\blx@mkmlpageprefix{page}}% + \iffieldundef{#1} + {} + {\iffieldequalstr{#1}{none} + {\def\blx@tempa{\blx@mkmlpageprefix@i}} + {\iffieldbibstring{#1} + {\edef\blx@tempa{\blx@mkmlpageprefix{\thefield{#1}}}} + {\blx@warning@entry{% + Unknown pagination type '\strfield{#1}'}}}}% + \@ifnextchar[%] + {\blx@tempa} + {\blx@tempa[\@firstofone]}} + +\protected\long\def\blx@mkmlpageprefix#1[#2]#3{% + \ifnumeral{#3} + {\mainsstring{#1}\ppspace} + {\ifnumerals{#3} + {\mainsstring{#1s}\ppspace} + {\def\pno{\mainsstring{#1}}% + \def\ppno{\mainsstring{#1s}}}}% + \blx@mkmlpageprefix@i[#2]{#3}} + +\long\def\blx@mkmlpageprefix@i[#1]#2{#1{#2}\endgroup} + +\blx@regimcs{\mkmlpageprefix} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% use space punctuation + +% see biblatex2.sty for these macros +\blx@regimcs{% let biblatex know the new macros + \addspcolon }% +\def\blx@addsppunct#1{% <---- new name for spaced punctuation + %\unspace <----- commented out + \ifnum\blx@spacefactor<\blx@sf@threshold@low + \csuse{blx@qp@#1}\csuse{abx@#1}% + \else% + \ifnum\blx@spacefactor>\blx@sf@threshold@high + \csuse{blx@qp@#1}\csuse{abx@#1}% + \else% + \ifcsdef{blx@pp@\the\csname blx@sf@#1\endcsname @\blx@spacefactor}% + {\csuse{blx@qp@#1}\csuse{abx@#1}}% + {\csuse{blx@qp@#1}}%% + \fi% + \fi% + \csuse{blx@pq@#1}}% + +%bibliography drivers + +\DeclareBibliographyDriver{book}{% +\usebibmacro{bibindex}% +\usebibmacro{begentry}% +\usebibmacro{names:primary}% +\setunit{\labelnamepunct}\newblock% +\usebibmacro{multi:titles}% +\setunit{\addspace}% +\usebibmacro{medium-type}% +\newunit\newblock% +\printfield{edition}% +\newunit\newblock% +\usebibmacro{names:subsidiary}% +\newunit\newblock% +\usebibmacro{location+publisher+date}% +\newunit% +\printfield{version}% +\setunit{\addspace}% +\usebibmacro{urldate}% +\newunit\newblock% +\usebibmacro{series+number}% +\newunit\newblock% +\usebibmacro{identifier}% +\newunit\newblock% +\usebibmacro{availability+access}% +\newunit\newblock% +\usebibmacro{location}% +\setunit{\addspace}% +\iftoggle{bbx:totalpages} + {\printfield{pagetotal}} + {}% +\newunit\newblock% +\printfield{note}% +\newunit\newblock% +\setunit{\bibpagerefpunct}\newblock% +\usebibmacro{pageref}% +\usebibmacro{finentry}}% + +\DeclareBibliographyDriver{periodical}{% +\usebibmacro{bibindex}% +\usebibmacro{begentry}% +% names macro just because of author-year style +\usebibmacro{names:primary}% +\setunit{\labelnamepunct}\newblock%% +\usebibmacro{periodical:titles}% +\setunit{\addspace}% +\usebibmacro{medium-type}% +\newunit\newblock +\printfield{edition}% +\newunit\newblock% +\usebibmacro{location+publisher+date}% +\setunit*{\addcomma\addspace}% +\usebibmacro{serial:numeration}% +\setunit{\addspace}% +\usebibmacro{urldate}% +\newunit\newblock% +\usebibmacro{identifier}% +\newunit\newblock% +\usebibmacro{availability+access}% +\newunit\newblock% +\usebibmacro{location}% +\newunit\newblock% +\printfield{note}% +\newunit\newblock% +\setunit{\bibpagerefpunct}\newblock% +\usebibmacro{pageref}% +\usebibmacro{finentry}}% + +\DeclareBibliographyDriver{article}{% +\usebibmacro{bibindex}% +\usebibmacro{begentry}% +\usebibmacro{names:primary}% +\setunit{\labelnamepunct}\newblock% +\usebibmacro{titles}{}{}% +\newunit\newblock% +\usebibmacro{titles}{journal}{emph}% +\setunit{\addspace}% +\usebibmacro{medium-type}% +\newunit\newblock% +\printfield{edition}% +\newunit\newblock% +\usebibmacro{date} +\setunit*{\addcomma\addspace}% +\usebibmacro{serial:numeration}% +\setunit{\bibpagespunct}% +\printfield{pages}% +\setunit{\addspace}% +\usebibmacro{urldate}% +\newunit\newblock% +\usebibmacro{identifier}% +\newunit\newblock% +\usebibmacro{availability+access}% +\newunit\newblock% +\usebibmacro{location}% +\newunit\newblock% +\printfield{note}% +\setunit{\bibpagerefpunct}\newblock% +\usebibmacro{pageref}%% +\usebibmacro{finentry}}% + +\DeclareBibliographyDriver{inbook}{% +\usebibmacro{bibindex}% +\usebibmacro{begentry}% +\usebibmacro{names:primary}% +\setunit{\labelnamepunct}\newblock% +\usebibmacro{titles}{}{}% +\newunit\newblock% +\usebibmacro{in:}% +\printnames{bookauthor}% +\newunit\newblock% +\usebibmacro{host:titles}% +\setunit{\addspace}% +\usebibmacro{medium-type}% +\newunit\newblock% +\printfield{edition}% +\newunit\newblock% +\usebibmacro{names:subsidiary}% +\newunit\newblock% +\usebibmacro{location+publisher+date}% +\setunit*{\addcomma\addspace}% +\usebibmacro{book:numeration}% +\setunit{\bibpagespunct}% +\printfield{pages}% +\newunit% +\printfield{version}% +\setunit{\addspace}% +\usebibmacro{urldate}% +\newunit\newblock% +\usebibmacro{series+number}% +\newunit\newblock% +\usebibmacro{identifier}% +\newunit\newblock% +\usebibmacro{availability+access}% +\newunit\newblock% +\usebibmacro{location}% +\newunit\newblock% +\printfield{note}% +\newunit\newblock% +\setunit{\bibpagerefpunct}\newblock% +\usebibmacro{pageref}% +\usebibmacro{finentry}}% + +\DeclareBibliographyDriver{incollection}{% +\usebibmacro{bibindex}% +\usebibmacro{begentry}% +\usebibmacro{names:primary}% +\setunit{\labelnamepunct}\newblock% +\usebibmacro{titles}{}{}% +\newunit\newblock% +\usebibmacro{in:}% +\usebibmacro{editor}% +\newunit\newblock% +\usebibmacro{host:titles}% +\setunit{\addspace}% +\usebibmacro{medium-type}% +\newunit\newblock% +\printfield{edition}% +\newunit\newblock% +\usebibmacro{names:subsidiary}% +\newunit\newblock% +\usebibmacro{location+publisher+date}% +% could number be even used in `incollection`? +% It should be at some other place in this case +\setunit*{\addcomma\addspace}% +\usebibmacro{book:numeration}% +\setunit{\bibpagespunct}% +\printfield{pages}% +\newunit% +\printfield{version}% +\setunit{\addspace}% +\usebibmacro{urldate}% +\newunit\newblock% +\usebibmacro{series+number}% +\newunit\newblock% +\usebibmacro{identifier}% +\newunit\newblock% +\usebibmacro{availability+access}% +\newunit\newblock% +\usebibmacro{location}% +\newunit\newblock% +\printfield{note}% +\newunit\newblock% +\setunit{\bibpagerefpunct}\newblock% +\usebibmacro{pageref}% +\usebibmacro{finentry}}% + +\DeclareBibliographyDriver{online}{% +\usebibmacro{bibindex}% +\usebibmacro{begentry}% +\usebibmacro{names:primary}% +\setunit{\labelnamepunct}\newblock% +\usebibmacro{multi:titles}% +\setunit{\addspace}% +\usebibmacro{medium-type}% +\newunit\newblock% +\printfield{edition}% +\newunit\newblock% +\usebibmacro{names:subsidiary}% +\newunit\newblock% +\usebibmacro{location+publisher+date}% +\newunit% +\printfield{version}% +\setunit{\addspace}% +\usebibmacro{urldate}% +\newunit\newblock% +\usebibmacro{series+number}% +\newunit\newblock% +\usebibmacro{identifier}% +\newunit\newblock% +\usebibmacro{availability+access}% +\setunit{\addspace}% +\iftoggle{bbx:totalpages} + {\printfield{pagetotal}} + {}% +\printfield{note}% +\newunit\newblock% +\setunit{\bibpagerefpunct}\newblock% +\usebibmacro{pageref}%% +\usebibmacro{finentry}}% + +\DeclareBibliographyDriver{thesis}{% +\usebibmacro{bibindex}% +\usebibmacro{begentry}% +\usebibmacro{names:primary}% +\setunit{\labelnamepunct}\newblock%% +\usebibmacro{titles}{}{emph}% +\setunit{\addspace}% +\usebibmacro{medium-type}% +\newunit\newblock% +\usebibmacro{location+publisher+date}% +\newunit% +\printfield{version}% +\setunit{\addspace}% +\usebibmacro{urldate}% +\newunit\newblock% +\usebibmacro{identifier}% +\newunit\newblock% +\iftoggle{bbx:thesisinfolast} + {} + {\printfield{type} + \newunit\newblock% + \printlist{institution}% + \newunit\newblock% + \usebibmacro{thesissupervisor}}% +\newunit\newblock% +\usebibmacro{availability+access} +\setunit{\addspace}% +\iftoggle{bbx:totalpages} + {\printfield{pagetotal}} + {}% +\newunit\newblock% +\iftoggle{bbx:thesisinfolast} + {\printfield{type} + \newunit\newblock% + \printlist{institution}% + \newunit\newblock% + \usebibmacro{thesissupervisor}} + {}% +\newunit\newblock% +\printfield{note}% +\newunit\newblock% +\setunit{\bibpagerefpunct}\newblock% +\usebibmacro{pageref}% +\usebibmacro{finentry}}% + +\DeclareBibliographyDriver{patent}{% +\usebibmacro{bibindex}% +\usebibmacro{begentry}% +\usebibmacro{names:primary}% +\setunit{\labelnamepunct}\newblock%% +\usebibmacro{titles}{}{emph}% +\newunit\newblock% +\usebibmacro{names:subsidiary}% +\newunit\newblock% +\printfield{classification}% +\newunit\newblock% +\printlist{location}% +\newunit\newblock% +\iffieldundef{type} + {} + {\printfield{type}% + \setunit*{\addcomma\space}}% +\printfield{number}% +\newunit\newblock% +\usebibmacro{fulldate}% +\setunit{\addspace}% +\usebibmacro{urldate}% +\newunit\newblock% +\printfield{note}% +\newunit\newblock% +\usebibmacro{availability+access}% +\newunit\newblock% +\setunit{\bibpagerefpunct}\newblock% +\usebibmacro{pageref}% +\usebibmacro{finentry}}% + +%bibliography aliases + +\DeclareBibliographyAlias{bookinbook}{inbook} +\DeclareBibliographyAlias{suppbook}{inbook} +\DeclareBibliographyAlias{booklet}{book} +\DeclareBibliographyAlias{collection}{book} +\DeclareBibliographyAlias{suppcollection}{incollection} +\DeclareBibliographyAlias{manual}{book} +\DeclareBibliographyAlias{misc}{book} +\DeclareBibliographyAlias{suppperiodical}{article} +\DeclareBibliographyAlias{proceedings}{collection} +\DeclareBibliographyAlias{inproceedings}{incollection} +\DeclareBibliographyAlias{reference}{collection} +\DeclareBibliographyAlias{inreference}{incollection} +\DeclareBibliographyAlias{report}{thesis} +\DeclareBibliographyAlias{unpublished}{book} +\DeclareBibliographyAlias{*}{misc} + +\endinput + +% vim: ft=tex diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/mybib.bib b/Master/texmf-dist/tex/latex/biblatex-iso690/mybib.bib new file mode 100755 index 00000000000..6d1d03cb702 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/mybib.bib @@ -0,0 +1,194 @@ +% This file was created with JabRef 2.6. +% Encoding: UTF8 +@ONLINE{t00, + editor = {Bratková, Eva}, + editortype={compiler}, + title = {Metody citování literatury a strukturování bibliografických záznamů podle mezinárodních norem ISO 690 a ISO 690-2}, + subtitle = {metodický materiál pro autory vysokoškolských kvalifikačních prací}, edition = {Verze 2.0, aktualiz. a rozšíř.}, + location = {Praha}, + publisher = {Odborná komise pro otázky elektronického zpřístupňování vysokoškolských kvalifikačních prací, Asociace knihoven vysokých škol ČR}, + date = {2008-12-22}, + pagetotal = {60}, + url = {http://www.evskp.cz/SD/4c.pdf}, + urldate = {2011-02-02}, + langid={czech} +} + +@BOOK{t01, + author = {Borgman, Christine L.}, + year={2003}, + title = {From Gutenberg to the global information infrastructure}, + subtitle = {access to information in the networked world}, + edition= {first}, + location = {Cambridge (Mass)}, + publisher = {The MIT Press}, + pagetotal = {xviii, 324}, + isbn = {0-262-52345-0}, + langid={english} +} + +@INCOLLECTION{t02, + author = {Greenberg, David}, + year = {1998}, + title = {Camel drivers and gatecrashers}, + subtitle = {quality control in the digital research library}, + editor = {Hawkins, B.L and Battin, P}, + booktitle = {The mirage of continuity}, + booksubtitle = {reconfiguring academic information resources for the 21st century}, + location = {Washington (D.C.)}, + publisher = {Council on Library and Information Resources; Association of American Universities}, + pages = {105-116}, + langid = {english} +} + +@ARTICLE{t03, + author = {LYNCH, C.}, + year = {2005}, + title = {Where do we go from here?}, + subtitle = {the next decade for digital libraries}, + journaltitle = {DLib Magazine}, + volume = {11}, + number = {7/8}, + urldate ={2005-08-15}, + url = {http://www.dlib.org/dlib/july05/lynch/07lynch.html}, + issn = {1082-9873}, + langid = {english} +} + +@ARTICLE{cr, + author = {{Národní knihovna}}, + title = {A big paper}, + journaltitle = {The journal of big papers}, + year = {1991}, + volume = {12}, + number = {3}, + issn={2232-332X}, + langid={english} +} + +@BOOK{kniha, + title = {A big paper}, + subtitle={Podtitul}, + publisher = {Academia}, + year = {1991}, + author = {Děťa, Hugh and Rychlík, Tomáš}, + edition = {2}, + pagetotal = {550}, + location = {Praha}, + series={Pokusná edice}, + isbn={978-44-55-X}, + url={http://pokus.cz}, + comment={Dostupné také z WWW}, + urldate = {2011-01-12}, + langid={czech} +} + +@BOOK{kniha2, + title = {Úplně úžasná knížka}, + year = {1991}, + author = {Děťa, Hugh and Rychlík, Tomáš and Další, Pepa and Spousta, Pepa and Skoro, Moc and Ale, Nestačí and Hodně}, + edition = {3}, + address = {Praha}, + langid={czech} +} + +@BOOK{kniha3, + title = {Úplně úžasná knížka}, + year = {1991}, + author = {Děťa, Hugh and Rychlík, Tomáš and Další, Pepa and Spousta, Pepa and Skoro, Moc and Ale, Nestačí and Hodně}, + edition = {3}, + publisher={MIT Press}, + address = {Praha}, + pagetotal={332}, + langid={english} +} + +@ARTICLE{small, + author = {Freely, I.P.}, + title = {A small paper}, + subtitle = {Podtitulek}, + journaltitle = {The journal of small papers}, + year = {1997}, + volume = {1}, + note = {to appear}, + pages={2-5}, + number={3}, + langid={czech} +} + +@ARTICLE{big, + author = {Jass, Hugh}, + title = {A big paper}, + journal = {The journal of big papers}, + year = {1991}, + volume = {23} +} + +@ARTICLE{cs, + COMMENT_OUTauthor = {Černý, Hugh}, + title = {Titulek}, + journal = {The journal of big papers}, + year = {1991}, + volume = {12}, + pages = {22-44}, + doi = {10.112.22/jkn}, + number = {2}, +} + +@BOOK{koll, + author = {Kollmannová, Ludmila and Bubeníková, Libuše and Kopecká, Alena}, + title = {Angličtina pro samouky}, + edition = {5}, + location = {Praha}, + publisher = {Státní pedagogické nakladatelství}, + year = {1977}, + pagetotal = {525}, + series = {Učebnice pro samouky}, + number = {4}, + isbn = {80-04-25663-5} +} + +@INBOOK{kap, + author = {Novotná, Pepina}, + title = {Podkapitola}, + pages = {22-29}, + chapter = {2.}, + crossref = {koll} +} + +@PERIODICAL{tug, + journaltitle = {TUGBoat}, + publisher = {TUG}, + issn = {1222-3333}, + langid = {english}, + date = {1980/}, + options = {skipbib=true}, + url={http://tugboat.tug.org/} +} + +@ARTICLE{knuth, + author = {Knuth, Donald}, + title = {Journeys of \TeX}, + volume = {17}, + number = {3}, + year = {2003}, + pages = {12-22}, + url = {http://tugboat.tug.org/kkk.pdf}, + crossref={tug} +} + +@COLLECTION{sbornik, +title = {Mimořádně užitečný sborník}, +editor = {Geniální, Jiří}, +year = {2007}, +langid = {czech}, +location = {Praha}, +publisher = {Academia}, +isbn = {978-222-626-222-2} +} +@INCOLLECTION{prispevek1, +crossref = {sbornik}, +title = {Velmi zajímavý článek}, +author = {Vlaštovka, Josef}, +pages = {22-45} +} diff --git a/Master/texmf-dist/tex/latex/biblatex-iso690/slovak-iso.lbx b/Master/texmf-dist/tex/latex/biblatex-iso690/slovak-iso.lbx new file mode 100755 index 00000000000..1b1407b74dc --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-iso690/slovak-iso.lbx @@ -0,0 +1,16 @@ +\ProvidesFile{slovak-iso.lbx} +[2016/05/13 v0.3.1 biblatex localization] + +\InheritBibliographyExtras{slovak} +\InheritBibliographyStrings{slovak} + +\DeclareBibliographyStrings{% + at = {{v}% + {v}}, + bysupervisor = {{ved\'{u}ci pr\'{a}ce}% + {ved\'{u}ci pr\'{a}ce}}, + urlalso = {{dostupn\'{e} tie\v{z} z}% + {dostupn\'{e} tie\v{z} z}}, +} + +\endinput diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index d0207a0dd70..b80073b2e19 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -86,7 +86,7 @@ my @TLP_working = qw( biblatex-bookinarticle biblatex-bookinother biblatex-bwl biblatex-caspervector biblatex-chem biblatex-chicago biblatex-dw biblatex-fiwi biblatex-gost biblatex-historian - biblatex-ieee biblatex-juradiss + biblatex-ieee biblatex-iso690 biblatex-juradiss biblatex-luh-ipw biblatex-manuscripts-philology biblatex-mla biblatex-morenames biblatex-multiple-dm biblatex-musuos biblatex-nature biblatex-nejm diff --git a/Master/tlpkg/tlpsrc/biblatex-iso690.tlpsrc b/Master/tlpkg/tlpsrc/biblatex-iso690.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/biblatex-iso690.tlpsrc diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc index 86515f7be19..fe981308656 100644 --- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc @@ -33,6 +33,7 @@ depend biblatex-fiwi depend biblatex-gost depend biblatex-historian depend biblatex-ieee +depend biblatex-iso690 depend biblatex-juradiss depend biblatex-luh-ipw depend biblatex-manuscripts-philology |