File: hkl-default.el

package info (click to toggle)
hkl 5.0.0.2456-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 37,696 kB
  • sloc: ansic: 25,256; python: 4,325; haskell: 3,794; cpp: 976; makefile: 700; sh: 179; perl: 133; xml: 90; lisp: 54
file content (94 lines) | stat: -rw-r--r-- 3,151 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
;;; hkl-default.el --- Hkl specific emacsen startup code.

;; Copyright (C) 2003-2018 Synchrotron SOLEIL
;;                         L'Orme des Merisiers Saint-Aubin
;;                         BP 48 91192 GIF-sur-YVETTE CEDEX

;; Maintainer: Picca Frédéric-Emmanuel <picca@synchrotron-soleil.fr>
;; Keywords: hkl

;; The hkl library is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; The hkl library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with the hkl library.  If not, see <http://www.gnu.org/licenses/>.
;;

;;; Commentary:

;; This file contains startup code needed by all the various flavors
;; of Emacs for a hkl library documentation generation.

;;; Code:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(inhibit-startup-screen t)
 '(c-default-style
   (quote
    ((c-mode . "linux")
     (c++-mode . "linux")
     (other . "gnu"))))
 '(org-babel-load-languages
   (quote
    ((latex . t)
     (python . t)
     (emacs-lisp . t)
     (gnuplot . t))))
 '(org-confirm-babel-evaluate nil)
 '(org-latex-listings (quote minted))
 '(org-latex-minted-langs
   (quote
    ((emacs-lisp "common-lisp")
     (cc "c++")
     (cperl "perl")
     (shell-script "bash")
     (caml "ocaml")
     (python "python"))))
 '(org-latex-pdf-process
   (quote
    ("pdflatex -interaction nonstopmode --shell-escape -output-directory %o %f" "pdflatex -interaction nonstopmode --shell-escape -output-directory %o %f" "pdflatex -interaction nonstopmode --shell-escape -output-directory %o %f")))
 '(org-export-with-sub-superscripts nil)
 '(org-src-fontify-natively t)
 '(org-publish-project-alist
   (quote
    (("hkl"
     :base-directory "."
     :base-extension "org"
     :publishing-directory "/ssh:picca@people.debian.org:~/public_html/hkl/"
     :publishing-function org-html-publish-to-html
     :headline-levels 3
     :section-numbers t
     :with-toc t
     :html-head "<link rel=\"stylesheet\"
                       href=\"../css/style.css\" type=\"text/css\"/>"
     :html-preamble t)

    ("images"
     :base-directory "figures/"
     :base-extension "svg\\|jpg\\|gif\\|png"
     :publishing-directory "/ssh:picca@people.debian.org:~/public_html/hkl/figures/"
     :publishing-function org-publish-attachment)

    ("css"
     :base-directory "css/"
     :base-extension "css"
     :publishing-directory "/ssh:picca@people.debian.org:~/public_html/hkl/css/"
     :publishing-function org-publish-attachment)

    ))))

(require 'ox-publish)

(provide 'hkl-default)
;;; hkl-default ends here