quarto-dev / quarto-dev/quarto-cli

Allow disabling smart extension for pdf rendering

Open
#7,966 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Usually with Quarto you can pass extension to format string like this

---
title: "Test"
format: latex-smart
---

## Quarto


Test the quotation "marks" here and 'here'.

However, it does not work with format: pdf-latex - probably because it really means --to latex for Pandoc and then we convert to pdf ourself, so we need to extract extensions and append to latex

Bot sure we already handle this ?

Originally posted by @cderv in https://github.com/quarto-dev/quarto-cli/issues/6613#issuecomment-1693397040

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 by tracing how the pdf-latex format is converted to Pandoc's latex target and how extensions are extracted. Compare this path with latex-smart; done when the PDF path preserves the requested smart-extension behavior and the quotation-mark example renders accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, latex
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.