"~/projects/org-notes/uddin.org"
"~/projects/org-notes/reviews.org"
"~/projects/org-notes/hpcbio.org"
+ "~/org-mode/from-mobile.org"
"~/projects/org-notes/fh.org")))
(set-register ?n (cons 'file "~/projects/org-notes/notes.org"))
(ditaa . t)
(dot . t)
))
+;; use graphviz-dot for dot things
+(add-to-list 'org-src-lang-modes '("dot" . graphviz-dot))
;; org-babel-by-backend
(defmacro org-babel-by-backend (&rest body)
`(case (if (boundp 'backend)
(org-export-backend-name backend)
nil) ,@body))
+(defun my/fix-inline-images ()
+ (when org-inline-image-overlays
+ (org-redisplay-inline-images)))
+(add-hook 'org-babel-after-execute-hook
+ 'my/fix-inline-images)
;; ;; org latex
;; ;; stolen from http://kieranhealy.org/esk/kjhealy.html
("" "longtable" nil)
("" "float" )))
+;; make equations larger
+(setq org-format-latex-options (plist-put org-format-latex-options :scale 2.0))
+
(defun org-create-formula--latex-header ()
"Return LaTeX header appropriate for previewing a LaTeX snippet."
(let ((info (org-combine-plists (org-export--get-global-options
(setq org-clock-in-resume t)
;; Change tasks to NEXT when clocking in
(setq org-clock-in-switch-to-state 'bh/clock-in-to-next)
+;; (setq org-clock-in-switch-to-state "NEXT")
;; Separate drawers for clocking and logs
(setq org-drawers (quote ("PROPERTIES" "LOGBOOK")))
;; Save clock data and state changes and notes in the LOGBOOK drawer
;; Include current clocking task in clock reports
(setq org-clock-report-include-clocking-task t)
+;; the cache seems to be broken
+(setq org-element-use-cache nil)
(defvar bh/keep-clock-running nil)