Commit 02d935c3 authored by Vít Starý Novotný's avatar Vít Starý Novotný
Browse files

The examples now use a BibLaTeX (not BibTeX) bibliography database.

parent 896800d4
Loading
Loading
Loading
Loading
+122 −355
Original line number Original line Diff line number Diff line
@preamble{ "\newcommand{\noopsort}[1]{} "
% The example bibliographical entries below were borrowed from the
        # "\newcommand{\printfirst}[2]{#1} "
% <https://www.ctan.org/pkg/biblatex-iso690> package documentation.
        # "\newcommand{\singleletter}[1]{#1} "

        # "\newcommand{\switchargs}[2]{#2#1} " }
% BORGMAN, Christine L., 2003. From Gutenberg to the global information

% infrastructure: access to information in the networked world. First. Cambridge
@ARTICLE{article-minimal,
% (Mass): The MIT Press. ISBN 0-262-52345-0 [xviii, 324]
   author = {L[eslie] A. Aamport},

   title = {The Gnats and Gnus Document Preparation System},
@BOOK{borgman03,
   journal = {\mbox{G-Animal's} Journal},
  author    = {Borgman, Christine L.},
   year = 1986,
  date      = {2003},
}
  title     = {From Gutenberg to the global information infrastructure},

  subtitle  = {access to information in the networked world},
@ARTICLE{article-full,
  edition   = {1}, % should not be stated
   author = {L[eslie] A. Aamport},
  location  = {Cambridge (Mass)},
   title = {The Gnats and Gnus Document Preparation System},
  publisher = {The MIT Press},
   journal = {\mbox{G-Animal's} Journal},
  pagetotal = {xviii, 324},
   year = 1986,
  isbn      = {0-262-52345-0},
   volume = 41,
  langid    = {english}
   number = 7,
}
   pages = "73+",

   month = jul,
% GREENBERG, David, 1998. Camel drivers and gatecrashers: quality control in
   note = "This is a full ARTICLE entry",
% the digital research library. In: HAWKINS, B.L et al. (eds.). The mirage of
}
% continuity: reconfiguring academic information resources for the 21st

% century.  Washington (D.C.): Council on Library and Information Resources;
The KEY field is here to override the KEY field in the journal being
% Association of American Universities, pp. 105–116
cross referenced (so is the NOTE field, in addition to its imparting

information).
@INCOLLECTION{greenberg98,

  crossref  = {mirage98},
@ARTICLE{article-crossref,
  author    = {Greenberg, David},
   crossref = {WHOLE-JOURNAL},
  title     = {Camel drivers and gatecrashers},
   key = "",
  subtitle  = {quality control in the digital research library},
   author = {L[eslie] A. Aamport},
  pages     = {105-116},
   title = {The Gnats and Gnus Document Preparation System},
}
   pages = "73+",

   note = "This is a cross-referencing ARTICLE entry",
@COLLECTION{mirage98,
}
  title     = {The mirage of continuity},

  subtitle  = {reconfiguring academic information
@ARTICLE{whole-journal,
               resources for the 21st century},
   key = "GAJ",
  editor    = {Hawkins, B.L and Battin, P},
   journal = {\mbox{G-Animal's} Journal},
  date      = {1998},
   year = 1986,
  location  = {Washington (D.C.)},
   volume = 41,
  publisher = {Council on Library and Information Resources;
   number = 7,
               Association of American Universities},
   month = jul,
  langid    = {english}
   note = {The entire issue is devoted to gnats and gnus
}
                (this entry is a cross-referenced ARTICLE (journal))},

}
% LYNCH, C., 2005. Where do we go from here?: the next decade for digital

% libraries. DLib Magazine [online]. Vol. 11, no. 7/8 [visited on 2005-08-15].
@INBOOK{inbook-minimal,
% ISSN 1082-9873.  Available from:
   author = "Donald E. Knuth",
% http://www.dlib.org/dlib/july05/lynch/07lynch.html
   title = "Fundamental Algorithms",

   publisher = "Addison-Wesley",
@ARTICLE{lynch05,
   year = "{\noopsort{1973b}}1973",
  crossref = {dlib},
   chapter = "1.2",
  author   = {Lynch, C.},
}
  title    = {Where do we go from here?},

  subtitle = {the next decade for digital libraries},
@INBOOK{inbook-full,
  url      = {http://www.dlib.org/dlib/july05/lynch/07lynch.html},
   author = "Donald E. Knuth",
  urldate  = {2005-08-15}
   title = "Fundamental Algorithms",
}
   volume = 1,

   series = "The Art of Computer Programming",
@PERIODICAL{dlib,
   publisher = "Addison-Wesley",
  journaltitle = {DLib Magazine},
   address = "Reading, Massachusetts",
  date         = {2005},
   edition = "Second",
  volume       = {11},
   month = "10~" # jan,
  number       = {7/8},
   year = "{\noopsort{1973b}}1973",
  issn         = {1082-9873},
   type = "Section",
  langid       = {english},
   chapter = "1.2",
}
   pages = "10--119",

   note = "This is a full INBOOK entry",
% HÀN, Thé Thành, 2001. Micro-typographic extensions to the TEX type- setting
}
% system [online]. Brno [visited on 2016-12-09]. Available from:

% http://www.pragma-ade.nl/pdftex/thesis.pdf. PhD thesis. The Faculty of
@INBOOK{inbook-crossref,
% Informatics, Masaryk University.
   crossref = "whole-set",

   title = "Fundamental Algorithms",
@PHDTHESIS{thanh01,
   volume = 1,
  author      = {Hàn, Thé Thành},
   series = "The Art of Computer Programming",
  title       = {Micro-typographic extensions to the \TeX{} typesetting system},
   edition = "Second",
  date        = {2001},
   year = "{\noopsort{1973b}}1973",
  institution = {The Faculty of Informatics, Masaryk University},
   type = "Section",
  location    = {Brno},
   chapter = "1.2",
  url         = {http://www.pragma-ade.nl/pdftex/thesis.pdf},
   note = "This is a cross-referencing INBOOK entry",
  urldate     = {2016-12-09},
}
  langid      = {english}

}
@BOOK{book-minimal,

   author = "Donald E. Knuth",
% SHANNON, Claude Elwood, 1940. A symbolic analysis of relay and switching
   title = "Seminumerical Algorithms",
% circuits. Available from DOI: 1721.1/11173. Master’s thesis.  Massachusetts
   publisher = "Addison-Wesley",
% Institute of Technology.
   year = "{\noopsort{1973c}}1981",

}
@MASTERSTHESIS{shannon40,

  author      = {Shannon, Claude Elwood},
@BOOK{book-full,
  title       = {A symbolic analysis of relay and switching circuits},
   author = "Donald E. Knuth",
  date        = {1940},
   title = "Seminumerical Algorithms",
  institution = {Massachusetts Institute of Technology},
   volume = 2,
  langid      = {english},
   series = "The Art of Computer Programming",
  doi         = {1721.1/11173},
   publisher = "Addison-Wesley",
}
   address = "Reading, Massachusetts",

   edition = "Second",
% EHLINGER JR., Philip Charles. Device for the treatment of hiccups. US.
   month = "10~" # jan,
% US Patent, 7062320.
   year = "{\noopsort{1973c}}1981",

   note = "This is a full BOOK entry",
@PATENT{ehlinger06,
}
  author   = {EHLINGER, JR., Philip Charles},

  title    = {Device for the treatment of hiccups},
@BOOK{book-crossref,
  type     = {US Patent},
   crossref = "whole-set",
  location = {US},
   title = "Seminumerical Algorithms",
  date     = {2006},
   volume = 2,
  number   = {7062320},
   series = "The Art of Computer Programming",
  langid   = {english}
   edition = "Second",
}
   year = "{\noopsort{1973c}}1981",

   note = "This is a cross-referencing BOOK entry",
% Masaryk University, 1996–2009 [online]. Brno: Masaryk University
}
% [visited on 2016-12-09]. Available from: https://www.muni.cz/en.


@BOOK{whole-set,
@ONLINE{muni,
   author = "Donald E. Knuth",
  publisher = {Masaryk University},
   publisher = "Addison-Wesley",
  title     = {Masaryk University},
   title = "The Art of Computer Programming",
  date      = {1996/2009},
   series = "Four volumes",
  url       = {https://www.muni.cz/en},
   year = "{\noopsort{1973a}}{\switchargs{--90}{1968}}",
  urldate   = {2016-12-09},
   note = "Seven volumes planned (this is a cross-referenced set of BOOKs)",
  location  = {Brno},
}
  langid    = {english}

@BOOKLET{booklet-minimal,
   key = "Kn{\printfirst{v}{1987}}",
   title = "The Programming of Computer Art",
}

@BOOKLET{booklet-full,
   author = "Jill C. Knvth",
   title = "The Programming of Computer Art",
   howpublished = "Vernier Art Center",
   address = "Stanford, California",
   month = feb,
   year = 1988,
   note = "This is a full BOOKLET entry",
}

@INCOLLECTION{incollection-minimal,
   author = "Daniel D. Lincoll",
   title = "Semigroups of Recurrences",
   booktitle = "High Speed Computer and Algorithm Organization",
   publisher = "Academic Press",
   year = 1977,
}

@INCOLLECTION{incollection-full,
   author = "Daniel D. Lincoll",
   title = "Semigroups of Recurrences",
   editor = "David J. Lipcoll and D. H. Lawrie and A. H. Sameh",
   booktitle = "High Speed Computer and Algorithm Organization",
   number = 23,
   series = "Fast Computers",
   chapter = 3,
   type = "Part",
   pages = "179--183",
   publisher = "Academic Press",
   address = "New York",
   edition = "Third",
   month = sep,
   year = 1977,
   note = "This is a full INCOLLECTION entry",
}

@INCOLLECTION{incollection-crossref,
   crossref = "whole-collection",
   author = "Daniel D. Lincoll",
   title = "Semigroups of Recurrences",
   pages = "179--183",
   note = "This is a cross-referencing INCOLLECTION entry",
}

@BOOK{whole-collection,
   editor = "David J. Lipcoll and D. H. Lawrie and A. H. Sameh",
   title = "High Speed Computer and Algorithm Organization",
   booktitle = "High Speed Computer and Algorithm Organization",
   number = 23,
   series = "Fast Computers",
   publisher = "Academic Press",
   address = "New York",
   edition = "Third",
   month = sep,
   year = 1977,
   note = "This is a cross-referenced BOOK (collection) entry",
}

@MANUAL{manual-minimal,
   key = "Manmaker",
   title = "The Definitive Computer Manual",
}

@MANUAL{manual-full,
   author = "Larry Manmaker",
   title = "The Definitive Computer Manual",
   organization = "Chips-R-Us",
   address = "Silicon Valley",
   edition = "Silver",
   month = apr # "-" # may,
   year = 1986,
   note = "This is a full MANUAL entry",
}

@MASTERSTHESIS{mastersthesis-minimal,
   author = "{\'{E}}douard Masterly",
   title = "Mastering Thesis Writing",
   school = "Stanford University",
   year = 1988,
}

@MASTERSTHESIS{mastersthesis-full,
   author = "{\'{E}}douard Masterly",
   title = "Mastering Thesis Writing",
   school = "Stanford University",
   type = "Master's project",
   address = "English Department",
   month = jun # "-" # aug,
   year = 1988,
   note = "This is a full MASTERSTHESIS entry",
}

@MISC{misc-minimal,
   key = "Missilany",
   note = "This is a minimal MISC entry",
}

@MISC{misc-full,
   author = "Joe-Bob Missilany",
   title = "Handing out random pamphlets in airports",
   howpublished = "Handed out at O'Hare",
   month = oct,
   year = 1984,
   note = "This is a full MISC entry",
}

@STRING{STOC-key = "OX{\singleletter{stoc}}"}

@STRING{ACM = "The OX Association for Computing Machinery"}

@STRING{STOC = " Symposium on the Theory of Computing"}

@INPROCEEDINGS{inproceedings-minimal,
   author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis",
   title = "On Notions of Information Transfer in {VLSI} Circuits",
   booktitle = "Proc. Fifteenth Annual ACM" # STOC,
   year = 1983,
}

@INPROCEEDINGS{inproceedings-full,
   author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis",
   title = "On Notions of Information Transfer in {VLSI} Circuits",
   editor = "Wizard V. Oz and Mihalis Yannakakis",
   booktitle = "Proc. Fifteenth Annual ACM" # STOC,
   number = 17,
   series = "All ACM Conferences",
   pages = "133--139",
   month = mar,
   year = 1983,
   address = "Boston",
   organization = ACM,
   publisher = "Academic Press",
   note = "This is a full INPROCEDINGS entry",
}

@INPROCEEDINGS{inproceedings-crossref,
   crossref = "whole-proceedings",
   author = "Alfred V. Oaho and Jeffrey D. Ullman and Mihalis Yannakakis",
   title = "On Notions of Information Transfer in {VLSI} Circuits",
   organization = "",
   pages = "133--139",
   note = "This is a cross-referencing INPROCEEDINGS entry",
}

@PROCEEDINGS{proceedings-minimal,
   key = STOC-key,
   title = "Proc. Fifteenth Annual" # STOC,
   year = 1983,
}

@PROCEEDINGS{proceedings-full,
   editor = "Wizard V. Oz and Mihalis Yannakakis",
   title = "Proc. Fifteenth Annual" # STOC,
   number = 17,
   series = "All ACM Conferences",
   month = mar,
   year = 1983,
   address = "Boston",
   organization = ACM,
   publisher = "Academic Press",
   note = "This is a full PROCEEDINGS entry",
}

@PROCEEDINGS{whole-proceedings,
   key = STOC-key,
   organization = ACM,
   title = "Proc. Fifteenth Annual" # STOC,
   address = "Boston",
   year = 1983,
   booktitle = "Proc. Fifteenth Annual ACM" # STOC,
   note = "This is a cross-referenced PROCEEDINGS",
}

@PHDTHESIS{phdthesis-minimal,
   author = "F. Phidias Phony-Baloney",
   title = "Fighting Fire with Fire: Festooning {F}rench Phrases",
   school = "Fanstord University",
   year = 1988,
}

@PHDTHESIS{phdthesis-full,
   author = "F. Phidias Phony-Baloney",
   title = "Fighting Fire with Fire: Festooning {F}rench Phrases",
   school = "Fanstord University",
   type = "{PhD} Dissertation",
   address = "Department of French",
   month = jun # "-" # aug,
   year = 1988,
   note = "This is a full PHDTHESIS entry",
}

@TECHREPORT{techreport-minimal,
   author = "Tom Terrific",
   title = "An {$O(n \log n / \! \log\log n)$} Sorting Algorithm",
   institution = "Fanstord University",
   year = 1988,
}

@TECHREPORT{techreport-full,
   author = "Tom T{\'{e}}rrific",
   title = "An {$O(n \log n / \! \log\log n)$} Sorting Algorithm",
   institution = "Fanstord University",
   type = "Wishful Research Result",
   number = "7",
   address = "Computer Science Department, Fanstord, California",
   month = oct,
   year = 1988,
   note = "This is a full TECHREPORT entry",
}

@UNPUBLISHED{unpublished-minimal,
   author = "Ulrich {\"{U}}nderwood and Ned {\~N}et and Paul Pot",
   title = "Lower Bounds for Wishful Research Results",
   note = "Talk at Fanstord University (this is a minimal UNPUBLISHED entry)",
}

@UNPUBLISHED{unpublished-full,
   author = "Ulrich {\"{U}}nderwood and Ned {\~N}et and Paul Pot",
   title = "Lower Bounds for Wishful Research Results",
   month = nov # ", " # dec,
   year = 1988,
   note = "Talk at Fanstord University (this is a full UNPUBLISHED entry)",
}

@MISC{random-note-crossref,
   key = {Volume-2},
   note = "Volume~2 is listed under Knuth \cite{book-full}"
}
}
+13 −13
Original line number Original line Diff line number Diff line
@@ -861,22 +861,22 @@ After linking a bibliography data\-base files to the document using
the \verb"\"\texttt{thesissetup\{bib\discretionary{=}{=}{=}%
the \verb"\"\texttt{thesissetup\{bib\discretionary{=}{=}{=}%
\{\textit{file1},\textit{file2},\,\ldots\,\}\}} command, you can
\{\textit{file1},\textit{file2},\,\ldots\,\}\}} command, you can
start citing the entries. This is just dummy text
start citing the entries. This is just dummy text
\parencite{inbook-full} lightly sprinkled with citations
\parencite{borgman03} lightly sprinkled with citations
\parencite[p.~123]{incollection-full}. Several sources can be cited
\parencite[p.~123]{greenberg98}. Several sources can be cited at
at once: \cite{inproceedings-full,manual-full,mastersthesis-full}.
once: \cite{borgman03,greenberg98,thanh01}.
\citetitle{inbook-full} was written by \citeauthor{inbook-full} in
\citetitle{greenberg98} was written by \citeauthor{greenberg98} in
\citeyear{inbook-full}. We can also produce \textcite{inbook-full}%
\citeyear{greenberg98}. We can also produce \textcite{greenberg98}%
%<*fi,ped,phil,sci>
%<*fi,ped,phil,sci>
\ or %% Let us define a compound command:
\ or %% Let us define a compound command:
\def\citeauthoryear#1{(\textcite{#1},~\citeyear{#1})}%
\def\citeauthoryear#1{(\textcite{#1},~\citeyear{#1})}%
\citeauthoryear{inbook-full}%
\citeauthoryear{greenberg98}%
%</fi,ped,phil,sci>
%</fi,ped,phil,sci>
. The full bibliographic citation is:
. The full bibliographic citation is:
\emph{\fullcite{inbook-full}}. We can easily insert a bibliographic
\emph{\fullcite{greenberg98}}. We can easily insert a bibliographic
citation into the footnote\footfullcite{inbook-full}.
citation into the footnote\footfullcite{greenberg98}.


The \verb"\nocite" command will not generate any
The \verb"\nocite" command will not generate any
output\nocite{booklet-full}, but it will insert its arguments into
output\nocite{muni}, but it will insert its arguments into
the bibliography. The \verb"\nocite{*}" command will insert all the
the bibliography. The \verb"\nocite{*}" command will insert all the
records in the bibliography database file into the bibliography.
records in the bibliography database file into the bibliography.
Try uncommenting the command
Try uncommenting the command
@@ -900,10 +900,10 @@ hovering the cursor over a directory. Select the \textsf{Open
Command Window Here} option in the context menu that opens shortly
Command Window Here} option in the context menu that opens shortly
afterwards.
afterwards.


With online services -- such as Overleaf -- all commands are
With online services -- such as Overleaf -- or when using an
executed automatically. When you omit the
automatic tool -- such as \LaTeX MK -- all commands are executed
\verb"\printbibliography" command, its location will be decided
automatically. When you omit the \verb"\printbibliography" command,
by the template.
its location will be decided by the template.


  \printbibliography[heading=bibintoc] %% Print the bibliography.
  \printbibliography[heading=bibintoc] %% Print the bibliography.