Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kapsner/authors-block
Quarto extension that brings author blocks to docx documents
https://github.com/kapsner/authors-block
authors authorship docx extension publications quarto scientific scientific-publishing word
Last synced: 2 months ago
JSON representation
Quarto extension that brings author blocks to docx documents
- Host: GitHub
- URL: https://github.com/kapsner/authors-block
- Owner: kapsner
- License: mit
- Created: 2022-12-15T19:30:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T11:05:32.000Z (over 1 year ago)
- Last Synced: 2024-05-01T12:36:31.617Z (9 months ago)
- Topics: authors, authorship, docx, extension, publications, quarto, scientific, scientific-publishing, word
- Language: Lua
- Homepage:
- Size: 110 KB
- Stars: 35
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Authors-block Extension For Quarto
[![R build status](https://github.com/kapsner/authors-block/workflows/tests/badge.svg?branch=main)](https://github.com/kapsner/authors-block/actions)
This extension brings the capability to add an author-related header block when rendering docx-documents with Quarto.
The extension adds some modifications to the code originally provided with the lua-filters [scholarly-metadata](https://github.com/pandoc/lua-filters/tree/master/scholarly-metadata) (by Albert Krewinkel and Robert Winkler) and [author-info-block](https://github.com/pandoc/lua-filters/tree/master/author-info-blocks) (by Albert Krewinkel) in order to make it compatible with Quarto and its [normalized author-block](https://quarto.org/docs/journals/authors.html).
## Installing
```bash
quarto add kapsner/authors-block
```Using `authors-block` requires Quarto version >= 1.3.0
This will install the extension under the `_extensions` sub-directory.
If you're using version control, you will want to check in this directory.## Using
## Example
Here is the source code for a minimal example: [example.qmd](example.qmd).
```yml
---
title: "Authors-block Example"authors:
- name: John Doe
affiliations:
- ref: jdct
corresponding: true
email: [email protected]
orcid: 0000-1111-2222-3333
equal-contributor: true
- name: John Roe
affiliations:
- ref: jdct
orcid: 0000-3333-2222-1111
- name: Jane Roe
affiliations:
- ref: jdct
- ref: iot
orcid: 0000-2222-1111-3333
equal-contributor: trueaffiliations:
- id: jdct
name: John Doe Center for Technology, John Doe University, Doetown, Germany.
- id: iot
name: Institute of Technology, John Doe University, Doetown, Germany.filters:
- authors-blockformat:
docx: default
pdf:
keep-tex: true
---
```