Add gnuplot as a dependency to the org layer.
It is possible to plot data from tables in org-mode; however, this requires `gnuplot.el`. Shortcut also added to plot (the single shortcut is added to the README.org in another pull request). http://orgmode.org/worg/org-tutorials/org-plot.html Signed-off-by: JP-Ellis <coujellis@gmail.com>
This commit is contained in:
parent
4e87c1286b
commit
df3a0a5fab
|
@ -8,6 +8,7 @@
|
|||
- [[#install][Install]]
|
||||
- [[#layer][Layer]]
|
||||
- [[#github-support][Github support]]
|
||||
- [[#gnuplot-support][Gnuplot support]]
|
||||
- [[#different-bullets][Different bullets]]
|
||||
- [[#key-bindings][Key bindings]]
|
||||
- [[#org-with-evil-org-mode][Org with evil-org-mode]]
|
||||
|
@ -50,6 +51,19 @@ flavored markdown set the variable =org-enable-github-support= to =t=.
|
|||
org-enable-github-support t)))
|
||||
#+END_SRC
|
||||
|
||||
** Gnuplot support
|
||||
|
||||
Org-mode support the plotting of data within tables through [[http://www.gnuplot.info/][Gnuplot]] as
|
||||
demonstrated [[http://orgmode.org/worg/org-tutorials/org-plot.html][here]]; unfortunately, this is [[https://github.com/bruceravel/gnuplot-mode/issues/15][not terribly well supported]] on Windows
|
||||
at this stage. It is possible to disable the configuration of gnuplot support
|
||||
through the variable =org-disable-gnuplot-support=.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq-default dotspacemacs-configuration-layers '(
|
||||
(org :variables
|
||||
org-disable-github-support t)))
|
||||
#+END_SRC
|
||||
|
||||
** Different bullets
|
||||
|
||||
You can tweak the bullets displayed in the org buffer in the function
|
||||
|
|
|
@ -15,4 +15,7 @@
|
|||
(defvar org-enable-github-support nil
|
||||
"If non-nil Github related packages are configured.")
|
||||
|
||||
(defvar org-disable-gnuplot-support nil
|
||||
"If non-nil Gnuplot related packages are not configured.")
|
||||
|
||||
(spacemacs|defvar-company-backends org-mode)
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
company-emoji
|
||||
emoji-cheat-sheet-plus
|
||||
evil-org
|
||||
gnuplot
|
||||
htmlize
|
||||
org
|
||||
org-bullets
|
||||
|
@ -51,6 +52,14 @@
|
|||
"O" 'evil-open-above)
|
||||
(spacemacs|diminish evil-org-mode " ⓔ" " e"))))
|
||||
|
||||
(defun org/init-gnuplot ()
|
||||
(use-package gnuplot
|
||||
:if (not org-disable-gnuplot-support)
|
||||
:config
|
||||
(progn
|
||||
(evil-leader/set-key-for-mode 'org-mode
|
||||
"mtp" 'org-plot/gnuplot))))
|
||||
|
||||
(defun org/init-org ()
|
||||
(use-package org
|
||||
:mode ("\\.org$" . org-mode)
|
||||
|
|
Loading…
Reference in a new issue