29 lines
878 B
EmacsLisp
29 lines
878 B
EmacsLisp
;;; plot-settings.el --- plot settings -*- lexical-binding: t -*-
|
|
|
|
;;; Commentary:
|
|
;; .plantuml .pum .plu
|
|
|
|
;; Requirements:
|
|
;; gnuplot
|
|
;; gnuplot-mode https://melpa.org/#/gnuplot-mode 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-mode
|
|
:load-path (lambda() (concat config-dir "lisp/gnuplot"))
|
|
:commands gnuplot-mode
|
|
:mode "\\.gp\\'")
|
|
|
|
(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
|
|
(add-to-list 'org-src-lang-modes '("plantuml" . plantuml))))
|
|
|
|
(provide 'plot-settings)
|
|
;;; plot-settings.el ends here
|