From 980fca97d6c65d16507511a92331fe5576c64d84 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Sat, 15 Jun 2019 04:36:37 +0200 Subject: [PATCH 21/30] gnu: Add emacs-org-make-toc. * gnu/packages/emacs-xyz.scm (emacs-org-make-toc): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 97df90d98d..c91a453a2b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -10210,6 +10210,30 @@ as well as functions for navigating between these headings.") into sections while preserving the structure imposed by any timestamps.") (license license:gpl3+))) +(define-public emacs-org-make-toc + (package + (name "emacs-org-make-toc") + (version "0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alphapapa/org-make-toc") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0syhj8q4pv33xgl5qa6x27yhwqvfhffw5xqp819hj4qs1ddlc7j5")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-org" ,emacs-org) + ("emacs-dash" ,emacs-dash) + ("emacs-s" ,emacs-s))) + (home-page "https://github.com/alphapapa/org-make-toc") + (synopsis "Maintain a table of contents for an Org file") + (description "This package facilitates the creation and maintenance of +tables of contents.") + (license license:gpl3+))) + (define-public emacs-parsebib (package (name "emacs-parsebib") -- 2.22.0