Git Product home page Git Product logo

authors-block's Introduction

Hi there, I'm Dr. Lorenz Kapsner 👋

About me

Technologies/ Tools

python R rstudio vscode jupyter docker bash github git gitlab quarto shiny rmarkdown ggplot xgbooost pytorch lightning lightgbm raspberry fhir postgresql latex ubuntu xnat

Github stats

Lorenz's GitHub stats

Languages

I am a passionate R programmer and also like coding with Python (sometimes using both languages at the same time via the fabulous R package reticulate). My development environment is completely containerized with different base containers for different tasks (e.g. data science, computer vision, bioinformatics, GPU-computation, etc.; publicly available on my GitHub).

Top Languages

authors-block's People

Contributors

kapsner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

xchuam gdqb521

authors-block's Issues

correspnding designation does not work

Hi,

First, thank you so much for the nice and helpful extension. It's really cool! I am just wondering why the corresponding option does not work for me with docx files. The equal contribution works and everything is good, but although I put corresponding in the right order

---
title: "Cannot share"
subtitle: "Manuscript draft."
authors:
  - name: Abdullah Abdelaziz
    affiliations:
      - ref: c1
    corresponding: true
  - name: cannot share
    affiliations:
      - ref: u1
      - ref: u2
affiliations:
  - id: c1
    name: xxxx
  - id: u1
    name: xxxxxx
  - id: u2
    name: xxxxxxxxx

filters:
  - authors-block
  - docx-landscape.lua  

format:
  docx: 
      output-file: "my manuscript draft"
  pdf: default
editor: visual
csl: jama.csl
reference-doc: custom-reference-doc.docx
bibliography: references.bib
---

This is how my header looks like.

Thanks

Equal contribution for last authors

Hello,

Is there a way to indicate an equal contribution for the last authors? From the example, I can see that we could do it for the first authors (the ones that write the papers) but I can't see how to do it for the last authors (the ones that direct the work). I previously so papers indicating that the last two authors directed the work equaly so I think it would be nice to have this feature.

Add categories/topics

Hi @kapsner,
May I suggest you to add topics/categories in your GitHub repository corresponding field?
Currently, your repository is not really discoverable by search engine, especially GitHub one.

See for examples https://github.com/mcanouil/quarto-animate.

PS: I am using GitHub API to search for new Quarto content to add to the Awesome Quarto list, but your extension did not show up. Your extension was mentioned in a Quarto GitHub Discussion and then suggested to me, see mcanouil/awesome-quarto#255.

Modifying the affiliations fonts

Hi,

I wanted to ask about the font size and characteristics for the affiliations. I noticed that affiliations took the same styling as the main text in the docx output. Is there a way to customize this and make it have a specific styling?

Move affiliation from below to above the table of contents (toc)

Minor detail: If a table of contents is rendered, the affiliations are currently below it. For simplicity, however, I would expect the affiliations to be between the author names and (above) the table of contents.

Regardless: Many thanks for this awesome template!

Only affiliation's name field is rendered.

In my document, I am using the more complex data structure for the affiliation field like this:

affiliations:
  - name: Sebastian Rowan
    orcid: 0000-0000-0000-0000
    email: [email protected]
    affiliations:
      - id: unh
        name: University of New Hampshire
        department: Civil Engineering
        city: Durham
        state: NH
        country: USA
        postal-code: 03824

And when rendering the file to docx, the affiliation only shows "University of New Hampshire" like this:

image

I would prefer to keep the long-form for the affiliations if possible. Is there a way to do this and get them to render properly?

Using one author only breaks rendering

Using the example.qmd and simply removing the second and third author (and orcid and equal-contributor: true), the complete header (title + author information) in the rendered documents is missing:

---
title: "Authors-block Example"

authors:
  - name: John Doe
    affiliations:
      - ref: jdct
    corresponding: true
    email: [email protected]


affiliations:
  - id: jdct
    name: John Doe Center for Technology, John Doe University, Doetown, Germany.


filters:
  - authors-block

format:
  #native: default
  docx: default
  pdf: default
---

## Brings Quarto's Standardized Authors- & Affiliations-Block to docx-Documents

yields to
grafik

instead of
grafik
(unfortunately I do not have a code for this, but have edited the Word document manually)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.