diff --git a/.gitmodules b/.gitmodules index 4fec0c6..9880bb3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -25,6 +25,9 @@ [submodule "pdftotext"] path = lisp/pdftotext url = https://github.com/tecosaur/pdftotext.el.git +[submodule "orgdiff"] + path = lisp/orgdiff + url = https://github.com/tecosaur/orgdiff.git [submodule "ob-julia"] path = lisp/ob-julia url = https://github.com/nico202/ob-julia.git diff --git a/config.org b/config.org index 1d5d1c7..9702a70 100644 --- a/config.org +++ b/config.org @@ -4998,6 +4998,18 @@ to make that right again, and this package makes that even easier to do. (use-package! org-pandoc-import :after org) #+end_src + +***** Document comparison +It's quite nice to compare Org files, and the richest way to compare content is +probably =latexdiff=. There are a few annoying steps involved here, and so I've +written a package to streamline the process. + +#+begin_src emacs-lisp +(package! orgdiff :recipe (:local-repo "lisp/orgdiff")) +#+end_src + +#+begin_src emacs-lisp :tangle yes +(use-package! orgdiff :defer t) #+end_src *** Behaviour [[xkcd:1319]] diff --git a/lisp/orgdiff b/lisp/orgdiff new file mode 160000 index 0000000..4512f8a --- /dev/null +++ b/lisp/orgdiff @@ -0,0 +1 @@ +Subproject commit 4512f8aa0fd15ab27a447217c020f8c7644097f3