inbo / INBOmd

An R package with a collection of RMarkdown styles and templates. Elaborate examples are available at https://github.com/inbo/INBOmd_examples
https://inbo.github.io/INBOmd
GNU General Public License v3.0
11 stars 2 forks source link

inbo_rapport + gitbook: cover & colofon #70

Closed hansvancalster closed 1 year ago

hansvancalster commented 3 years ago

Currently, the following in YAML header will, when rendered, show title, author names and doi number on the first page if no image is given to cover-image, or, show the cover image instead (which will look like cover of INBO pdf reports).

title: "title"
author: "name"
reportnr: "doi:..."
cover-image: "image.png"
output:
  bookdown::gitbook:
    split_by: chapter+number
    split_bib: FALSE
    template: !expr INBOmd::inbo_rapport_css("html")

The request is to allow cover and colofon info to be part of the html template. Some ideas (took them from e-mail discussion):

Maybe something to consider in 2021.

ThierryO commented 3 years ago