How do I suppress redundant lot (list of table) entries in quarto book pdf output?
@cderv is already working on this.
Since Jan 17, 2025.
Assessment
This issue has not been assessed yet.
Description
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/11865
Originally posted by bergsmat January 15, 2025
Description
I'm using Quarto 1.6.39 with RStudio 2024.12.0 and R 4.4.2.
I created an instance of the quarto book template, then edited _quarto.yml like this:
pdf:
documentclass: scrreprt
toc: false
lot: true
In intro.qmd I appended this:
```{r}
#| label: tbl-longtable
#| tbl-cap: A Long Table
set.seed(0)
knitr::kable(
data.frame(
index = 1:20,
letter = sample(letters, 20, replace = TRUE)
)
)
```
Then I executed quarto render at the terminal prompt.
By design, my table spans multiple pages. What I notice is that by default I get a repeated table caption on each page: Table 1.1: A Long Table and each of these is included in the list of tables with correct page numbers, but the hyperlinks in the list of tables all point to the first page.
I have no objection to the repeated table captions, but I do not find the repetition in the lot to be helpful. How can I suppress the redundant (and possibly incorrectly-linked) entries in the list of tables? (I could not find an existing issue or discussion on this topic.)
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-cli
-
binder bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
quarto-dev/quarto-cli#14907 · 3 comments ·
-
brand bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them Openengines-jupyter enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14850 · 2 comments ·
All issues in quarto-dev/quarto-cli
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
ecosystem wording
Difficulty 1/5 Under an hour Newbie friendliness 90/100
matrix-org/matrix.org#3649 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·