Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow duplicate chunk labels? #1

Closed
yihui opened this issue Oct 28, 2015 · 1 comment
Closed

Allow duplicate chunk labels? #1

yihui opened this issue Oct 28, 2015 · 1 comment
Milestone

Comments

@yihui
Copy link
Member

yihui commented Oct 28, 2015

After merging all Rmd files, there might be duplicate chunk labels (e.g. the current ggplot2 book has this problem), we can allow such labels by setting a knitr option, but it may make the automatic figure/table labels unpredictable, e.g. a chunk with label foo may get \label{fig:foo-1} when the label is duplicated and knitr has automatically "corrected" it.

@yihui yihui closed this as completed in 9517830 Nov 8, 2015
@yihui yihui modified the milestone: v0.1 Jul 12, 2016
yihui added a commit that referenced this issue Nov 3, 2017
with Pandoc 1.19, there might be commands like

\newcommand{\ImportTok}[1]{#1}

and we should not exit the loop in this case
@github-actions
Copy link

github-actions bot commented Nov 6, 2020

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant