Skip to content

Commit

Permalink
Switch from vanilla Zotero to Zotero with its Better Bibtex addon
Browse files Browse the repository at this point in the history
This shifted the citation keys around
  • Loading branch information
alexpovel committed Feb 19, 2021
1 parent 4368d7f commit a05f5f4
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 151 deletions.
283 changes: 145 additions & 138 deletions bib/bibliography.bib
@@ -1,165 +1,172 @@

@collection{mollenhauer_handbuch_2007,
location = {Berlin},
edition = {3., neubearb. Aufl},
title = {Handbuch Dieselmotoren},
isbn = {978-3-540-72164-2},
series = {{VDI}-Buch},
pagetotal = {702},
publisher = {Springer},
editor = {Mollenhauer, Klaus and Tschöke, Helmut},
date = {2007},
langid = {german},
keywords = {Combustion Engines}
@book{baehrThermodynamikGrundlagenUnd2016,
title = {Thermodynamik: Grundlagen und technische Anwendungen},
shorttitle = {Thermodynamik},
author = {Baehr, Hans Dieter and Kabelac, Stephan},
date = {2016},
edition = {16., aktualisierte Auflage},
publisher = {{Springer Vieweg}},
location = {{Berlin}},
isbn = {978-3-662-49568-1},
keywords = {Thermodynamics},
langid = {german},
pagetotal = {671},
series = {Lehrbuch}
}

@book{dubbel_taschenbuch_2007,
location = {Berlin Heidelberg New York},
edition = {22},
title = {Taschenbuch für den Maschinenbau},
isbn = {978-3-540-49714-1},
pagetotal = {1},
publisher = {Springer},
author = {Dubbel, Heinrich and Grote, Karl-Heinrich and Feldhusen, J.},
date = {2007},
keywords = {Handbooks, manuals, etc, Mechanical engineering}
@book{birdNaturalLanguageProcessing2009,
title = {Natural Language Processing with {{Python}}},
author = {Bird, Steven and Klein, Ewan and Loper, Edward},
date = {2009},
edition = {1st ed},
publisher = {{O'Reilly}},
location = {{Beijing ; Cambridge [Mass.]}},
abstract = {This is an introduction to natural language processing, which supports a variety of language technologies, from predictive text and email filtering to automatic summarization and translation},
annotation = {OCLC: ocn301885973},
isbn = {978-0-596-51649-9},
keywords = {Natural language processing (Computer science),Python (Computer program language),Python <Programmiersprache>,Sprachverarbeitung},
pagetotal = {479}
}

@book{baehr_thermodynamik:_2016,
location = {Berlin},
edition = {16., aktualisierte Auflage},
title = {Thermodynamik: Grundlagen und technische Anwendungen},
isbn = {978-3-662-49568-1},
series = {Lehrbuch},
shorttitle = {Thermodynamik},
pagetotal = {671},
publisher = {Springer Vieweg},
author = {Baehr, Hans Dieter and Kabelac, Stephan},
date = {2016},
langid = {german},
keywords = {Thermodynamics}
@book{diracPrinciplesQuantumMechanics1981,
title = {The {{Principles}} of {{Quantum Mechanics}}},
author = {Dirac, Paul Adrien Maurice},
date = {1981},
publisher = {{Clarendon Press}},
isbn = {978-0-19-852011-5},
keywords = {physics},
series = {International Series of Monographs on Physics}
}

@report{international_organization_for_standardization_iso_2017,
title = {{ISO} 8217:2017 - Petroleum products - Fuels (class F) - Specifications of marine fuels},
url = {https://www.iso.org/standard/64247.html},
pages = {23},
number = {8217},
institution = {{ISO}/{TC} 28/{SC} 4},
author = {{International Organization for Standardization}},
urldate = {2018-10-08},
date = {2017-03},
langid = {english},
note = {File from www.dan-bunkering.com}
@book{dubbelTaschenbuchFurMaschinenbau2007,
title = {Taschenbuch Für Den {{Maschinenbau}}},
author = {Dubbel, Heinrich and Grote, Karl-Heinrich and Feldhusen, J.},
date = {2007},
edition = {22},
publisher = {{Springer}},
location = {{Berlin Heidelberg New York}},
isbn = {978-3-540-49714-1},
keywords = {Handbooks; manuals; etc,Mechanical engineering},
pagetotal = {1}
}

@article{einstein_zur_1905,
title = {Zur Elektrodynamik bewegter Körper. (German) [On the electrodynamics of moving bodies]},
volume = {322},
doi = {http://dx.doi.org/10.1002/andp.19053221004},
pages = {891--921},
number = {10},
journaltitle = {Annalen der Physik},
author = {Einstein, Albert},
date = {1905}
@article{einsteinZurElektrodynamikBewegter1905,
title = {Zur {{Elektrodynamik}} Bewegter {{Körper}}. ({{German}}) [{{On}} the Electrodynamics of Moving Bodies]},
author = {Einstein, Albert},
date = {1905},
journaltitle = {Annalen der Physik},
volume = {322},
pages = {891--921},
doi = {http://dx.doi.org/10.1002/andp.19053221004},
issue = {10},
number = {10}
}

@book{goossens_latex_1993,
location = {Reading, Massachusetts},
title = {The {\textbackslash}{LaTeX}{\textbackslash} Companion},
publisher = {Addison-Wesley},
author = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
date = {1993}
@book{goossensLaTeXCompanion1993,
title = {The \textbackslash{{LaTeX}}\textbackslash{} {{Companion}}},
author = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
date = {1993},
publisher = {{Addison-Wesley}},
location = {{Reading, Massachusetts}}
}

@online{knuth_knuth_nodate,
title = {Knuth: Computers and Typesetting},
url = {http://www-cs-faculty.stanford.edu/ uno/abcde.html},
author = {Knuth, Donald},
keywords = {knuth, latex}
@report{internationalorganizationforstandardizationISO821720172017,
title = {{{ISO}} 8217:2017 - {{Petroleum}} Products - {{Fuels}} (Class {{F}}) - {{Specifications}} of Marine Fuels},
author = {{International Organization for Standardization}},
date = {2017-03},
pages = {23},
institution = {{ISO/TC 28/SC 4}},
url = {https://www.iso.org/standard/64247.html},
urldate = {2018-10-08},
annotation = {File from www.dan-bunkering.com},
issue = {8217},
langid = {english},
number = {8217}
}

@incollection{knuth_fundamental_1973,
title = {Fundamental Algorithms},
publisher = {Addison-Wesley},
author = {Knuth, Donald E.},
date = {1973},
note = {Section: 1.2},
keywords = {knuth, programming}
@incollection{knuthFundamentalAlgorithms1973,
title = {Fundamental {{Algorithms}}},
author = {Knuth, Donald E.},
date = {1973},
publisher = {{Addison-Wesley}},
keywords = {knuth,programming}
}

@book{dirac_principles_1981,
title = {The Principles of Quantum Mechanics},
isbn = {978-0-19-852011-5},
series = {International series of monographs on physics},
publisher = {Clarendon Press},
author = {Dirac, Paul Adrien Maurice},
date = {1981},
keywords = {physics}
@book{knuthTeXbook1986,
title = {The {{TeXbook}}},
author = {Knuth, Donald Ervin},
date = {1986},
publisher = {{Addison-Wesley}},
location = {{Reading, Mass}},
isbn = {978-0-201-13447-6 978-0-201-13448-3},
keywords = {Computer programs,Computerized typesetting,Mathematics printing,TeX (Computer file)},
langid = {english},
number = {A},
pagetotal = {483},
series = {Computers \& Typesetting}
}

@online{mathworks_create_2020,
title = {Create a Simple Class - {MATLAB} \& Simulink},
url = {https://www.mathworks.com/help/matlab/matlab_oop/create-a-simple-class.html},
author = {{Mathworks}},
urldate = {2020-04-14},
date = {2020}
@online{mathworksCreateSimpleClass2020,
title = {Create a {{Simple Class}} - {{MATLAB}} \& {{Simulink}}},
author = {{Mathworks}},
date = {2020},
url = {https://www.mathworks.com/help/matlab/matlab_oop/create-a-simple-class.html},
urldate = {2020-04-14}
}

@inreference{wikipedia_modelica_2020,
title = {Modelica},
rights = {Creative Commons Attribution-{ShareAlike} License},
url = {https://en.wikipedia.org/w/index.php?title=Modelica&oldid=949430270},
abstract = {Modelica is an object-oriented, declarative, multi-domain modeling language for component-oriented modeling of complex systems, e.g., systems containing mechanical, electrical, electronic, hydraulic, thermal, control, electric power or process-oriented subcomponents.
The free Modelica language
is developed by the non-profit Modelica Association. The Modelica Association also develops the free Modelica Standard Library that contains about 1360 generic model components and 1280 functions in various domains, as of version 3.2.1.},
booktitle = {Wikipedia},
author = {{Wikipedia}},
urldate = {2020-04-14},
date = {2020-04-06},
langid = {english},
note = {Page Version {ID}: 949430270}
@book{mckinneyPythonDataAnalysis2018,
title = {Python for Data Analysis: Data Wrangling with Pandas, {{NumPy}}, and {{IPython}}},
shorttitle = {Python for Data Analysis},
author = {McKinney, Wes},
date = {2018},
edition = {Second edition},
publisher = {{O'Reilly Media, Inc}},
location = {{Sebastopol, California}},
abstract = {"Get complete instructions for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python 3.6, the second edition of this hands-on guide is packed with practical case studies that show you how to solve a broad set of data analysis problems effectively. You'll learn the latest versions of pandas, NumPy, IPython, and Jupyter in the process"--Page 4 of cover},
annotation = {OCLC: ocn959595088},
isbn = {978-1-4919-5766-0},
keywords = {Data mining,Data Mining,Datenanalyse,Datenmanagement,Programming languages (Electronic computers),Python (Computer program language),Python 3.6},
pagetotal = {524}
}

@book{ramalho_fluent_2015,
location = {Sebastopol, {CA}},
edition = {First edition},
title = {Fluent Python},
isbn = {978-1-4919-4600-8},
abstract = {Learn how to write idiomatic, effective Python code by leveraging its best features. Python's simplicity quickly lets you become productive with it, but this often means you aren't using everything the language has to offer. By taking you through Python's key language features and libraries, this practical book shows you how to make your code shorter, faster, and more readable all at the same time--what experts consider Pythonic},
pagetotal = {743},
publisher = {O'Reilly},
author = {Ramalho, Luciano},
date = {2015},
note = {{OCLC}: ocn884808025},
keywords = {Python (Computer program language), Object-oriented programming languages, Objektorienterad programmering, Programming Languages, Python}
@book{mollenhauerHandbuchDieselmotoren2007,
title = {Handbuch Dieselmotoren},
editor = {Mollenhauer, Klaus and Tschöke, Helmut},
date = {2007},
edition = {3., neubearb. Aufl},
publisher = {{Springer}},
location = {{Berlin}},
isbn = {978-3-540-72164-2},
keywords = {Combustion Engines},
langid = {german},
pagetotal = {702},
series = {VDI-Buch}
}

@book{mckinney_python_2018,
location = {Sebastopol, California},
edition = {Second edition},
title = {Python for data analysis: data wrangling with pandas, {NumPy}, and {IPython}},
isbn = {978-1-4919-5766-0},
shorttitle = {Python for data analysis},
abstract = {"Get complete instructions for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python 3.6, the second edition of this hands-on guide is packed with practical case studies that show you how to solve a broad set of data analysis problems effectively. You'll learn the latest versions of pandas, {NumPy}, {IPython}, and Jupyter in the process"--Page 4 of cover},
pagetotal = {524},
publisher = {O'Reilly Media, Inc},
author = {{McKinney}, Wes},
date = {2018},
note = {{OCLC}: ocn959595088},
keywords = {Data mining, Python (Computer program language), Data Mining, Datenanalyse, Datenmanagement, Programming languages (Electronic computers), Python 3.6}
@book{ramalhoFluentPython2015,
title = {Fluent {{Python}}},
author = {Ramalho, Luciano},
date = {2015},
edition = {First edition},
publisher = {{O'Reilly}},
location = {{Sebastopol, CA}},
abstract = {Learn how to write idiomatic, effective Python code by leveraging its best features. Python's simplicity quickly lets you become productive with it, but this often means you aren't using everything the language has to offer. By taking you through Python's key language features and libraries, this practical book shows you how to make your code shorter, faster, and more readable all at the same time--what experts consider Pythonic},
annotation = {OCLC: ocn884808025},
isbn = {978-1-4919-4600-8},
keywords = {Object-oriented programming languages,Objektorienterad programmering,Programming Languages,Python,Python (Computer program language)},
pagetotal = {743}
}

@book{bird_natural_2009,
location = {Beijing ; Cambridge [Mass.]},
edition = {1st ed},
title = {Natural language processing with Python},
isbn = {978-0-596-51649-9},
abstract = {This is an introduction to natural language processing, which supports a variety of language technologies, from predictive text and email filtering to automatic summarization and translation},
pagetotal = {479},
publisher = {O'Reilly},
author = {Bird, Steven and Klein, Ewan and Loper, Edward},
date = {2009},
note = {{OCLC}: ocn301885973},
keywords = {Python (Computer program language), Natural language processing (Computer science), Python {\textless}Programmiersprache{\textgreater}, Sprachverarbeitung}
}
@inreference{wikipediacontributorsModelica2021,
title = {Modelica},
booktitle = {Wikipedia},
author = {{Wikipedia Contributors}},
date = {2021-01-05T18:58:26Z},
url = {https://en.wikipedia.org/w/index.php?title=Modelica&oldid=998516587},
urldate = {2021-02-19},
abstract = {Modelica is an object-oriented, declarative, multi-domain modeling language for component-oriented modeling of complex systems, e.g., systems containing mechanical, electrical, electronic, hydraulic, thermal, control, electric power or process-oriented subcomponents. The free Modelica language is developed by the non-profit Modelica Association. The Modelica Association also develops the free Modelica Standard Library that contains about 1400 generic model components and 1200 functions in various domains, as of version 4.0.0.},
annotation = {Page Version ID: 998516587},
langid = {english}
}


14 changes: 8 additions & 6 deletions chapters/mainmatter/base-features.tex
Expand Up @@ -855,8 +855,8 @@ \subsection{Bibliography}
\verb|\autocite{bibid}| takes care of that, we can then manage its behavior globally.

As such, we can have citations looking like:
\cites[8]{einstein_zur_1905}[29\psqq]{goossens_latex_1993}[2-9]{knuth_knuth_nodate}%
[89\psq]{knuth_fundamental_1973}{dirac_principles_1981}
\cites[8]{einsteinZurElektrodynamikBewegter1905}[29\psqq]{goossensLaTeXCompanion1993}[2-9]{knuthTeXbook1986}%
[89\psq]{knuthFundamentalAlgorithms1973}{diracPrinciplesQuantumMechanics1981}
.
A note may be added to each citation; if this note is an integer number, it is
automatically taken to be the page number.
Expand All @@ -865,7 +865,7 @@ \subsection{Bibliography}
Otherwise, \verb|\psqq| for \enquote{this page and the following ones}.
Using \verb|\autocites{}| \iecfeg{etc.}, we can then chain together as many as we want.

\textcite[3]{dirac_principles_1981} does not claim anything, this is just an example
\textcite[3]{diracPrinciplesQuantumMechanics1981} does not claim anything, this is just an example
for a \verb|\textcite|, used to implement a citation to be a readable part of the
sentence.
There is also a plural form available.
Expand All @@ -889,16 +889,18 @@ \subsection{Bibliography}
are also links.
This allows readers to very swiftly navigate and jump within the document.

Try it out by following this reference: \cite{dirac_principles_1981},
Try it out by following this reference: \cite{diracPrinciplesQuantumMechanics1981},
leading you to the bibliography.
\label{backref_example}
It will have this page's number (\cpageref{backref_example}) at the end of its entry.
Clicking it will land you back here exactly.

\paragraph{Citation Manager}
To generate the \texttt{*.bib} file from which \LaTeX{} pulls the info in the
first place, a citation manager is a handy tool to have.
Zotero is recommendable, but it ultimately does not matter much.
first place, a citation manager is a must\-/have.
Zotero
(especially with its excellent \href{https://retorque.re/zotero-better-bibtex/}{\emph{Better Bibtex}} addon)
is recommendable, but it ultimately does not matter much.
Just use \emph{some} manager to keep your actual documents
(consisting of bibliographical info and the attachments themselves, like e-books)
and the automatically derived \texttt{*.bib} files in one place,
Expand Down
4 changes: 2 additions & 2 deletions chapters/mainmatter/code-listings.tex
Expand Up @@ -245,7 +245,7 @@ \section{MATLAB}
end
\end{minted}
\caption[A class definition in MATLAB]{%
A class definition in MATLAB, from \cite{mathworks_create_2020}%
A class definition in MATLAB, from \cite{mathworksCreateSimpleClass2020}%
}
\label{lst:matlab_class_definition}
\end{listing}
Expand Down Expand Up @@ -353,7 +353,7 @@ \section{Modelica}

Naturally, floating and all other environments and styles are also available for
Modelica.
The syntax highlighting for a few basic code samples \autocite{wikipedia_modelica_2020} looks like:
The syntax highlighting for a few basic code samples \autocite{wikipediacontributorsModelica2021} looks like:

\begin{minted}{modelica}
x := 2 + y;
Expand Down

0 comments on commit a05f5f4

Please sign in to comment.