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

Ignore some auxiliary files from knitr #1286

Merged
merged 1 commit into from Jan 7, 2015
Merged

Ignore some auxiliary files from knitr #1286

merged 1 commit into from Jan 7, 2015

Conversation

adamliter
Copy link
Contributor

knitr is an R package that can be used to compile a .Rnw file containing both LaTeX and R source code to a .tex file, which can then be further compiled to a .pdf file with your favorite TeX engine. When the R source code generates images (e.g., a graph), it will create some auxiliary files, including .tikz file(s) and a BASEFILENAME-tikzDictionary file (at least if the dev chunk option is set to 'tikz'). Additionally, if opts_knit$get('concordance') is TRUE, then an auxiliary BASEFILENAME-concordance.tex file is generated. None of these things need to be tracked with version control.

@adamliter
Copy link
Contributor Author

Some more information on the -concordance.tex file, quoted from here:

a concordance file [...] map[s] the output line numbers to the input line numbers; this enables one to navigate from the output to the input and can be helpful especially when TeX error occurs (this feature is mainly for [the IDE] RStudio)

This is basically to say that the -concordance.tex file is really only for debugging purposes, so it doesn't make sense to track it with git.

@arcresu
Copy link
Contributor

arcresu commented Jan 7, 2015

Thanks for this! ✨

arcresu added a commit that referenced this pull request Jan 7, 2015
Ignore some auxiliary files from knitr
@arcresu arcresu merged commit 2a77fa4 into github:master Jan 7, 2015
u9E9F pushed a commit to u9E9F/gitignore that referenced this pull request Jul 8, 2017
Ignore some auxiliary files from knitr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants