ropensci / ozunconf18

repository for the rOpenSci ozunconference 2018
31 stars 7 forks source link

improving the track changes experience in rmarkdown đź“ť #17

Open njtierney opened 6 years ago

njtierney commented 6 years ago

I'd like to make it as easy as possible to track changes from one rmarkdown document as possible, whether it be in HTML, PDF, or even Word (although this might be complex).

I wrote a tweet about this here and had some really great responses from people.

There were two packages that stood out,

So I was thinking that we could try and flesh out example use of these packages, perhaps creating a vignette, a separate package, if we think that will mean we can do more, and perhaps incorporate some of the nice links people linked:

hughjonesd commented 6 years ago

Sounds great. Tell me if I can help! latexdiffr is just a quick hack, it could use some polish.

RPanczak commented 6 years ago

Perhaps backyard package 📦 could be of some help here, at least when working with bookdown? 📖

kcf-jackson commented 6 years ago

The diffobj package may also be relevant.

njtierney commented 5 years ago

Hi @hughjonesd - thanks! You have laid the foundation down very well for latexdiffr! I tried out using latexdiffr::git_latexdiff() and couldn't quite get it to compile, but I think that was partly to do with LaTeX installation issues with tlmgr.

Here are some of my thoughts on improving the process of diffing.

We might import/borrow some of the parts for generating diffs with LaTeX from latexdiffr - would that be OK?

hughjonesd commented 5 years ago

That’s fine by me.

Moving a Rmd document and hoping to capture and move its dependencies is going to be hard; that can include arbitrary files, read in arbitrary ways.

Limiting to the git version case might be more manageable: you can checkout the whole repository at the old version, into some separate location. (Not what latexdiffr does now, but possible.)

januz commented 5 years ago

Is anybody working on this? I would love a unified way to track changes in Rmarkdown with different output options (mostly HTML and LaTeX). A unified approach to commenting on text would be great as well for collaborative writing.