quarto-dev / quarto-dev/quarto-cli

Duplicated number section when not using latex in PDF from ipynb

Aperta
#3,243 5 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

enhancement
Lingua principale
JavaScript
Stelle
6k
Fork
458
Merge medio
1g 9h
PR unite (30g)
41

Descrizione

Bug description

The number of the section is duplicated both in the table of contents and in the body.
Tested pdf engines: wkhtmltopdf, weasyprint, paged.js.

The following ipynb file

---
format: pdf
pdf-engine: wkhtmltopdf 
number-sections: true
---

# H1

## H2


Will produce this PDF file

image

Quarto version: 1.1.251
Ubuntu 22.10

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Reproduce the issue from the embedded notebook front matter with number-sections enabled, using the listed PDF engines: wkhtmltopdf, weasyprint, and paged.js. Compare the table of contents and document body; the work is done when each section number appears only once in both outputs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
jupyter-notebook
Ambito
documentation
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.