32 lines
980 B
EmacsLisp
32 lines
980 B
EmacsLisp
;;; plot-settings.el --- plot settings -*- lexical-binding: t -*-
|
|
|
|
;;; Commentary:
|
|
;; .plantuml .pum .plu
|
|
|
|
;; Requirements:
|
|
;; gnuplot https://melpa.org/#/gnuplote drive gnuplot from within Emacs e.g. via org (export)
|
|
;; plantuml-mode https://melpa.org/#/plantuml-mode https://github.com/skuro/plantuml-mode
|
|
;; dash
|
|
|
|
;;; Code:
|
|
(use-package gnuplot
|
|
:load-path (lambda() (concat config-dir "lisp/gnuplot"))
|
|
:commands gnuplot-mode
|
|
:mode "\\.gp\\'")
|
|
|
|
(use-package gnuplot-context
|
|
:after gnuplot
|
|
:commands gnuplot-context-sensitive-mode)
|
|
|
|
(use-package plantuml-mode
|
|
:commands (plantuml-mode org-mode)
|
|
:config
|
|
;; arch linux aur package path
|
|
(setq plantuml-jar-path "/usr/share/java/plantuml/plantuml.jar")
|
|
(setq org-plantuml-jar-path "/usr/share/java/plantuml/plantuml.jar")
|
|
(with-eval-after-load 'org-src
|
|
(setq org-src-lang-modes (add-to-list 'org-src-lang-modes '("plantuml" . plantuml)))))
|
|
|
|
(provide 'plot-settings)
|
|
;;; plot-settings.el ends here
|