Skip to content

Commit

Permalink
Fix "extension not found" warning; switch default bibliography to .bi…
Browse files Browse the repository at this point in the history
…b file (#22)

* fix missing extensions

* switch bibliography type to BibLaTeX

* Change explorer sorting to resemble order in final document
  • Loading branch information
marvin-te authored Apr 11, 2023
1 parent b5cc2c1 commit caa5052
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 40 deletions.
5 changes: 3 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"recommendations": [
"goessner.mdmath",
"davidanson.vscode-markdownlint",
"eamodio.toggle-excluded-files",
"amodio.toggle-excluded-files",
"fcrespo82.markdown-table-formatter",
"davidlday.languagetool-linter"
"davidlday.languagetool-linter",
"notzaki.pandocciter"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [
Expand Down
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"editor.acceptSuggestionOnEnter": "smart"
},
"files.exclude": {
".*": true, // all hidden files and directories in project root
".*": true,
"build.{sh,cmd}": true
},
"PandocCiter.DefaultBib": "src/bibliography.bib",
Expand All @@ -17,5 +17,6 @@
"plaintext",
"markdown"
],
"languageToolLinter.serviceType": "public"
"languageToolLinter.serviceType": "public",
"explorer.sortOrder": "mixed"
}
2 changes: 1 addition & 1 deletion src/01_introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
retention-period: 2 # (in years, remove line if forever)

# This can be replaced with any valid bibliography file (.yaml, .json, .bib)
bibliography: src/bibliography.yaml
bibliography: src/bibliography.bib
---

# Possent ventis hanc delubra (+CPU)
Expand Down
16 changes: 16 additions & 0 deletions src/bibliography.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@online{src:source1,
title = {How to Write a {{TFL}}},
author = {Müller and Meier},
date = {2018-11-10},
url = {https://example.org/howtowritestuff/tfl},
langid = {british},
organization = {{Zeitschrift XY}}
}

@article{src:source2,
title = {The Science behind Science},
author = {Müller, Hans and Musk, Elon},
date = {2018-11-28},
doi = {10.1007/s00000-000-0000-0},
langid = {british}
}
35 changes: 0 additions & 35 deletions src/bibliography.yaml

This file was deleted.

0 comments on commit caa5052

Please sign in to comment.