Skip to content

Commit

Permalink
Opt-out bookdown environment definition for lipic article (#393)
Browse files Browse the repository at this point in the history
This is done inside the setup chunk of the skeleton.Rmd
  • Loading branch information
cderv authored Jun 9, 2021
1 parent f7751fd commit b348d83
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
rticles 0.20
---------------------------------------------------------------------

- `lipics_article()` skeleton now sets option `bookdown.theorem.preamble` to FALSE to work with `bookdown::pdf_book()` and avoid conflicst in theorem environment definition. This requires **bookdown** 0.23 or higher (#392).

- `oup_article()` template now largely compatible to that of `elsevier_article()` (thanks, @dmkaplan2000, #403)

- `elsevier_article()` now supports `biblio-style` Pandoc's variable to set the natbib bibliography style in YAML header (thanks, @gregmacfarlane, #402).
Expand Down
8 changes: 8 additions & 0 deletions inst/rmarkdown/templates/lipics/skeleton/skeleton.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,16 @@ appendix: |
List of different predefined enumeration styles:
output:
rticles::lipics_article: default
# To use with bookdown feature
bookdown::pdf_book:
base_format: rticles::lipics_article
---

```{r setup, include = FALSE}
# deactivate addition of preamble when this format is used with bookdown
options(bookdown.theorem.preamble = FALSE)
```

# Typesetting instructions -- Summary

LIPIcs is a series of open access high-quality conference proceedings across all fields in informatics established in cooperation with Schloss Dagstuhl.
Expand Down

0 comments on commit b348d83

Please sign in to comment.