quarto-dev / quarto-dev/quarto-cli

Add Support for Beamer Template Partials

Open
#1,658 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

authors beamer enhancement
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

Hi, I am preparing a Beamer presentation in Quarto which will be rendered into .pdf later. When I include date of the talk and my institute in the YAML, it prints date before the institution in the pdf version. We generally prefer the date after the institution. In the source files of Quarto Beamer presentation, I have seen a source .tex file where the author and date fields are embedded together. I guess, for that reason, they get printed out together. I cannot modify the Quarto source files since they are read-only. I would appreciate if this can be fixed. I have another question on how to break long titles into two lines in the YAML too. I would like to thank you very much in advance.

---
title: "My talk title"
author: "My name"
institute: "My institute"
date: "August 02, 2022"
mathspec: true # for metropolis theme
execute: 
  enabled: true
  warning: false
  error: false
comments:
  hypothesis: 
    theme: clean
format: 
  beamer: 
    aspectratio: 32
    navigation: horizontal
    theme: metropolis
    colortheme: crane
    colorlinks: true
    highlight-style: tango
[question.pdf](https://github.com/quarto-dev/quarto-cli/files/9250720/question.pdf)

editor: visual
---
quarto check Output

No response

quarto tools check Output

No response

Checklist
  • formatted your issue so it is easier for us to read?
  • included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • documented the quarto version you're running, by pasting the output from running quarto check in the "Quarto Check Output" text area?
  • documented the version of the quarto tools you're running, by providing the output from running quarto tools check in the "Quarto Tools Check Output" text area?
  • documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • documented which operating system you're running? If on Linux, please provide the specific distribution as well.
  • upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided YAML and the generated Beamer PDF, then inspect the generated source .tex where the author and date fields are embedded. Check how template partial support could control the ordering of institute and date, and verify the long-title question separately. Done means a reproducible render with the requested ordering and documented handling of long titles.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.