8000
  • Ignore some auxiliary files from knitr by adamliter · Pull Request #1286 · github/gitignore · GitHub
    [go: up one dir, main page]

    Skip to content

    Ignore some auxiliary files from knitr#1286

    Merged
    arcresu merged 1 commit intogithub:masterfrom
    adamliter:master
    Jan 7, 2015
    Merged

    Ignore some auxiliary files from knitr#1286
    arcresu merged 1 commit intogithub:masterfrom
    adamliter:master

    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 y 4A30 et

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants

    0