Skip to content

Commit

Permalink
startover
Browse files Browse the repository at this point in the history
  • Loading branch information
ahomoudi committed Aug 16, 2023
1 parent cef938c commit efc868c
Show file tree
Hide file tree
Showing 10 changed files with 86 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
any::knitr
any::rmarkdown
any::downlit
any::xml2
any::xml2

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
Expand Down
1 change: 1 addition & 0 deletions QuartoBook/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.quarto/
13 changes: 13 additions & 0 deletions QuartoBook/QuartoBook.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX
23 changes: 23 additions & 0 deletions QuartoBook/_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
project:
type: book

book:
title: "QuartoBook"
author: "Norah Jones"
date: "16/08/2023"
chapters:
- index.qmd
- intro.qmd
- summary.qmd
- references.qmd

bibliography: references.bib

format:
html:
theme: cosmo
pdf:
documentclass: scrreprt



Binary file added QuartoBook/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions QuartoBook/index.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Preface {.unnumbered}

This is a Quarto book.

To learn more about Quarto books visit <https://quarto.org/docs/books>.

```{r}
1 + 1
```
9 changes: 9 additions & 0 deletions QuartoBook/intro.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Introduction

This is a book created from markdown and executable code.

See @knuth84 for additional discussion of literate programming.

```{r}
1 + 1
```
19 changes: 19 additions & 0 deletions QuartoBook/references.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@article{knuth84,
author = {Knuth, Donald E.},
title = {Literate Programming},
year = {1984},
issue_date = {May 1984},
publisher = {Oxford University Press, Inc.},
address = {USA},
volume = {27},
number = {2},
issn = {0010-4620},
url = {https://doi.org/10.1093/comjnl/27.2.97},
doi = {10.1093/comjnl/27.2.97},
journal = {Comput. J.},
month = may,
pages = {97–111},
numpages = {15}
}


4 changes: 4 additions & 0 deletions QuartoBook/references.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# References {.unnumbered}

::: {#refs}
:::
7 changes: 7 additions & 0 deletions QuartoBook/summary.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Summary

In summary, this book has no content whatsoever.

```{r}
1 + 1
```

0 comments on commit efc868c

Please sign in to comment.