Skip to content

Commit

Permalink
add new minimal demo in response to #42
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed May 2, 2020
1 parent 2d391b5 commit fa82ee2
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2020-05-02 Dirk Eddelbuettel <edd@debian.org>

* inst/examples/tintBibDemo.Rmd: Add simple demo based on
non-quite-right bug report in issue #42
* inst/examples/tintBibDemo.bib: One-entry bib file

2020-04-11 Dirk Eddelbuettel <edd@debian.org>

* README.md: Add a 'last commit' badge
Expand Down
23 changes: 23 additions & 0 deletions inst/examples/tintBibDemo.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: "Writing an academic paper in R"
author: "Author"
date: "Date"
bibliography: tintBibDemo.bib
link-citations: yes
output: tint::tintPdf
toc: yes
---

# Introduction

`@Meyer2000` results in @Meyer2000.

`@Meyer2000 [p. 328]` results in @Meyer2000 [p. 328]

`[@Meyer2000]` results in [@Meyer2000]

`[-@Meyer2000]` results in [-@Meyer2000]

# Summary

# References
28 changes: 28 additions & 0 deletions inst/examples/tintBibDemo.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@Comment See https://github.com/eddelbuettel/tint/issues/42
@Comment and https://riptutorial.com/r/example/25031/inline-references

@Comment references:
@Comment - id: Meyer2000
@Comment title: A Constraint-Based Framework for Diagrammatic Reasoning
@Comment author:
@Comment - family: Meyer
@Comment given: Bernd
@Comment volume: 14
@Comment issue: 4
@Comment publisher: Applied Artificial Intelligence
@Comment page: 327-344
@Comment type: article-journal
@Comment issued:
@Comment year: 2000

@Article{Meyer2000,
author = {Bernd Meyer},
title = {A Constraint-Based Framework for Diagrammatic
Reasoning},
journal = {Applied Artificial Intelligence},
year = 2000,
volume = 14,
number = 4,
pages = {}
}

0 comments on commit fa82ee2

Please sign in to comment.