From 2901506bd88f23e08f42fdddc0b3ab4e90bd7e85 Mon Sep 17 00:00:00 2001 From: Christian Kremitzl Date: Sun, 29 Mar 2020 22:28:31 +0200 Subject: [PATCH] onpoint conversion of chapter 14. --- css/latex.css | 36 +++- css/latex.css.map | 2 +- css/latex.scss | 43 ++++- sections/german/14/14.md | 160 ------------------ slides.yml | 1 + slides/chapter-14.de.md | 122 +++++++++++++ slides/chapter-14.en.md | 0 .../chapter-14}/bamberger_katalog_bibtex.jpg | Bin .../chapter-14}/bibtex-alpha-crop.svg | 0 .../chapter-14}/bibtex-alpha-orig.svg | 0 .../14 => svg/chapter-14}/bibtex-alpha.bbl | 0 .../14 => svg/chapter-14}/bibtex-alpha.blg | 0 .../14 => svg/chapter-14}/bibtex-alpha.tex | 0 .../14 => svg/chapter-14}/bibtex-apa-crop.svg | 0 .../14 => svg/chapter-14}/bibtex-apa-orig.svg | 0 .../14 => svg/chapter-14}/bibtex-apa.bbl | 0 .../14 => svg/chapter-14}/bibtex-apa.blg | 0 .../14 => svg/chapter-14}/bibtex-apa.tex | 0 .../chapter-14}/bibtex-natdin-crop.svg | 0 .../chapter-14}/bibtex-natdin-orig.svg | 0 .../14 => svg/chapter-14}/bibtex-natdin.bbl | 0 .../14 => svg/chapter-14}/bibtex-natdin.blg | 0 .../14 => svg/chapter-14}/bibtex-natdin.tex | 0 .../14 => svg/chapter-14}/collection.bib | 0 .../14 => svg/chapter-14}/google_bibtex1.jpg | Bin .../14 => svg/chapter-14}/google_bibtex2.jpg | Bin .../chapter-14}/wikipedia_bibtex_1.png | Bin .../chapter-14}/wikipedia_bibtex_2.png | Bin 28 files changed, 190 insertions(+), 174 deletions(-) delete mode 100644 sections/german/14/14.md create mode 100644 slides/chapter-14.de.md create mode 100644 slides/chapter-14.en.md rename {sections/german/14 => svg/chapter-14}/bamberger_katalog_bibtex.jpg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-alpha-crop.svg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-alpha-orig.svg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-alpha.bbl (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-alpha.blg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-alpha.tex (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-apa-crop.svg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-apa-orig.svg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-apa.bbl (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-apa.blg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-apa.tex (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-natdin-crop.svg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-natdin-orig.svg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-natdin.bbl (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-natdin.blg (100%) rename {sections/german/14 => svg/chapter-14}/bibtex-natdin.tex (100%) rename {sections/german/14 => svg/chapter-14}/collection.bib (100%) rename {sections/german/14 => svg/chapter-14}/google_bibtex1.jpg (100%) rename {sections/german/14 => svg/chapter-14}/google_bibtex2.jpg (100%) rename {sections/german/14 => svg/chapter-14}/wikipedia_bibtex_1.png (100%) rename {sections/german/14 => svg/chapter-14}/wikipedia_bibtex_2.png (100%) diff --git a/css/latex.css b/css/latex.css index d4c2eef..b2e1cd4 100644 --- a/css/latex.css +++ b/css/latex.css @@ -23,6 +23,14 @@ input { --secondary-light: #eaf2f9; --margin: 0.1; } +:root:lang(de) { + --opening-double-quote: "»"; + --closing-double-quote: "«"; +} +:root:lang(en) { + --opening-double-quote: "“"; + --closing-double-quote: "”"; +} /* basic layout */ :root { @@ -571,7 +579,7 @@ table th:last-child, table td:last-child { padding-right: 0.3rem; } -.box, blockquote { +.box { margin-left: calc(-1 * var(--margin) * var(--square)); padding: 0.8em 0.1em 0.1em calc(var(--margin) * var(--square)); } @@ -582,15 +590,33 @@ table th:last-child, table td:last-child { blockquote { color: var(--secondary-dark); - text-indent: -0.55em; - padding-bottom: 0.8em; + position: relative; + padding-bottom: 1.8em; + margin-left: 0; + margin-right: 0; +} +blockquote p:first-of-type { + /* probably bungle, but works for one

inside

*/ + display: contents; +} +blockquote p:first-of-type::after { + content: " " var(--closing-double-quote); } blockquote::before { - content: "»"; + content: var(--opening-double-quote) " "; color: var(--secondary-dark); + position: absolute; + display: inline-block; + right: 100%; +} +blockquote cite { + position: absolute; + bottom: 0.6em; + left: calc(0.4 * var(--square)); + width: calc(0.4 * var(--square)); } blockquote cite::before { - content: " – "; + content: "— "; } .layout-content figure { diff --git a/css/latex.css.map b/css/latex.css.map index 4dd8dfb..c2031ce 100644 --- a/css/latex.css.map +++ b/css/latex.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["latex.scss"],"names":[],"mappings":";AAAA;AACA;EACE;EACA;EACA;;;AAEF;EACE;;;AAGF;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AACA;EACE;EAOA;;AANA;EAFF;IAGI;;;AAEF;EALF;IAMI;;;;AAKJ;EACE;;AAEA;EACD;;AAGC;AAAA;AAAA;AAAA;EAIE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA,qBACE;EAEF;;AAKA;EAXF;IAYI;IACA;IACA,qBACE;IAGF;;;AAEF;EApBF;IAqBI;IACA;IACA,qBACE;;;AAIN;EACE;EACA;EACA,qBACE;EAEF;;AACA;EAPF;IAQI;IACA;IACA,qBACE;IAGF;;;AAUJ;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA,qBACE;;AAEF;EAPF;IAQI;IACA;IACA,qBACE;;;AAIJ;EAfF;IAgBI;IACA;IACA,qBACE;IAGF;;;AAUJ;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;;AAGJ;EACE;EACA;;AAGJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,qBACE;EAIF;;AACA;EAfF;IAgBI;IACA;IACA,qBACE;;;AAKJ;EAxBF;IAyBI;IACA;IACA,qBACE;;;AAIJ;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EAVF;IAWI;IACA;IACA,qBACE;;;AAEJ;EACE;;;AAKN;AAEA;EACE;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;;;AAMA;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;EACE;EACA;;AAIJ;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AACA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGJ;AAAA;AAAA;EACE;;AACA;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAIJ;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;;AACA;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;EACE;EACA;;;AAMJ;EACE;;AACA;EACE;;AAIJ;AAAA;EAEE;EACA;;AAEA;AAAA;EACE;;AAGF;AAAA;EACE;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;EACA;;AAEF;AAAA;EACE;;AAIJ;AAAA;EACE;EACA;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;AAAA;EACE;;AAIJ;AAAA;EACE;EACA;;;AAKN;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;AAAA;AAAA;EAIE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EAlBF;AAAA;AAAA;AAAA;IAmBI;IACA;IACA;;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;;AACA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;EACA;EACA;;AAEF;EACE;;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;AACA;EACE;EACA;;AAEF;EACE;;;AAKF;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAKJ;EACE;;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;EACA;;AAGF;EACE;;;AAGF;AAAA;AAAA;AAAA;AAMI;EAIE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;;;AAOJ;EAIE;;AAEA;EACE;;;AAMN;AAAA;AAAA;AAAA;AAIA;EACE;;;AAGF;EACE;EACA;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;EACE;;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAEA;EACE;;AAGF;EACE","file":"latex.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["latex.scss"],"names":[],"mappings":";AAAA;AACA;EACE;EACA;EACA;;;AAEF;EACE;;;AAGF;EACE;;;AAGF;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;;AAEF;EACE;EACA;;;AAIJ;AACA;EACE;EAOA;;AANA;EAFF;IAGI;;;AAEF;EALF;IAMI;;;;AAKJ;EACE;;AAEA;EACD;;AAGC;AAAA;AAAA;AAAA;EAIE;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA,qBACE;EAEF;;AAKA;EAXF;IAYI;IACA;IACA,qBACE;IAGF;;;AAEF;EApBF;IAqBI;IACA;IACA,qBACE;;;AAIN;EACE;EACA;EACA,qBACE;EAEF;;AACA;EAPF;IAQI;IACA;IACA,qBACE;IAGF;;;AAUJ;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA,qBACE;;AAEF;EAPF;IAQI;IACA;IACA,qBACE;;;AAIJ;EAfF;IAgBI;IACA;IACA,qBACE;IAGF;;;AAUJ;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAKN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;EACA;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;;AAGJ;EACE;EACA;;AAGJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,qBACE;EAIF;;AACA;EAfF;IAgBI;IACA;IACA,qBACE;;;AAKJ;EAxBF;IAyBI;IACA;IACA,qBACE;;;AAIJ;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EAVF;IAWI;IACA;IACA,qBACE;;;AAEJ;EACE;;;AAKN;AAEA;EACE;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;;;AAMA;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;EACE;;AAGF;AAAA;AAAA;EACE;EACA;;AAEA;AAAA;AAAA;EACE;EACA;;AAIJ;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;;AACA;AAAA;AAAA;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAEF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;EACE;;AAGJ;AAAA;AAAA;EACE;;AACA;AAAA;AAAA;EACE;EACA;EACA;EACA;;AAIJ;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;;AACA;AAAA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;AAAA;AAAA;EACE;;AAIJ;AAAA;AAAA;EACE;EACA;;;AAMJ;EACE;;AACA;EACE;;AAIJ;AAAA;EAEE;EACA;;AAEA;AAAA;EACE;;AAGF;AAAA;EACE;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;EACA;;AAEF;AAAA;EACE;;AAIJ;AAAA;EACE;EACA;EACA;EACA;;AACA;AAAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;AAAA;EACE;;AAIJ;AAAA;EACE;EACA;;;AAKN;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;;;AAGF;AAAA;AAAA;EAGE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEF;AAAA;EAEE;;;AAEF;AAAA;AAAA;AAAA;EAIE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EAlBF;AAAA;AAAA;AAAA;IAmBI;IACA;IACA;;;;AAIJ;EACE;EACA;;;AAGF;EACE;EACA;EACA;EACA;;AACA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;EACA;EACA;;AAEF;EACE;;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;;;AAIJ;EACE;EACA;;;AAGF;EACE;;;AAKF;EACE;EACA;EACA;EACA;EACA;;AACA;AAAkB;EAChB;;AACA;EACE;;AAGJ;EACE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;;AACA;EACE;;;AAMJ;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAKJ;EACE;;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;EACA;;AAGF;EACE;;;AAGF;AAAA;AAAA;AAAA;AAMI;EAIE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIJ;EACE;;;AAOJ;EAIE;;AAEA;EACE;;;AAMN;AAAA;AAAA;AAAA;AAIA;EACE;;;AAGF;EACE;EACA;;;AAGF;AAAA;AAAA;AAAA;AAKA;EACE;EACA;;;AAGF;EACE;;;AAGF;AAAA;AAAA;AAAA;AAIA;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;;AAEA;EACE;;AAGF;EACE","file":"latex.css"} \ No newline at end of file diff --git a/css/latex.scss b/css/latex.scss index d84161a..366149a 100644 --- a/css/latex.scss +++ b/css/latex.scss @@ -20,6 +20,14 @@ input { --secondary-dark: #3f5d75; --secondary-light: #eaf2f9; --margin: 0.1; + &:lang(de) { + --opening-double-quote: '»'; + --closing-double-quote: '«'; + } + &:lang(en) { + --opening-double-quote: '“'; + --closing-double-quote: '”'; + } } /* basic layout */ @@ -584,7 +592,7 @@ table { } } -.box, blockquote { +.box /*, blockquote*/ { margin-left: calc(-1 * var(--margin) * var(--square)); padding: .8em .1em .1em calc(var(--margin) * var(--square)); } @@ -593,16 +601,35 @@ table { background: var(--primary); } + + blockquote { color: var(--secondary-dark); - text-indent: -.55em; - padding-bottom: .8em; - &::before { - content: '»'; - color: var(--secondary-dark); + position: relative; + padding-bottom: 1.8em; + margin-left: 0; + margin-right: 0; + p:first-of-type { /* probably bungle, but works for one

inside

*/ + display: contents; + &::after { + content: '\200a' var(--closing-double-quote); + } } - cite::before { - content: ' – ' + &::before { + content: var(--opening-double-quote) '\200a'; + color: var(--secondary-dark); + position: absolute; + display: inline-block; + right: 100%; + } + cite { + position: absolute; + bottom: 0.6em; + left: calc(0.4 * var(--square)); + width: calc(0.4 * var(--square)); + &::before { + content: '— ' + } } } diff --git a/sections/german/14/14.md b/sections/german/14/14.md deleted file mode 100644 index 2d1029f..0000000 --- a/sections/german/14/14.md +++ /dev/null @@ -1,160 +0,0 @@ -
-
-

Literatur­verwaltung

-
-
- ---- - -
-
-

Was brauchen wir dafür?

-
    -
  • BibTex als Schnittstelle zwischen der Literatur und LaTeX
  • -
  • Bibliographiedatei (nachfolgend `.bib`-Datei) zur Speicherung von Literaturverweisen
  • -
-
-
- ---- - -
-
-

Was ist diese ominöse .bib Datei?

-
    -
  • Sammlung von Literatureinträgen im BibTeX-Format
  • -
  • Beispielhafter Literatureintrag:
  • -
-
-
@article{turing1990, % Art des Dokuments und Bezeichner für den \cite Befehl
-    title={The chemical basis of morphogenesis}, % Titel
-    author={Turing, Alan Mathison}, % Autor
-    journal={Bulletin of mathematical biology}, % Titel des Journals
-    volume={52}, % Band des Journals
-    pages={153--197}, % Seitenzahl im Journal
-    year={1990}, % Erscheinungsjahr
-    publisher={Springer} % Verleger des Journals
-}
-
-
-
-
- ---- - -
-
-

Wie wird das verwendet?

-

Durch BibTeX wird LaTeX um einige Befehle zum Zitieren erweitert. Außerdem benötigt wird das Paket `natbib`.

-
    -
  • Zitieren einer Quelle: \cite{<quelle>}
  • -
  • Zitieren einer Seite: \cite[S. 15]{<quelle>}
  • -
  • Verweis auf die genutzte `.bib`-Datei: \bibliography{<.bib-datei>}
  • -
  • Angabe des genutzten Zitierstils:
    \bibliographystyle{<zitierstil>}
  • -
-
Zwei Dinge sind unendlich. Das Universum und die Auswahl an Zitierstilen.« Unbekannt
-
-
- ---- - - -
-
-
- -
Zitieren im Alpha-Zitierstil
-
-
- ---- - -
-
-
- -
Zitieren im Natdin-Zitierstil
-
-
- ---- - -
-
-
- -
Zitieren im Apa-Zitierstil
-
-
- ---- - -
-
- -
Finden von fertigen BibTex-Einträgen – Bamberger Katalog
-
-
- ---- - -
-
-
- -
Finden von fertigen BibTex-Einträgen – Google Scholar
-
-
- ---- - -
-
-
- -
Finden von fertigen BibTex-Einträgen – Google Scholar
-
-
- ---- - -
-
-
- -
Finden von fertigen BibTex-Einträgen – Wikipedia
-
-
- ---- - -
-
-
- -
Finden von fertigen BibTex-Einträgen – Wikipedia
-
-
- ---- - -
-
-

Ein Literaturverzeichnis erstellen und einfügen

-
    -
  • Bindet ab sofort wieder alle Abschnitte ein.
  • -
  • Sucht in einer Literaturdatenbank eurer Wahl die BibTeX-Einträge für folgende LaTeX-Handbücher: -
      -
    • Leslie Lamport (1994): LaTeX. A Document Preparation System.
    • -
    • Dilip Datta (2017): LaTeX in 24 Hours. A Practical Guide for Scientific Writing.
    • -
    • Frank Mittelbach / Michel Goossens (2012): Der LaTeX-Begleiter.
    • -
    -
  • -
  • Fügt die BibTeX-Einträge in der BibTeX-Datei l2kurz.bib ein.
  • - - -
  • Zitiert die 3 Handbücher an geeigneter Stelle im Skript, damit sie im Literaturverzeichnis erscheinen.
  • -
  • Sucht nun die Stelle, an der das Literaturverzeichnis erstellt wird. Probiert einen anderen Bibliographierstil aus und vergleicht, was sich im PDF verändert.
  • -
-
-
diff --git a/slides.yml b/slides.yml index bdc941a..fa6c6d4 100644 --- a/slides.yml +++ b/slides.yml @@ -12,4 +12,5 @@ - chapter-11 - chapter-12 - chapter-13 +- chapter-14 diff --git a/slides/chapter-14.de.md b/slides/chapter-14.de.md new file mode 100644 index 0000000..35a6c6b --- /dev/null +++ b/slides/chapter-14.de.md @@ -0,0 +1,122 @@ +@slide(layout=chapter-slide) + +@title +Literatur­verwaltung + + +@slide(layout=content-only) + +@title +Was brauchen wir dafür? + +@content +* eine **Bibliographiedatei** (nachfolgend `.bib`-Datei) zur Speicherung von Literaturverweisen +* **BibTeX** als Schnittstelle zwischen der Literatur und LaTeX + + +@slide(layout=wide-content) + +@title +Was ist diese ominöse `.bib`-Datei? + +@content +* Sammlung von Literatureinträgen im BibTeX-Format +* Beispielhafter Literatureintrag: + +``` {.hljs .lang-tex} +@article{turing1990, % Art des Dokuments und Bezeichner für den \cite Befehl + title={The chemical basis of morphogenesis}, % Titel + author={Turing, Alan Mathison}, % Autor + journal={Bulletin of mathematical biology}, % Titel des Journals + volume={52}, % Band des Journals + pages={153--197}, % Seitenzahl im Journal + year={1990}, % Erscheinungsjahr + publisher={Springer} % Verleger des Journals +} +``` + + +@slide(layout=content-only) + +@title +Wie wird das verwendet? + +@content +Durch BibTeX wird LaTeX um einige Befehle zum Zitieren erweitert. Außerdem benötigt wird das Paket `natbib`. + +* ++Zitieren einer Quelle: `\cite{}` +* ++Zitieren einer Seite: `\cite[S. 15]{}` +* ++Verweis auf die genutzte `.bib`-Datei: `\bibliography{<.bib-datei>}` +* ++Angabe des genutzten Zitierstils:
`\bibliographystyle{}` + +> Zwei Dinge sind unendlich. Das Universum und die Auswahl an Zitierstilen.Unbekannt + + +@slide(layout=preview-only) + +@preview +![Zitieren im Alpha-Zitierstil](svg/chapter-14/bibtex-alpha-crop.svg){.large .thin-padding} + + +@slide(layout=preview-only) + +@preview +![Zitieren im Natdin-Zitierstil](svg/chapter-14/bibtex-natdin-crop.svg){.large .thin-padding} + + +@slide(layout=preview-only) + +@preview +![Zitieren im Apa-Zitierstil](svg/chapter-14/bibtex-apa-crop.svg){.large .thin-padding} + + +@slide(layout=preview-only) + +@preview +![Finden von fertigen BibTeX-Einträgen – Bamberger Katalog](svg/chapter-14/bamberger_katalog_bibtex.jpg){.large} + + +@slide(layout=preview-only) + +@preview +![Finden von fertigen BibTeX-Einträgen – Google Scholar](svg/chapter-14/google_bibtex1.jpg){.large} + + +@slide(layout=preview-only) + +@preview +![Finden von fertigen BibTeX-Einträgen – Google Scholar](svg/chapter-14/google_bibtex2.jpg){.large} + + +@slide(layout=preview-only) + +@preview +![Finden von fertigen BibTeX-Einträgen – Wikipedia](svg/chapter-14/wikipedia_bibtex_1.png){.large} + + +@slide(layout=preview-only) + +@preview +![Finden von fertigen BibTeX-Einträgen – Wikipedia](svg/chapter-14/wikipedia_bibtex_2.png){.large} + + +@slide(layout=wide-task) + +@task-number +13 + +@title +Ein Literaturverzeichnis erstellen und einfügen + +@content +* Bindet ab sofort wieder alle Abschnitte ein. +* Sucht in einer Literaturdatenbank eurer Wahl die BibTeX-Einträge für folgende LaTeX-Handbücher: + * Leslie Lamport (1994): LaTeX. A Document Preparation System. + * Dilip Datta (2017): LaTeX in 24 Hours. A Practical Guide for Scientific Writing. + * Frank Mittelbach / Michel Goossens (2012): Der LaTeX-Begleiter. +* ++Fügt die BibTeX-Einträge in der BibTeX-Datei `l2kurz.bib` ein. + + +* ++Zitiert die 3 Handbücher an geeigneter Stelle im Skript, damit sie im Literaturverzeichnis erscheinen. +* ++Sucht nun die Stelle, an der das Literaturverzeichnis erstellt wird. Probiert einen anderen Bibliographierstil aus und vergleicht, was sich im PDF verändert. + diff --git a/slides/chapter-14.en.md b/slides/chapter-14.en.md new file mode 100644 index 0000000..e69de29 diff --git a/sections/german/14/bamberger_katalog_bibtex.jpg b/svg/chapter-14/bamberger_katalog_bibtex.jpg similarity index 100% rename from sections/german/14/bamberger_katalog_bibtex.jpg rename to svg/chapter-14/bamberger_katalog_bibtex.jpg diff --git a/sections/german/14/bibtex-alpha-crop.svg b/svg/chapter-14/bibtex-alpha-crop.svg similarity index 100% rename from sections/german/14/bibtex-alpha-crop.svg rename to svg/chapter-14/bibtex-alpha-crop.svg diff --git a/sections/german/14/bibtex-alpha-orig.svg b/svg/chapter-14/bibtex-alpha-orig.svg similarity index 100% rename from sections/german/14/bibtex-alpha-orig.svg rename to svg/chapter-14/bibtex-alpha-orig.svg diff --git a/sections/german/14/bibtex-alpha.bbl b/svg/chapter-14/bibtex-alpha.bbl similarity index 100% rename from sections/german/14/bibtex-alpha.bbl rename to svg/chapter-14/bibtex-alpha.bbl diff --git a/sections/german/14/bibtex-alpha.blg b/svg/chapter-14/bibtex-alpha.blg similarity index 100% rename from sections/german/14/bibtex-alpha.blg rename to svg/chapter-14/bibtex-alpha.blg diff --git a/sections/german/14/bibtex-alpha.tex b/svg/chapter-14/bibtex-alpha.tex similarity index 100% rename from sections/german/14/bibtex-alpha.tex rename to svg/chapter-14/bibtex-alpha.tex diff --git a/sections/german/14/bibtex-apa-crop.svg b/svg/chapter-14/bibtex-apa-crop.svg similarity index 100% rename from sections/german/14/bibtex-apa-crop.svg rename to svg/chapter-14/bibtex-apa-crop.svg diff --git a/sections/german/14/bibtex-apa-orig.svg b/svg/chapter-14/bibtex-apa-orig.svg similarity index 100% rename from sections/german/14/bibtex-apa-orig.svg rename to svg/chapter-14/bibtex-apa-orig.svg diff --git a/sections/german/14/bibtex-apa.bbl b/svg/chapter-14/bibtex-apa.bbl similarity index 100% rename from sections/german/14/bibtex-apa.bbl rename to svg/chapter-14/bibtex-apa.bbl diff --git a/sections/german/14/bibtex-apa.blg b/svg/chapter-14/bibtex-apa.blg similarity index 100% rename from sections/german/14/bibtex-apa.blg rename to svg/chapter-14/bibtex-apa.blg diff --git a/sections/german/14/bibtex-apa.tex b/svg/chapter-14/bibtex-apa.tex similarity index 100% rename from sections/german/14/bibtex-apa.tex rename to svg/chapter-14/bibtex-apa.tex diff --git a/sections/german/14/bibtex-natdin-crop.svg b/svg/chapter-14/bibtex-natdin-crop.svg similarity index 100% rename from sections/german/14/bibtex-natdin-crop.svg rename to svg/chapter-14/bibtex-natdin-crop.svg diff --git a/sections/german/14/bibtex-natdin-orig.svg b/svg/chapter-14/bibtex-natdin-orig.svg similarity index 100% rename from sections/german/14/bibtex-natdin-orig.svg rename to svg/chapter-14/bibtex-natdin-orig.svg diff --git a/sections/german/14/bibtex-natdin.bbl b/svg/chapter-14/bibtex-natdin.bbl similarity index 100% rename from sections/german/14/bibtex-natdin.bbl rename to svg/chapter-14/bibtex-natdin.bbl diff --git a/sections/german/14/bibtex-natdin.blg b/svg/chapter-14/bibtex-natdin.blg similarity index 100% rename from sections/german/14/bibtex-natdin.blg rename to svg/chapter-14/bibtex-natdin.blg diff --git a/sections/german/14/bibtex-natdin.tex b/svg/chapter-14/bibtex-natdin.tex similarity index 100% rename from sections/german/14/bibtex-natdin.tex rename to svg/chapter-14/bibtex-natdin.tex diff --git a/sections/german/14/collection.bib b/svg/chapter-14/collection.bib similarity index 100% rename from sections/german/14/collection.bib rename to svg/chapter-14/collection.bib diff --git a/sections/german/14/google_bibtex1.jpg b/svg/chapter-14/google_bibtex1.jpg similarity index 100% rename from sections/german/14/google_bibtex1.jpg rename to svg/chapter-14/google_bibtex1.jpg diff --git a/sections/german/14/google_bibtex2.jpg b/svg/chapter-14/google_bibtex2.jpg similarity index 100% rename from sections/german/14/google_bibtex2.jpg rename to svg/chapter-14/google_bibtex2.jpg diff --git a/sections/german/14/wikipedia_bibtex_1.png b/svg/chapter-14/wikipedia_bibtex_1.png similarity index 100% rename from sections/german/14/wikipedia_bibtex_1.png rename to svg/chapter-14/wikipedia_bibtex_1.png diff --git a/sections/german/14/wikipedia_bibtex_2.png b/svg/chapter-14/wikipedia_bibtex_2.png similarity index 100% rename from sections/german/14/wikipedia_bibtex_2.png rename to svg/chapter-14/wikipedia_bibtex_2.png